From 7cd4bd2137968eeab76fcda26ce1cce227e0e40f Mon Sep 17 00:00:00 2001 From: ac360 Date: Wed, 12 Oct 2016 21:28:29 -0700 Subject: [PATCH] remove unnecessary files --- .idea/encodings.xml | 6 - .idea/jsLibraryMappings.xml | 6 - .idea/misc.xml | 16 - .idea/modules.xml | 8 - .idea/serverless-crud.iml | 8 - .idea/vcs.xml | 6 - .idea/watcherTasks.xml | 4 - .idea/workspace.xml | 230 - node_modules/aws-sdk/.changes/2.4.10.json | 12 - node_modules/aws-sdk/.changes/2.4.11.json | 32 - node_modules/aws-sdk/.changes/2.4.12.json | 42 - node_modules/aws-sdk/.changes/2.4.13.json | 27 - node_modules/aws-sdk/.changes/2.4.14.json | 17 - node_modules/aws-sdk/.changes/2.4.8.json | 42 - node_modules/aws-sdk/.changes/2.4.9.json | 22 - node_modules/aws-sdk/.changes/2.5.0.json | 37 - node_modules/aws-sdk/.changes/2.5.1.json | 17 - node_modules/aws-sdk/.changes/2.5.2.json | 22 - node_modules/aws-sdk/.changes/2.5.3.json | 7 - node_modules/aws-sdk/.changes/2.5.4.json | 17 - node_modules/aws-sdk/.changes/2.5.5.json | 22 - node_modules/aws-sdk/.changes/2.5.6.json | 7 - node_modules/aws-sdk/.changes/2.6.0.json | 22 - node_modules/aws-sdk/.changes/2.6.1.json | 7 - node_modules/aws-sdk/.changes/2.6.2.json | 7 - node_modules/aws-sdk/.changes/2.6.3.json | 17 - node_modules/aws-sdk/.changes/2.6.4.json | 32 - node_modules/aws-sdk/.changes/2.6.5.json | 12 - node_modules/aws-sdk/.changes/2.6.6.json | 12 - node_modules/aws-sdk/.changes/2.6.7.json | 12 - node_modules/aws-sdk/.changes/2.6.8.json | 12 - node_modules/aws-sdk/.jshintrc | 68 - node_modules/aws-sdk/.npmignore | 18 - node_modules/aws-sdk/.tesselinclude | 2 - node_modules/aws-sdk/CHANGELOG.md | 131 - node_modules/aws-sdk/CONTRIBUTING.md | 98 - node_modules/aws-sdk/LICENSE.txt | 202 - node_modules/aws-sdk/NOTICE.txt | 5 - node_modules/aws-sdk/README.md | 160 - node_modules/aws-sdk/UPGRADING.md | 157 - .../aws-sdk/apis/acm-2015-12-08.min.json | 263 - .../apis/acm-2015-12-08.paginators.json | 10 - .../apis/apigateway-2015-07-09.min.json | 3154 - .../apigateway-2015-07-09.paginators.json | 70 - ...ation-autoscaling-2016-02-06.examples.json | 257 - ...pplication-autoscaling-2016-02-06.min.json | 330 - ...ion-autoscaling-2016-02-06.paginators.json | 22 - .../apis/autoscaling-2011-01-01.examples.json | 1395 - .../apis/autoscaling-2011-01-01.min.json | 1608 - .../autoscaling-2011-01-01.paginators.json | 52 - .../apis/cloudformation-2010-05-15.min.json | 860 - .../cloudformation-2010-05-15.paginators.json | 27 - .../cloudformation-2010-05-15.waiters2.json | 235 - .../apis/cloudfront-2016-09-07.min.json | 1876 - .../cloudfront-2016-09-07.paginators.json | 32 - .../apis/cloudfront-2016-09-07.waiters2.json | 47 - .../aws-sdk/apis/cloudhsm-2014-05-30.min.json | 519 - .../apis/cloudsearch-2011-02-01.min.json | 837 - .../cloudsearch-2011-02-01.paginators.json | 13 - .../apis/cloudsearch-2013-01-01.min.json | 1086 - .../cloudsearch-2013-01-01.paginators.json | 20 - .../cloudsearchdomain-2013-01-01.min.json | 297 - .../apis/cloudtrail-2013-11-01.min.json | 454 - .../cloudtrail-2013-11-01.paginators.json | 7 - .../apis/codecommit-2015-04-13.min.json | 375 - .../codecommit-2015-04-13.paginators.json | 14 - .../apis/codedeploy-2014-10-06.min.json | 1120 - .../codedeploy-2014-10-06.paginators.json | 34 - .../apis/codedeploy-2014-10-06.waiters2.json | 30 - .../codepipeline-2015-07-09.examples.json | 902 - .../apis/codepipeline-2015-07-09.min.json | 1100 - .../apis/cognito-identity-2014-06-30.min.json | 487 - .../apis/cognito-idp-2016-04-18.min.json | 1866 - .../apis/cognito-sync-2014-06-30.min.json | 746 - .../aws-sdk/apis/config-2014-11-12.min.json | 857 - .../apis/config-2014-11-12.paginators.json | 10 - .../apis/datapipeline-2012-10-29.min.json | 666 - .../datapipeline-2012-10-29.paginators.json | 26 - .../apis/devicefarm-2015-06-23.examples.json | 1242 - .../apis/devicefarm-2015-06-23.min.json | 1404 - .../devicefarm-2015-06-23.paginators.json | 74 - .../apis/directconnect-2012-10-25.min.json | 563 - .../directconnect-2012-10-25.paginators.json | 22 - .../apis/discovery-2015-11-01.min.json | 356 - .../aws-sdk/apis/dms-2016-01-01.min.json | 1130 - .../aws-sdk/apis/ds-2015-04-16.min.json | 1033 - .../aws-sdk/apis/dynamodb-2011-12-05.min.json | 663 - .../apis/dynamodb-2011-12-05.paginators.json | 26 - .../apis/dynamodb-2011-12-05.waiters2.json | 35 - .../aws-sdk/apis/dynamodb-2012-08-10.min.json | 1050 - .../apis/dynamodb-2012-08-10.paginators.json | 26 - .../apis/dynamodb-2012-08-10.waiters2.json | 35 - .../aws-sdk/apis/ec2-2016-09-15.examples.json | 3740 - .../aws-sdk/apis/ec2-2016-09-15.min.json | 10892 -- .../apis/ec2-2016-09-15.paginators.json | 138 - .../aws-sdk/apis/ec2-2016-09-15.waiters2.json | 593 - .../aws-sdk/apis/ecr-2015-09-21.examples.json | 215 - .../aws-sdk/apis/ecr-2015-09-21.min.json | 545 - .../aws-sdk/apis/ecs-2014-11-13.examples.json | 883 - .../aws-sdk/apis/ecs-2014-11-13.min.json | 1135 - .../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 | 1567 - .../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 | 1264 - ...lasticbeanstalk-2010-12-01.paginators.json | 25 - .../elasticfilesystem-2015-02-01.min.json | 395 - ...sticloadbalancing-2012-06-01.examples.json | 1036 - .../elasticloadbalancing-2012-06-01.min.json | 973 - ...icloadbalancing-2012-06-01.paginators.json | 18 - ...sticloadbalancing-2012-06-01.waiters2.json | 49 - ...icloadbalancingv2-2015-12-01.examples.json | 1384 - ...elasticloadbalancingv2-2015-12-01.min.json | 1022 - ...loadbalancingv2-2015-12-01.paginators.json | 20 - .../apis/elasticmapreduce-2009-03-31.min.json | 1241 - ...lasticmapreduce-2009-03-31.paginators.json | 32 - .../elasticmapreduce-2009-03-31.waiters2.json | 67 - .../elastictranscoder-2012-09-25.min.json | 1019 - ...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 | 1214 - .../apis/email-2010-12-01.paginators.json | 13 - .../apis/email-2010-12-01.waiters2.json | 18 - .../aws-sdk/apis/es-2015-01-01.min.json | 502 - .../aws-sdk/apis/events-2015-10-07.min.json | 330 - .../aws-sdk/apis/firehose-2015-08-04.min.json | 550 - .../aws-sdk/apis/gamelift-2015-10-01.min.json | 1174 - .../aws-sdk/apis/glacier-2012-06-01.min.json | 1215 - .../apis/glacier-2012-06-01.paginators.json | 28 - .../apis/glacier-2012-06-01.waiters2.json | 39 - .../aws-sdk/apis/iam-2010-05-08.min.json | 2936 - .../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 | 242 - .../importexport-2010-06-01.paginators.json | 11 - .../apis/inspector-2016-02-16.min.json | 1248 - .../aws-sdk/apis/iot-2015-05-28.min.json | 1934 - .../aws-sdk/apis/iot-data-2015-05-28.min.json | 128 - .../aws-sdk/apis/kinesis-2013-12-02.min.json | 503 - .../apis/kinesis-2013-12-02.paginators.json | 18 - .../apis/kinesis-2013-12-02.waiters2.json | 18 - .../apis/kinesisanalytics-2015-08-14.min.json | 755 - .../aws-sdk/apis/kms-2014-11-01.min.json | 759 - .../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 - .../aws-sdk/apis/lambda-2015-03-31.min.json | 872 - .../apis/lambda-2015-03-31.paginators.json | 16 - .../aws-sdk/apis/logs-2014-03-28.min.json | 722 - .../apis/logs-2014-03-28.paginators.json | 49 - .../apis/machinelearning-2014-12-12.min.json | 1107 - ...machinelearning-2014-12-12.paginators.json | 28 - .../machinelearning-2014-12-12.waiters2.json | 81 - ...placecommerceanalytics-2015-07-01.min.json | 84 - node_modules/aws-sdk/apis/metadata.json | 305 - .../meteringmarketplace-2016-01-14.min.json | 47 - .../apis/mobileanalytics-2014-06-05.min.json | 74 - .../apis/monitoring-2010-08-01.min.json | 501 - .../monitoring-2010-08-01.paginators.json | 24 - .../apis/monitoring-2010-08-01.waiters2.json | 18 - .../aws-sdk/apis/opsworks-2013-02-18.min.json | 2141 - .../apis/opsworks-2013-02-18.paginators.json | 55 - .../apis/opsworks-2013-02-18.waiters2.json | 295 - .../aws-sdk/apis/rds-2013-01-10.min.json | 1895 - .../apis/rds-2013-01-10.paginators.json | 97 - .../aws-sdk/apis/rds-2013-02-12.min.json | 2027 - .../apis/rds-2013-02-12.paginators.json | 110 - .../aws-sdk/apis/rds-2013-09-09.min.json | 2163 - .../apis/rds-2013-09-09.paginators.json | 110 - .../aws-sdk/apis/rds-2013-09-09.waiters2.json | 97 - .../aws-sdk/apis/rds-2014-10-31.min.json | 3508 - .../apis/rds-2014-10-31.paginators.json | 110 - .../aws-sdk/apis/rds-2014-10-31.waiters2.json | 90 - .../aws-sdk/apis/redshift-2012-12-01.min.json | 2306 - .../apis/redshift-2012-12-01.paginators.json | 94 - .../apis/redshift-2012-12-01.waiters2.json | 97 - .../aws-sdk/apis/route53-2013-04-01.min.json | 2370 - .../apis/route53-2013-04-01.paginators.json | 33 - .../apis/route53-2013-04-01.waiters2.json | 18 - .../apis/route53domains-2014-05-15.min.json | 747 - .../route53domains-2014-05-15.paginators.json | 17 - .../aws-sdk/apis/s3-2006-03-01.min.json | 3787 - .../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 - .../apis/servicecatalog-2015-12-10.min.json | 529 - .../aws-sdk/apis/snowball-2016-06-30.min.json | 376 - .../apis/snowball-2016-06-30.paginators.json | 16 - .../aws-sdk/apis/sns-2010-03-31.min.json | 622 - .../apis/sns-2010-03-31.paginators.json | 29 - .../aws-sdk/apis/sqs-2012-11-05.examples.json | 618 - .../aws-sdk/apis/sqs-2012-11-05.min.json | 583 - .../apis/sqs-2012-11-05.paginators.json | 7 - .../aws-sdk/apis/ssm-2014-11-06.min.json | 932 - .../apis/ssm-2014-11-06.paginators.json | 40 - .../apis/storagegateway-2013-06-30.min.json | 1485 - .../storagegateway-2013-06-30.paginators.json | 52 - .../apis/streams.dynamodb-2012-08-10.min.json | 238 - .../aws-sdk/apis/sts-2011-06-15.min.json | 249 - .../aws-sdk/apis/support-2013-04-15.min.json | 569 - .../apis/support-2013-04-15.paginators.json | 25 - .../aws-sdk/apis/swf-2012-01-25.min.json | 2217 - .../apis/swf-2012-01-25.paginators.json | 46 - .../aws-sdk/apis/waf-2015-08-24.min.json | 1282 - .../apis/workspaces-2015-04-08.min.json | 538 - .../workspaces-2015-04-08.paginators.json | 20 - node_modules/aws-sdk/bower.json | 9 - node_modules/aws-sdk/browser.js | 6 - node_modules/aws-sdk/clients/acm.js | 18 - node_modules/aws-sdk/clients/all.js | 79 - node_modules/aws-sdk/clients/apigateway.js | 19 - .../aws-sdk/clients/applicationautoscaling.js | 18 - node_modules/aws-sdk/clients/autoscaling.js | 18 - .../aws-sdk/clients/browser_default.js | 61 - .../aws-sdk/clients/cloudformation.js | 19 - node_modules/aws-sdk/clients/cloudfront.js | 20 - node_modules/aws-sdk/clients/cloudhsm.js | 17 - node_modules/aws-sdk/clients/cloudsearch.js | 27 - .../aws-sdk/clients/cloudsearchdomain.js | 18 - node_modules/aws-sdk/clients/cloudtrail.js | 18 - node_modules/aws-sdk/clients/cloudwatch.js | 19 - .../aws-sdk/clients/cloudwatchevents.js | 17 - .../aws-sdk/clients/cloudwatchlogs.js | 18 - node_modules/aws-sdk/clients/codecommit.js | 18 - node_modules/aws-sdk/clients/codedeploy.js | 19 - node_modules/aws-sdk/clients/codepipeline.js | 17 - .../aws-sdk/clients/cognitoidentity.js | 18 - .../clients/cognitoidentityserviceprovider.js | 17 - node_modules/aws-sdk/clients/cognitosync.js | 17 - node_modules/aws-sdk/clients/configservice.js | 18 - node_modules/aws-sdk/clients/datapipeline.js | 18 - node_modules/aws-sdk/clients/devicefarm.js | 18 - node_modules/aws-sdk/clients/directconnect.js | 18 - .../aws-sdk/clients/directoryservice.js | 17 - node_modules/aws-sdk/clients/discovery.js | 17 - node_modules/aws-sdk/clients/dms.js | 17 - node_modules/aws-sdk/clients/dynamodb.js | 30 - .../aws-sdk/clients/dynamodbstreams.js | 17 - node_modules/aws-sdk/clients/ec2.js | 20 - node_modules/aws-sdk/clients/ecr.js | 17 - node_modules/aws-sdk/clients/ecs.js | 19 - node_modules/aws-sdk/clients/efs.js | 17 - node_modules/aws-sdk/clients/elasticache.js | 19 - .../aws-sdk/clients/elasticbeanstalk.js | 18 - .../aws-sdk/clients/elastictranscoder.js | 19 - node_modules/aws-sdk/clients/elb.js | 19 - node_modules/aws-sdk/clients/elbv2.js | 18 - node_modules/aws-sdk/clients/emr.js | 19 - node_modules/aws-sdk/clients/es.js | 17 - node_modules/aws-sdk/clients/firehose.js | 17 - node_modules/aws-sdk/clients/gamelift.js | 17 - node_modules/aws-sdk/clients/glacier.js | 20 - node_modules/aws-sdk/clients/iam.js | 19 - node_modules/aws-sdk/clients/importexport.js | 18 - node_modules/aws-sdk/clients/inspector.js | 17 - node_modules/aws-sdk/clients/iot.js | 17 - node_modules/aws-sdk/clients/iotdata.js | 18 - node_modules/aws-sdk/clients/kinesis.js | 19 - .../aws-sdk/clients/kinesisanalytics.js | 17 - node_modules/aws-sdk/clients/kms.js | 18 - node_modules/aws-sdk/clients/lambda.js | 27 - .../aws-sdk/clients/machinelearning.js | 20 - .../clients/marketplacecommerceanalytics.js | 17 - .../aws-sdk/clients/marketplacemetering.js | 17 - .../aws-sdk/clients/mobileanalytics.js | 17 - node_modules/aws-sdk/clients/opsworks.js | 19 - node_modules/aws-sdk/clients/rds.js | 47 - node_modules/aws-sdk/clients/redshift.js | 19 - node_modules/aws-sdk/clients/route53.js | 20 - .../aws-sdk/clients/route53domains.js | 18 - node_modules/aws-sdk/clients/s3.js | 20 - .../aws-sdk/clients/servicecatalog.js | 17 - node_modules/aws-sdk/clients/ses.js | 19 - node_modules/aws-sdk/clients/simpledb.js | 18 - node_modules/aws-sdk/clients/snowball.js | 18 - node_modules/aws-sdk/clients/sns.js | 18 - node_modules/aws-sdk/clients/sqs.js | 19 - node_modules/aws-sdk/clients/ssm.js | 18 - .../aws-sdk/clients/storagegateway.js | 18 - node_modules/aws-sdk/clients/sts.js | 18 - node_modules/aws-sdk/clients/support.js | 18 - node_modules/aws-sdk/clients/swf.js | 19 - node_modules/aws-sdk/clients/waf.js | 17 - node_modules/aws-sdk/clients/workspaces.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 - node_modules/aws-sdk/dist-tools/transform.js | 43 - node_modules/aws-sdk/dist/BUNDLE_LICENSE.txt | 96 - node_modules/aws-sdk/dist/aws-sdk.js | 99711 ---------------- node_modules/aws-sdk/dist/aws-sdk.min.js | 40 - node_modules/aws-sdk/global.js | 2 - node_modules/aws-sdk/index.js | 2 - node_modules/aws-sdk/lib/api_loader.js | 12 - node_modules/aws-sdk/lib/aws.js | 7 - node_modules/aws-sdk/lib/browser.js | 14 - node_modules/aws-sdk/lib/browser_loader.js | 24 - node_modules/aws-sdk/lib/cloudfront/signer.js | 206 - node_modules/aws-sdk/lib/config.js | 511 - node_modules/aws-sdk/lib/core.js | 107 - node_modules/aws-sdk/lib/credentials.js | 150 - .../cognito_identity_credentials.js | 340 - .../credentials/credential_provider_chain.js | 135 - .../credentials/ec2_metadata_credentials.js | 81 - .../lib/credentials/ecs_credentials.js | 164 - .../credentials/environment_credentials.js | 91 - .../credentials/file_system_credentials.js | 68 - .../lib/credentials/saml_credentials.js | 89 - .../shared_ini_file_credentials.js | 204 - .../lib/credentials/temporary_credentials.js | 112 - .../credentials/web_identity_credentials.js | 96 - .../aws-sdk/lib/dynamodb/converter.js | 96 - .../aws-sdk/lib/dynamodb/document_client.js | 519 - node_modules/aws-sdk/lib/dynamodb/set.js | 53 - .../aws-sdk/lib/dynamodb/translator.js | 79 - node_modules/aws-sdk/lib/dynamodb/types.js | 40 - node_modules/aws-sdk/lib/event_listeners.js | 471 - node_modules/aws-sdk/lib/http.js | 208 - node_modules/aws-sdk/lib/http/node.js | 169 - node_modules/aws-sdk/lib/http/xhr.js | 122 - node_modules/aws-sdk/lib/json/builder.js | 56 - node_modules/aws-sdk/lib/json/parser.js | 64 - node_modules/aws-sdk/lib/metadata_service.js | 121 - node_modules/aws-sdk/lib/model/api.js | 63 - node_modules/aws-sdk/lib/model/collection.js | 20 - node_modules/aws-sdk/lib/model/operation.js | 53 - node_modules/aws-sdk/lib/model/paginator.js | 11 - .../aws-sdk/lib/model/resource_waiter.js | 30 - node_modules/aws-sdk/lib/model/shape.js | 346 - node_modules/aws-sdk/lib/node_loader.js | 67 - node_modules/aws-sdk/lib/param_validator.js | 254 - node_modules/aws-sdk/lib/protocol/json.js | 62 - node_modules/aws-sdk/lib/protocol/query.js | 97 - node_modules/aws-sdk/lib/protocol/rest.js | 130 - .../aws-sdk/lib/protocol/rest_json.js | 67 - node_modules/aws-sdk/lib/protocol/rest_xml.js | 87 - .../lib/query/query_param_serializer.js | 81 - node_modules/aws-sdk/lib/region_config.js | 69 - node_modules/aws-sdk/lib/region_config.json | 62 - node_modules/aws-sdk/lib/request.js | 756 - node_modules/aws-sdk/lib/resource_waiter.js | 178 - node_modules/aws-sdk/lib/response.js | 201 - node_modules/aws-sdk/lib/s3/managed_upload.js | 601 - .../aws-sdk/lib/sequential_executor.js | 231 - node_modules/aws-sdk/lib/service.js | 539 - .../aws-sdk/lib/services/apigateway.js | 34 - .../aws-sdk/lib/services/cloudfront.js | 12 - .../aws-sdk/lib/services/cloudsearchdomain.js | 120 - .../aws-sdk/lib/services/cognitoidentity.js | 15 - node_modules/aws-sdk/lib/services/dynamodb.js | 53 - node_modules/aws-sdk/lib/services/ec2.js | 62 - node_modules/aws-sdk/lib/services/glacier.js | 114 - node_modules/aws-sdk/lib/services/iotdata.js | 88 - .../aws-sdk/lib/services/machinelearning.js | 24 - node_modules/aws-sdk/lib/services/route53.js | 32 - node_modules/aws-sdk/lib/services/s3.js | 832 - node_modules/aws-sdk/lib/services/sqs.js | 131 - node_modules/aws-sdk/lib/services/sts.js | 47 - node_modules/aws-sdk/lib/services/swf.js | 10 - node_modules/aws-sdk/lib/signers/presign.js | 115 - .../aws-sdk/lib/signers/request_signer.js | 37 - node_modules/aws-sdk/lib/signers/s3.js | 169 - node_modules/aws-sdk/lib/signers/v2.js | 45 - node_modules/aws-sdk/lib/signers/v3.js | 74 - node_modules/aws-sdk/lib/signers/v3https.js | 22 - node_modules/aws-sdk/lib/signers/v4.js | 241 - node_modules/aws-sdk/lib/state_machine.js | 42 - node_modules/aws-sdk/lib/util.js | 846 - .../aws-sdk/lib/xml/browser_parser.js | 186 - node_modules/aws-sdk/lib/xml/builder.js | 86 - node_modules/aws-sdk/lib/xml/node_parser.js | 159 - .../aws-sdk/node_modules/buffer/.npmignore | 2 - .../aws-sdk/node_modules/buffer/.travis.yml | 8 - .../aws-sdk/node_modules/buffer/AUTHORS.md | 44 - .../aws-sdk/node_modules/buffer/LICENSE | 21 - .../aws-sdk/node_modules/buffer/README.md | 378 - .../buffer/bin/download-node-tests.js | 106 - .../aws-sdk/node_modules/buffer/bin/test.js | 41 - .../node_modules/buffer/bin/update-authors.sh | 21 - .../node_modules/buffer/bin/zuul-es5.yml | 14 - .../node_modules/buffer/bin/zuul-es6.yml | 6 - .../aws-sdk/node_modules/buffer/index.js | 1789 - .../buffer/node_modules/base64-js/LICENSE | 21 - .../buffer/node_modules/base64-js/README.md | 32 - .../node_modules/base64-js/base64js.min.js | 1 - .../buffer/node_modules/base64-js/index.js | 114 - .../node_modules/base64-js/package.json | 46 - .../node_modules/base64-js/test/big-data.js | 24 - .../node_modules/base64-js/test/convert.js | 48 - .../node_modules/base64-js/test/url-safe.js | 18 - .../buffer/node_modules/ieee754/.travis.yml | 7 - .../buffer/node_modules/ieee754/.zuul.yml | 20 - .../buffer/node_modules/ieee754/LICENSE | 28 - .../buffer/node_modules/ieee754/README.md | 47 - .../buffer/node_modules/ieee754/index.js | 84 - .../buffer/node_modules/ieee754/package.json | 71 - .../buffer/node_modules/ieee754/test/basic.js | 23 - .../buffer/node_modules/isarray/.npmignore | 1 - .../buffer/node_modules/isarray/.travis.yml | 4 - .../buffer/node_modules/isarray/Makefile | 6 - .../buffer/node_modules/isarray/README.md | 60 - .../node_modules/isarray/component.json | 19 - .../buffer/node_modules/isarray/index.js | 5 - .../buffer/node_modules/isarray/package.json | 54 - .../buffer/node_modules/isarray/test.js | 20 - .../aws-sdk/node_modules/buffer/package.json | 89 - .../node_modules/buffer/test/_polyfill.js | 150 - .../node_modules/buffer/test/base64.js | 47 - .../aws-sdk/node_modules/buffer/test/basic.js | 85 - .../node_modules/buffer/test/compare.js | 59 - .../node_modules/buffer/test/constructor.js | 193 - .../node_modules/buffer/test/from-string.js | 132 - .../node_modules/buffer/test/is-buffer.js | 22 - .../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 - .../aws-sdk/node_modules/buffer/test/slice.js | 37 - .../node_modules/buffer/test/static.js | 17 - .../node_modules/buffer/test/to-string.js | 233 - .../aws-sdk/node_modules/buffer/test/write.js | 131 - .../buffer/test/write_infinity.js | 45 - .../node_modules/crypto-browserify/.npmignore | 1 - .../crypto-browserify/.travis.yml | 5 - .../node_modules/crypto-browserify/LICENSE | 24 - .../crypto-browserify/example/bundle.js | 637 - .../crypto-browserify/example/index.html | 12 - .../crypto-browserify/example/test.js | 4 - .../node_modules/crypto-browserify/helpers.js | 35 - .../node_modules/crypto-browserify/index.js | 97 - .../node_modules/crypto-browserify/md5.js | 163 - .../crypto-browserify/package.json | 49 - .../crypto-browserify/readme.markdown | 20 - .../node_modules/crypto-browserify/rng.js | 31 - .../node_modules/crypto-browserify/sha.js | 101 - .../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 .../aws-sdk/node_modules/jmespath/.eslintrc | 10 - .../aws-sdk/node_modules/jmespath/.npmignore | 1 - .../aws-sdk/node_modules/jmespath/.travis.yml | 6 - .../aws-sdk/node_modules/jmespath/BASELINE | 15 - .../node_modules/jmespath/Gruntfile.js | 36 - .../aws-sdk/node_modules/jmespath/LICENSE | 13 - .../aws-sdk/node_modules/jmespath/README.md | 57 - .../jmespath/artifacts/jmespath.min.js | 2 - .../aws-sdk/node_modules/jmespath/bower.json | 24 - .../aws-sdk/node_modules/jmespath/g.sh | 5 - .../aws-sdk/node_modules/jmespath/index.html | 93 - .../aws-sdk/node_modules/jmespath/james.html | 7 - .../aws-sdk/node_modules/jmespath/jmespath.js | 1667 - .../aws-sdk/node_modules/jmespath/jp.js | 23 - .../aws-sdk/node_modules/jmespath/l.js | 189 - .../node_modules/jmespath/package.json | 55 - .../aws-sdk/node_modules/jmespath/perf.js | 33 - .../node_modules/jmespath/reservedWords.json | 4 - .../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 - .../node_modules/jmespath/test/jmespath.js | 217 - .../node_modules/querystring/.History.md.un~ | Bin 7960 -> 0 bytes .../node_modules/querystring/.Readme.md.un~ | Bin 3225 -> 0 bytes .../querystring/.package.json.un~ | Bin 5710 -> 0 bytes .../node_modules/querystring/.travis.yml | 4 - .../node_modules/querystring/History.md | 20 - .../node_modules/querystring/License.md | 19 - .../node_modules/querystring/Readme.md | 15 - .../node_modules/querystring/decode.js | 80 - .../node_modules/querystring/encode.js | 64 - .../aws-sdk/node_modules/querystring/index.js | 4 - .../node_modules/querystring/package.json | 81 - .../querystring/test/.index.js.un~ | Bin 975 -> 0 bytes .../querystring/test/common-index.js | 3 - .../node_modules/querystring/test/index.js | 210 - .../querystring/test/tap-index.js | 3 - node_modules/aws-sdk/node_modules/sax/LICENSE | 41 - .../aws-sdk/node_modules/sax/LICENSE-W3C.html | 188 - .../aws-sdk/node_modules/sax/README.md | 220 - .../aws-sdk/node_modules/sax/lib/sax.js | 1571 - .../aws-sdk/node_modules/sax/package.json | 40 - .../aws-sdk/node_modules/url/.npmignore | 1 - .../aws-sdk/node_modules/url/.travis.yml | 7 - .../aws-sdk/node_modules/url/.zuul.yml | 16 - node_modules/aws-sdk/node_modules/url/LICENSE | 21 - .../aws-sdk/node_modules/url/README.md | 108 - .../url/node_modules/punycode/LICENSE-MIT.txt | 20 - .../url/node_modules/punycode/README.md | 176 - .../url/node_modules/punycode/package.json | 61 - .../url/node_modules/punycode/punycode.js | 530 - .../aws-sdk/node_modules/url/package.json | 34 - node_modules/aws-sdk/node_modules/url/test.js | 1461 - node_modules/aws-sdk/node_modules/url/url.js | 707 - .../aws-sdk/node_modules/xml2js/LICENSE | 19 - .../aws-sdk/node_modules/xml2js/README.md | 406 - .../aws-sdk/node_modules/xml2js/lib/bom.js | 16 - .../node_modules/xml2js/lib/processors.js | 34 - .../aws-sdk/node_modules/xml2js/lib/xml2js.js | 537 - .../aws-sdk/node_modules/xml2js/package.json | 258 - .../node_modules/xmlbuilder/.npmignore | 4 - .../aws-sdk/node_modules/xmlbuilder/LICENSE | 21 - .../aws-sdk/node_modules/xmlbuilder/README.md | 84 - .../xmlbuilder/lib/XMLAttribute.js | 32 - .../node_modules/xmlbuilder/lib/XMLBuilder.js | 69 - .../node_modules/xmlbuilder/lib/XMLCData.js | 49 - .../node_modules/xmlbuilder/lib/XMLComment.js | 49 - .../xmlbuilder/lib/XMLDTDAttList.js | 72 - .../xmlbuilder/lib/XMLDTDElement.js | 52 - .../xmlbuilder/lib/XMLDTDEntity.js | 88 - .../xmlbuilder/lib/XMLDTDNotation.js | 60 - .../xmlbuilder/lib/XMLDeclaration.js | 73 - .../node_modules/xmlbuilder/lib/XMLDocType.js | 192 - .../node_modules/xmlbuilder/lib/XMLElement.js | 214 - .../node_modules/xmlbuilder/lib/XMLNode.js | 334 - .../lib/XMLProcessingInstruction.js | 51 - .../node_modules/xmlbuilder/lib/XMLRaw.js | 49 - .../xmlbuilder/lib/XMLStringifier.js | 167 - .../node_modules/xmlbuilder/lib/XMLText.js | 49 - .../node_modules/xmlbuilder/lib/index.js | 14 - .../node_modules/lodash/LICENSE.txt | 22 - .../xmlbuilder/node_modules/lodash/README.md | 116 - .../xmlbuilder/node_modules/lodash/array.js | 42 - .../node_modules/lodash/array/chunk.js | 47 - .../node_modules/lodash/array/compact.js | 30 - .../node_modules/lodash/array/difference.js | 40 - .../node_modules/lodash/array/drop.js | 39 - .../node_modules/lodash/array/dropRight.js | 40 - .../lodash/array/dropRightWhile.js | 63 - .../node_modules/lodash/array/dropWhile.js | 64 - .../node_modules/lodash/array/fill.js | 31 - .../node_modules/lodash/array/findIndex.js | 64 - .../lodash/array/findLastIndex.js | 62 - .../node_modules/lodash/array/first.js | 22 - .../node_modules/lodash/array/flatten.js | 32 - .../node_modules/lodash/array/flattenDeep.js | 21 - .../node_modules/lodash/array/head.js | 1 - .../node_modules/lodash/array/indexOf.js | 58 - .../node_modules/lodash/array/initial.js | 20 - .../node_modules/lodash/array/intersection.js | 67 - .../node_modules/lodash/array/last.js | 19 - .../node_modules/lodash/array/lastIndexOf.js | 60 - .../node_modules/lodash/array/object.js | 1 - .../node_modules/lodash/array/pull.js | 55 - .../node_modules/lodash/array/pullAt.js | 33 - .../node_modules/lodash/array/remove.js | 65 - .../node_modules/lodash/array/rest.js | 21 - .../node_modules/lodash/array/slice.js | 30 - .../node_modules/lodash/array/sortedIndex.js | 59 - .../lodash/array/sortedLastIndex.js | 31 - .../node_modules/lodash/array/tail.js | 1 - .../node_modules/lodash/array/take.js | 39 - .../node_modules/lodash/array/takeRight.js | 40 - .../lodash/array/takeRightWhile.js | 63 - .../node_modules/lodash/array/takeWhile.js | 64 - .../node_modules/lodash/array/union.js | 27 - .../node_modules/lodash/array/uniq.js | 74 - .../node_modules/lodash/array/unique.js | 1 - .../node_modules/lodash/array/unzip.js | 37 - .../node_modules/lodash/array/without.js | 28 - .../node_modules/lodash/array/xor.js | 36 - .../node_modules/lodash/array/zip.js | 28 - .../node_modules/lodash/array/zipObject.js | 39 - .../xmlbuilder/node_modules/lodash/chain.js | 15 - .../node_modules/lodash/chain/chain.js | 35 - .../node_modules/lodash/chain/commit.js | 1 - .../node_modules/lodash/chain/lodash.js | 122 - .../node_modules/lodash/chain/plant.js | 1 - .../node_modules/lodash/chain/reverse.js | 1 - .../node_modules/lodash/chain/run.js | 1 - .../node_modules/lodash/chain/tap.js | 29 - .../node_modules/lodash/chain/thru.js | 25 - .../node_modules/lodash/chain/toJSON.js | 1 - .../node_modules/lodash/chain/toString.js | 1 - .../node_modules/lodash/chain/value.js | 1 - .../node_modules/lodash/chain/valueOf.js | 1 - .../node_modules/lodash/chain/wrapperChain.js | 32 - .../lodash/chain/wrapperCommit.js | 32 - .../node_modules/lodash/chain/wrapperPlant.js | 45 - .../lodash/chain/wrapperReverse.js | 38 - .../lodash/chain/wrapperToString.js | 17 - .../node_modules/lodash/chain/wrapperValue.js | 20 - .../node_modules/lodash/collection.js | 44 - .../node_modules/lodash/collection/all.js | 1 - .../node_modules/lodash/collection/any.js | 1 - .../node_modules/lodash/collection/at.js | 34 - .../node_modules/lodash/collection/collect.js | 1 - .../lodash/collection/contains.js | 1 - .../node_modules/lodash/collection/countBy.js | 54 - .../node_modules/lodash/collection/detect.js | 1 - .../node_modules/lodash/collection/each.js | 1 - .../lodash/collection/eachRight.js | 1 - .../node_modules/lodash/collection/every.js | 62 - .../node_modules/lodash/collection/filter.js | 61 - .../node_modules/lodash/collection/find.js | 66 - .../lodash/collection/findLast.js | 29 - .../lodash/collection/findWhere.js | 37 - .../node_modules/lodash/collection/foldl.js | 1 - .../node_modules/lodash/collection/foldr.js | 1 - .../node_modules/lodash/collection/forEach.js | 42 - .../lodash/collection/forEachRight.js | 31 - .../node_modules/lodash/collection/groupBy.js | 59 - .../node_modules/lodash/collection/include.js | 1 - .../lodash/collection/includes.js | 61 - .../node_modules/lodash/collection/indexBy.js | 53 - .../node_modules/lodash/collection/inject.js | 1 - .../node_modules/lodash/collection/invoke.js | 30 - .../node_modules/lodash/collection/map.js | 68 - .../node_modules/lodash/collection/max.js | 1 - .../node_modules/lodash/collection/min.js | 1 - .../lodash/collection/partition.js | 66 - .../node_modules/lodash/collection/pluck.js | 31 - .../node_modules/lodash/collection/reduce.js | 48 - .../lodash/collection/reduceRight.js | 34 - .../node_modules/lodash/collection/reject.js | 61 - .../node_modules/lodash/collection/sample.js | 38 - .../node_modules/lodash/collection/select.js | 1 - .../node_modules/lodash/collection/shuffle.js | 36 - .../node_modules/lodash/collection/size.js | 29 - .../node_modules/lodash/collection/some.js | 63 - .../node_modules/lodash/collection/sortBy.js | 75 - .../lodash/collection/sortByAll.js | 41 - .../lodash/collection/sortByOrder.js | 48 - .../node_modules/lodash/collection/sum.js | 1 - .../node_modules/lodash/collection/where.js | 37 - .../xmlbuilder/node_modules/lodash/date.js | 3 - .../node_modules/lodash/date/now.js | 24 - .../node_modules/lodash/function.js | 26 - .../node_modules/lodash/function/after.js | 48 - .../node_modules/lodash/function/ary.js | 34 - .../node_modules/lodash/function/backflow.js | 1 - .../node_modules/lodash/function/before.js | 41 - .../node_modules/lodash/function/bind.js | 58 - .../node_modules/lodash/function/bindAll.js | 41 - .../node_modules/lodash/function/bindKey.js | 68 - .../node_modules/lodash/function/compose.js | 1 - .../node_modules/lodash/function/curry.js | 59 - .../lodash/function/curryRight.js | 56 - .../node_modules/lodash/function/debounce.js | 186 - .../node_modules/lodash/function/defer.js | 24 - .../node_modules/lodash/function/delay.js | 25 - .../node_modules/lodash/function/flow.js | 25 - .../node_modules/lodash/function/flowRight.js | 25 - .../node_modules/lodash/function/memoize.js | 82 - .../node_modules/lodash/function/negate.js | 32 - .../node_modules/lodash/function/once.js | 24 - .../node_modules/lodash/function/partial.js | 50 - .../lodash/function/partialRight.js | 49 - .../node_modules/lodash/function/rearg.js | 40 - .../node_modules/lodash/function/spread.js | 43 - .../node_modules/lodash/function/throttle.js | 72 - .../node_modules/lodash/function/wrap.js | 33 - .../xmlbuilder/node_modules/lodash/index.js | 11599 -- .../lodash/internal/LazyWrapper.js | 27 - .../lodash/internal/LodashWrapper.js | 21 - .../node_modules/lodash/internal/MapCache.js | 24 - .../node_modules/lodash/internal/SetCache.js | 29 - .../node_modules/lodash/internal/arrayCopy.js | 20 - .../node_modules/lodash/internal/arrayEach.js | 22 - .../lodash/internal/arrayEachRight.js | 21 - .../lodash/internal/arrayEvery.js | 23 - .../lodash/internal/arrayFilter.js | 25 - .../node_modules/lodash/internal/arrayMap.js | 21 - .../node_modules/lodash/internal/arrayMax.js | 25 - .../node_modules/lodash/internal/arrayMin.js | 25 - .../lodash/internal/arrayReduce.js | 26 - .../lodash/internal/arrayReduceRight.js | 24 - .../node_modules/lodash/internal/arraySome.js | 23 - .../lodash/internal/assignDefaults.js | 13 - .../lodash/internal/assignOwnDefaults.js | 26 - .../lodash/internal/baseAssign.js | 35 - .../node_modules/lodash/internal/baseAt.js | 32 - .../lodash/internal/baseBindAll.js | 26 - .../lodash/internal/baseCallback.js | 36 - .../node_modules/lodash/internal/baseClone.js | 130 - .../lodash/internal/baseCompareAscending.js | 25 - .../node_modules/lodash/internal/baseCopy.js | 25 - .../lodash/internal/baseCreate.js | 23 - .../node_modules/lodash/internal/baseDelay.js | 23 - .../lodash/internal/baseDifference.js | 52 - .../node_modules/lodash/internal/baseEach.js | 30 - .../lodash/internal/baseEachRight.js | 28 - .../node_modules/lodash/internal/baseEvery.js | 22 - .../node_modules/lodash/internal/baseFill.js | 31 - .../lodash/internal/baseFilter.js | 22 - .../node_modules/lodash/internal/baseFind.js | 25 - .../lodash/internal/baseFlatten.js | 45 - .../node_modules/lodash/internal/baseFor.js | 30 - .../node_modules/lodash/internal/baseForIn.js | 17 - .../lodash/internal/baseForOwn.js | 17 - .../lodash/internal/baseForOwnRight.js | 17 - .../lodash/internal/baseForRight.js | 27 - .../lodash/internal/baseFunctions.js | 27 - .../lodash/internal/baseIndexOf.js | 27 - .../lodash/internal/baseInvoke.js | 28 - .../lodash/internal/baseIsEqual.js | 34 - .../lodash/internal/baseIsEqualDeep.js | 101 - .../lodash/internal/baseIsFunction.js | 15 - .../lodash/internal/baseIsMatch.js | 58 - .../lodash/internal/baseLodash.js | 10 - .../node_modules/lodash/internal/baseMap.js | 20 - .../lodash/internal/baseMatches.js | 45 - .../lodash/internal/baseMatchesProperty.js | 24 - .../node_modules/lodash/internal/baseMerge.js | 48 - .../lodash/internal/baseMergeDeep.js | 67 - .../lodash/internal/baseProperty.js | 14 - .../lodash/internal/basePullAt.js | 35 - .../lodash/internal/baseRandom.js | 20 - .../lodash/internal/baseReduce.js | 24 - .../lodash/internal/baseSetData.js | 17 - .../node_modules/lodash/internal/baseSlice.js | 32 - .../node_modules/lodash/internal/baseSome.js | 23 - .../lodash/internal/baseSortBy.js | 21 - .../lodash/internal/baseSortByOrder.js | 35 - .../lodash/internal/baseToString.js | 16 - .../node_modules/lodash/internal/baseUniq.js | 57 - .../lodash/internal/baseValues.js | 22 - .../lodash/internal/baseWrapperValue.js | 37 - .../lodash/internal/binaryIndex.js | 40 - .../lodash/internal/binaryIndexBy.js | 54 - .../lodash/internal/bindCallback.js | 39 - .../lodash/internal/bufferClone.js | 55 - .../lodash/internal/cacheIndexOf.js | 19 - .../node_modules/lodash/internal/cachePush.js | 20 - .../lodash/internal/charAtCallback.js | 12 - .../lodash/internal/charsLeftIndex.js | 18 - .../lodash/internal/charsRightIndex.js | 17 - .../lodash/internal/compareAscending.js | 16 - .../lodash/internal/compareMultiple.js | 43 - .../lodash/internal/composeArgs.js | 34 - .../lodash/internal/composeArgsRight.js | 36 - .../lodash/internal/createAggregator.js | 37 - .../lodash/internal/createAssigner.js | 47 - .../lodash/internal/createBindWrapper.js | 22 - .../lodash/internal/createCache.js | 22 - .../lodash/internal/createComposer.js | 39 - .../lodash/internal/createCompounder.js | 26 - .../lodash/internal/createCtorWrapper.js | 23 - .../lodash/internal/createExtremum.js | 38 - .../lodash/internal/createHybridWrapper.js | 105 - .../node_modules/lodash/internal/createPad.js | 32 - .../lodash/internal/createPartialWrapper.js | 43 - .../lodash/internal/createWrapper.js | 86 - .../lodash/internal/deburrLetter.js | 33 - .../lodash/internal/equalArrays.js | 54 - .../lodash/internal/equalByTag.js | 49 - .../lodash/internal/equalObjects.js | 74 - .../lodash/internal/escapeHtmlChar.js | 22 - .../lodash/internal/escapeStringChar.js | 23 - .../lodash/internal/extremumBy.js | 35 - .../node_modules/lodash/internal/getData.js | 15 - .../node_modules/lodash/internal/getView.js | 33 - .../lodash/internal/indexOfNaN.js | 24 - .../lodash/internal/initCloneArray.js | 26 - .../lodash/internal/initCloneByTag.js | 64 - .../lodash/internal/initCloneObject.js | 16 - .../lodash/internal/isBindable.js | 38 - .../node_modules/lodash/internal/isIndex.js | 22 - .../lodash/internal/isIterateeCall.js | 32 - .../node_modules/lodash/internal/isLength.js | 23 - .../lodash/internal/isObjectLike.js | 12 - .../node_modules/lodash/internal/isSpace.js | 14 - .../lodash/internal/isStrictComparable.js | 15 - .../node_modules/lodash/internal/lazyClone.js | 27 - .../lodash/internal/lazyReverse.js | 23 - .../node_modules/lodash/internal/lazyValue.js | 81 - .../node_modules/lodash/internal/mapDelete.js | 14 - .../node_modules/lodash/internal/mapGet.js | 14 - .../node_modules/lodash/internal/mapHas.js | 20 - .../node_modules/lodash/internal/mapSet.js | 18 - .../node_modules/lodash/internal/mergeData.js | 99 - .../node_modules/lodash/internal/metaMap.js | 9 - .../lodash/internal/pickByArray.js | 28 - .../lodash/internal/pickByCallback.js | 22 - .../node_modules/lodash/internal/reEscape.js | 4 - .../lodash/internal/reEvaluate.js | 4 - .../lodash/internal/reInterpolate.js | 4 - .../node_modules/lodash/internal/reorder.js | 29 - .../lodash/internal/replaceHolders.js | 28 - .../node_modules/lodash/internal/setData.js | 41 - .../lodash/internal/shimIsPlainObject.js | 51 - .../node_modules/lodash/internal/shimKeys.js | 42 - .../lodash/internal/sortedUniq.js | 29 - .../lodash/internal/toIterable.js | 22 - .../node_modules/lodash/internal/toObject.js | 14 - .../lodash/internal/trimmedLeftIndex.js | 19 - .../lodash/internal/trimmedRightIndex.js | 18 - .../lodash/internal/unescapeHtmlChar.js | 22 - .../lodash/internal/wrapperClone.js | 18 - .../xmlbuilder/node_modules/lodash/lang.js | 27 - .../node_modules/lodash/lang/clone.js | 69 - .../node_modules/lodash/lang/cloneDeep.js | 54 - .../node_modules/lodash/lang/isArguments.js | 38 - .../node_modules/lodash/lang/isArray.js | 41 - .../node_modules/lodash/lang/isBoolean.js | 36 - .../node_modules/lodash/lang/isDate.js | 36 - .../node_modules/lodash/lang/isElement.js | 42 - .../node_modules/lodash/lang/isEmpty.js | 48 - .../node_modules/lodash/lang/isEqual.js | 57 - .../node_modules/lodash/lang/isError.js | 37 - .../node_modules/lodash/lang/isFinite.js | 40 - .../node_modules/lodash/lang/isFunction.js | 43 - .../node_modules/lodash/lang/isMatch.js | 74 - .../node_modules/lodash/lang/isNaN.js | 35 - .../node_modules/lodash/lang/isNative.js | 55 - .../node_modules/lodash/lang/isNull.js | 21 - .../node_modules/lodash/lang/isNumber.js | 42 - .../node_modules/lodash/lang/isObject.js | 30 - .../node_modules/lodash/lang/isPlainObject.js | 62 - .../node_modules/lodash/lang/isRegExp.js | 36 - .../node_modules/lodash/lang/isString.js | 36 - .../node_modules/lodash/lang/isTypedArray.js | 75 - .../node_modules/lodash/lang/isUndefined.js | 21 - .../node_modules/lodash/lang/toArray.js | 31 - .../node_modules/lodash/lang/toPlainObject.js | 31 - .../xmlbuilder/node_modules/lodash/math.js | 6 - .../node_modules/lodash/math/add.js | 19 - .../node_modules/lodash/math/max.js | 53 - .../node_modules/lodash/math/min.js | 53 - .../node_modules/lodash/math/sum.js | 33 - .../xmlbuilder/node_modules/lodash/number.js | 4 - .../node_modules/lodash/number/inRange.js | 43 - .../node_modules/lodash/number/random.js | 70 - .../xmlbuilder/node_modules/lodash/object.js | 27 - .../node_modules/lodash/object/assign.js | 35 - .../node_modules/lodash/object/create.js | 48 - .../node_modules/lodash/object/defaults.js | 30 - .../node_modules/lodash/object/extend.js | 1 - .../node_modules/lodash/object/findKey.js | 58 - .../node_modules/lodash/object/findLastKey.js | 58 - .../node_modules/lodash/object/forIn.js | 39 - .../node_modules/lodash/object/forInRight.js | 35 - .../node_modules/lodash/object/forOwn.js | 38 - .../node_modules/lodash/object/forOwnRight.js | 35 - .../node_modules/lodash/object/functions.js | 23 - .../node_modules/lodash/object/has.js | 28 - .../node_modules/lodash/object/invert.js | 60 - .../node_modules/lodash/object/keys.js | 48 - .../node_modules/lodash/object/keysIn.js | 65 - .../node_modules/lodash/object/mapValues.js | 55 - .../node_modules/lodash/object/merge.js | 54 - .../node_modules/lodash/object/methods.js | 1 - .../node_modules/lodash/object/omit.js | 51 - .../node_modules/lodash/object/pairs.js | 30 - .../node_modules/lodash/object/pick.js | 41 - .../node_modules/lodash/object/result.js | 41 - .../node_modules/lodash/object/transform.js | 61 - .../node_modules/lodash/object/values.js | 33 - .../node_modules/lodash/object/valuesIn.js | 31 - .../node_modules/lodash/package.json | 62 - .../xmlbuilder/node_modules/lodash/string.js | 25 - .../node_modules/lodash/string/camelCase.js | 28 - .../node_modules/lodash/string/capitalize.js | 21 - .../node_modules/lodash/string/deburr.js | 27 - .../node_modules/lodash/string/endsWith.js | 40 - .../node_modules/lodash/string/escape.js | 48 - .../lodash/string/escapeRegExp.js | 32 - .../node_modules/lodash/string/kebabCase.js | 28 - .../node_modules/lodash/string/pad.js | 50 - .../node_modules/lodash/string/padLeft.js | 32 - .../node_modules/lodash/string/padRight.js | 32 - .../node_modules/lodash/string/parseInt.js | 67 - .../node_modules/lodash/string/repeat.js | 49 - .../node_modules/lodash/string/snakeCase.js | 27 - .../node_modules/lodash/string/startCase.js | 28 - .../node_modules/lodash/string/startsWith.js | 36 - .../node_modules/lodash/string/template.js | 229 - .../lodash/string/templateSettings.js | 67 - .../node_modules/lodash/string/trim.js | 42 - .../node_modules/lodash/string/trimLeft.js | 36 - .../node_modules/lodash/string/trimRight.js | 36 - .../node_modules/lodash/string/trunc.js | 105 - .../node_modules/lodash/string/unescape.js | 33 - .../node_modules/lodash/string/words.js | 38 - .../xmlbuilder/node_modules/lodash/support.js | 75 - .../xmlbuilder/node_modules/lodash/utility.js | 16 - .../node_modules/lodash/utility/attempt.js | 38 - .../node_modules/lodash/utility/callback.js | 53 - .../node_modules/lodash/utility/constant.js | 23 - .../node_modules/lodash/utility/identity.js | 20 - .../node_modules/lodash/utility/iteratee.js | 1 - .../node_modules/lodash/utility/matches.js | 33 - .../lodash/utility/matchesProperty.js | 33 - .../node_modules/lodash/utility/mixin.js | 91 - .../node_modules/lodash/utility/noop.js | 19 - .../node_modules/lodash/utility/property.js | 30 - .../node_modules/lodash/utility/propertyOf.js | 26 - .../node_modules/lodash/utility/range.js | 68 - .../node_modules/lodash/utility/times.js | 59 - .../node_modules/lodash/utility/uniqueId.js | 27 - .../node_modules/xmlbuilder/package.json | 45 - node_modules/aws-sdk/package.json | 143 - .../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 - node_modules/aws-sdk/scripts/console | 119 - .../aws-sdk/scripts/lib/translator.js | 153 - node_modules/aws-sdk/scripts/translate-api | 19 - node_modules/aws-sdk/testem.json | 3 - node_modules/uuid/.npmignore | 2 - node_modules/uuid/.travis.yml | 5 - node_modules/uuid/LICENSE.md | 2 - node_modules/uuid/README.md | 205 - node_modules/uuid/benchmark/README.md | 53 - node_modules/uuid/benchmark/bench.gnu | 174 - node_modules/uuid/benchmark/bench.sh | 34 - .../uuid/benchmark/benchmark-native.c | 34 - node_modules/uuid/benchmark/benchmark.js | 84 - node_modules/uuid/benchmark/package.json | 9 - node_modules/uuid/misc/compare.js | 62 - node_modules/uuid/misc/perf.js | 102 - node_modules/uuid/package.json | 59 - node_modules/uuid/rng-browser.js | 32 - node_modules/uuid/rng.js | 4 - node_modules/uuid/test/mocha.opts | 1 - node_modules/uuid/test/test.js | 105 - node_modules/uuid/uuid.js | 183 - 1155 files changed, 282454 deletions(-) delete mode 100644 .idea/encodings.xml delete mode 100644 .idea/jsLibraryMappings.xml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/serverless-crud.iml delete mode 100644 .idea/vcs.xml delete mode 100644 .idea/watcherTasks.xml delete mode 100644 .idea/workspace.xml delete mode 100644 node_modules/aws-sdk/.changes/2.4.10.json delete mode 100644 node_modules/aws-sdk/.changes/2.4.11.json delete mode 100644 node_modules/aws-sdk/.changes/2.4.12.json delete mode 100644 node_modules/aws-sdk/.changes/2.4.13.json delete mode 100644 node_modules/aws-sdk/.changes/2.4.14.json delete mode 100644 node_modules/aws-sdk/.changes/2.4.8.json delete mode 100644 node_modules/aws-sdk/.changes/2.4.9.json delete mode 100644 node_modules/aws-sdk/.changes/2.5.0.json delete mode 100644 node_modules/aws-sdk/.changes/2.5.1.json delete mode 100644 node_modules/aws-sdk/.changes/2.5.2.json delete mode 100644 node_modules/aws-sdk/.changes/2.5.3.json delete mode 100644 node_modules/aws-sdk/.changes/2.5.4.json delete mode 100644 node_modules/aws-sdk/.changes/2.5.5.json delete mode 100644 node_modules/aws-sdk/.changes/2.5.6.json delete mode 100644 node_modules/aws-sdk/.changes/2.6.0.json delete mode 100644 node_modules/aws-sdk/.changes/2.6.1.json delete mode 100644 node_modules/aws-sdk/.changes/2.6.2.json delete mode 100644 node_modules/aws-sdk/.changes/2.6.3.json delete mode 100644 node_modules/aws-sdk/.changes/2.6.4.json delete mode 100644 node_modules/aws-sdk/.changes/2.6.5.json delete mode 100644 node_modules/aws-sdk/.changes/2.6.6.json delete mode 100644 node_modules/aws-sdk/.changes/2.6.7.json delete mode 100644 node_modules/aws-sdk/.changes/2.6.8.json delete mode 100644 node_modules/aws-sdk/.jshintrc delete mode 100644 node_modules/aws-sdk/.npmignore delete mode 100644 node_modules/aws-sdk/.tesselinclude delete mode 100644 node_modules/aws-sdk/CHANGELOG.md delete mode 100644 node_modules/aws-sdk/CONTRIBUTING.md delete mode 100644 node_modules/aws-sdk/LICENSE.txt delete mode 100644 node_modules/aws-sdk/NOTICE.txt delete mode 100644 node_modules/aws-sdk/README.md delete mode 100644 node_modules/aws-sdk/UPGRADING.md delete mode 100644 node_modules/aws-sdk/apis/acm-2015-12-08.min.json delete mode 100644 node_modules/aws-sdk/apis/acm-2015-12-08.paginators.json delete mode 100644 node_modules/aws-sdk/apis/apigateway-2015-07-09.min.json delete mode 100644 node_modules/aws-sdk/apis/apigateway-2015-07-09.paginators.json delete mode 100644 node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.examples.json delete mode 100644 node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.min.json delete mode 100644 node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.paginators.json delete mode 100644 node_modules/aws-sdk/apis/autoscaling-2011-01-01.examples.json delete mode 100644 node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json delete mode 100644 node_modules/aws-sdk/apis/autoscaling-2011-01-01.paginators.json delete mode 100644 node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json delete mode 100644 node_modules/aws-sdk/apis/cloudformation-2010-05-15.paginators.json delete mode 100644 node_modules/aws-sdk/apis/cloudformation-2010-05-15.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/cloudfront-2016-09-07.min.json delete mode 100644 node_modules/aws-sdk/apis/cloudfront-2016-09-07.paginators.json delete mode 100644 node_modules/aws-sdk/apis/cloudfront-2016-09-07.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/cloudhsm-2014-05-30.min.json delete mode 100644 node_modules/aws-sdk/apis/cloudsearch-2011-02-01.min.json delete mode 100644 node_modules/aws-sdk/apis/cloudsearch-2011-02-01.paginators.json delete mode 100644 node_modules/aws-sdk/apis/cloudsearch-2013-01-01.min.json delete mode 100644 node_modules/aws-sdk/apis/cloudsearch-2013-01-01.paginators.json delete mode 100644 node_modules/aws-sdk/apis/cloudsearchdomain-2013-01-01.min.json delete mode 100644 node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json delete mode 100644 node_modules/aws-sdk/apis/cloudtrail-2013-11-01.paginators.json delete mode 100644 node_modules/aws-sdk/apis/codecommit-2015-04-13.min.json delete mode 100644 node_modules/aws-sdk/apis/codecommit-2015-04-13.paginators.json delete mode 100644 node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json delete mode 100644 node_modules/aws-sdk/apis/codedeploy-2014-10-06.paginators.json delete mode 100644 node_modules/aws-sdk/apis/codedeploy-2014-10-06.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/codepipeline-2015-07-09.examples.json delete mode 100644 node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json delete mode 100644 node_modules/aws-sdk/apis/cognito-identity-2014-06-30.min.json delete mode 100644 node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json delete mode 100644 node_modules/aws-sdk/apis/cognito-sync-2014-06-30.min.json delete mode 100644 node_modules/aws-sdk/apis/config-2014-11-12.min.json delete mode 100644 node_modules/aws-sdk/apis/config-2014-11-12.paginators.json delete mode 100644 node_modules/aws-sdk/apis/datapipeline-2012-10-29.min.json delete mode 100644 node_modules/aws-sdk/apis/datapipeline-2012-10-29.paginators.json delete mode 100644 node_modules/aws-sdk/apis/devicefarm-2015-06-23.examples.json delete mode 100644 node_modules/aws-sdk/apis/devicefarm-2015-06-23.min.json delete mode 100644 node_modules/aws-sdk/apis/devicefarm-2015-06-23.paginators.json delete mode 100644 node_modules/aws-sdk/apis/directconnect-2012-10-25.min.json delete mode 100644 node_modules/aws-sdk/apis/directconnect-2012-10-25.paginators.json delete mode 100644 node_modules/aws-sdk/apis/discovery-2015-11-01.min.json delete mode 100644 node_modules/aws-sdk/apis/dms-2016-01-01.min.json delete mode 100644 node_modules/aws-sdk/apis/ds-2015-04-16.min.json delete mode 100644 node_modules/aws-sdk/apis/dynamodb-2011-12-05.min.json delete mode 100644 node_modules/aws-sdk/apis/dynamodb-2011-12-05.paginators.json delete mode 100644 node_modules/aws-sdk/apis/dynamodb-2011-12-05.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json delete mode 100644 node_modules/aws-sdk/apis/dynamodb-2012-08-10.paginators.json delete mode 100644 node_modules/aws-sdk/apis/dynamodb-2012-08-10.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/ec2-2016-09-15.examples.json delete mode 100644 node_modules/aws-sdk/apis/ec2-2016-09-15.min.json delete mode 100644 node_modules/aws-sdk/apis/ec2-2016-09-15.paginators.json delete mode 100644 node_modules/aws-sdk/apis/ec2-2016-09-15.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/ecr-2015-09-21.examples.json delete mode 100644 node_modules/aws-sdk/apis/ecr-2015-09-21.min.json delete mode 100644 node_modules/aws-sdk/apis/ecs-2014-11-13.examples.json delete mode 100644 node_modules/aws-sdk/apis/ecs-2014-11-13.min.json delete mode 100644 node_modules/aws-sdk/apis/ecs-2014-11-13.paginators.json delete mode 100644 node_modules/aws-sdk/apis/ecs-2014-11-13.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json delete mode 100644 node_modules/aws-sdk/apis/elasticache-2015-02-02.paginators.json delete mode 100644 node_modules/aws-sdk/apis/elasticache-2015-02-02.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.examples.json delete mode 100644 node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.min.json delete mode 100644 node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.paginators.json delete mode 100644 node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json delete mode 100644 node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.examples.json delete mode 100644 node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.min.json delete mode 100644 node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.paginators.json delete mode 100644 node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.examples.json delete mode 100644 node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json delete mode 100644 node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.paginators.json delete mode 100644 node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json delete mode 100644 node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.paginators.json delete mode 100644 node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.min.json delete mode 100644 node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.paginators.json delete mode 100644 node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/email-2010-12-01.examples.json delete mode 100644 node_modules/aws-sdk/apis/email-2010-12-01.min.json delete mode 100644 node_modules/aws-sdk/apis/email-2010-12-01.paginators.json delete mode 100644 node_modules/aws-sdk/apis/email-2010-12-01.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/es-2015-01-01.min.json delete mode 100644 node_modules/aws-sdk/apis/events-2015-10-07.min.json delete mode 100644 node_modules/aws-sdk/apis/firehose-2015-08-04.min.json delete mode 100644 node_modules/aws-sdk/apis/gamelift-2015-10-01.min.json delete mode 100644 node_modules/aws-sdk/apis/glacier-2012-06-01.min.json delete mode 100644 node_modules/aws-sdk/apis/glacier-2012-06-01.paginators.json delete mode 100644 node_modules/aws-sdk/apis/glacier-2012-06-01.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/iam-2010-05-08.min.json delete mode 100644 node_modules/aws-sdk/apis/iam-2010-05-08.paginators.json delete mode 100644 node_modules/aws-sdk/apis/iam-2010-05-08.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/importexport-2010-06-01.min.json delete mode 100644 node_modules/aws-sdk/apis/importexport-2010-06-01.paginators.json delete mode 100644 node_modules/aws-sdk/apis/inspector-2016-02-16.min.json delete mode 100644 node_modules/aws-sdk/apis/iot-2015-05-28.min.json delete mode 100644 node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json delete mode 100644 node_modules/aws-sdk/apis/kinesis-2013-12-02.min.json delete mode 100644 node_modules/aws-sdk/apis/kinesis-2013-12-02.paginators.json delete mode 100644 node_modules/aws-sdk/apis/kinesis-2013-12-02.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/kinesisanalytics-2015-08-14.min.json delete mode 100644 node_modules/aws-sdk/apis/kms-2014-11-01.min.json delete mode 100644 node_modules/aws-sdk/apis/kms-2014-11-01.paginators.json delete mode 100644 node_modules/aws-sdk/apis/lambda-2014-11-11.min.json delete mode 100644 node_modules/aws-sdk/apis/lambda-2014-11-11.paginators.json delete mode 100644 node_modules/aws-sdk/apis/lambda-2015-03-31.min.json delete mode 100644 node_modules/aws-sdk/apis/lambda-2015-03-31.paginators.json delete mode 100644 node_modules/aws-sdk/apis/logs-2014-03-28.min.json delete mode 100644 node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json delete mode 100644 node_modules/aws-sdk/apis/machinelearning-2014-12-12.min.json delete mode 100644 node_modules/aws-sdk/apis/machinelearning-2014-12-12.paginators.json delete mode 100644 node_modules/aws-sdk/apis/machinelearning-2014-12-12.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.min.json delete mode 100644 node_modules/aws-sdk/apis/metadata.json delete mode 100644 node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json delete mode 100644 node_modules/aws-sdk/apis/mobileanalytics-2014-06-05.min.json delete mode 100644 node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json delete mode 100644 node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json delete mode 100644 node_modules/aws-sdk/apis/monitoring-2010-08-01.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/opsworks-2013-02-18.min.json delete mode 100644 node_modules/aws-sdk/apis/opsworks-2013-02-18.paginators.json delete mode 100644 node_modules/aws-sdk/apis/opsworks-2013-02-18.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/rds-2013-01-10.min.json delete mode 100644 node_modules/aws-sdk/apis/rds-2013-01-10.paginators.json delete mode 100644 node_modules/aws-sdk/apis/rds-2013-02-12.min.json delete mode 100644 node_modules/aws-sdk/apis/rds-2013-02-12.paginators.json delete mode 100644 node_modules/aws-sdk/apis/rds-2013-09-09.min.json delete mode 100644 node_modules/aws-sdk/apis/rds-2013-09-09.paginators.json delete mode 100644 node_modules/aws-sdk/apis/rds-2013-09-09.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/rds-2014-10-31.min.json delete mode 100644 node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json delete mode 100644 node_modules/aws-sdk/apis/rds-2014-10-31.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/redshift-2012-12-01.min.json delete mode 100644 node_modules/aws-sdk/apis/redshift-2012-12-01.paginators.json delete mode 100644 node_modules/aws-sdk/apis/redshift-2012-12-01.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/route53-2013-04-01.min.json delete mode 100644 node_modules/aws-sdk/apis/route53-2013-04-01.paginators.json delete mode 100644 node_modules/aws-sdk/apis/route53-2013-04-01.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json delete mode 100644 node_modules/aws-sdk/apis/route53domains-2014-05-15.paginators.json delete mode 100644 node_modules/aws-sdk/apis/s3-2006-03-01.min.json delete mode 100644 node_modules/aws-sdk/apis/s3-2006-03-01.paginators.json delete mode 100644 node_modules/aws-sdk/apis/s3-2006-03-01.waiters2.json delete mode 100644 node_modules/aws-sdk/apis/sdb-2009-04-15.min.json delete mode 100644 node_modules/aws-sdk/apis/sdb-2009-04-15.paginators.json delete mode 100644 node_modules/aws-sdk/apis/servicecatalog-2015-12-10.min.json delete mode 100644 node_modules/aws-sdk/apis/snowball-2016-06-30.min.json delete mode 100644 node_modules/aws-sdk/apis/snowball-2016-06-30.paginators.json delete mode 100644 node_modules/aws-sdk/apis/sns-2010-03-31.min.json delete mode 100644 node_modules/aws-sdk/apis/sns-2010-03-31.paginators.json delete mode 100644 node_modules/aws-sdk/apis/sqs-2012-11-05.examples.json delete mode 100644 node_modules/aws-sdk/apis/sqs-2012-11-05.min.json delete mode 100644 node_modules/aws-sdk/apis/sqs-2012-11-05.paginators.json delete mode 100644 node_modules/aws-sdk/apis/ssm-2014-11-06.min.json delete mode 100644 node_modules/aws-sdk/apis/ssm-2014-11-06.paginators.json delete mode 100644 node_modules/aws-sdk/apis/storagegateway-2013-06-30.min.json delete mode 100644 node_modules/aws-sdk/apis/storagegateway-2013-06-30.paginators.json delete mode 100644 node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.min.json delete mode 100644 node_modules/aws-sdk/apis/sts-2011-06-15.min.json delete mode 100644 node_modules/aws-sdk/apis/support-2013-04-15.min.json delete mode 100644 node_modules/aws-sdk/apis/support-2013-04-15.paginators.json delete mode 100644 node_modules/aws-sdk/apis/swf-2012-01-25.min.json delete mode 100644 node_modules/aws-sdk/apis/swf-2012-01-25.paginators.json delete mode 100644 node_modules/aws-sdk/apis/waf-2015-08-24.min.json delete mode 100644 node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json delete mode 100644 node_modules/aws-sdk/apis/workspaces-2015-04-08.paginators.json delete mode 100644 node_modules/aws-sdk/bower.json delete mode 100644 node_modules/aws-sdk/browser.js delete mode 100644 node_modules/aws-sdk/clients/acm.js delete mode 100644 node_modules/aws-sdk/clients/all.js delete mode 100644 node_modules/aws-sdk/clients/apigateway.js delete mode 100644 node_modules/aws-sdk/clients/applicationautoscaling.js delete mode 100644 node_modules/aws-sdk/clients/autoscaling.js delete mode 100644 node_modules/aws-sdk/clients/browser_default.js delete mode 100644 node_modules/aws-sdk/clients/cloudformation.js delete mode 100644 node_modules/aws-sdk/clients/cloudfront.js delete mode 100644 node_modules/aws-sdk/clients/cloudhsm.js delete mode 100644 node_modules/aws-sdk/clients/cloudsearch.js delete mode 100644 node_modules/aws-sdk/clients/cloudsearchdomain.js delete mode 100644 node_modules/aws-sdk/clients/cloudtrail.js delete mode 100644 node_modules/aws-sdk/clients/cloudwatch.js delete mode 100644 node_modules/aws-sdk/clients/cloudwatchevents.js delete mode 100644 node_modules/aws-sdk/clients/cloudwatchlogs.js delete mode 100644 node_modules/aws-sdk/clients/codecommit.js delete mode 100644 node_modules/aws-sdk/clients/codedeploy.js delete mode 100644 node_modules/aws-sdk/clients/codepipeline.js delete mode 100644 node_modules/aws-sdk/clients/cognitoidentity.js delete mode 100644 node_modules/aws-sdk/clients/cognitoidentityserviceprovider.js delete mode 100644 node_modules/aws-sdk/clients/cognitosync.js delete mode 100644 node_modules/aws-sdk/clients/configservice.js delete mode 100644 node_modules/aws-sdk/clients/datapipeline.js delete mode 100644 node_modules/aws-sdk/clients/devicefarm.js delete mode 100644 node_modules/aws-sdk/clients/directconnect.js delete mode 100644 node_modules/aws-sdk/clients/directoryservice.js delete mode 100644 node_modules/aws-sdk/clients/discovery.js delete mode 100644 node_modules/aws-sdk/clients/dms.js delete mode 100644 node_modules/aws-sdk/clients/dynamodb.js delete mode 100644 node_modules/aws-sdk/clients/dynamodbstreams.js delete mode 100644 node_modules/aws-sdk/clients/ec2.js delete mode 100644 node_modules/aws-sdk/clients/ecr.js delete mode 100644 node_modules/aws-sdk/clients/ecs.js delete mode 100644 node_modules/aws-sdk/clients/efs.js delete mode 100644 node_modules/aws-sdk/clients/elasticache.js delete mode 100644 node_modules/aws-sdk/clients/elasticbeanstalk.js delete mode 100644 node_modules/aws-sdk/clients/elastictranscoder.js delete mode 100644 node_modules/aws-sdk/clients/elb.js delete mode 100644 node_modules/aws-sdk/clients/elbv2.js delete mode 100644 node_modules/aws-sdk/clients/emr.js delete mode 100644 node_modules/aws-sdk/clients/es.js delete mode 100644 node_modules/aws-sdk/clients/firehose.js delete mode 100644 node_modules/aws-sdk/clients/gamelift.js delete mode 100644 node_modules/aws-sdk/clients/glacier.js delete mode 100644 node_modules/aws-sdk/clients/iam.js delete mode 100644 node_modules/aws-sdk/clients/importexport.js delete mode 100644 node_modules/aws-sdk/clients/inspector.js delete mode 100644 node_modules/aws-sdk/clients/iot.js delete mode 100644 node_modules/aws-sdk/clients/iotdata.js delete mode 100644 node_modules/aws-sdk/clients/kinesis.js delete mode 100644 node_modules/aws-sdk/clients/kinesisanalytics.js delete mode 100644 node_modules/aws-sdk/clients/kms.js delete mode 100644 node_modules/aws-sdk/clients/lambda.js delete mode 100644 node_modules/aws-sdk/clients/machinelearning.js delete mode 100644 node_modules/aws-sdk/clients/marketplacecommerceanalytics.js delete mode 100644 node_modules/aws-sdk/clients/marketplacemetering.js delete mode 100644 node_modules/aws-sdk/clients/mobileanalytics.js delete mode 100644 node_modules/aws-sdk/clients/opsworks.js delete mode 100644 node_modules/aws-sdk/clients/rds.js delete mode 100644 node_modules/aws-sdk/clients/redshift.js delete mode 100644 node_modules/aws-sdk/clients/route53.js delete mode 100644 node_modules/aws-sdk/clients/route53domains.js delete mode 100644 node_modules/aws-sdk/clients/s3.js delete mode 100644 node_modules/aws-sdk/clients/servicecatalog.js delete mode 100644 node_modules/aws-sdk/clients/ses.js delete mode 100644 node_modules/aws-sdk/clients/simpledb.js delete mode 100644 node_modules/aws-sdk/clients/snowball.js delete mode 100644 node_modules/aws-sdk/clients/sns.js delete mode 100644 node_modules/aws-sdk/clients/sqs.js delete mode 100644 node_modules/aws-sdk/clients/ssm.js delete mode 100644 node_modules/aws-sdk/clients/storagegateway.js delete mode 100644 node_modules/aws-sdk/clients/sts.js delete mode 100644 node_modules/aws-sdk/clients/support.js delete mode 100644 node_modules/aws-sdk/clients/swf.js delete mode 100644 node_modules/aws-sdk/clients/waf.js delete mode 100644 node_modules/aws-sdk/clients/workspaces.js delete mode 100755 node_modules/aws-sdk/dist-tools/browser-builder.js delete mode 100644 node_modules/aws-sdk/dist-tools/client-creator.js delete mode 100644 node_modules/aws-sdk/dist-tools/create-all-services.js delete mode 100644 node_modules/aws-sdk/dist-tools/service-collector.js delete mode 100644 node_modules/aws-sdk/dist-tools/transform.js delete mode 100644 node_modules/aws-sdk/dist/BUNDLE_LICENSE.txt delete mode 100644 node_modules/aws-sdk/dist/aws-sdk.js delete mode 100644 node_modules/aws-sdk/dist/aws-sdk.min.js delete mode 100644 node_modules/aws-sdk/global.js delete mode 100644 node_modules/aws-sdk/index.js delete mode 100644 node_modules/aws-sdk/lib/api_loader.js delete mode 100644 node_modules/aws-sdk/lib/aws.js delete mode 100644 node_modules/aws-sdk/lib/browser.js delete mode 100644 node_modules/aws-sdk/lib/browser_loader.js delete mode 100644 node_modules/aws-sdk/lib/cloudfront/signer.js delete mode 100644 node_modules/aws-sdk/lib/config.js delete mode 100644 node_modules/aws-sdk/lib/core.js delete mode 100644 node_modules/aws-sdk/lib/credentials.js delete mode 100644 node_modules/aws-sdk/lib/credentials/cognito_identity_credentials.js delete mode 100644 node_modules/aws-sdk/lib/credentials/credential_provider_chain.js delete mode 100644 node_modules/aws-sdk/lib/credentials/ec2_metadata_credentials.js delete mode 100644 node_modules/aws-sdk/lib/credentials/ecs_credentials.js delete mode 100644 node_modules/aws-sdk/lib/credentials/environment_credentials.js delete mode 100644 node_modules/aws-sdk/lib/credentials/file_system_credentials.js delete mode 100644 node_modules/aws-sdk/lib/credentials/saml_credentials.js delete mode 100644 node_modules/aws-sdk/lib/credentials/shared_ini_file_credentials.js delete mode 100644 node_modules/aws-sdk/lib/credentials/temporary_credentials.js delete mode 100644 node_modules/aws-sdk/lib/credentials/web_identity_credentials.js delete mode 100644 node_modules/aws-sdk/lib/dynamodb/converter.js delete mode 100644 node_modules/aws-sdk/lib/dynamodb/document_client.js delete mode 100644 node_modules/aws-sdk/lib/dynamodb/set.js delete mode 100644 node_modules/aws-sdk/lib/dynamodb/translator.js delete mode 100644 node_modules/aws-sdk/lib/dynamodb/types.js delete mode 100644 node_modules/aws-sdk/lib/event_listeners.js delete mode 100644 node_modules/aws-sdk/lib/http.js delete mode 100644 node_modules/aws-sdk/lib/http/node.js delete mode 100644 node_modules/aws-sdk/lib/http/xhr.js delete mode 100644 node_modules/aws-sdk/lib/json/builder.js delete mode 100644 node_modules/aws-sdk/lib/json/parser.js delete mode 100644 node_modules/aws-sdk/lib/metadata_service.js delete mode 100644 node_modules/aws-sdk/lib/model/api.js delete mode 100644 node_modules/aws-sdk/lib/model/collection.js delete mode 100644 node_modules/aws-sdk/lib/model/operation.js delete mode 100644 node_modules/aws-sdk/lib/model/paginator.js delete mode 100644 node_modules/aws-sdk/lib/model/resource_waiter.js delete mode 100644 node_modules/aws-sdk/lib/model/shape.js delete mode 100644 node_modules/aws-sdk/lib/node_loader.js delete mode 100644 node_modules/aws-sdk/lib/param_validator.js delete mode 100644 node_modules/aws-sdk/lib/protocol/json.js delete mode 100644 node_modules/aws-sdk/lib/protocol/query.js delete mode 100644 node_modules/aws-sdk/lib/protocol/rest.js delete mode 100644 node_modules/aws-sdk/lib/protocol/rest_json.js delete mode 100644 node_modules/aws-sdk/lib/protocol/rest_xml.js delete mode 100644 node_modules/aws-sdk/lib/query/query_param_serializer.js delete mode 100644 node_modules/aws-sdk/lib/region_config.js delete mode 100644 node_modules/aws-sdk/lib/region_config.json delete mode 100644 node_modules/aws-sdk/lib/request.js delete mode 100644 node_modules/aws-sdk/lib/resource_waiter.js delete mode 100644 node_modules/aws-sdk/lib/response.js delete mode 100644 node_modules/aws-sdk/lib/s3/managed_upload.js delete mode 100644 node_modules/aws-sdk/lib/sequential_executor.js delete mode 100644 node_modules/aws-sdk/lib/service.js delete mode 100644 node_modules/aws-sdk/lib/services/apigateway.js delete mode 100644 node_modules/aws-sdk/lib/services/cloudfront.js delete mode 100644 node_modules/aws-sdk/lib/services/cloudsearchdomain.js delete mode 100644 node_modules/aws-sdk/lib/services/cognitoidentity.js delete mode 100644 node_modules/aws-sdk/lib/services/dynamodb.js delete mode 100644 node_modules/aws-sdk/lib/services/ec2.js delete mode 100644 node_modules/aws-sdk/lib/services/glacier.js delete mode 100644 node_modules/aws-sdk/lib/services/iotdata.js delete mode 100644 node_modules/aws-sdk/lib/services/machinelearning.js delete mode 100644 node_modules/aws-sdk/lib/services/route53.js delete mode 100644 node_modules/aws-sdk/lib/services/s3.js delete mode 100644 node_modules/aws-sdk/lib/services/sqs.js delete mode 100644 node_modules/aws-sdk/lib/services/sts.js delete mode 100644 node_modules/aws-sdk/lib/services/swf.js delete mode 100644 node_modules/aws-sdk/lib/signers/presign.js delete mode 100644 node_modules/aws-sdk/lib/signers/request_signer.js delete mode 100644 node_modules/aws-sdk/lib/signers/s3.js delete mode 100644 node_modules/aws-sdk/lib/signers/v2.js delete mode 100644 node_modules/aws-sdk/lib/signers/v3.js delete mode 100644 node_modules/aws-sdk/lib/signers/v3https.js delete mode 100644 node_modules/aws-sdk/lib/signers/v4.js delete mode 100644 node_modules/aws-sdk/lib/state_machine.js delete mode 100644 node_modules/aws-sdk/lib/util.js delete mode 100644 node_modules/aws-sdk/lib/xml/browser_parser.js delete mode 100644 node_modules/aws-sdk/lib/xml/builder.js delete mode 100644 node_modules/aws-sdk/lib/xml/node_parser.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/.npmignore delete mode 100644 node_modules/aws-sdk/node_modules/buffer/.travis.yml delete mode 100644 node_modules/aws-sdk/node_modules/buffer/AUTHORS.md delete mode 100644 node_modules/aws-sdk/node_modules/buffer/LICENSE delete mode 100644 node_modules/aws-sdk/node_modules/buffer/README.md delete mode 100755 node_modules/aws-sdk/node_modules/buffer/bin/download-node-tests.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/bin/test.js delete mode 100755 node_modules/aws-sdk/node_modules/buffer/bin/update-authors.sh delete mode 100644 node_modules/aws-sdk/node_modules/buffer/bin/zuul-es5.yml delete mode 100644 node_modules/aws-sdk/node_modules/buffer/bin/zuul-es6.yml delete mode 100644 node_modules/aws-sdk/node_modules/buffer/index.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/LICENSE delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/README.md delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/base64js.min.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/index.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/package.json delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/test/big-data.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/test/convert.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/test/url-safe.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/.travis.yml delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/.zuul.yml delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/LICENSE delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/README.md delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/index.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/package.json delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/test/basic.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/.npmignore delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/.travis.yml delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/Makefile delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/README.md delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/component.json delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/index.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/package.json delete mode 100644 node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/test.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/package.json delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/_polyfill.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/base64.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/basic.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/compare.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/constructor.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/from-string.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/is-buffer.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/methods.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-alloc.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-arraybuffer.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-ascii.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-bad-overload.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-badhex.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-bytelength.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-compare-offset.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-concat.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-fill.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-includes.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-indexof.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-inheritance.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-inspect.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-iterator.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-safe-unsafe.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-slow.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-swap.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-zero-fill-cli.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-zero-fill-reset.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/slice.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/static.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/to-string.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/write.js delete mode 100644 node_modules/aws-sdk/node_modules/buffer/test/write_infinity.js delete mode 100644 node_modules/aws-sdk/node_modules/crypto-browserify/.npmignore delete mode 100644 node_modules/aws-sdk/node_modules/crypto-browserify/.travis.yml delete mode 100644 node_modules/aws-sdk/node_modules/crypto-browserify/LICENSE delete mode 100644 node_modules/aws-sdk/node_modules/crypto-browserify/example/bundle.js delete mode 100644 node_modules/aws-sdk/node_modules/crypto-browserify/example/index.html delete mode 100644 node_modules/aws-sdk/node_modules/crypto-browserify/example/test.js delete mode 100644 node_modules/aws-sdk/node_modules/crypto-browserify/helpers.js delete mode 100644 node_modules/aws-sdk/node_modules/crypto-browserify/index.js delete mode 100644 node_modules/aws-sdk/node_modules/crypto-browserify/md5.js delete mode 100644 node_modules/aws-sdk/node_modules/crypto-browserify/package.json delete mode 100644 node_modules/aws-sdk/node_modules/crypto-browserify/readme.markdown delete mode 100644 node_modules/aws-sdk/node_modules/crypto-browserify/rng.js delete mode 100644 node_modules/aws-sdk/node_modules/crypto-browserify/sha.js delete mode 100644 node_modules/aws-sdk/node_modules/crypto-browserify/sha256.js delete mode 100644 node_modules/aws-sdk/node_modules/crypto-browserify/test/browser.js delete mode 100644 node_modules/aws-sdk/node_modules/crypto-browserify/test/node.js delete mode 100644 node_modules/aws-sdk/node_modules/crypto-browserify/test/package.json delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/simple.js delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/Readme.txt delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte-hashes.md5 delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte-hashes.sha1 delete mode 100644 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte-hashes.sha256 delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0000.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0001.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0002.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0003.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0004.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0005.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0006.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0007.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0008.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0009.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0010.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0011.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0012.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0013.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0014.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0015.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0016.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0017.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0018.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0019.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0020.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0021.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0022.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0023.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0024.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0025.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0026.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0027.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0028.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0029.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0030.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0031.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0032.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0033.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0034.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0035.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0036.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0037.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0038.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0039.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0040.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0041.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0042.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0043.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0044.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0045.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0046.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0047.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0048.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0049.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0050.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0051.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0052.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0053.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0054.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0055.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0056.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0057.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0058.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0059.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0060.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0061.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0062.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0063.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0064.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0065.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0066.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0067.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0068.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0069.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0070.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0071.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0072.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0073.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0074.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0075.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0076.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0077.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0078.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0079.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0080.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0081.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0082.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0083.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0084.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0085.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0086.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0087.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0088.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0089.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0090.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0091.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0092.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0093.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0094.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0095.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0096.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0097.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0098.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0099.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0100.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0101.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0102.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0103.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0104.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0105.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0106.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0107.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0108.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0109.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0110.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0111.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0112.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0113.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0114.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0115.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0116.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0117.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0118.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0119.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0120.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0121.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0122.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0123.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0124.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0125.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0126.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0127.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0128.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0129.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0130.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0131.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0132.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0133.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0134.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0135.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0136.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0137.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0138.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0139.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0140.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0141.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0142.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0143.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0144.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0145.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0146.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0147.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0148.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0149.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0150.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0151.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0152.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0153.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0154.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0155.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0156.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0157.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0158.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0159.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0160.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0161.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0162.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0163.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0164.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0165.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0166.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0167.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0168.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0169.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0170.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0171.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0172.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0173.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0174.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0175.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0176.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0177.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0178.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0179.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0180.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0181.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0182.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0183.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0184.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0185.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0186.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0187.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0188.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0189.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0190.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0191.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0192.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0193.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0194.dat delete mode 100755 node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0195.dat delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/.eslintrc delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/.npmignore delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/.travis.yml delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/BASELINE delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/Gruntfile.js delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/LICENSE delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/README.md delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/artifacts/jmespath.min.js delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/bower.json delete mode 100755 node_modules/aws-sdk/node_modules/jmespath/g.sh delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/index.html delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/james.html delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/jmespath.js delete mode 100755 node_modules/aws-sdk/node_modules/jmespath/jp.js delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/l.js delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/package.json delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/perf.js delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/reservedWords.json delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/test/compliance.js delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/test/compliance/basic.json delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/test/compliance/boolean.json delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/test/compliance/current.json delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/test/compliance/escape.json delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/test/compliance/filters.json delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/test/compliance/functions.json delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/test/compliance/identifiers.json delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/test/compliance/indices.json delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/test/compliance/literal.json delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/test/compliance/multiselect.json delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/test/compliance/pipe.json delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/test/compliance/slice.json delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/test/compliance/syntax.json delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/test/compliance/unicode.json delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/test/compliance/wildcard.json delete mode 100644 node_modules/aws-sdk/node_modules/jmespath/test/jmespath.js delete mode 100644 node_modules/aws-sdk/node_modules/querystring/.History.md.un~ delete mode 100644 node_modules/aws-sdk/node_modules/querystring/.Readme.md.un~ delete mode 100644 node_modules/aws-sdk/node_modules/querystring/.package.json.un~ delete mode 100644 node_modules/aws-sdk/node_modules/querystring/.travis.yml delete mode 100644 node_modules/aws-sdk/node_modules/querystring/History.md delete mode 100644 node_modules/aws-sdk/node_modules/querystring/License.md delete mode 100644 node_modules/aws-sdk/node_modules/querystring/Readme.md delete mode 100644 node_modules/aws-sdk/node_modules/querystring/decode.js delete mode 100644 node_modules/aws-sdk/node_modules/querystring/encode.js delete mode 100644 node_modules/aws-sdk/node_modules/querystring/index.js delete mode 100644 node_modules/aws-sdk/node_modules/querystring/package.json delete mode 100644 node_modules/aws-sdk/node_modules/querystring/test/.index.js.un~ delete mode 100644 node_modules/aws-sdk/node_modules/querystring/test/common-index.js delete mode 100644 node_modules/aws-sdk/node_modules/querystring/test/index.js delete mode 100644 node_modules/aws-sdk/node_modules/querystring/test/tap-index.js delete mode 100644 node_modules/aws-sdk/node_modules/sax/LICENSE delete mode 100644 node_modules/aws-sdk/node_modules/sax/LICENSE-W3C.html delete mode 100644 node_modules/aws-sdk/node_modules/sax/README.md delete mode 100644 node_modules/aws-sdk/node_modules/sax/lib/sax.js delete mode 100644 node_modules/aws-sdk/node_modules/sax/package.json delete mode 100644 node_modules/aws-sdk/node_modules/url/.npmignore delete mode 100644 node_modules/aws-sdk/node_modules/url/.travis.yml delete mode 100644 node_modules/aws-sdk/node_modules/url/.zuul.yml delete mode 100644 node_modules/aws-sdk/node_modules/url/LICENSE delete mode 100644 node_modules/aws-sdk/node_modules/url/README.md delete mode 100644 node_modules/aws-sdk/node_modules/url/node_modules/punycode/LICENSE-MIT.txt delete mode 100644 node_modules/aws-sdk/node_modules/url/node_modules/punycode/README.md delete mode 100644 node_modules/aws-sdk/node_modules/url/node_modules/punycode/package.json delete mode 100644 node_modules/aws-sdk/node_modules/url/node_modules/punycode/punycode.js delete mode 100644 node_modules/aws-sdk/node_modules/url/package.json delete mode 100644 node_modules/aws-sdk/node_modules/url/test.js delete mode 100644 node_modules/aws-sdk/node_modules/url/url.js delete mode 100644 node_modules/aws-sdk/node_modules/xml2js/LICENSE delete mode 100644 node_modules/aws-sdk/node_modules/xml2js/README.md delete mode 100644 node_modules/aws-sdk/node_modules/xml2js/lib/bom.js delete mode 100644 node_modules/aws-sdk/node_modules/xml2js/lib/processors.js delete mode 100644 node_modules/aws-sdk/node_modules/xml2js/lib/xml2js.js delete mode 100644 node_modules/aws-sdk/node_modules/xml2js/package.json delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/.npmignore delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/LICENSE delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/README.md delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLAttribute.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLBuilder.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLCData.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLComment.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDTDAttList.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDTDElement.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDTDEntity.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDTDNotation.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDeclaration.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDocType.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLElement.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLNode.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLRaw.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLStringifier.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLText.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/lib/index.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/LICENSE.txt delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/README.md delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/chunk.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/compact.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/difference.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/drop.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/dropRight.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/dropRightWhile.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/dropWhile.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/fill.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/findIndex.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/findLastIndex.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/first.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/flatten.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/flattenDeep.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/head.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/indexOf.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/initial.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/intersection.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/last.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/lastIndexOf.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/object.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/pull.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/pullAt.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/remove.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/rest.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/slice.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/sortedIndex.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/sortedLastIndex.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/tail.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/take.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/takeRight.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/takeRightWhile.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/takeWhile.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/union.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/uniq.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/unique.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/unzip.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/without.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/xor.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/zip.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/zipObject.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/chain.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/commit.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/lodash.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/plant.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/reverse.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/run.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/tap.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/thru.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/toJSON.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/toString.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/value.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/valueOf.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperChain.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperCommit.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperPlant.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperReverse.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperToString.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperValue.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/all.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/any.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/at.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/collect.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/contains.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/countBy.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/detect.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/each.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/eachRight.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/every.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/filter.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/find.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/findLast.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/findWhere.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/foldl.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/foldr.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/forEach.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/forEachRight.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/groupBy.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/include.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/includes.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/indexBy.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/inject.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/invoke.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/map.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/max.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/min.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/partition.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/pluck.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/reduce.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/reduceRight.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/reject.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sample.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/select.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/shuffle.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/size.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/some.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sortBy.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sortByAll.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sortByOrder.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sum.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/where.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/date.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/date/now.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/after.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/ary.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/backflow.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/before.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/bind.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/bindAll.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/bindKey.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/compose.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/curry.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/curryRight.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/debounce.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/defer.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/delay.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/flow.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/flowRight.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/memoize.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/negate.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/once.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/partial.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/partialRight.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/rearg.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/spread.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/throttle.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/wrap.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/index.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/LazyWrapper.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/LodashWrapper.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/MapCache.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/SetCache.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/arrayCopy.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/arrayEach.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/arrayEachRight.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/arrayEvery.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/arrayFilter.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/arrayMap.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/arrayMax.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/arrayMin.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/arrayReduce.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/arrayReduceRight.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/arraySome.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/assignDefaults.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/assignOwnDefaults.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseAssign.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseAt.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseBindAll.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseCallback.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseClone.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseCompareAscending.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseCopy.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseCreate.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseDelay.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseDifference.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseEach.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseEachRight.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseEvery.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseFill.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseFilter.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseFind.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseFlatten.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseFor.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseForIn.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseForOwn.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseForOwnRight.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseForRight.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseFunctions.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseIndexOf.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseInvoke.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseIsEqual.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseIsEqualDeep.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseIsFunction.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseIsMatch.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseLodash.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseMap.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseMatches.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseMatchesProperty.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseMerge.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseMergeDeep.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseProperty.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/basePullAt.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseRandom.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseReduce.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseSetData.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseSlice.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseSome.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseSortBy.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseSortByOrder.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseToString.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseUniq.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseValues.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/baseWrapperValue.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/binaryIndex.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/binaryIndexBy.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/bindCallback.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/bufferClone.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/cacheIndexOf.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/cachePush.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/charAtCallback.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/charsLeftIndex.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/charsRightIndex.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/compareAscending.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/compareMultiple.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/composeArgs.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/composeArgsRight.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/createAggregator.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/createAssigner.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/createBindWrapper.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/createCache.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/createComposer.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/createCompounder.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/createCtorWrapper.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/createExtremum.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/createHybridWrapper.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/createPad.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/createPartialWrapper.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/createWrapper.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/deburrLetter.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/equalArrays.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/equalByTag.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/equalObjects.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/escapeHtmlChar.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/escapeStringChar.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/extremumBy.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/getData.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/getView.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/indexOfNaN.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/initCloneArray.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/initCloneByTag.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/initCloneObject.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/isBindable.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/isIndex.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/isIterateeCall.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/isLength.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/isObjectLike.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/isSpace.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/isStrictComparable.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/lazyClone.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/lazyReverse.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/lazyValue.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/mapDelete.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/mapGet.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/mapHas.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/mapSet.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/mergeData.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/metaMap.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/pickByArray.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/pickByCallback.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/reEscape.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/reEvaluate.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/reInterpolate.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/reorder.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/replaceHolders.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/setData.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/shimIsPlainObject.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/shimKeys.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/sortedUniq.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/toIterable.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/toObject.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/trimmedLeftIndex.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/trimmedRightIndex.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/unescapeHtmlChar.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/internal/wrapperClone.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/clone.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/cloneDeep.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isArguments.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isArray.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isBoolean.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isDate.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isElement.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isEmpty.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isEqual.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isError.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isFinite.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isFunction.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isMatch.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isNaN.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isNative.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isNull.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isNumber.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isObject.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isPlainObject.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isRegExp.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isString.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isTypedArray.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/isUndefined.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/toArray.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/lang/toPlainObject.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/math.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/math/add.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/math/max.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/math/min.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/math/sum.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/number.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/number/inRange.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/number/random.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/assign.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/create.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/defaults.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/extend.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/findKey.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/findLastKey.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/forIn.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/forInRight.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/forOwn.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/forOwnRight.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/functions.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/has.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/invert.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/keys.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/keysIn.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/mapValues.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/merge.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/methods.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/omit.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/pairs.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/pick.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/result.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/transform.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/values.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/object/valuesIn.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/package.json delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/camelCase.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/capitalize.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/deburr.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/endsWith.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/escape.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/escapeRegExp.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/kebabCase.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/pad.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/padLeft.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/padRight.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/parseInt.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/repeat.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/snakeCase.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/startCase.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/startsWith.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/template.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/templateSettings.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/trim.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/trimLeft.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/trimRight.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/trunc.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/unescape.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/string/words.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/support.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/utility.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/utility/attempt.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/utility/callback.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/utility/constant.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/utility/identity.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/utility/iteratee.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/utility/matches.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/utility/matchesProperty.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/utility/mixin.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/utility/noop.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/utility/property.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/utility/propertyOf.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/utility/range.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/utility/times.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/utility/uniqueId.js delete mode 100644 node_modules/aws-sdk/node_modules/xmlbuilder/package.json delete mode 100644 node_modules/aws-sdk/package.json delete mode 100644 node_modules/aws-sdk/scripts/changelog/README.md delete mode 100755 node_modules/aws-sdk/scripts/changelog/add-change.js delete mode 100644 node_modules/aws-sdk/scripts/changelog/change-creator.js delete mode 100755 node_modules/aws-sdk/scripts/changelog/create-changelog delete mode 100755 node_modules/aws-sdk/scripts/changelog/release delete mode 100755 node_modules/aws-sdk/scripts/changelog/util.js delete mode 100755 node_modules/aws-sdk/scripts/console delete mode 100644 node_modules/aws-sdk/scripts/lib/translator.js delete mode 100755 node_modules/aws-sdk/scripts/translate-api delete mode 100644 node_modules/aws-sdk/testem.json delete mode 100644 node_modules/uuid/.npmignore delete mode 100644 node_modules/uuid/.travis.yml delete mode 100644 node_modules/uuid/LICENSE.md delete mode 100644 node_modules/uuid/README.md delete mode 100644 node_modules/uuid/benchmark/README.md delete mode 100644 node_modules/uuid/benchmark/bench.gnu delete mode 100755 node_modules/uuid/benchmark/bench.sh delete mode 100644 node_modules/uuid/benchmark/benchmark-native.c delete mode 100644 node_modules/uuid/benchmark/benchmark.js delete mode 100644 node_modules/uuid/benchmark/package.json delete mode 100644 node_modules/uuid/misc/compare.js delete mode 100644 node_modules/uuid/misc/perf.js delete mode 100644 node_modules/uuid/package.json delete mode 100644 node_modules/uuid/rng-browser.js delete mode 100644 node_modules/uuid/rng.js delete mode 100644 node_modules/uuid/test/mocha.opts delete mode 100644 node_modules/uuid/test/test.js delete mode 100644 node_modules/uuid/uuid.js diff --git a/.idea/encodings.xml b/.idea/encodings.xml deleted file mode 100644 index 97626ba..0000000 --- a/.idea/encodings.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/jsLibraryMappings.xml b/.idea/jsLibraryMappings.xml deleted file mode 100644 index b8387eb..0000000 --- a/.idea/jsLibraryMappings.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index eabe228..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 6bec890..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/serverless-crud.iml b/.idea/serverless-crud.iml deleted file mode 100644 index c956989..0000000 --- a/.idea/serverless-crud.iml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/watcherTasks.xml b/.idea/watcherTasks.xml deleted file mode 100644 index 9338ba6..0000000 --- a/.idea/watcherTasks.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index 6877dcf..0000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,230 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - DEFINITION_ORDER - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1476332492455 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/node_modules/aws-sdk/.changes/2.4.10.json b/node_modules/aws-sdk/.changes/2.4.10.json deleted file mode 100644 index 25aeba0..0000000 --- a/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/node_modules/aws-sdk/.changes/2.4.11.json b/node_modules/aws-sdk/.changes/2.4.11.json deleted file mode 100644 index 4a89b5e..0000000 --- a/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/node_modules/aws-sdk/.changes/2.4.12.json b/node_modules/aws-sdk/.changes/2.4.12.json deleted file mode 100644 index df969c8..0000000 --- a/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/node_modules/aws-sdk/.changes/2.4.13.json b/node_modules/aws-sdk/.changes/2.4.13.json deleted file mode 100644 index d674881..0000000 --- a/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/node_modules/aws-sdk/.changes/2.4.14.json b/node_modules/aws-sdk/.changes/2.4.14.json deleted file mode 100644 index 3c90128..0000000 --- a/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/node_modules/aws-sdk/.changes/2.4.8.json b/node_modules/aws-sdk/.changes/2.4.8.json deleted file mode 100644 index eb0322c..0000000 --- a/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/node_modules/aws-sdk/.changes/2.4.9.json b/node_modules/aws-sdk/.changes/2.4.9.json deleted file mode 100644 index 1dcf3ac..0000000 --- a/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/node_modules/aws-sdk/.changes/2.5.0.json b/node_modules/aws-sdk/.changes/2.5.0.json deleted file mode 100644 index f7913fe..0000000 --- a/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/node_modules/aws-sdk/.changes/2.5.1.json b/node_modules/aws-sdk/.changes/2.5.1.json deleted file mode 100644 index e552555..0000000 --- a/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/node_modules/aws-sdk/.changes/2.5.2.json b/node_modules/aws-sdk/.changes/2.5.2.json deleted file mode 100644 index 42b8d2b..0000000 --- a/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/node_modules/aws-sdk/.changes/2.5.3.json b/node_modules/aws-sdk/.changes/2.5.3.json deleted file mode 100644 index e46265d..0000000 --- a/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/node_modules/aws-sdk/.changes/2.5.4.json b/node_modules/aws-sdk/.changes/2.5.4.json deleted file mode 100644 index 2e1f2a9..0000000 --- a/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/node_modules/aws-sdk/.changes/2.5.5.json b/node_modules/aws-sdk/.changes/2.5.5.json deleted file mode 100644 index ea028a5..0000000 --- a/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/node_modules/aws-sdk/.changes/2.5.6.json b/node_modules/aws-sdk/.changes/2.5.6.json deleted file mode 100644 index 2788790..0000000 --- a/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/node_modules/aws-sdk/.changes/2.6.0.json b/node_modules/aws-sdk/.changes/2.6.0.json deleted file mode 100644 index f4e48ed..0000000 --- a/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/node_modules/aws-sdk/.changes/2.6.1.json b/node_modules/aws-sdk/.changes/2.6.1.json deleted file mode 100644 index e557b87..0000000 --- a/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/node_modules/aws-sdk/.changes/2.6.2.json b/node_modules/aws-sdk/.changes/2.6.2.json deleted file mode 100644 index c6b97aa..0000000 --- a/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/node_modules/aws-sdk/.changes/2.6.3.json b/node_modules/aws-sdk/.changes/2.6.3.json deleted file mode 100644 index 220a6de..0000000 --- a/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/node_modules/aws-sdk/.changes/2.6.4.json b/node_modules/aws-sdk/.changes/2.6.4.json deleted file mode 100644 index 611f7f2..0000000 --- a/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/node_modules/aws-sdk/.changes/2.6.5.json b/node_modules/aws-sdk/.changes/2.6.5.json deleted file mode 100644 index a089342..0000000 --- a/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/node_modules/aws-sdk/.changes/2.6.6.json b/node_modules/aws-sdk/.changes/2.6.6.json deleted file mode 100644 index cdff647..0000000 --- a/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/node_modules/aws-sdk/.changes/2.6.7.json b/node_modules/aws-sdk/.changes/2.6.7.json deleted file mode 100644 index f7c928b..0000000 --- a/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/node_modules/aws-sdk/.changes/2.6.8.json b/node_modules/aws-sdk/.changes/2.6.8.json deleted file mode 100644 index 6339ae7..0000000 --- a/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/node_modules/aws-sdk/.jshintrc b/node_modules/aws-sdk/.jshintrc deleted file mode 100644 index 89fbbba..0000000 --- a/node_modules/aws-sdk/.jshintrc +++ /dev/null @@ -1,68 +0,0 @@ -{ - // JSHint Default Configuration File (as on JSHint website) - // See http://jshint.com/docs/ for more details - - "maxerr" : 50, // {int} Maximum error before stopping - - // Enforcing - "bitwise" : false, // true: Prohibit bitwise operators (&, |, ^, etc.) - "camelcase" : false, // true: Identifiers must be in camelCase - "curly" : false, // true: Require {} for every new block or scope - "eqeqeq" : true, // true: Require triple equals (===) for comparison - "forin" : true, // true: Require filtering for..in loops with obj.hasOwnProperty() - "immed" : false, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());` - "indent" : false, // {int} Number of spaces to use for indentation - "latedef" : false, // true: Require variables/functions to be defined before being used - "newcap" : false, // true: Require capitalization of all constructor functions e.g. `new F()` - "noarg" : true, // true: Prohibit use of `arguments.caller` and `arguments.callee` - "noempty" : true, // true: Prohibit use of empty blocks - "nonew" : false, // true: Prohibit use of constructors for side-effects (without assignment) - "plusplus" : false, // true: Prohibit use of `++` & `--` - "quotmark" : "single", // Quotation mark consistency: - // false : do nothing (default) - // true : ensure whatever is used is consistent - // "single" : require single quotes - // "double" : require double quotes - "undef" : true, // true: Require all non-global variables to be declared (prevents global leaks) - "unused" : true, // true: Require all defined variables be used - "strict" : false, // true: Requires all functions run in ES5 Strict Mode - "maxparams" : false, // {int} Max number of formal params allowed per function - "maxdepth" : false, // {int} Max depth of nested blocks (within functions) - "maxstatements" : false, // {int} Max number statements per function - "maxcomplexity" : false, // {int} Max cyclomatic complexity per function - "maxlen" : false, // {int} Max number of characters per line - - // Relaxing - "asi" : false, // true: Tolerate Automatic Semicolon Insertion (no semicolons) - "boss" : false, // true: Tolerate assignments where comparisons would be expected - "debug" : false, // true: Allow debugger statements e.g. browser breakpoints. - "eqnull" : false, // true: Tolerate use of `== null` - "es5" : false, // true: Allow ES5 syntax (ex: getters and setters) - "esnext" : false, // true: Allow ES.next (ES6) syntax (ex: `const`) - "moz" : false, // true: Allow Mozilla specific syntax (extends and overrides esnext features) - // (ex: `for each`, multiple try/catch, function expression…) - "evil" : false, // true: Tolerate use of `eval` and `new Function()` - "expr" : false, // true: Tolerate `ExpressionStatement` as Programs - "funcscope" : false, // true: Tolerate defining variables inside control statements - "globalstrict" : false, // true: Allow global "use strict" (also enables 'strict') - "iterator" : false, // true: Tolerate using the `__iterator__` property - "lastsemic" : false, // true: Tolerate omitting a semicolon for the last statement of a 1-line block - "laxbreak" : false, // true: Tolerate possibly unsafe line breakings - "laxcomma" : false, // true: Tolerate comma-first style coding - "loopfunc" : false, // true: Tolerate functions being defined in loops - "multistr" : false, // true: Tolerate multi-line strings - "proto" : false, // true: Tolerate using the `__proto__` property - "scripturl" : false, // true: Tolerate script-targeted URLs - "shadow" : false, // true: Allows re-define variables later in code e.g. `var x=1; x=2;` - "sub" : true, // true: Tolerate using `[]` notation when it can still be expressed in dot notation - "supernew" : false, // true: Tolerate `new function () { ... };` and `new Object;` - "validthis" : false, // true: Tolerate using this in a non-constructor function - - // Environments - "browser" : true, // Web Browser (window, document, etc) - "node" : true, // Node.js - "nonstandard" : true, // Widely adopted globals (escape, unescape, etc) - - // Custom Globals - "globals" : {} // additional predefined global variables -} diff --git a/node_modules/aws-sdk/.npmignore b/node_modules/aws-sdk/.npmignore deleted file mode 100644 index 3d4358c..0000000 --- a/node_modules/aws-sdk/.npmignore +++ /dev/null @@ -1,18 +0,0 @@ -.yard* -.eslintrc -.travis.yml -.gitignore -apis/*.normal.json -configuration -configuration.sample -coverage -doc -doc-src -eslint-rules -Gemfile -Gemfile.lock -features -Rakefile -test -tasks -vendor diff --git a/node_modules/aws-sdk/.tesselinclude b/node_modules/aws-sdk/.tesselinclude deleted file mode 100644 index 2188ed1..0000000 --- a/node_modules/aws-sdk/.tesselinclude +++ /dev/null @@ -1,2 +0,0 @@ -apis/*.json -lib/services/*.js diff --git a/node_modules/aws-sdk/CHANGELOG.md b/node_modules/aws-sdk/CHANGELOG.md deleted file mode 100644 index a46f5d4..0000000 --- a/node_modules/aws-sdk/CHANGELOG.md +++ /dev/null @@ -1,131 +0,0 @@ -# Changelog for AWS SDK for JavaScript - - - -## 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/node_modules/aws-sdk/CONTRIBUTING.md b/node_modules/aws-sdk/CONTRIBUTING.md deleted file mode 100644 index 59df5f7..0000000 --- a/node_modules/aws-sdk/CONTRIBUTING.md +++ /dev/null @@ -1,98 +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. - -### Testing - -To run the tests locally, install `phantomjs`. You can do so using [Homebrew][homebrew]: - -``` -brew install phantomjs -``` - -Then, to run all tests: - -``` -npm test -``` - -To run a particular test subset e.g. just the unit tests: - -``` -npm run-script unit -``` - -See the implementation of the `test` script in `package.json` for more options. - -### 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: -``` -node ./scripts/changelog/add-change.js -``` - -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/node_modules/aws-sdk/LICENSE.txt b/node_modules/aws-sdk/LICENSE.txt deleted file mode 100644 index d645695..0000000 --- a/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 [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/node_modules/aws-sdk/NOTICE.txt b/node_modules/aws-sdk/NOTICE.txt deleted file mode 100644 index 54cd045..0000000 --- a/node_modules/aws-sdk/NOTICE.txt +++ /dev/null @@ -1,5 +0,0 @@ -AWS SDK for JavaScript -Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. - -This product includes software developed at -Amazon Web Services, Inc. (http://aws.amazon.com/). diff --git a/node_modules/aws-sdk/README.md b/node_modules/aws-sdk/README.md deleted file mode 100644 index 6365ec4..0000000 --- a/node_modules/aws-sdk/README.md +++ /dev/null @@ -1,160 +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 - -Release notes can be found at http://aws.amazon.com/releasenotes/SDK/JavaScript - -

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

- -## Installing - -### In the Browser - -To use the SDK in the browser, simply add the following script tag to your -HTML pages: - - - -You can also build a custom browser SDK with your specified set of AWS services. -This can allow you to reduce the SDK's size, specify different API versions of -services, or use AWS services that don't currently support CORS if you are -working in an environment that does not enforce CORS. To get started: - -http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/browser-building.html - -The AWS SDK is also compatible with [browserify](http://browserify.org). - -### In Node.js - -The preferred way to install the AWS SDK for Node.js is to use the -[npm](http://npmjs.org) package manager for Node.js. Simply type the following -into a terminal window: - -```sh -npm install aws-sdk -``` - -### Using Bower - -You can also use [Bower](http://bower.io) to install the SDK by typing the -following into a terminal window: - -```sh -bower install aws-sdk-js -``` - -## Usage and Getting Started - -You can find a getting started guide at: - -http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/ - -## Supported Services - -

Note: -Although all services are supported in the browser version of the SDK, -not all of the services are available in the default hosted build (using the -script tag provided above). A list of services in the hosted build are provided -in the "Working With Services" -section of the browser SDK guide, including instructions on how to build a -custom version of the SDK with extra services. -

- -The SDK currently supports the following services: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Service NameClass NameAPI Version
Amazon API GatewayAWS.APIGateway2015-07-09
Amazon CloudFrontAWS.CloudFront2014-10-21
Amazon CloudHSMAWS.CloudHSM2014-05-30
Amazon CloudSearchAWS.CloudSearch2013-01-01
Amazon CloudSearch DomainAWS.CloudSearchDomain2013-01-01
Amazon CloudWatchAWS.CloudWatch2010-08-01
Amazon CloudWatch EventsAWS.CloudWatchLogs2015-10-07
Amazon CloudWatch LogsAWS.CloudWatchLogs2014-03-28
Amazon Cognito IdentityAWS.CognitoIdentity2014-06-30
Amazon Cognito SyncAWS.CognitoSync2014-06-30
Amazon DynamoDBAWS.DynamoDB2012-08-10
Amazon DynamoDB StreamsAWS.DynamoDBStreams2012-08-10
Amazon EC2 Container RegistryAWS.ECR2015-09-21
Amazon EC2 Container ServiceAWS.ECS2014-11-13
Amazon Elastic Compute CloudAWS.EC22014-10-01
Amazon Elastic File SystemAWS.EFS2015-02-01
Amazon Elastic MapReduceAWS.EMR2009-03-31
Amazon Elastic TranscoderAWS.ElasticTranscoder2012-09-25
Amazon ElastiCacheAWS.ElastiCache2014-09-30
Amazon Elasticsearch ServiceAWS.ES2015-01-01
Amazon GameLiftAWS.GameLift2015-10-01
Amazon GlacierAWS.Glacier2012-06-01
Amazon InspectorAWS.Inspector2016-02-16
Amazon KinesisAWS.Kinesis2013-12-02
Amazon Kinesis AnalyticsAWS.KinesisAnalytics2015-08-14
Amazon Kinesis FirehoseAWS.Firehose2015-08-04
Amazon Machine LearningAWS.MachineLearning2014-12-12
Amazon Mobile AnalyticsAWS.MobileAnalytics2014-06-05
Amazon RedshiftAWS.Redshift2012-12-01
Amazon Relational Database ServiceAWS.RDS2014-09-01
Amazon Route 53AWS.Route532013-04-01
Amazon Route 53 DomainsAWS.Route53Domains2014-05-15
Amazon Simple Email ServiceAWS.SES2010-12-01
Amazon Simple Notification ServiceAWS.SNS2010-03-31
Amazon Simple Queue ServiceAWS.SQS2012-11-05
Amazon Simple Storage ServiceAWS.S32006-03-01
Amazon Simple Systems Management ServiceAWS.SSM2014-11-06
Amazon Simple Workflow ServiceAWS.SWF2012-01-25
Amazon SimpleDBAWS.SimpleDB2009-04-15
Amazon SnowballAWS.Snowball2016-06-30
Amazon WorkSpacesAWS.WorkSpaces2015-04-08
Auto ScalingAWS.AutoScaling2011-01-01
AWS Certificate ManagerAWS.ACM2015-12-08
AWS CloudFormationAWS.CloudFormation2010-05-15
AWS CloudTrailAWS.CloudTrail2013-11-01
AWS CodeCommitAWS.CodeCommit2015-04-13
AWS CodeDeployAWS.CodeDeploy2014-10-06
AWS CodePipelineAWS.CodePipeline2015-07-09
AWS ConfigAWS.ConfigService2014-11-12
AWS Data PipelineAWS.DataPipeline2012-10-29
AWS Database Migration ServiceAWS.DMS2016-01-01
AWS Device FarmAWS.DeviceFarm2015-06-23
AWS Direct ConnectAWS.DirectConnect2012-10-25
AWS Directory ServiceAWS.DirectoryService2015-04-16
AWS Elastic BeanstalkAWS.ElasticBeanstalk2010-12-01
AWS Identity and Access ManagementAWS.IAM2010-05-08
AWS Import/ExportAWS.ImportExport2010-06-01
AWS IoTAWS.Iot2015-05-28
AWS IoT Data PlaneAWS.IotData2015-05-28
AWS Key Management ServiceAWS.KMS2014-11-01
AWS LambdaAWS.Lambda2015-03-31
AWS Marketplace Commerce AnalyticsAWS.MarketplaceCommerceAnalytics2015-07-01
AWS Marketplace MeteringAWS.MarketplaceMetering2016-01-14
AWS OpsWorksAWS.OpsWorks2013-02-18
AWS Security Token ServiceAWS.STS2011-06-15
AWS Storage GatewayAWS.StorageGateway2013-06-30
AWS SupportAWS.Support2013-04-15
AWS WAFAWS.WAF2015-08-24
Elastic Load BalancingAWS.ELB2012-06-01
Elastic Load Balancing v2AWS.ELBv22015-12-01
- -## License - -This SDK is distributed under the -[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0), -see LICENSE.txt and NOTICE.txt for more information. diff --git a/node_modules/aws-sdk/UPGRADING.md b/node_modules/aws-sdk/UPGRADING.md deleted file mode 100644 index f67fd91..0000000 --- a/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/node_modules/aws-sdk/apis/acm-2015-12-08.min.json b/node_modules/aws-sdk/apis/acm-2015-12-08.min.json deleted file mode 100644 index 597156f..0000000 --- a/node_modules/aws-sdk/apis/acm-2015-12-08.min.json +++ /dev/null @@ -1,263 +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" - }, - "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": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "ValidationEmails": { - "type": "list", - "member": {} - }, - "ValidationDomain": {} - } - } - }, - "Serial": {}, - "Subject": {}, - "Issuer": {}, - "CreatedAt": { - "type": "timestamp" - }, - "IssuedAt": { - "type": "timestamp" - }, - "Status": {}, - "RevokedAt": { - "type": "timestamp" - }, - "RevocationReason": {}, - "NotBefore": { - "type": "timestamp" - }, - "NotAfter": { - "type": "timestamp" - }, - "KeyAlgorithm": {}, - "SignatureAlgorithm": {}, - "InUseBy": { - "type": "list", - "member": {} - }, - "FailureReason": {} - } - } - } - } - }, - "GetCertificate": { - "input": { - "type": "structure", - "required": [ - "CertificateArn" - ], - "members": { - "CertificateArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "Certificate": {}, - "CertificateChain": {} - } - } - }, - "ListCertificates": { - "input": { - "type": "structure", - "members": { - "CertificateStatuses": { - "type": "list", - "member": {} - }, - "NextToken": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "CertificateSummaryList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CertificateArn": {}, - "DomainName": {} - } - } - } - } - } - }, - "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": {} - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/acm-2015-12-08.paginators.json b/node_modules/aws-sdk/apis/acm-2015-12-08.paginators.json deleted file mode 100644 index 036e358..0000000 --- a/node_modules/aws-sdk/apis/acm-2015-12-08.paginators.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "pagination": { - "ListCertificates": { - "limit_key": "MaxItems", - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "CertificateSummaryList" - } - } -} diff --git a/node_modules/aws-sdk/apis/apigateway-2015-07-09.min.json b/node_modules/aws-sdk/apis/apigateway-2015-07-09.min.json deleted file mode 100644 index fc7db1c..0000000 --- a/node_modules/aws-sdk/apis/apigateway-2015-07-09.min.json +++ /dev/null @@ -1,3154 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-07-09", - "endpointPrefix": "apigateway", - "protocol": "rest-json", - "serviceFullName": "Amazon API Gateway", - "signatureVersion": "v4" - }, - "operations": { - "CreateApiKey": { - "http": { - "requestUri": "/apikeys", - "responseCode": 201 - }, - "input": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "enabled": { - "type": "boolean" - }, - "generateDistinctId": { - "type": "boolean" - }, - "value": {}, - "stageKeys": { - "type": "list", - "member": { - "type": "structure", - "members": { - "restApiId": {}, - "stageName": {} - } - } - } - } - }, - "output": { - "shape": "S6" - } - }, - "CreateAuthorizer": { - "http": { - "requestUri": "/restapis/{restapi_id}/authorizers", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "name", - "type", - "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", - "stageName" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "stageName": {}, - "stageDescription": {}, - "description": {}, - "cacheClusterEnabled": { - "type": "boolean" - }, - "cacheClusterSize": {}, - "variables": { - "shape": "Sk" - } - } - }, - "output": { - "shape": "Sl" - } - }, - "CreateDomainName": { - "http": { - "requestUri": "/domainnames", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "domainName", - "certificateName", - "certificateBody", - "certificatePrivateKey", - "certificateChain" - ], - "members": { - "domainName": {}, - "certificateName": {}, - "certificateBody": {}, - "certificatePrivateKey": {}, - "certificateChain": {} - } - }, - "output": { - "shape": "Sq" - } - }, - "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": "Ss" - } - }, - "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": "Su" - } - }, - "CreateRestApi": { - "http": { - "requestUri": "/restapis", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {}, - "description": {}, - "cloneFrom": {} - } - }, - "output": { - "shape": "S16" - } - }, - "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" - } - } - }, - "output": { - "shape": "S18" - } - }, - "CreateUsagePlan": { - "http": { - "requestUri": "/usageplans", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {}, - "description": {}, - "apiStages": { - "shape": "S1g" - }, - "throttle": { - "shape": "S1i" - }, - "quota": { - "shape": "S1j" - } - } - }, - "output": { - "shape": "S1l" - } - }, - "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": "S1n" - } - }, - "DeleteApiKey": { - "http": { - "method": "DELETE", - "requestUri": "/apikeys/{api_Key}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "apiKey" - ], - "members": { - "apiKey": { - "location": "uri", - "locationName": "api_Key" - } - } - } - }, - "DeleteAuthorizer": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/authorizers/{authorizer_id}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "authorizerId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "authorizerId": { - "location": "uri", - "locationName": "authorizer_id" - } - } - } - }, - "DeleteBasePathMapping": { - "http": { - "method": "DELETE", - "requestUri": "/domainnames/{domain_name}/basepathmappings/{base_path}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "domainName", - "basePath" - ], - "members": { - "domainName": { - "location": "uri", - "locationName": "domain_name" - }, - "basePath": { - "location": "uri", - "locationName": "base_path" - } - } - } - }, - "DeleteClientCertificate": { - "http": { - "method": "DELETE", - "requestUri": "/clientcertificates/{clientcertificate_id}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "clientCertificateId" - ], - "members": { - "clientCertificateId": { - "location": "uri", - "locationName": "clientcertificate_id" - } - } - } - }, - "DeleteDeployment": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/deployments/{deployment_id}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "deploymentId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "deploymentId": { - "location": "uri", - "locationName": "deployment_id" - } - } - } - }, - "DeleteDomainName": { - "http": { - "method": "DELETE", - "requestUri": "/domainnames/{domain_name}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "domainName" - ], - "members": { - "domainName": { - "location": "uri", - "locationName": "domain_name" - } - } - } - }, - "DeleteIntegration": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - } - } - } - }, - "DeleteIntegrationResponse": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod", - "statusCode" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - }, - "statusCode": { - "location": "uri", - "locationName": "status_code" - } - } - } - }, - "DeleteMethod": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - } - } - } - }, - "DeleteMethodResponse": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod", - "statusCode" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - }, - "statusCode": { - "location": "uri", - "locationName": "status_code" - } - } - } - }, - "DeleteModel": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/models/{model_name}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "modelName" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "modelName": { - "location": "uri", - "locationName": "model_name" - } - } - } - }, - "DeleteResource": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - } - } - } - }, - "DeleteRestApi": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "restApiId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - } - } - } - }, - "DeleteStage": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/stages/{stage_name}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "stageName" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "stageName": { - "location": "uri", - "locationName": "stage_name" - } - } - } - }, - "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": "S27" - } - }, - "GetAccount": { - "http": { - "method": "GET", - "requestUri": "/account" - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "shape": "S29" - } - }, - "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" - }, - "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": "S27" - } - }, - "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": "S27" - } - } - } - } - }, - "GetDeployment": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/deployments/{deployment_id}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "deploymentId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "deploymentId": { - "location": "uri", - "locationName": "deployment_id" - } - } - }, - "output": { - "shape": "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" - } - } - } - } - }, - "GetDomainName": { - "http": { - "method": "GET", - "requestUri": "/domainnames/{domain_name}" - }, - "input": { - "type": "structure", - "required": [ - "domainName" - ], - "members": { - "domainName": { - "location": "uri", - "locationName": "domain_name" - } - } - }, - "output": { - "shape": "Sq" - } - }, - "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": "Sq" - } - } - } - } - }, - "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": "S11" - } - }, - "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": "S14" - } - }, - "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": "Sw" - } - }, - "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": "Sz" - } - }, - "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": "Ss" - } - }, - "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": "Ss" - } - } - } - } - }, - "GetResource": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - } - } - }, - "output": { - "shape": "Su" - } - }, - "GetResources": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/resources" - }, - "input": { - "type": "structure", - "required": [ - "restApiId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "position": { - "location": "querystring", - "locationName": "position" - }, - "limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "position": {}, - "items": { - "locationName": "item", - "type": "list", - "member": { - "shape": "Su" - } - } - } - } - }, - "GetRestApi": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - } - } - }, - "output": { - "shape": "S16" - } - }, - "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": "S16" - } - } - } - } - }, - "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" - } - }, - "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": "S18" - } - }, - "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": "S18" - } - } - } - } - }, - "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": "S3q" - } - }, - "GetUsagePlan": { - "http": { - "method": "GET", - "requestUri": "/usageplans/{usageplanId}" - }, - "input": { - "type": "structure", - "required": [ - "usagePlanId" - ], - "members": { - "usagePlanId": { - "location": "uri", - "locationName": "usageplanId" - } - } - }, - "output": { - "shape": "S1l" - } - }, - "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": "S1n" - } - }, - "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": "S1n" - } - } - } - } - }, - "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": "S1l" - } - } - } - } - }, - "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" - } - } - } - }, - "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": "S16" - } - }, - "PutIntegration": { - "http": { - "method": "PUT", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod", - "type" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - }, - "type": {}, - "integrationHttpMethod": { - "locationName": "httpMethod" - }, - "uri": {}, - "credentials": {}, - "requestParameters": { - "shape": "Sk" - }, - "requestTemplates": { - "shape": "Sk" - }, - "passthroughBehavior": {}, - "cacheNamespace": {}, - "cacheKeyParameters": { - "shape": "S8" - } - } - }, - "output": { - "shape": "S11" - } - }, - "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" - } - } - }, - "output": { - "shape": "S14" - } - }, - "PutMethod": { - "http": { - "method": "PUT", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod", - "authorizationType" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - }, - "authorizationType": {}, - "authorizerId": {}, - "apiKeyRequired": { - "type": "boolean" - }, - "requestParameters": { - "shape": "Sx" - }, - "requestModels": { - "shape": "Sk" - } - } - }, - "output": { - "shape": "Sw" - } - }, - "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": "Sx" - }, - "responseModels": { - "shape": "Sk" - } - } - }, - "output": { - "shape": "Sz" - } - }, - "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": "S16" - } - }, - "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": "S4e" - }, - "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": "S4e" - }, - "clientCertificateId": {}, - "stageVariables": { - "shape": "Sk" - } - } - }, - "output": { - "type": "structure", - "members": { - "status": { - "type": "integer" - }, - "body": {}, - "headers": { - "shape": "S4e" - }, - "log": {}, - "latency": { - "type": "long" - } - } - } - }, - "UpdateAccount": { - "http": { - "method": "PATCH", - "requestUri": "/account" - }, - "input": { - "type": "structure", - "members": { - "patchOperations": { - "shape": "S4k" - } - } - }, - "output": { - "shape": "S29" - } - }, - "UpdateApiKey": { - "http": { - "method": "PATCH", - "requestUri": "/apikeys/{api_Key}" - }, - "input": { - "type": "structure", - "required": [ - "apiKey" - ], - "members": { - "apiKey": { - "location": "uri", - "locationName": "api_Key" - }, - "patchOperations": { - "shape": "S4k" - } - } - }, - "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": "S4k" - } - } - }, - "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": "S4k" - } - } - }, - "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": "S4k" - } - } - }, - "output": { - "shape": "S27" - } - }, - "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": "S4k" - } - } - }, - "output": { - "shape": "Sl" - } - }, - "UpdateDomainName": { - "http": { - "method": "PATCH", - "requestUri": "/domainnames/{domain_name}" - }, - "input": { - "type": "structure", - "required": [ - "domainName" - ], - "members": { - "domainName": { - "location": "uri", - "locationName": "domain_name" - }, - "patchOperations": { - "shape": "S4k" - } - } - }, - "output": { - "shape": "Sq" - } - }, - "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": "S4k" - } - } - }, - "output": { - "shape": "S11" - } - }, - "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": "S4k" - } - } - }, - "output": { - "shape": "S14" - } - }, - "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": "S4k" - } - } - }, - "output": { - "shape": "Sw" - } - }, - "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": "S4k" - } - } - }, - "output": { - "shape": "Sz" - } - }, - "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": "S4k" - } - } - }, - "output": { - "shape": "Ss" - } - }, - "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": "S4k" - } - } - }, - "output": { - "shape": "Su" - } - }, - "UpdateRestApi": { - "http": { - "method": "PATCH", - "requestUri": "/restapis/{restapi_id}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "patchOperations": { - "shape": "S4k" - } - } - }, - "output": { - "shape": "S16" - } - }, - "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": "S4k" - } - } - }, - "output": { - "shape": "S18" - } - }, - "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": "S4k" - } - } - }, - "output": { - "shape": "S3q" - } - }, - "UpdateUsagePlan": { - "http": { - "method": "PATCH", - "requestUri": "/usageplans/{usageplanId}" - }, - "input": { - "type": "structure", - "required": [ - "usagePlanId" - ], - "members": { - "usagePlanId": { - "location": "uri", - "locationName": "usageplanId" - }, - "patchOperations": { - "shape": "S4k" - } - } - }, - "output": { - "shape": "S1l" - } - } - }, - "shapes": { - "S6": { - "type": "structure", - "members": { - "id": {}, - "value": {}, - "name": {}, - "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", - "members": { - "domainName": {}, - "certificateName": {}, - "certificateUploadDate": { - "type": "timestamp" - }, - "distributionDomainName": {} - } - }, - "Ss": { - "type": "structure", - "members": { - "id": {}, - "name": {}, - "description": {}, - "schema": {}, - "contentType": {} - } - }, - "Su": { - "type": "structure", - "members": { - "id": {}, - "parentId": {}, - "pathPart": {}, - "path": {}, - "resourceMethods": { - "type": "map", - "key": {}, - "value": { - "shape": "Sw" - } - } - } - }, - "Sw": { - "type": "structure", - "members": { - "httpMethod": {}, - "authorizationType": {}, - "authorizerId": {}, - "apiKeyRequired": { - "type": "boolean" - }, - "requestParameters": { - "shape": "Sx" - }, - "requestModels": { - "shape": "Sk" - }, - "methodResponses": { - "type": "map", - "key": {}, - "value": { - "shape": "Sz" - } - }, - "methodIntegration": { - "shape": "S11" - } - } - }, - "Sx": { - "type": "map", - "key": {}, - "value": { - "type": "boolean" - } - }, - "Sz": { - "type": "structure", - "members": { - "statusCode": {}, - "responseParameters": { - "shape": "Sx" - }, - "responseModels": { - "shape": "Sk" - } - } - }, - "S11": { - "type": "structure", - "members": { - "type": {}, - "httpMethod": {}, - "uri": {}, - "credentials": {}, - "requestParameters": { - "shape": "Sk" - }, - "requestTemplates": { - "shape": "Sk" - }, - "passthroughBehavior": {}, - "cacheNamespace": {}, - "cacheKeyParameters": { - "shape": "S8" - }, - "integrationResponses": { - "type": "map", - "key": {}, - "value": { - "shape": "S14" - } - } - } - }, - "S14": { - "type": "structure", - "members": { - "statusCode": {}, - "selectionPattern": {}, - "responseParameters": { - "shape": "Sk" - }, - "responseTemplates": { - "shape": "Sk" - } - } - }, - "S16": { - "type": "structure", - "members": { - "id": {}, - "name": {}, - "description": {}, - "createdDate": { - "type": "timestamp" - }, - "warnings": { - "shape": "S8" - } - } - }, - "S18": { - "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" - }, - "createdDate": { - "type": "timestamp" - }, - "lastUpdatedDate": { - "type": "timestamp" - } - } - }, - "S1g": { - "type": "list", - "member": { - "type": "structure", - "members": { - "apiId": {}, - "stage": {} - } - } - }, - "S1i": { - "type": "structure", - "members": { - "burstLimit": { - "type": "integer" - }, - "rateLimit": { - "type": "double" - } - } - }, - "S1j": { - "type": "structure", - "members": { - "limit": { - "type": "integer" - }, - "offset": { - "type": "integer" - }, - "period": {} - } - }, - "S1l": { - "type": "structure", - "members": { - "id": {}, - "name": {}, - "description": {}, - "apiStages": { - "shape": "S1g" - }, - "throttle": { - "shape": "S1i" - }, - "quota": { - "shape": "S1j" - } - } - }, - "S1n": { - "type": "structure", - "members": { - "id": {}, - "type": {}, - "value": {}, - "name": {} - } - }, - "S27": { - "type": "structure", - "members": { - "clientCertificateId": {}, - "description": {}, - "pemEncodedCertificate": {}, - "createdDate": { - "type": "timestamp" - }, - "expirationDate": { - "type": "timestamp" - } - } - }, - "S29": { - "type": "structure", - "members": { - "cloudwatchRoleArn": {}, - "throttleSettings": { - "shape": "S1i" - }, - "features": { - "shape": "S8" - }, - "apiKeyVersion": {} - } - }, - "S3q": { - "type": "structure", - "members": { - "usagePlanId": {}, - "startDate": {}, - "endDate": {}, - "position": {}, - "items": { - "locationName": "values", - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": { - "type": "list", - "member": { - "type": "long" - } - } - } - } - } - }, - "S4e": { - "type": "map", - "key": {}, - "value": {} - }, - "S4k": { - "type": "list", - "member": { - "type": "structure", - "members": { - "op": {}, - "path": {}, - "value": {}, - "from": {} - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/apigateway-2015-07-09.paginators.json b/node_modules/aws-sdk/apis/apigateway-2015-07-09.paginators.json deleted file mode 100644 index 7a6965b..0000000 --- a/node_modules/aws-sdk/apis/apigateway-2015-07-09.paginators.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "pagination": { - "GetApiKeys": { - "input_token": "position", - "output_token": "position", - "limit_key": "limit", - "result_key": "items" - }, - "GetBasePathMappings": { - "input_token": "position", - "output_token": "position", - "limit_key": "limit", - "result_key": "items" - }, - "GetClientCertificates": { - "input_token": "position", - "output_token": "position", - "limit_key": "limit", - "result_key": "items" - }, - "GetDeployments": { - "input_token": "position", - "output_token": "position", - "limit_key": "limit", - "result_key": "items" - }, - "GetDomainNames": { - "input_token": "position", - "output_token": "position", - "limit_key": "limit", - "result_key": "items" - }, - "GetModels": { - "input_token": "position", - "output_token": "position", - "limit_key": "limit", - "result_key": "items" - }, - "GetResources": { - "input_token": "position", - "output_token": "position", - "limit_key": "limit", - "result_key": "items" - }, - "GetRestApis": { - "input_token": "position", - "output_token": "position", - "limit_key": "limit", - "result_key": "items" - }, - "GetUsage": { - "input_token": "position", - "output_token": "position", - "limit_key": "limit", - "result_key": "items" - }, - "GetUsagePlans": { - "input_token": "position", - "output_token": "position", - "limit_key": "limit", - "result_key": "items" - }, - "GetUsagePlanKeys": { - "input_token": "position", - "output_token": "position", - "limit_key": "limit", - "result_key": "items" - } - } -} diff --git a/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.examples.json b/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.examples.json deleted file mode 100644 index 53415ec..0000000 --- a/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/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.min.json b/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.min.json deleted file mode 100644 index 469d9d0..0000000 --- a/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.min.json +++ /dev/null @@ -1,330 +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" - }, - "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" - }, - "Alarms": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "AlarmName", - "AlarmARN" - ], - "members": { - "AlarmName": {}, - "AlarmARN": {} - } - } - }, - "CreationTime": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "PutScalingPolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyName", - "ServiceNamespace", - "ResourceId", - "ScalableDimension" - ], - "members": { - "PolicyName": {}, - "ServiceNamespace": {}, - "ResourceId": {}, - "ScalableDimension": {}, - "PolicyType": {}, - "StepScalingPolicyConfiguration": { - "shape": "St" - } - } - }, - "output": { - "type": "structure", - "required": [ - "PolicyARN" - ], - "members": { - "PolicyARN": {} - } - } - }, - "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": {} - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.paginators.json b/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.paginators.json deleted file mode 100644 index 97ae600..0000000 --- a/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.paginators.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "pagination": { - "DescribeScalableTargets": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "ScalableTargets" - }, - "DescribeScalingPolicies": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "ScalingPolicies" - }, - "DescribeScalingActivities": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "ScalingActivities" - } - } -} diff --git a/node_modules/aws-sdk/apis/autoscaling-2011-01-01.examples.json b/node_modules/aws-sdk/apis/autoscaling-2011-01-01.examples.json deleted file mode 100644 index 9dcaf88..0000000 --- a/node_modules/aws-sdk/apis/autoscaling-2011-01-01.examples.json +++ /dev/null @@ -1,1395 +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" - } - ], - "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/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json b/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json deleted file mode 100644 index 0b51538..0000000 --- a/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +++ /dev/null @@ -1,1608 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2011-01-01", - "endpointPrefix": "autoscaling", - "protocol": "query", - "serviceFullName": "Auto Scaling", - "signatureVersion": "v4", - "xmlNamespace": "http://autoscaling.amazonaws.com/doc/2011-01-01/" - }, - "operations": { - "AttachInstances": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName" - ], - "members": { - "InstanceIds": { - "shape": "S2" - }, - "AutoScalingGroupName": {} - } - } - }, - "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/node_modules/aws-sdk/apis/autoscaling-2011-01-01.paginators.json b/node_modules/aws-sdk/apis/autoscaling-2011-01-01.paginators.json deleted file mode 100644 index 31bc094..0000000 --- a/node_modules/aws-sdk/apis/autoscaling-2011-01-01.paginators.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "pagination": { - "DescribeAutoScalingGroups": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxRecords", - "result_key": "AutoScalingGroups" - }, - "DescribeAutoScalingInstances": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxRecords", - "result_key": "AutoScalingInstances" - }, - "DescribeLaunchConfigurations": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxRecords", - "result_key": "LaunchConfigurations" - }, - "DescribeNotificationConfigurations": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxRecords", - "result_key": "NotificationConfigurations" - }, - "DescribePolicies": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxRecords", - "result_key": "ScalingPolicies" - }, - "DescribeScalingActivities": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxRecords", - "result_key": "Activities" - }, - "DescribeScheduledActions": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxRecords", - "result_key": "ScheduledUpdateGroupActions" - }, - "DescribeTags": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxRecords", - "result_key": "Tags" - } - } -} diff --git a/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json b/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json deleted file mode 100644 index a7abad5..0000000 --- a/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +++ /dev/null @@ -1,860 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2010-05-15", - "endpointPrefix": "cloudformation", - "protocol": "query", - "serviceFullName": "AWS CloudFormation", - "signatureVersion": "v4", - "xmlNamespace": "http://cloudformation.amazonaws.com/doc/2010-05-15/" - }, - "operations": { - "CancelUpdateStack": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {} - } - } - }, - "ContinueUpdateRollback": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {}, - "RoleARN": {} - } - }, - "output": { - "resultWrapper": "ContinueUpdateRollbackResult", - "type": "structure", - "members": {} - } - }, - "CreateChangeSet": { - "input": { - "type": "structure", - "required": [ - "StackName", - "ChangeSetName" - ], - "members": { - "StackName": {}, - "TemplateBody": {}, - "TemplateURL": {}, - "UsePreviousTemplate": { - "type": "boolean" - }, - "Parameters": { - "shape": "Sb" - }, - "Capabilities": { - "shape": "Sg" - }, - "ResourceTypes": { - "shape": "Si" - }, - "RoleARN": {}, - "NotificationARNs": { - "shape": "Sk" - }, - "Tags": { - "shape": "Sm" - }, - "ChangeSetName": {}, - "ClientToken": {}, - "Description": {} - } - }, - "output": { - "resultWrapper": "CreateChangeSetResult", - "type": "structure", - "members": { - "Id": {} - } - } - }, - "CreateStack": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {}, - "TemplateBody": {}, - "TemplateURL": {}, - "Parameters": { - "shape": "Sb" - }, - "DisableRollback": { - "type": "boolean" - }, - "TimeoutInMinutes": { - "type": "integer" - }, - "NotificationARNs": { - "shape": "Sk" - }, - "Capabilities": { - "shape": "Sg" - }, - "ResourceTypes": { - "shape": "Si" - }, - "RoleARN": {}, - "OnFailure": {}, - "StackPolicyBody": {}, - "StackPolicyURL": {}, - "Tags": { - "shape": "Sm" - } - } - }, - "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": {} - } - } - }, - "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": "Sb" - }, - "CreationTime": { - "type": "timestamp" - }, - "ExecutionStatus": {}, - "Status": {}, - "StatusReason": {}, - "NotificationARNs": { - "shape": "Sk" - }, - "Capabilities": { - "shape": "Sg" - }, - "Tags": { - "shape": "Sm" - }, - "Changes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Type": {}, - "ResourceChange": { - "type": "structure", - "members": { - "Action": {}, - "LogicalResourceId": {}, - "PhysicalResourceId": {}, - "ResourceType": {}, - "Replacement": {}, - "Scope": { - "type": "list", - "member": {} - }, - "Details": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Target": { - "type": "structure", - "members": { - "Attribute": {}, - "Name": {}, - "RequiresRecreation": {} - } - }, - "Evaluation": {}, - "ChangeSource": {}, - "CausingEntity": {} - } - } - } - } - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeStackEvents": { - "input": { - "type": "structure", - "members": { - "StackName": {}, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeStackEventsResult", - "type": "structure", - "members": { - "StackEvents": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "StackId", - "EventId", - "StackName", - "Timestamp" - ], - "members": { - "StackId": {}, - "EventId": {}, - "StackName": {}, - "LogicalResourceId": {}, - "PhysicalResourceId": {}, - "ResourceType": {}, - "Timestamp": { - "type": "timestamp" - }, - "ResourceStatus": {}, - "ResourceStatusReason": {}, - "ResourceProperties": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeStackResource": { - "input": { - "type": "structure", - "required": [ - "StackName", - "LogicalResourceId" - ], - "members": { - "StackName": {}, - "LogicalResourceId": {} - } - }, - "output": { - "resultWrapper": "DescribeStackResourceResult", - "type": "structure", - "members": { - "StackResourceDetail": { - "type": "structure", - "required": [ - "LogicalResourceId", - "ResourceType", - "LastUpdatedTimestamp", - "ResourceStatus" - ], - "members": { - "StackName": {}, - "StackId": {}, - "LogicalResourceId": {}, - "PhysicalResourceId": {}, - "ResourceType": {}, - "LastUpdatedTimestamp": { - "type": "timestamp" - }, - "ResourceStatus": {}, - "ResourceStatusReason": {}, - "Description": {}, - "Metadata": {} - } - } - } - } - }, - "DescribeStackResources": { - "input": { - "type": "structure", - "members": { - "StackName": {}, - "LogicalResourceId": {}, - "PhysicalResourceId": {} - } - }, - "output": { - "resultWrapper": "DescribeStackResourcesResult", - "type": "structure", - "members": { - "StackResources": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "LogicalResourceId", - "ResourceType", - "Timestamp", - "ResourceStatus" - ], - "members": { - "StackName": {}, - "StackId": {}, - "LogicalResourceId": {}, - "PhysicalResourceId": {}, - "ResourceType": {}, - "Timestamp": { - "type": "timestamp" - }, - "ResourceStatus": {}, - "ResourceStatusReason": {}, - "Description": {} - } - } - } - } - } - }, - "DescribeStacks": { - "input": { - "type": "structure", - "members": { - "StackName": {}, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeStacksResult", - "type": "structure", - "members": { - "Stacks": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "StackName", - "CreationTime", - "StackStatus" - ], - "members": { - "StackId": {}, - "StackName": {}, - "Description": {}, - "Parameters": { - "shape": "Sb" - }, - "CreationTime": { - "type": "timestamp" - }, - "LastUpdatedTime": { - "type": "timestamp" - }, - "StackStatus": {}, - "StackStatusReason": {}, - "DisableRollback": { - "type": "boolean" - }, - "NotificationARNs": { - "shape": "Sk" - }, - "TimeoutInMinutes": { - "type": "integer" - }, - "Capabilities": { - "shape": "Sg" - }, - "Outputs": { - "type": "list", - "member": { - "type": "structure", - "members": { - "OutputKey": {}, - "OutputValue": {}, - "Description": {} - } - } - }, - "RoleARN": {}, - "Tags": { - "shape": "Sm" - } - } - } - }, - "NextToken": {} - } - } - }, - "EstimateTemplateCost": { - "input": { - "type": "structure", - "members": { - "TemplateBody": {}, - "TemplateURL": {}, - "Parameters": { - "shape": "Sb" - } - } - }, - "output": { - "resultWrapper": "EstimateTemplateCostResult", - "type": "structure", - "members": { - "Url": {} - } - } - }, - "ExecuteChangeSet": { - "input": { - "type": "structure", - "required": [ - "ChangeSetName" - ], - "members": { - "ChangeSetName": {}, - "StackName": {} - } - }, - "output": { - "resultWrapper": "ExecuteChangeSetResult", - "type": "structure", - "members": {} - } - }, - "GetStackPolicy": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {} - } - }, - "output": { - "resultWrapper": "GetStackPolicyResult", - "type": "structure", - "members": { - "StackPolicyBody": {} - } - } - }, - "GetTemplate": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {} - } - }, - "output": { - "resultWrapper": "GetTemplateResult", - "type": "structure", - "members": { - "TemplateBody": {} - } - } - }, - "GetTemplateSummary": { - "input": { - "type": "structure", - "members": { - "TemplateBody": {}, - "TemplateURL": {}, - "StackName": {} - } - }, - "output": { - "resultWrapper": "GetTemplateSummaryResult", - "type": "structure", - "members": { - "Parameters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ParameterKey": {}, - "DefaultValue": {}, - "ParameterType": {}, - "NoEcho": { - "type": "boolean" - }, - "Description": {}, - "ParameterConstraints": { - "type": "structure", - "members": { - "AllowedValues": { - "type": "list", - "member": {} - } - } - } - } - } - }, - "Description": {}, - "Capabilities": { - "shape": "Sg" - }, - "CapabilitiesReason": {}, - "ResourceTypes": { - "shape": "Si" - }, - "Version": {}, - "Metadata": {} - } - } - }, - "ListChangeSets": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {}, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListChangeSetsResult", - "type": "structure", - "members": { - "Summaries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "StackId": {}, - "StackName": {}, - "ChangeSetId": {}, - "ChangeSetName": {}, - "ExecutionStatus": {}, - "Status": {}, - "StatusReason": {}, - "CreationTime": { - "type": "timestamp" - }, - "Description": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListStackResources": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {}, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListStackResourcesResult", - "type": "structure", - "members": { - "StackResourceSummaries": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "LogicalResourceId", - "ResourceType", - "LastUpdatedTimestamp", - "ResourceStatus" - ], - "members": { - "LogicalResourceId": {}, - "PhysicalResourceId": {}, - "ResourceType": {}, - "LastUpdatedTimestamp": { - "type": "timestamp" - }, - "ResourceStatus": {}, - "ResourceStatusReason": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListStacks": { - "input": { - "type": "structure", - "members": { - "NextToken": {}, - "StackStatusFilter": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "ListStacksResult", - "type": "structure", - "members": { - "StackSummaries": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "StackName", - "CreationTime", - "StackStatus" - ], - "members": { - "StackId": {}, - "StackName": {}, - "TemplateDescription": {}, - "CreationTime": { - "type": "timestamp" - }, - "LastUpdatedTime": { - "type": "timestamp" - }, - "DeletionTime": { - "type": "timestamp" - }, - "StackStatus": {}, - "StackStatusReason": {} - } - } - }, - "NextToken": {} - } - } - }, - "SetStackPolicy": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {}, - "StackPolicyBody": {}, - "StackPolicyURL": {} - } - } - }, - "SignalResource": { - "input": { - "type": "structure", - "required": [ - "StackName", - "LogicalResourceId", - "UniqueId", - "Status" - ], - "members": { - "StackName": {}, - "LogicalResourceId": {}, - "UniqueId": {}, - "Status": {} - } - } - }, - "UpdateStack": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {}, - "TemplateBody": {}, - "TemplateURL": {}, - "UsePreviousTemplate": { - "type": "boolean" - }, - "StackPolicyDuringUpdateBody": {}, - "StackPolicyDuringUpdateURL": {}, - "Parameters": { - "shape": "Sb" - }, - "Capabilities": { - "shape": "Sg" - }, - "ResourceTypes": { - "shape": "Si" - }, - "RoleARN": {}, - "StackPolicyBody": {}, - "StackPolicyURL": {}, - "NotificationARNs": { - "shape": "Sk" - }, - "Tags": { - "shape": "Sm" - } - } - }, - "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": "Sg" - }, - "CapabilitiesReason": {} - } - } - } - }, - "shapes": { - "Sb": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ParameterKey": {}, - "ParameterValue": {}, - "UsePreviousValue": { - "type": "boolean" - } - } - } - }, - "Sg": { - "type": "list", - "member": {} - }, - "Si": { - "type": "list", - "member": {} - }, - "Sk": { - "type": "list", - "member": {} - }, - "Sm": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/cloudformation-2010-05-15.paginators.json b/node_modules/aws-sdk/apis/cloudformation-2010-05-15.paginators.json deleted file mode 100644 index da6c17d..0000000 --- a/node_modules/aws-sdk/apis/cloudformation-2010-05-15.paginators.json +++ /dev/null @@ -1,27 +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" - }, - "ListStackResources": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "StackResourceSummaries" - }, - "ListStacks": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "StackSummaries" - } - } -} diff --git a/node_modules/aws-sdk/apis/cloudformation-2010-05-15.waiters2.json b/node_modules/aws-sdk/apis/cloudformation-2010-05-15.waiters2.json deleted file mode 100644 index f3a5cde..0000000 --- a/node_modules/aws-sdk/apis/cloudformation-2010-05-15.waiters2.json +++ /dev/null @@ -1,235 +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": [ - { - "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", - "argument": "Stacks[].StackStatus", - "state": "failure" - }, - { - "expected": "DELETE_IN_PROGRESS", - "matcher": "pathAny", - "argument": "Stacks[].StackStatus", - "state": "failure" - }, - { - "expected": "DELETE_FAILED", - "matcher": "pathAny", - "argument": "Stacks[].StackStatus", - "state": "failure" - }, - { - "expected": "ROLLBACK_COMPLETE", - "matcher": "pathAny", - "state": "failure", - "argument": "Stacks[].StackStatus" - }, - { - "expected": "ROLLBACK_FAILED", - "matcher": "pathAny", - "state": "failure", - "argument": "Stacks[].StackStatus" - }, - { - "expected": "ROLLBACK_IN_PROGRESS", - "matcher": "pathAny", - "argument": "Stacks[].StackStatus", - "state": "failure" - }, - { - "expected": "ValidationError", - "matcher": "error", - "state": "failure" - } - ] - }, - "StackDeleteComplete": { - "delay": 30, - "operation": "DescribeStacks", - "maxAttempts": 120, - "description": "Wait until stack status is DELETE_COMPLETE.", - "acceptors": [ - { - "expected": "DELETE_COMPLETE", - "matcher": "pathAll", - "state": "success", - "argument": "Stacks[].StackStatus" - }, - { - "expected": "ValidationError", - "matcher": "error", - "state": "success" - }, - { - "expected": "DELETE_FAILED", - "matcher": "pathAny", - "state": "failure", - "argument": "Stacks[].StackStatus" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "CREATE_COMPLETE", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "CREATE_FAILED", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "CREATE_IN_PROGRESS", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "ROLLBACK_COMPLETE", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "ROLLBACK_FAILED", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "ROLLBACK_IN_PROGRESS", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "UPDATE_COMPLETE", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "UPDATE_IN_PROGRESS", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "UPDATE_ROLLBACK_COMPLETE", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS", - "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": [ - { - "expected": "UPDATE_COMPLETE", - "matcher": "pathAll", - "state": "success", - "argument": "Stacks[].StackStatus" - }, - { - "expected": "UPDATE_FAILED", - "matcher": "pathAny", - "state": "failure", - "argument": "Stacks[].StackStatus" - }, - { - "expected": "UPDATE_ROLLBACK_COMPLETE", - "matcher": "pathAny", - "state": "failure", - "argument": "Stacks[].StackStatus" - }, - { - "expected": "UPDATE_ROLLBACK_FAILED", - "matcher": "pathAny", - "state": "failure", - "argument": "Stacks[].StackStatus" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "UPDATE_ROLLBACK_IN_PROGRESS", - "matcher": "pathAny", - "state": "failure" - }, - { - "expected": "ValidationError", - "matcher": "error", - "state": "failure" - } - ] - } - } -} diff --git a/node_modules/aws-sdk/apis/cloudfront-2016-09-07.min.json b/node_modules/aws-sdk/apis/cloudfront-2016-09-07.min.json deleted file mode 100644 index c5c6890..0000000 --- a/node_modules/aws-sdk/apis/cloudfront-2016-09-07.min.json +++ /dev/null @@ -1,1876 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-09-07", - "endpointPrefix": "cloudfront", - "globalEndpoint": "cloudfront.amazonaws.com", - "protocol": "rest-xml", - "serviceAbbreviation": "CloudFront", - "serviceFullName": "Amazon CloudFront", - "signatureVersion": "v4" - }, - "operations": { - "CreateCloudFrontOriginAccessIdentity": { - "http": { - "requestUri": "/2016-09-07/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-09-07/" - } - } - }, - "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-09-07/distribution", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "DistributionConfig" - ], - "members": { - "DistributionConfig": { - "shape": "S7", - "locationName": "DistributionConfig", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-09-07/" - } - } - }, - "payload": "DistributionConfig" - }, - "output": { - "type": "structure", - "members": { - "Distribution": { - "shape": "S1o" - }, - "Location": { - "location": "header", - "locationName": "Location" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "Distribution" - } - }, - "CreateDistributionWithTags": { - "http": { - "requestUri": "/2016-09-07/distribution?WithTags", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "DistributionConfigWithTags" - ], - "members": { - "DistributionConfigWithTags": { - "locationName": "DistributionConfigWithTags", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-09-07/" - }, - "type": "structure", - "required": [ - "DistributionConfig", - "Tags" - ], - "members": { - "DistributionConfig": { - "shape": "S7" - }, - "Tags": { - "shape": "S1x" - } - } - } - }, - "payload": "DistributionConfigWithTags" - }, - "output": { - "type": "structure", - "members": { - "Distribution": { - "shape": "S1o" - }, - "Location": { - "location": "header", - "locationName": "Location" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "Distribution" - } - }, - "CreateInvalidation": { - "http": { - "requestUri": "/2016-09-07/distribution/{DistributionId}/invalidation", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "DistributionId", - "InvalidationBatch" - ], - "members": { - "DistributionId": { - "location": "uri", - "locationName": "DistributionId" - }, - "InvalidationBatch": { - "shape": "S24", - "locationName": "InvalidationBatch", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-09-07/" - } - } - }, - "payload": "InvalidationBatch" - }, - "output": { - "type": "structure", - "members": { - "Location": { - "location": "header", - "locationName": "Location" - }, - "Invalidation": { - "shape": "S28" - } - }, - "payload": "Invalidation" - } - }, - "CreateStreamingDistribution": { - "http": { - "requestUri": "/2016-09-07/streaming-distribution", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "StreamingDistributionConfig" - ], - "members": { - "StreamingDistributionConfig": { - "shape": "S2a", - "locationName": "StreamingDistributionConfig", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-09-07/" - } - } - }, - "payload": "StreamingDistributionConfig" - }, - "output": { - "type": "structure", - "members": { - "StreamingDistribution": { - "shape": "S2e" - }, - "Location": { - "location": "header", - "locationName": "Location" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "StreamingDistribution" - } - }, - "CreateStreamingDistributionWithTags": { - "http": { - "requestUri": "/2016-09-07/streaming-distribution?WithTags", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "StreamingDistributionConfigWithTags" - ], - "members": { - "StreamingDistributionConfigWithTags": { - "locationName": "StreamingDistributionConfigWithTags", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-09-07/" - }, - "type": "structure", - "required": [ - "StreamingDistributionConfig", - "Tags" - ], - "members": { - "StreamingDistributionConfig": { - "shape": "S2a" - }, - "Tags": { - "shape": "S1x" - } - } - } - }, - "payload": "StreamingDistributionConfigWithTags" - }, - "output": { - "type": "structure", - "members": { - "StreamingDistribution": { - "shape": "S2e" - }, - "Location": { - "location": "header", - "locationName": "Location" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "StreamingDistribution" - } - }, - "DeleteCloudFrontOriginAccessIdentity": { - "http": { - "method": "DELETE", - "requestUri": "/2016-09-07/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-09-07/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-09-07/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-09-07/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-09-07/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-09-07/distribution/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "Distribution": { - "shape": "S1o" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "Distribution" - } - }, - "GetDistributionConfig": { - "http": { - "method": "GET", - "requestUri": "/2016-09-07/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-09-07/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": "S28" - } - }, - "payload": "Invalidation" - } - }, - "GetStreamingDistribution": { - "http": { - "method": "GET", - "requestUri": "/2016-09-07/streaming-distribution/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "StreamingDistribution": { - "shape": "S2e" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "StreamingDistribution" - } - }, - "GetStreamingDistributionConfig": { - "http": { - "method": "GET", - "requestUri": "/2016-09-07/streaming-distribution/{Id}/config" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "StreamingDistributionConfig": { - "shape": "S2a" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "StreamingDistributionConfig" - } - }, - "ListCloudFrontOriginAccessIdentities": { - "http": { - "method": "GET", - "requestUri": "/2016-09-07/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-09-07/distribution" - }, - "input": { - "type": "structure", - "members": { - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems" - } - } - }, - "output": { - "type": "structure", - "members": { - "DistributionList": { - "shape": "S36" - } - }, - "payload": "DistributionList" - } - }, - "ListDistributionsByWebACLId": { - "http": { - "method": "GET", - "requestUri": "/2016-09-07/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": "S36" - } - }, - "payload": "DistributionList" - } - }, - "ListInvalidations": { - "http": { - "method": "GET", - "requestUri": "/2016-09-07/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-09-07/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": "S2b" - }, - "Aliases": { - "shape": "S8" - }, - "TrustedSigners": { - "shape": "Sy" - }, - "Comment": {}, - "PriceClass": {}, - "Enabled": { - "type": "boolean" - } - } - } - } - } - } - }, - "payload": "StreamingDistributionList" - } - }, - "ListTagsForResource": { - "http": { - "method": "GET", - "requestUri": "/2016-09-07/tagging" - }, - "input": { - "type": "structure", - "required": [ - "Resource" - ], - "members": { - "Resource": { - "location": "querystring", - "locationName": "Resource" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Tags" - ], - "members": { - "Tags": { - "shape": "S1x" - } - }, - "payload": "Tags" - } - }, - "TagResource": { - "http": { - "requestUri": "/2016-09-07/tagging?Operation=Tag", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "Resource", - "Tags" - ], - "members": { - "Resource": { - "location": "querystring", - "locationName": "Resource" - }, - "Tags": { - "shape": "S1x", - "locationName": "Tags", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-09-07/" - } - } - }, - "payload": "Tags" - } - }, - "UntagResource": { - "http": { - "requestUri": "/2016-09-07/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-09-07/" - }, - "type": "structure", - "members": { - "Items": { - "type": "list", - "member": { - "locationName": "Key" - } - } - } - } - }, - "payload": "TagKeys" - } - }, - "UpdateCloudFrontOriginAccessIdentity": { - "http": { - "method": "PUT", - "requestUri": "/2016-09-07/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-09-07/" - } - }, - "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-09-07/distribution/{Id}/config" - }, - "input": { - "type": "structure", - "required": [ - "DistributionConfig", - "Id" - ], - "members": { - "DistributionConfig": { - "shape": "S7", - "locationName": "DistributionConfig", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-09-07/" - } - }, - "Id": { - "location": "uri", - "locationName": "Id" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - } - }, - "payload": "DistributionConfig" - }, - "output": { - "type": "structure", - "members": { - "Distribution": { - "shape": "S1o" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "Distribution" - } - }, - "UpdateStreamingDistribution": { - "http": { - "method": "PUT", - "requestUri": "/2016-09-07/streaming-distribution/{Id}/config" - }, - "input": { - "type": "structure", - "required": [ - "StreamingDistributionConfig", - "Id" - ], - "members": { - "StreamingDistributionConfig": { - "shape": "S2a", - "locationName": "StreamingDistributionConfig", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-09-07/" - } - }, - "Id": { - "location": "uri", - "locationName": "Id" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - } - }, - "payload": "StreamingDistributionConfig" - }, - "output": { - "type": "structure", - "members": { - "StreamingDistribution": { - "shape": "S2e" - }, - "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": "S16" - }, - "CustomErrorResponses": { - "shape": "S19" - }, - "Comment": {}, - "Logging": { - "type": "structure", - "required": [ - "Enabled", - "IncludeCookies", - "Bucket", - "Prefix" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "IncludeCookies": { - "type": "boolean" - }, - "Bucket": {}, - "Prefix": {} - } - }, - "PriceClass": {}, - "Enabled": { - "type": "boolean" - }, - "ViewerCertificate": { - "shape": "S1e" - }, - "Restrictions": { - "shape": "S1i" - }, - "WebACLId": {}, - "HttpVersion": {} - } - }, - "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" - } - } - }, - "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": "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" - } - } - } - } - } - }, - "S19": { - "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" - } - } - } - } - } - }, - "S1e": { - "type": "structure", - "members": { - "CloudFrontDefaultCertificate": { - "type": "boolean" - }, - "IAMCertificateId": {}, - "ACMCertificateArn": {}, - "SSLSupportMethod": {}, - "MinimumProtocolVersion": {}, - "Certificate": { - "deprecated": true - }, - "CertificateSource": { - "deprecated": true - } - } - }, - "S1i": { - "type": "structure", - "required": [ - "GeoRestriction" - ], - "members": { - "GeoRestriction": { - "type": "structure", - "required": [ - "RestrictionType", - "Quantity" - ], - "members": { - "RestrictionType": {}, - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "Location" - } - } - } - } - } - }, - "S1o": { - "type": "structure", - "required": [ - "Id", - "ARN", - "Status", - "LastModifiedTime", - "InProgressInvalidationBatches", - "DomainName", - "ActiveTrustedSigners", - "DistributionConfig" - ], - "members": { - "Id": {}, - "ARN": {}, - "Status": {}, - "LastModifiedTime": { - "type": "timestamp" - }, - "InProgressInvalidationBatches": { - "type": "integer" - }, - "DomainName": {}, - "ActiveTrustedSigners": { - "shape": "S1q" - }, - "DistributionConfig": { - "shape": "S7" - } - } - }, - "S1q": { - "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" - } - } - } - } - } - } - } - } - }, - "S1x": { - "type": "structure", - "members": { - "Items": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": {}, - "Value": {} - } - } - } - } - }, - "S24": { - "type": "structure", - "required": [ - "Paths", - "CallerReference" - ], - "members": { - "Paths": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "Path" - } - } - } - }, - "CallerReference": {} - } - }, - "S28": { - "type": "structure", - "required": [ - "Id", - "Status", - "CreateTime", - "InvalidationBatch" - ], - "members": { - "Id": {}, - "Status": {}, - "CreateTime": { - "type": "timestamp" - }, - "InvalidationBatch": { - "shape": "S24" - } - } - }, - "S2a": { - "type": "structure", - "required": [ - "CallerReference", - "S3Origin", - "Comment", - "TrustedSigners", - "Enabled" - ], - "members": { - "CallerReference": {}, - "S3Origin": { - "shape": "S2b" - }, - "Aliases": { - "shape": "S8" - }, - "Comment": {}, - "Logging": { - "type": "structure", - "required": [ - "Enabled", - "Bucket", - "Prefix" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "Bucket": {}, - "Prefix": {} - } - }, - "TrustedSigners": { - "shape": "Sy" - }, - "PriceClass": {}, - "Enabled": { - "type": "boolean" - } - } - }, - "S2b": { - "type": "structure", - "required": [ - "DomainName", - "OriginAccessIdentity" - ], - "members": { - "DomainName": {}, - "OriginAccessIdentity": {} - } - }, - "S2e": { - "type": "structure", - "required": [ - "Id", - "ARN", - "Status", - "DomainName", - "ActiveTrustedSigners", - "StreamingDistributionConfig" - ], - "members": { - "Id": {}, - "ARN": {}, - "Status": {}, - "LastModifiedTime": { - "type": "timestamp" - }, - "DomainName": {}, - "ActiveTrustedSigners": { - "shape": "S1q" - }, - "StreamingDistributionConfig": { - "shape": "S2a" - } - } - }, - "S36": { - "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" - ], - "members": { - "Id": {}, - "ARN": {}, - "Status": {}, - "LastModifiedTime": { - "type": "timestamp" - }, - "DomainName": {}, - "Aliases": { - "shape": "S8" - }, - "Origins": { - "shape": "Sb" - }, - "DefaultCacheBehavior": { - "shape": "Sn" - }, - "CacheBehaviors": { - "shape": "S16" - }, - "CustomErrorResponses": { - "shape": "S19" - }, - "Comment": {}, - "PriceClass": {}, - "Enabled": { - "type": "boolean" - }, - "ViewerCertificate": { - "shape": "S1e" - }, - "Restrictions": { - "shape": "S1i" - }, - "WebACLId": {}, - "HttpVersion": {} - } - } - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/cloudfront-2016-09-07.paginators.json b/node_modules/aws-sdk/apis/cloudfront-2016-09-07.paginators.json deleted file mode 100644 index 51fbb90..0000000 --- a/node_modules/aws-sdk/apis/cloudfront-2016-09-07.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/node_modules/aws-sdk/apis/cloudfront-2016-09-07.waiters2.json b/node_modules/aws-sdk/apis/cloudfront-2016-09-07.waiters2.json deleted file mode 100644 index edd74b2..0000000 --- a/node_modules/aws-sdk/apis/cloudfront-2016-09-07.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/node_modules/aws-sdk/apis/cloudhsm-2014-05-30.min.json b/node_modules/aws-sdk/apis/cloudhsm-2014-05-30.min.json deleted file mode 100644 index 99d911d..0000000 --- a/node_modules/aws-sdk/apis/cloudhsm-2014-05-30.min.json +++ /dev/null @@ -1,519 +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" - }, - "operations": { - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceArn", - "TagList" - ], - "members": { - "ResourceArn": {}, - "TagList": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Status" - ], - "members": { - "Status": {} - } - } - }, - "CreateHapg": { - "input": { - "type": "structure", - "required": [ - "Label" - ], - "members": { - "Label": {} - } - }, - "output": { - "type": "structure", - "members": { - "HapgArn": {} - } - } - }, - "CreateHsm": { - "input": { - "type": "structure", - "required": [ - "SubnetId", - "SshKey", - "IamRoleArn", - "SubscriptionType" - ], - "members": { - "SubnetId": { - "locationName": "SubnetId" - }, - "SshKey": { - "locationName": "SshKey" - }, - "EniIp": { - "locationName": "EniIp" - }, - "IamRoleArn": { - "locationName": "IamRoleArn" - }, - "ExternalId": { - "locationName": "ExternalId" - }, - "SubscriptionType": { - "locationName": "SubscriptionType" - }, - "ClientToken": { - "locationName": "ClientToken" - }, - "SyslogIp": { - "locationName": "SyslogIp" - } - }, - "locationName": "CreateHsmRequest" - }, - "output": { - "type": "structure", - "members": { - "HsmArn": {} - } - } - }, - "CreateLunaClient": { - "input": { - "type": "structure", - "required": [ - "Certificate" - ], - "members": { - "Label": {}, - "Certificate": {} - } - }, - "output": { - "type": "structure", - "members": { - "ClientArn": {} - } - } - }, - "DeleteHapg": { - "input": { - "type": "structure", - "required": [ - "HapgArn" - ], - "members": { - "HapgArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "Status" - ], - "members": { - "Status": {} - } - } - }, - "DeleteHsm": { - "input": { - "type": "structure", - "required": [ - "HsmArn" - ], - "members": { - "HsmArn": { - "locationName": "HsmArn" - } - }, - "locationName": "DeleteHsmRequest" - }, - "output": { - "type": "structure", - "required": [ - "Status" - ], - "members": { - "Status": {} - } - } - }, - "DeleteLunaClient": { - "input": { - "type": "structure", - "required": [ - "ClientArn" - ], - "members": { - "ClientArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "Status" - ], - "members": { - "Status": {} - } - } - }, - "DescribeHapg": { - "input": { - "type": "structure", - "required": [ - "HapgArn" - ], - "members": { - "HapgArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "HapgArn": {}, - "HapgSerial": {}, - "HsmsLastActionFailed": { - "shape": "Sz" - }, - "HsmsPendingDeletion": { - "shape": "Sz" - }, - "HsmsPendingRegistration": { - "shape": "Sz" - }, - "Label": {}, - "LastModifiedTimestamp": {}, - "PartitionSerialList": { - "shape": "S11" - }, - "State": {} - } - } - }, - "DescribeHsm": { - "input": { - "type": "structure", - "members": { - "HsmArn": {}, - "HsmSerialNumber": {} - } - }, - "output": { - "type": "structure", - "members": { - "HsmArn": {}, - "Status": {}, - "StatusDetails": {}, - "AvailabilityZone": {}, - "EniId": {}, - "EniIp": {}, - "SubscriptionType": {}, - "SubscriptionStartDate": {}, - "SubscriptionEndDate": {}, - "VpcId": {}, - "SubnetId": {}, - "IamRoleArn": {}, - "SerialNumber": {}, - "VendorName": {}, - "HsmType": {}, - "SoftwareVersion": {}, - "SshPublicKey": {}, - "SshKeyLastUpdated": {}, - "ServerCertUri": {}, - "ServerCertLastUpdated": {}, - "Partitions": { - "type": "list", - "member": {} - } - } - } - }, - "DescribeLunaClient": { - "input": { - "type": "structure", - "members": { - "ClientArn": {}, - "CertificateFingerprint": {} - } - }, - "output": { - "type": "structure", - "members": { - "ClientArn": {}, - "Certificate": {}, - "CertificateFingerprint": {}, - "LastModifiedTimestamp": {}, - "Label": {} - } - } - }, - "GetConfig": { - "input": { - "type": "structure", - "required": [ - "ClientArn", - "ClientVersion", - "HapgList" - ], - "members": { - "ClientArn": {}, - "ClientVersion": {}, - "HapgList": { - "shape": "S1i" - } - } - }, - "output": { - "type": "structure", - "members": { - "ConfigType": {}, - "ConfigFile": {}, - "ConfigCred": {} - } - } - }, - "ListAvailableZones": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "AZList": { - "type": "list", - "member": {} - } - } - } - }, - "ListHapgs": { - "input": { - "type": "structure", - "members": { - "NextToken": {} - } - }, - "output": { - "type": "structure", - "required": [ - "HapgList" - ], - "members": { - "HapgList": { - "shape": "S1i" - }, - "NextToken": {} - } - } - }, - "ListHsms": { - "input": { - "type": "structure", - "members": { - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "HsmList": { - "shape": "Sz" - }, - "NextToken": {} - } - } - }, - "ListLunaClients": { - "input": { - "type": "structure", - "members": { - "NextToken": {} - } - }, - "output": { - "type": "structure", - "required": [ - "ClientList" - ], - "members": { - "ClientList": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceArn" - ], - "members": { - "ResourceArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "TagList" - ], - "members": { - "TagList": { - "shape": "S3" - } - } - } - }, - "ModifyHapg": { - "input": { - "type": "structure", - "required": [ - "HapgArn" - ], - "members": { - "HapgArn": {}, - "Label": {}, - "PartitionSerialList": { - "shape": "S11" - } - } - }, - "output": { - "type": "structure", - "members": { - "HapgArn": {} - } - } - }, - "ModifyHsm": { - "input": { - "type": "structure", - "required": [ - "HsmArn" - ], - "members": { - "HsmArn": { - "locationName": "HsmArn" - }, - "SubnetId": { - "locationName": "SubnetId" - }, - "EniIp": { - "locationName": "EniIp" - }, - "IamRoleArn": { - "locationName": "IamRoleArn" - }, - "ExternalId": { - "locationName": "ExternalId" - }, - "SyslogIp": { - "locationName": "SyslogIp" - } - }, - "locationName": "ModifyHsmRequest" - }, - "output": { - "type": "structure", - "members": { - "HsmArn": {} - } - } - }, - "ModifyLunaClient": { - "input": { - "type": "structure", - "required": [ - "ClientArn", - "Certificate" - ], - "members": { - "ClientArn": {}, - "Certificate": {} - } - }, - "output": { - "type": "structure", - "members": { - "ClientArn": {} - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceArn", - "TagKeyList" - ], - "members": { - "ResourceArn": {}, - "TagKeyList": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "required": [ - "Status" - ], - "members": { - "Status": {} - } - } - } - }, - "shapes": { - "S3": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sz": { - "type": "list", - "member": {} - }, - "S11": { - "type": "list", - "member": {} - }, - "S1i": { - "type": "list", - "member": {} - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/cloudsearch-2011-02-01.min.json b/node_modules/aws-sdk/apis/cloudsearch-2011-02-01.min.json deleted file mode 100644 index 5db90f2..0000000 --- a/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/node_modules/aws-sdk/apis/cloudsearch-2011-02-01.paginators.json b/node_modules/aws-sdk/apis/cloudsearch-2011-02-01.paginators.json deleted file mode 100644 index 5216445..0000000 --- a/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/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.min.json b/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.min.json deleted file mode 100644 index 7ab2a3e..0000000 --- a/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.min.json +++ /dev/null @@ -1,1086 +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" - }, - "operations": { - "BuildSuggesters": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "BuildSuggestersResult", - "type": "structure", - "members": { - "FieldNames": { - "shape": "S4" - } - } - } - }, - "CreateDomain": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "CreateDomainResult", - "type": "structure", - "members": { - "DomainStatus": { - "shape": "S8" - } - } - } - }, - "DefineAnalysisScheme": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "AnalysisScheme" - ], - "members": { - "DomainName": {}, - "AnalysisScheme": { - "shape": "Sl" - } - } - }, - "output": { - "resultWrapper": "DefineAnalysisSchemeResult", - "type": "structure", - "required": [ - "AnalysisScheme" - ], - "members": { - "AnalysisScheme": { - "shape": "Ss" - } - } - } - }, - "DefineExpression": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "Expression" - ], - "members": { - "DomainName": {}, - "Expression": { - "shape": "Sy" - } - } - }, - "output": { - "resultWrapper": "DefineExpressionResult", - "type": "structure", - "required": [ - "Expression" - ], - "members": { - "Expression": { - "shape": "S11" - } - } - } - }, - "DefineIndexField": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "IndexField" - ], - "members": { - "DomainName": {}, - "IndexField": { - "shape": "S13" - } - } - }, - "output": { - "resultWrapper": "DefineIndexFieldResult", - "type": "structure", - "required": [ - "IndexField" - ], - "members": { - "IndexField": { - "shape": "S1n" - } - } - } - }, - "DefineSuggester": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "Suggester" - ], - "members": { - "DomainName": {}, - "Suggester": { - "shape": "S1p" - } - } - }, - "output": { - "resultWrapper": "DefineSuggesterResult", - "type": "structure", - "required": [ - "Suggester" - ], - "members": { - "Suggester": { - "shape": "S1t" - } - } - } - }, - "DeleteAnalysisScheme": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "AnalysisSchemeName" - ], - "members": { - "DomainName": {}, - "AnalysisSchemeName": {} - } - }, - "output": { - "resultWrapper": "DeleteAnalysisSchemeResult", - "type": "structure", - "required": [ - "AnalysisScheme" - ], - "members": { - "AnalysisScheme": { - "shape": "Ss" - } - } - } - }, - "DeleteDomain": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "DeleteDomainResult", - "type": "structure", - "members": { - "DomainStatus": { - "shape": "S8" - } - } - } - }, - "DeleteExpression": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "ExpressionName" - ], - "members": { - "DomainName": {}, - "ExpressionName": {} - } - }, - "output": { - "resultWrapper": "DeleteExpressionResult", - "type": "structure", - "required": [ - "Expression" - ], - "members": { - "Expression": { - "shape": "S11" - } - } - } - }, - "DeleteIndexField": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "IndexFieldName" - ], - "members": { - "DomainName": {}, - "IndexFieldName": {} - } - }, - "output": { - "resultWrapper": "DeleteIndexFieldResult", - "type": "structure", - "required": [ - "IndexField" - ], - "members": { - "IndexField": { - "shape": "S1n" - } - } - } - }, - "DeleteSuggester": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "SuggesterName" - ], - "members": { - "DomainName": {}, - "SuggesterName": {} - } - }, - "output": { - "resultWrapper": "DeleteSuggesterResult", - "type": "structure", - "required": [ - "Suggester" - ], - "members": { - "Suggester": { - "shape": "S1t" - } - } - } - }, - "DescribeAnalysisSchemes": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "AnalysisSchemeNames": { - "shape": "S25" - }, - "Deployed": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeAnalysisSchemesResult", - "type": "structure", - "required": [ - "AnalysisSchemes" - ], - "members": { - "AnalysisSchemes": { - "type": "list", - "member": { - "shape": "Ss" - } - } - } - } - }, - "DescribeAvailabilityOptions": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "Deployed": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeAvailabilityOptionsResult", - "type": "structure", - "members": { - "AvailabilityOptions": { - "shape": "S2a" - } - } - } - }, - "DescribeDomains": { - "input": { - "type": "structure", - "members": { - "DomainNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "DescribeDomainsResult", - "type": "structure", - "required": [ - "DomainStatusList" - ], - "members": { - "DomainStatusList": { - "type": "list", - "member": { - "shape": "S8" - } - } - } - } - }, - "DescribeExpressions": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "ExpressionNames": { - "shape": "S25" - }, - "Deployed": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeExpressionsResult", - "type": "structure", - "required": [ - "Expressions" - ], - "members": { - "Expressions": { - "type": "list", - "member": { - "shape": "S11" - } - } - } - } - }, - "DescribeIndexFields": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "FieldNames": { - "type": "list", - "member": {} - }, - "Deployed": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeIndexFieldsResult", - "type": "structure", - "required": [ - "IndexFields" - ], - "members": { - "IndexFields": { - "type": "list", - "member": { - "shape": "S1n" - } - } - } - } - }, - "DescribeScalingParameters": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "DescribeScalingParametersResult", - "type": "structure", - "required": [ - "ScalingParameters" - ], - "members": { - "ScalingParameters": { - "shape": "S2p" - } - } - } - }, - "DescribeServiceAccessPolicies": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "Deployed": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeServiceAccessPoliciesResult", - "type": "structure", - "required": [ - "AccessPolicies" - ], - "members": { - "AccessPolicies": { - "shape": "S2u" - } - } - } - }, - "DescribeSuggesters": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "SuggesterNames": { - "shape": "S25" - }, - "Deployed": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeSuggestersResult", - "type": "structure", - "required": [ - "Suggesters" - ], - "members": { - "Suggesters": { - "type": "list", - "member": { - "shape": "S1t" - } - } - } - } - }, - "IndexDocuments": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "IndexDocumentsResult", - "type": "structure", - "members": { - "FieldNames": { - "shape": "S4" - } - } - } - }, - "ListDomainNames": { - "output": { - "resultWrapper": "ListDomainNamesResult", - "type": "structure", - "members": { - "DomainNames": { - "type": "map", - "key": {}, - "value": {} - } - } - } - }, - "UpdateAvailabilityOptions": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "MultiAZ" - ], - "members": { - "DomainName": {}, - "MultiAZ": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "UpdateAvailabilityOptionsResult", - "type": "structure", - "members": { - "AvailabilityOptions": { - "shape": "S2a" - } - } - } - }, - "UpdateScalingParameters": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "ScalingParameters" - ], - "members": { - "DomainName": {}, - "ScalingParameters": { - "shape": "S2q" - } - } - }, - "output": { - "resultWrapper": "UpdateScalingParametersResult", - "type": "structure", - "required": [ - "ScalingParameters" - ], - "members": { - "ScalingParameters": { - "shape": "S2p" - } - } - } - }, - "UpdateServiceAccessPolicies": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "AccessPolicies" - ], - "members": { - "DomainName": {}, - "AccessPolicies": {} - } - }, - "output": { - "resultWrapper": "UpdateServiceAccessPoliciesResult", - "type": "structure", - "required": [ - "AccessPolicies" - ], - "members": { - "AccessPolicies": { - "shape": "S2u" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "list", - "member": {} - }, - "S8": { - "type": "structure", - "required": [ - "DomainId", - "DomainName", - "RequiresIndexDocuments" - ], - "members": { - "DomainId": {}, - "DomainName": {}, - "ARN": {}, - "Created": { - "type": "boolean" - }, - "Deleted": { - "type": "boolean" - }, - "DocService": { - "shape": "Sc" - }, - "SearchService": { - "shape": "Sc" - }, - "RequiresIndexDocuments": { - "type": "boolean" - }, - "Processing": { - "type": "boolean" - }, - "SearchInstanceType": {}, - "SearchPartitionCount": { - "type": "integer" - }, - "SearchInstanceCount": { - "type": "integer" - }, - "Limits": { - "type": "structure", - "required": [ - "MaximumReplicationCount", - "MaximumPartitionCount" - ], - "members": { - "MaximumReplicationCount": { - "type": "integer" - }, - "MaximumPartitionCount": { - "type": "integer" - } - } - } - } - }, - "Sc": { - "type": "structure", - "members": { - "Endpoint": {} - } - }, - "Sl": { - "type": "structure", - "required": [ - "AnalysisSchemeName", - "AnalysisSchemeLanguage" - ], - "members": { - "AnalysisSchemeName": {}, - "AnalysisSchemeLanguage": {}, - "AnalysisOptions": { - "type": "structure", - "members": { - "Synonyms": {}, - "Stopwords": {}, - "StemmingDictionary": {}, - "JapaneseTokenizationDictionary": {}, - "AlgorithmicStemming": {} - } - } - } - }, - "Ss": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "shape": "Sl" - }, - "Status": { - "shape": "St" - } - } - }, - "St": { - "type": "structure", - "required": [ - "CreationDate", - "UpdateDate", - "State" - ], - "members": { - "CreationDate": { - "type": "timestamp" - }, - "UpdateDate": { - "type": "timestamp" - }, - "UpdateVersion": { - "type": "integer" - }, - "State": {}, - "PendingDeletion": { - "type": "boolean" - } - } - }, - "Sy": { - "type": "structure", - "required": [ - "ExpressionName", - "ExpressionValue" - ], - "members": { - "ExpressionName": {}, - "ExpressionValue": {} - } - }, - "S11": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "shape": "Sy" - }, - "Status": { - "shape": "St" - } - } - }, - "S13": { - "type": "structure", - "required": [ - "IndexFieldName", - "IndexFieldType" - ], - "members": { - "IndexFieldName": {}, - "IndexFieldType": {}, - "IntOptions": { - "type": "structure", - "members": { - "DefaultValue": { - "type": "long" - }, - "SourceField": {}, - "FacetEnabled": { - "type": "boolean" - }, - "SearchEnabled": { - "type": "boolean" - }, - "ReturnEnabled": { - "type": "boolean" - }, - "SortEnabled": { - "type": "boolean" - } - } - }, - "DoubleOptions": { - "type": "structure", - "members": { - "DefaultValue": { - "type": "double" - }, - "SourceField": {}, - "FacetEnabled": { - "type": "boolean" - }, - "SearchEnabled": { - "type": "boolean" - }, - "ReturnEnabled": { - "type": "boolean" - }, - "SortEnabled": { - "type": "boolean" - } - } - }, - "LiteralOptions": { - "type": "structure", - "members": { - "DefaultValue": {}, - "SourceField": {}, - "FacetEnabled": { - "type": "boolean" - }, - "SearchEnabled": { - "type": "boolean" - }, - "ReturnEnabled": { - "type": "boolean" - }, - "SortEnabled": { - "type": "boolean" - } - } - }, - "TextOptions": { - "type": "structure", - "members": { - "DefaultValue": {}, - "SourceField": {}, - "ReturnEnabled": { - "type": "boolean" - }, - "SortEnabled": { - "type": "boolean" - }, - "HighlightEnabled": { - "type": "boolean" - }, - "AnalysisScheme": {} - } - }, - "DateOptions": { - "type": "structure", - "members": { - "DefaultValue": {}, - "SourceField": {}, - "FacetEnabled": { - "type": "boolean" - }, - "SearchEnabled": { - "type": "boolean" - }, - "ReturnEnabled": { - "type": "boolean" - }, - "SortEnabled": { - "type": "boolean" - } - } - }, - "LatLonOptions": { - "type": "structure", - "members": { - "DefaultValue": {}, - "SourceField": {}, - "FacetEnabled": { - "type": "boolean" - }, - "SearchEnabled": { - "type": "boolean" - }, - "ReturnEnabled": { - "type": "boolean" - }, - "SortEnabled": { - "type": "boolean" - } - } - }, - "IntArrayOptions": { - "type": "structure", - "members": { - "DefaultValue": { - "type": "long" - }, - "SourceFields": {}, - "FacetEnabled": { - "type": "boolean" - }, - "SearchEnabled": { - "type": "boolean" - }, - "ReturnEnabled": { - "type": "boolean" - } - } - }, - "DoubleArrayOptions": { - "type": "structure", - "members": { - "DefaultValue": { - "type": "double" - }, - "SourceFields": {}, - "FacetEnabled": { - "type": "boolean" - }, - "SearchEnabled": { - "type": "boolean" - }, - "ReturnEnabled": { - "type": "boolean" - } - } - }, - "LiteralArrayOptions": { - "type": "structure", - "members": { - "DefaultValue": {}, - "SourceFields": {}, - "FacetEnabled": { - "type": "boolean" - }, - "SearchEnabled": { - "type": "boolean" - }, - "ReturnEnabled": { - "type": "boolean" - } - } - }, - "TextArrayOptions": { - "type": "structure", - "members": { - "DefaultValue": {}, - "SourceFields": {}, - "ReturnEnabled": { - "type": "boolean" - }, - "HighlightEnabled": { - "type": "boolean" - }, - "AnalysisScheme": {} - } - }, - "DateArrayOptions": { - "type": "structure", - "members": { - "DefaultValue": {}, - "SourceFields": {}, - "FacetEnabled": { - "type": "boolean" - }, - "SearchEnabled": { - "type": "boolean" - }, - "ReturnEnabled": { - "type": "boolean" - } - } - } - } - }, - "S1n": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "shape": "S13" - }, - "Status": { - "shape": "St" - } - } - }, - "S1p": { - "type": "structure", - "required": [ - "SuggesterName", - "DocumentSuggesterOptions" - ], - "members": { - "SuggesterName": {}, - "DocumentSuggesterOptions": { - "type": "structure", - "required": [ - "SourceField" - ], - "members": { - "SourceField": {}, - "FuzzyMatching": {}, - "SortExpression": {} - } - } - } - }, - "S1t": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "shape": "S1p" - }, - "Status": { - "shape": "St" - } - } - }, - "S25": { - "type": "list", - "member": {} - }, - "S2a": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "type": "boolean" - }, - "Status": { - "shape": "St" - } - } - }, - "S2p": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "shape": "S2q" - }, - "Status": { - "shape": "St" - } - } - }, - "S2q": { - "type": "structure", - "members": { - "DesiredInstanceType": {}, - "DesiredReplicationCount": { - "type": "integer" - }, - "DesiredPartitionCount": { - "type": "integer" - } - } - }, - "S2u": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": {}, - "Status": { - "shape": "St" - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.paginators.json b/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.paginators.json deleted file mode 100644 index 82fa804..0000000 --- a/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/node_modules/aws-sdk/apis/cloudsearchdomain-2013-01-01.min.json b/node_modules/aws-sdk/apis/cloudsearchdomain-2013-01-01.min.json deleted file mode 100644 index cea348e..0000000 --- a/node_modules/aws-sdk/apis/cloudsearchdomain-2013-01-01.min.json +++ /dev/null @@ -1,297 +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" - }, - "operations": { - "Search": { - "http": { - "method": "GET", - "requestUri": "/2013-01-01/search?format=sdk&pretty=true" - }, - "input": { - "type": "structure", - "required": [ - "query" - ], - "members": { - "cursor": { - "location": "querystring", - "locationName": "cursor" - }, - "expr": { - "location": "querystring", - "locationName": "expr" - }, - "facet": { - "location": "querystring", - "locationName": "facet" - }, - "filterQuery": { - "location": "querystring", - "locationName": "fq" - }, - "highlight": { - "location": "querystring", - "locationName": "highlight" - }, - "partial": { - "location": "querystring", - "locationName": "partial", - "type": "boolean" - }, - "query": { - "location": "querystring", - "locationName": "q" - }, - "queryOptions": { - "location": "querystring", - "locationName": "q.options" - }, - "queryParser": { - "location": "querystring", - "locationName": "q.parser" - }, - "return": { - "location": "querystring", - "locationName": "return" - }, - "size": { - "location": "querystring", - "locationName": "size", - "type": "long" - }, - "sort": { - "location": "querystring", - "locationName": "sort" - }, - "start": { - "location": "querystring", - "locationName": "start", - "type": "long" - }, - "stats": { - "location": "querystring", - "locationName": "stats" - } - } - }, - "output": { - "type": "structure", - "members": { - "status": { - "type": "structure", - "members": { - "timems": { - "type": "long" - }, - "rid": {} - } - }, - "hits": { - "type": "structure", - "members": { - "found": { - "type": "long" - }, - "start": { - "type": "long" - }, - "cursor": {}, - "hit": { - "type": "list", - "member": { - "type": "structure", - "members": { - "id": {}, - "fields": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": {} - } - }, - "exprs": { - "type": "map", - "key": {}, - "value": {} - }, - "highlights": { - "type": "map", - "key": {}, - "value": {} - } - } - } - } - } - }, - "facets": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "buckets": { - "type": "list", - "member": { - "type": "structure", - "members": { - "value": {}, - "count": { - "type": "long" - } - } - } - } - } - } - }, - "stats": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "min": {}, - "max": {}, - "count": { - "type": "long" - }, - "missing": { - "type": "long" - }, - "sum": { - "type": "double" - }, - "sumOfSquares": { - "type": "double" - }, - "mean": {}, - "stddev": { - "type": "double" - } - } - } - } - } - } - }, - "Suggest": { - "http": { - "method": "GET", - "requestUri": "/2013-01-01/suggest?format=sdk&pretty=true" - }, - "input": { - "type": "structure", - "required": [ - "query", - "suggester" - ], - "members": { - "query": { - "location": "querystring", - "locationName": "q" - }, - "suggester": { - "location": "querystring", - "locationName": "suggester" - }, - "size": { - "location": "querystring", - "locationName": "size", - "type": "long" - } - } - }, - "output": { - "type": "structure", - "members": { - "status": { - "type": "structure", - "members": { - "timems": { - "type": "long" - }, - "rid": {} - } - }, - "suggest": { - "type": "structure", - "members": { - "query": {}, - "found": { - "type": "long" - }, - "suggestions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "suggestion": {}, - "score": { - "type": "long" - }, - "id": {} - } - } - } - } - } - } - } - }, - "UploadDocuments": { - "http": { - "requestUri": "/2013-01-01/documents/batch?format=sdk" - }, - "input": { - "type": "structure", - "required": [ - "documents", - "contentType" - ], - "members": { - "documents": { - "type": "blob", - "streaming": true - }, - "contentType": { - "location": "header", - "locationName": "Content-Type" - } - }, - "payload": "documents" - }, - "output": { - "type": "structure", - "members": { - "status": {}, - "adds": { - "type": "long" - }, - "deletes": { - "type": "long" - }, - "warnings": { - "type": "list", - "member": { - "type": "structure", - "members": { - "message": {} - } - } - } - } - } - } - }, - "shapes": {} -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json b/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json deleted file mode 100644 index 5ef4648..0000000 --- a/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +++ /dev/null @@ -1,454 +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" - }, - "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": {} - } - } - } - } - }, - "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" - }, - "Username": {}, - "Resources": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ResourceType": {}, - "ResourceName": {} - } - } - }, - "CloudTrailEvent": {} - } - } - }, - "NextToken": {} - } - }, - "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": {} - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.paginators.json b/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.paginators.json deleted file mode 100644 index a11f436..0000000 --- a/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.paginators.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "pagination": { - "DescribeTrails": { - "result_key": "trailList" - } - } -} diff --git a/node_modules/aws-sdk/apis/codecommit-2015-04-13.min.json b/node_modules/aws-sdk/apis/codecommit-2015-04-13.min.json deleted file mode 100644 index 361d731..0000000 --- a/node_modules/aws-sdk/apis/codecommit-2015-04-13.min.json +++ /dev/null @@ -1,375 +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" - }, - "operations": { - "BatchGetRepositories": { - "input": { - "type": "structure", - "required": [ - "repositoryNames" - ], - "members": { - "repositoryNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "repositories": { - "type": "list", - "member": { - "shape": "S6" - } - }, - "repositoriesNotFound": { - "type": "list", - "member": {} - } - } - } - }, - "CreateBranch": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "branchName", - "commitId" - ], - "members": { - "repositoryName": {}, - "branchName": {}, - "commitId": {} - } - } - }, - "CreateRepository": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "repositoryName": {}, - "repositoryDescription": {} - } - }, - "output": { - "type": "structure", - "members": { - "repositoryMetadata": { - "shape": "S6" - } - } - } - }, - "DeleteRepository": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "repositoryName": {} - } - }, - "output": { - "type": "structure", - "members": { - "repositoryId": {} - } - } - }, - "GetBranch": { - "input": { - "type": "structure", - "members": { - "repositoryName": {}, - "branchName": {} - } - }, - "output": { - "type": "structure", - "members": { - "branch": { - "type": "structure", - "members": { - "branchName": {}, - "commitId": {} - } - } - } - } - }, - "GetCommit": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "commitId" - ], - "members": { - "repositoryName": {}, - "commitId": {} - } - }, - "output": { - "type": "structure", - "required": [ - "commit" - ], - "members": { - "commit": { - "type": "structure", - "members": { - "treeId": {}, - "parents": { - "type": "list", - "member": {} - }, - "message": {}, - "author": { - "shape": "Sw" - }, - "committer": { - "shape": "Sw" - }, - "additionalData": {} - } - } - } - } - }, - "GetRepository": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "repositoryName": {} - } - }, - "output": { - "type": "structure", - "members": { - "repositoryMetadata": { - "shape": "S6" - } - } - } - }, - "GetRepositoryTriggers": { - "input": { - "type": "structure", - "members": { - "repositoryName": {} - } - }, - "output": { - "type": "structure", - "members": { - "configurationId": {}, - "triggers": { - "shape": "S16" - } - } - } - }, - "ListBranches": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "repositoryName": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "branches": { - "shape": "S1a" - }, - "nextToken": {} - } - } - }, - "ListRepositories": { - "input": { - "type": "structure", - "members": { - "nextToken": {}, - "sortBy": {}, - "order": {} - } - }, - "output": { - "type": "structure", - "members": { - "repositories": { - "type": "list", - "member": { - "type": "structure", - "members": { - "repositoryName": {}, - "repositoryId": {} - } - } - }, - "nextToken": {} - } - } - }, - "PutRepositoryTriggers": { - "input": { - "type": "structure", - "members": { - "repositoryName": {}, - "triggers": { - "shape": "S16" - } - } - }, - "output": { - "type": "structure", - "members": { - "configurationId": {} - } - } - }, - "TestRepositoryTriggers": { - "input": { - "type": "structure", - "members": { - "repositoryName": {}, - "triggers": { - "shape": "S16" - } - } - }, - "output": { - "type": "structure", - "members": { - "successfulExecutions": { - "type": "list", - "member": {} - }, - "failedExecutions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "trigger": {}, - "failureMessage": {} - } - } - } - } - } - }, - "UpdateDefaultBranch": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "defaultBranchName" - ], - "members": { - "repositoryName": {}, - "defaultBranchName": {} - } - } - }, - "UpdateRepositoryDescription": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "repositoryName": {}, - "repositoryDescription": {} - } - } - }, - "UpdateRepositoryName": { - "input": { - "type": "structure", - "required": [ - "oldName", - "newName" - ], - "members": { - "oldName": {}, - "newName": {} - } - } - } - }, - "shapes": { - "S6": { - "type": "structure", - "members": { - "accountId": {}, - "repositoryId": {}, - "repositoryName": {}, - "repositoryDescription": {}, - "defaultBranch": {}, - "lastModifiedDate": { - "type": "timestamp" - }, - "creationDate": { - "type": "timestamp" - }, - "cloneUrlHttp": {}, - "cloneUrlSsh": {}, - "Arn": {} - } - }, - "Sw": { - "type": "structure", - "members": { - "name": {}, - "email": {}, - "date": {} - } - }, - "S16": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "destinationArn": {}, - "customData": {}, - "branches": { - "shape": "S1a" - }, - "events": { - "type": "list", - "member": {} - } - } - } - }, - "S1a": { - "type": "list", - "member": {} - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/codecommit-2015-04-13.paginators.json b/node_modules/aws-sdk/apis/codecommit-2015-04-13.paginators.json deleted file mode 100644 index e4c9a90..0000000 --- a/node_modules/aws-sdk/apis/codecommit-2015-04-13.paginators.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "pagination": { - "ListBranches": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "branches" - }, - "ListRepositories": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "repositories" - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json b/node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json deleted file mode 100644 index f11c90c..0000000 --- a/node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json +++ /dev/null @@ -1,1120 +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" - }, - "operations": { - "AddTagsToOnPremisesInstances": { - "input": { - "type": "structure", - "required": [ - "tags", - "instanceNames" - ], - "members": { - "tags": { - "shape": "S2" - }, - "instanceNames": { - "shape": "S6" - } - } - } - }, - "BatchGetApplicationRevisions": { - "input": { - "type": "structure", - "required": [ - "applicationName", - "revisions" - ], - "members": { - "applicationName": {}, - "revisions": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "members": { - "applicationName": {}, - "errorMessage": {}, - "revisions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "revisionLocation": { - "shape": "Sb" - }, - "genericRevisionInfo": { - "shape": "Sq" - } - } - } - } - } - } - }, - "BatchGetApplications": { - "input": { - "type": "structure", - "members": { - "applicationNames": { - "shape": "Sw" - } - } - }, - "output": { - "type": "structure", - "members": { - "applicationsInfo": { - "type": "list", - "member": { - "shape": "Sz" - } - } - } - } - }, - "BatchGetDeploymentGroups": { - "input": { - "type": "structure", - "required": [ - "applicationName", - "deploymentGroupNames" - ], - "members": { - "applicationName": {}, - "deploymentGroupNames": { - "shape": "Ss" - } - } - }, - "output": { - "type": "structure", - "members": { - "deploymentGroupsInfo": { - "type": "list", - "member": { - "shape": "S15" - } - }, - "errorMessage": {} - } - } - }, - "BatchGetDeploymentInstances": { - "input": { - "type": "structure", - "required": [ - "deploymentId", - "instanceIds" - ], - "members": { - "deploymentId": {}, - "instanceIds": { - "shape": "S1y" - } - } - }, - "output": { - "type": "structure", - "members": { - "instancesSummary": { - "type": "list", - "member": { - "shape": "S22" - } - }, - "errorMessage": {} - } - } - }, - "BatchGetDeployments": { - "input": { - "type": "structure", - "members": { - "deploymentIds": { - "shape": "S2e" - } - } - }, - "output": { - "type": "structure", - "members": { - "deploymentsInfo": { - "type": "list", - "member": { - "shape": "S2h" - } - } - } - } - }, - "BatchGetOnPremisesInstances": { - "input": { - "type": "structure", - "members": { - "instanceNames": { - "shape": "S6" - } - } - }, - "output": { - "type": "structure", - "members": { - "instanceInfos": { - "type": "list", - "member": { - "shape": "S2s" - } - } - } - } - }, - "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" - }, - "autoRollbackConfiguration": { - "shape": "S1t" - }, - "updateOutdatedInstancesOnly": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "deploymentId": {} - } - } - }, - "CreateDeploymentConfig": { - "input": { - "type": "structure", - "required": [ - "deploymentConfigName" - ], - "members": { - "deploymentConfigName": {}, - "minimumHealthyHosts": { - "shape": "S30" - } - } - }, - "output": { - "type": "structure", - "members": { - "deploymentConfigId": {} - } - } - }, - "CreateDeploymentGroup": { - "input": { - "type": "structure", - "required": [ - "applicationName", - "deploymentGroupName", - "serviceRoleArn" - ], - "members": { - "applicationName": {}, - "deploymentGroupName": {}, - "deploymentConfigName": {}, - "ec2TagFilters": { - "shape": "S18" - }, - "onPremisesInstanceTagFilters": { - "shape": "S1b" - }, - "autoScalingGroups": { - "shape": "S36" - }, - "serviceRoleArn": {}, - "triggerConfigurations": { - "shape": "S1j" - }, - "alarmConfiguration": { - "shape": "S1p" - }, - "autoRollbackConfiguration": { - "shape": "S1t" - } - } - }, - "output": { - "type": "structure", - "members": { - "deploymentGroupId": {} - } - } - }, - "DeleteApplication": { - "input": { - "type": "structure", - "required": [ - "applicationName" - ], - "members": { - "applicationName": {} - } - } - }, - "DeleteDeploymentConfig": { - "input": { - "type": "structure", - "required": [ - "deploymentConfigName" - ], - "members": { - "deploymentConfigName": {} - } - } - }, - "DeleteDeploymentGroup": { - "input": { - "type": "structure", - "required": [ - "applicationName", - "deploymentGroupName" - ], - "members": { - "applicationName": {}, - "deploymentGroupName": {} - } - }, - "output": { - "type": "structure", - "members": { - "hooksNotCleanedUp": { - "shape": "S1e" - } - } - } - }, - "DeregisterOnPremisesInstance": { - "input": { - "type": "structure", - "required": [ - "instanceName" - ], - "members": { - "instanceName": {} - } - } - }, - "GetApplication": { - "input": { - "type": "structure", - "required": [ - "applicationName" - ], - "members": { - "applicationName": {} - } - }, - "output": { - "type": "structure", - "members": { - "application": { - "shape": "Sz" - } - } - } - }, - "GetApplicationRevision": { - "input": { - "type": "structure", - "required": [ - "applicationName", - "revision" - ], - "members": { - "applicationName": {}, - "revision": { - "shape": "Sb" - } - } - }, - "output": { - "type": "structure", - "members": { - "applicationName": {}, - "revision": { - "shape": "Sb" - }, - "revisionInfo": { - "shape": "Sq" - } - } - } - }, - "GetDeployment": { - "input": { - "type": "structure", - "required": [ - "deploymentId" - ], - "members": { - "deploymentId": {} - } - }, - "output": { - "type": "structure", - "members": { - "deploymentInfo": { - "shape": "S2h" - } - } - } - }, - "GetDeploymentConfig": { - "input": { - "type": "structure", - "required": [ - "deploymentConfigName" - ], - "members": { - "deploymentConfigName": {} - } - }, - "output": { - "type": "structure", - "members": { - "deploymentConfigInfo": { - "type": "structure", - "members": { - "deploymentConfigId": {}, - "deploymentConfigName": {}, - "minimumHealthyHosts": { - "shape": "S30" - }, - "createTime": { - "type": "timestamp" - } - } - } - } - } - }, - "GetDeploymentGroup": { - "input": { - "type": "structure", - "required": [ - "applicationName", - "deploymentGroupName" - ], - "members": { - "applicationName": {}, - "deploymentGroupName": {} - } - }, - "output": { - "type": "structure", - "members": { - "deploymentGroupInfo": { - "shape": "S15" - } - } - } - }, - "GetDeploymentInstance": { - "input": { - "type": "structure", - "required": [ - "deploymentId", - "instanceId" - ], - "members": { - "deploymentId": {}, - "instanceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "instanceSummary": { - "shape": "S22" - } - } - } - }, - "GetOnPremisesInstance": { - "input": { - "type": "structure", - "required": [ - "instanceName" - ], - "members": { - "instanceName": {} - } - }, - "output": { - "type": "structure", - "members": { - "instanceInfo": { - "shape": "S2s" - } - } - } - }, - "ListApplicationRevisions": { - "input": { - "type": "structure", - "required": [ - "applicationName" - ], - "members": { - "applicationName": {}, - "sortBy": {}, - "sortOrder": {}, - "s3Bucket": {}, - "s3KeyPrefix": {}, - "deployed": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "revisions": { - "shape": "Sa" - }, - "nextToken": {} - } - } - }, - "ListApplications": { - "input": { - "type": "structure", - "members": { - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "applications": { - "shape": "Sw" - }, - "nextToken": {} - } - } - }, - "ListDeploymentConfigs": { - "input": { - "type": "structure", - "members": { - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "deploymentConfigsList": { - "type": "list", - "member": {} - }, - "nextToken": {} - } - } - }, - "ListDeploymentGroups": { - "input": { - "type": "structure", - "required": [ - "applicationName" - ], - "members": { - "applicationName": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "applicationName": {}, - "deploymentGroups": { - "shape": "Ss" - }, - "nextToken": {} - } - } - }, - "ListDeploymentInstances": { - "input": { - "type": "structure", - "required": [ - "deploymentId" - ], - "members": { - "deploymentId": {}, - "nextToken": {}, - "instanceStatusFilter": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "instancesList": { - "shape": "S1y" - }, - "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": "S2e" - }, - "nextToken": {} - } - } - }, - "ListOnPremisesInstances": { - "input": { - "type": "structure", - "members": { - "registrationStatus": {}, - "tagFilters": { - "shape": "S1b" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "instanceNames": { - "shape": "S6" - }, - "nextToken": {} - } - } - }, - "RegisterApplicationRevision": { - "input": { - "type": "structure", - "required": [ - "applicationName", - "revision" - ], - "members": { - "applicationName": {}, - "description": {}, - "revision": { - "shape": "Sb" - } - } - } - }, - "RegisterOnPremisesInstance": { - "input": { - "type": "structure", - "required": [ - "instanceName", - "iamUserArn" - ], - "members": { - "instanceName": {}, - "iamUserArn": {} - } - } - }, - "RemoveTagsFromOnPremisesInstances": { - "input": { - "type": "structure", - "required": [ - "tags", - "instanceNames" - ], - "members": { - "tags": { - "shape": "S2" - }, - "instanceNames": { - "shape": "S6" - } - } - } - }, - "StopDeployment": { - "input": { - "type": "structure", - "required": [ - "deploymentId" - ], - "members": { - "deploymentId": {}, - "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": "S18" - }, - "onPremisesInstanceTagFilters": { - "shape": "S1b" - }, - "autoScalingGroups": { - "shape": "S36" - }, - "serviceRoleArn": {}, - "triggerConfigurations": { - "shape": "S1j" - }, - "alarmConfiguration": { - "shape": "S1p" - }, - "autoRollbackConfiguration": { - "shape": "S1t" - } - } - }, - "output": { - "type": "structure", - "members": { - "hooksNotCleanedUp": { - "shape": "S1e" - } - } - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S6": { - "type": "list", - "member": {} - }, - "Sa": { - "type": "list", - "member": { - "shape": "Sb" - } - }, - "Sb": { - "type": "structure", - "members": { - "revisionType": {}, - "s3Location": { - "type": "structure", - "members": { - "bucket": {}, - "key": {}, - "bundleType": {}, - "version": {}, - "eTag": {} - } - }, - "gitHubLocation": { - "type": "structure", - "members": { - "repository": {}, - "commitId": {} - } - } - } - }, - "Sq": { - "type": "structure", - "members": { - "description": {}, - "deploymentGroups": { - "shape": "Ss" - }, - "firstUsedTime": { - "type": "timestamp" - }, - "lastUsedTime": { - "type": "timestamp" - }, - "registerTime": { - "type": "timestamp" - } - } - }, - "Ss": { - "type": "list", - "member": {} - }, - "Sw": { - "type": "list", - "member": {} - }, - "Sz": { - "type": "structure", - "members": { - "applicationId": {}, - "applicationName": {}, - "createTime": { - "type": "timestamp" - }, - "linkedToGitHub": { - "type": "boolean" - } - } - }, - "S15": { - "type": "structure", - "members": { - "applicationName": {}, - "deploymentGroupId": {}, - "deploymentGroupName": {}, - "deploymentConfigName": {}, - "ec2TagFilters": { - "shape": "S18" - }, - "onPremisesInstanceTagFilters": { - "shape": "S1b" - }, - "autoScalingGroups": { - "shape": "S1e" - }, - "serviceRoleArn": {}, - "targetRevision": { - "shape": "Sb" - }, - "triggerConfigurations": { - "shape": "S1j" - }, - "alarmConfiguration": { - "shape": "S1p" - }, - "autoRollbackConfiguration": { - "shape": "S1t" - } - } - }, - "S18": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {}, - "Type": {} - } - } - }, - "S1b": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {}, - "Type": {} - } - } - }, - "S1e": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "hook": {} - } - } - }, - "S1j": { - "type": "list", - "member": { - "type": "structure", - "members": { - "triggerName": {}, - "triggerTargetArn": {}, - "triggerEvents": { - "type": "list", - "member": {} - } - } - } - }, - "S1p": { - "type": "structure", - "members": { - "enabled": { - "type": "boolean" - }, - "ignorePollAlarmFailure": { - "type": "boolean" - }, - "alarms": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {} - } - } - } - } - }, - "S1t": { - "type": "structure", - "members": { - "enabled": { - "type": "boolean" - }, - "events": { - "type": "list", - "member": {} - } - } - }, - "S1y": { - "type": "list", - "member": {} - }, - "S22": { - "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": {} - } - } - } - } - }, - "S2e": { - "type": "list", - "member": {} - }, - "S2h": { - "type": "structure", - "members": { - "applicationName": {}, - "deploymentGroupName": {}, - "deploymentConfigName": {}, - "deploymentId": {}, - "revision": { - "shape": "Sb" - }, - "status": {}, - "errorInformation": { - "type": "structure", - "members": { - "code": {}, - "message": {} - } - }, - "createTime": { - "type": "timestamp" - }, - "startTime": { - "type": "timestamp" - }, - "completeTime": { - "type": "timestamp" - }, - "deploymentOverview": { - "type": "structure", - "members": { - "Pending": { - "type": "long" - }, - "InProgress": { - "type": "long" - }, - "Succeeded": { - "type": "long" - }, - "Failed": { - "type": "long" - }, - "Skipped": { - "type": "long" - } - } - }, - "description": {}, - "creator": {}, - "ignoreApplicationStopFailures": { - "type": "boolean" - }, - "autoRollbackConfiguration": { - "shape": "S1t" - }, - "updateOutdatedInstancesOnly": { - "type": "boolean" - }, - "rollbackInfo": { - "type": "structure", - "members": { - "rollbackDeploymentId": {}, - "rollbackTriggeringDeploymentId": {}, - "rollbackMessage": {} - } - } - } - }, - "S2s": { - "type": "structure", - "members": { - "instanceName": {}, - "iamUserArn": {}, - "instanceArn": {}, - "registerTime": { - "type": "timestamp" - }, - "deregisterTime": { - "type": "timestamp" - }, - "tags": { - "shape": "S2" - } - } - }, - "S30": { - "type": "structure", - "members": { - "value": { - "type": "integer" - }, - "type": {} - } - }, - "S36": { - "type": "list", - "member": {} - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/codedeploy-2014-10-06.paginators.json b/node_modules/aws-sdk/apis/codedeploy-2014-10-06.paginators.json deleted file mode 100644 index cea07e6..0000000 --- a/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" - } - } -} diff --git a/node_modules/aws-sdk/apis/codedeploy-2014-10-06.waiters2.json b/node_modules/aws-sdk/apis/codedeploy-2014-10-06.waiters2.json deleted file mode 100644 index 0fea4fa..0000000 --- a/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/node_modules/aws-sdk/apis/codepipeline-2015-07-09.examples.json b/node_modules/aws-sdk/apis/codepipeline-2015-07-09.examples.json deleted file mode 100644 index 5732bc8..0000000 --- a/node_modules/aws-sdk/apis/codepipeline-2015-07-09.examples.json +++ /dev/null @@ -1,902 +0,0 @@ -{ - "version": "1.0", - "examples": { - "AcknowledgeJob": [ - { - "input": { - "jobId": "11111111-abcd-1111-abcd-111111abcdef", - "nonce": "3" - }, - "output": { - "status": "InProgress" - }, - "comments": { - "input": { - "jobId": "Use the PollforJobs API to determine the ID of the job.", - "nonce": "Use the PollforJobs API to determine the nonce for the job." - }, - "output": { - "status": "Valid values include Created, Queued, Dispatched, InProgress, TimedOut, Suceeded, and Failed. Completed jobs are removed from the system after a short period of time." - } - }, - "description": "This example returns information about a specified job, including the status of that job if it exists. This is only used for job workers and custom actions in AWS CodePipeline. To determine the value of nonce and the job ID, use PollForJobs.", - "id": "acknowledge-a-job-for-a-custom-action-1449100979484", - "title": "Acknowledge a job for a custom action" - } - ], - "CreateCustomActionType": [ - { - "input": { - "version": "1", - "category": "Build", - "configurationProperties": [ - { - "name": "MyJenkinsExampleBuildProject", - "type": "String", - "required": true, - "key": true, - "description": "The name of the build project must be provided when this action is added to the pipeline.", - "queryable": false, - "secret": false - } - ], - "inputArtifactDetails": { - "maximumCount": 1, - "minimumCount": 0 - }, - "outputArtifactDetails": { - "maximumCount": 1, - "minimumCount": 0 - }, - "provider": "MyBuild-ProviderName", - "settings": { - "entityUrlTemplate": "https://192.0.2.4/job/{Config:ProjectName}/", - "executionUrlTemplate": "https://192.0.2.4/job/{Config:ProjectName}/lastSuccessfulBuild/{ExternalExecutionId}/", - "revisionUrlTemplate": "none" - } - }, - "output": { - "actionType": { - "actionConfigurationProperties": [ - { - "name": "MyJenkinsExampleBuildProject", - "required": true, - "key": true, - "description": "The name of the build project must be provided when this action is added to the pipeline.", - "queryable": false, - "secret": false - } - ], - "id": { - "version": "1", - "category": "Build", - "owner": "Custom", - "provider": "MyBuild-ProviderName" - }, - "inputArtifactDetails": { - "maximumCount": 1, - "minimumCount": 0 - }, - "outputArtifactDetails": { - "maximumCount": 1, - "minimumCount": 0 - }, - "settings": { - "entityUrlTemplate": "https://192.0.2.4/job/{Config:ProjectName}/", - "executionUrlTemplate": "https://192.0.2.4/job/{Config:ProjectName}/lastSuccessfulBuild/{ExternalExecutionId}/", - "revisionUrlTemplate": "none" - } - } - }, - "comments": { - "input": { - "version": "A new custom action always has a version of 1. This is required.", - "configurationProperties": "The text in description will be displayed to your users, and can contain a maximum of 2048 characters. The value for name in configurationProperties is the name of the project, if any. In this example, this is the name of the build project on the Jenkins server", - "inputArtifactDetails": "This is the minimum and maximum number of artifacts allowed as inputs for the action. For more information about input and output artifacts, see Pipeline Structure Reference in the AWS CodePipeline User Guide.", - "outputArtifactDetails": "This is the minimum and maximum number of artifacts allowed as outputs for the action. For more information about input and output artifacts, see Pipeline Structure Reference in the AWS CodePipeline User Guide.", - "provider": "In this example, this is the name given to the provider field when configuring the AWS CodePipeline Plugin for Jenkins. For more information, see the Four-Stage Pipeline Tutorial in the AWS CodePipeline User Guide.", - "settings": "entityUrlTemplate is the static link that provides information about the service provider for the action. In the example, the build system includes a static link to the Jenkins build project at the specific server address. Similarly, executionUrlTemplate is the dynamic link that will be updated with information about the current or most recent run of the action." - }, - "output": { - } - }, - "description": "This example creates a build custom action for AWS CodePipeline for a Jenkins build project. For more information about the requirements for creating a custom action, including the structure of the JSON file commonly used to help create custom actions, see Create a Custom Action in the AWS CodePipeline User Guide. For a walkthrough of creating a custom action in a pipeline, follow the Four-Stage Pipeline Tutorial.", - "id": "create-a-custom-action-1449103500903", - "title": "Create a custom action" - } - ], - "CreatePipeline": [ - { - "input": { - "pipeline": { - "version": 1, - "name": "MySecondPipeline", - "artifactStore": { - "type": "S3", - "location": "codepipeline-us-east-1-11EXAMPLE11" - }, - "roleArn": "arn:aws:iam::111111111111:role/AWS-CodePipeline-Service", - "stages": [ - { - "name": "Source", - "actions": [ - { - "name": "Source", - "actionTypeId": { - "version": "1", - "category": "Source", - "owner": "AWS", - "provider": "S3" - }, - "configuration": { - "S3Bucket": "awscodepipeline-demo-bucket", - "S3ObjectKey": "aws-codepipeline-s3-aws-codedeploy_linux.zip" - }, - "inputArtifacts": [ - - ], - "outputArtifacts": [ - { - "name": "MyApp" - } - ], - "runOrder": 1 - } - ] - }, - { - "name": "Beta", - "actions": [ - { - "name": "CodePipelineDemoFleet", - "actionTypeId": { - "version": "1", - "category": "Deploy", - "owner": "AWS", - "provider": "CodeDeploy" - }, - "configuration": { - "ApplicationName": "CodePipelineDemoApplication", - "DeploymentGroupName": "CodePipelineDemoFleet" - }, - "inputArtifacts": [ - { - "name": "MyApp" - } - ], - "outputArtifacts": [ - - ], - "runOrder": 1 - } - ] - } - ] - } - }, - "output": { - "pipeline": { - "version": 1, - "name": "MySecondPipeline", - "artifactStore": { - "type": "S3", - "location": "codepipeline-us-east-1-11EXAMPLE11" - }, - "roleArn": "arn:aws:iam::111111111111:role/AWS-CodePipeline-Service", - "stages": [ - { - "name": "Source", - "actions": [ - { - "name": "Source", - "actionTypeId": { - "version": "1", - "category": "Source", - "owner": "AWS", - "provider": "S3" - }, - "configuration": { - "S3Bucket": "awscodepipeline-demo-bucket", - "S3ObjectKey": "aws-codepipeline-s3-aws-codedeploy_linux.zip" - }, - "inputArtifacts": [ - - ], - "outputArtifacts": [ - { - "name": "MyApp" - } - ], - "runOrder": 1 - } - ] - }, - { - "name": "Beta", - "actions": [ - { - "name": "CodePipelineDemoFleet", - "actionTypeId": { - "version": "1", - "category": "Deploy", - "owner": "AWS", - "provider": "CodeDeploy" - }, - "configuration": { - "ApplicationName": "CodePipelineDemoApplication", - "DeploymentGroupName": "CodePipelineDemoFleet" - }, - "inputArtifacts": [ - { - "name": "MyApp" - } - ], - "outputArtifacts": [ - - ], - "runOrder": 1 - } - ] - } - ] - } - }, - "comments": { - "input": { - "version": "The version number of the pipeline. All new pipelines have a version number of 1. This number is incremented automatically every time a pipeline is updated.", - "name": "Pipeline names must be unique within a user's AWS account.", - "artifactStore": "This Amazon S3 bucket is where artifacts for the pipeline will be stored as the pipeline runs. For more information about the Amazon S3 bucket used as the artifact store, see Concepts in the AWS CodePipeline User Guide.", - "roleArn": "This is the ARN for the service role created for AWS CodePipeline.", - "stages": "Each stage block defines a different stage in the pipeline. Pipelines can have up to ten stages, with up to twenty actions per stage." - }, - "output": { - } - }, - "description": "This example creates a simple two-stage pipeline in AWS CodePipeline that uses an Amazon S3 bucket for its source stage and deploys code using AWS CodeDeploy. For more information about the requirements for creating a pipeline, including the structure of the JSON file commonly used to create a pipeline, see \"Create a Pipeline\" in the AWS CodePipeline User Guide.", - "id": "create-a-pipeline-1449162214392", - "title": "Create a pipeline" - } - ], - "DeleteCustomActionType": [ - { - "input": { - "version": "1", - "category": "Build", - "provider": "MyJenkinsProviderName" - }, - "comments": { - "input": { - "version": "This is the current version number of the custom action.", - "category": "This is the type of action that the custom action is, for example build or test.", - "provider": "This is the provider of the service used in the custom action. In this example, the custom action is for a Jenkins build, and the name of the provider is the one configured in the AWS CodePipeline Plugin for Jenkins" - }, - "output": { - } - }, - "description": "This example deletes a custom action in AWS CodePipeline by specifiying the action type, provider name, and version number of the action to be deleted. Only used for custom actions. Use the list-action-types command to view the correct values for category, version, and provider. After a custom action is deleted, PollForJobs for the custom action will fail. Warning: You cannot recreate a custom action after it has been deleted unless you increase the version number of the action.", - "id": "delete-a-custom-action-1449163239567", - "title": "Delete a custom action" - } - ], - "DeletePipeline": [ - { - "input": { - "name": "MySecondPipeline" - }, - "comments": { - "input": { - "name": "The name of the pipeline to delete." - }, - "output": { - } - }, - "description": "This example deletes a pipeline named MySecondPipeline from AWS CodePipeline. Use ListPipelines to view a list of pipelines associated with your AWS account.", - "id": "delete-a-pipeline-1449163893541", - "title": "Delete a pipeline" - } - ], - "DisableStageTransition": [ - { - "input": { - "pipelineName": "MyFirstPipeline", - "reason": "An example reason", - "stageName": "Beta", - "transitionType": "Inbound" - }, - "comments": { - "input": { - "transitionType": "Valid values are Inbound, which prevents artifacts from transitioning into the stage and being processed by the actions in that stage, or Outbound, which prevents artifacts from transitioning out of the stage after they have been processed by the actions in that stage." - }, - "output": { - } - }, - "description": "This example disables transitions into the Beta stage of the MyFirstPipeline pipeline in AWS CodePipeline.", - "id": "disable-transitions-into-or-out-of-a-stage-1449164517291", - "title": "Disable transitions into or out of a stage" - } - ], - "EnableStageTransition": [ - { - "input": { - "pipelineName": "MyFirstPipeline", - "stageName": "Beta", - "transitionType": "Inbound" - }, - "comments": { - "input": { - "transitionType": "Valid values are Inbound, which allows artifacts to transition into the stage and be processed by the actions in that stage, or Outbound, which allows artifacts to transition out of the stage after they have been processed by the actions in that stage." - }, - "output": { - } - }, - "description": "This example enables transitions into the Beta stage of the MyFirstPipeline pipeline in AWS CodePipeline.", - "id": "enable-transitions-into-or-out-of-a-stage-1449164924423", - "title": "Enable transitions into or out of a stage" - } - ], - "GetJobDetails": [ - { - "input": { - "jobId": "11111111-abcd-1111-abcd-111111abcdef" - }, - "output": { - "jobDetails": { - "accountId": "111111111111", - "data": { - "actionConfiguration": { - "configuration": { - "ProjectName": "MyJenkinsExampleTestProject" - } - }, - "actionTypeId": { - "version": "1", - "category": "Test", - "owner": "Custom", - "provider": "MyJenkinsProviderName" - }, - "artifactCredentials": { - "accessKeyId": "AKIAIOSFODNN7EXAMPLE", - "secretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY", - "sessionToken": "fICCQD6m7oRw0uXOjANBgkqhkiG9w0BAQUFADCBiDELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAldBMRAwDgYDVQQHEwdTZWF0dGxlMQ8wDQYDVQQKEwZBbWF6b24xFDASBgNVBAsTC0lBTSBDb25zb2xlMRIwEAYDVQQDEwlUZXN0Q2lsYWMxHzAdBgkqhkiG9w0BCQEWEG5vb25lQGFtYXpvbi5jb20wHhcNMTEwNDI1MjA0NTIxWhcNMTIwNDI0MjA0NTIxWjCBiDELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAldBMRAwDgYDVQQHEwdTZWF0dGxlMQ8wDQYDVQQKEwZBbWF6b24xFDASBgNVBAsTC0lBTSBDb25zb2xlMRIwEAYDVQQDEwlUZXN0Q2lsYWMxHzAdBgkqhkiG9w0BCQEWEG5vb25lQGFtYXpvbi5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMaK0dn+a4GmWIWJ21uUSfwfEvySWtC2XADZ4nB+BLYgVIk60CpiwsZ3G93vUEIO3IyNoH/f0wYK8m9TrDHudUZg3qX4waLG5M43q7Wgc/MbQITxOUSQv7c7ugFFDzQGBzZswY6786m86gpEIbb3OhjZnzcvQAaRHhdlQWIMm2nrAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAtCu4nUhVVxYUntneD9+h8Mg9q6q+auNKyExzyLwaxlAoo7TJHidbtS4J5iNmZgXL0FkbFFBjvSfpJIlJ00zbhNYS5f6GuoEDmFJl0ZxBHjJnyp378OD8uTs7fLvjx79LjSTbNYiytVbZPQUQ5Yaxu2jXnimvw3rrszlaEXAMPLE=" - }, - "inputArtifacts": [ - { - "name": "MyAppBuild", - "location": { - "type": "S3", - "s3Location": { - "bucketName": "codepipeline-us-east-1-11EXAMPLE11", - "objectKey": "MySecondPipeline/MyAppBuild/EXAMPLE" - } - } - } - ], - "outputArtifacts": [ - - ], - "pipelineContext": { - "action": { - "name": "MyJenkinsTest-Action" - }, - "pipelineName": "MySecondPipeline", - "stage": { - "name": "Testing" - } - } - }, - "id": "11111111-abcd-1111-abcd-111111abcdef" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example returns details about a job whose ID is represented by f4f4ff82-2d11-EXAMPLE. This command is only used for custom actions. When this command is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if required for the custom action. This command will also return any secret values defined for the action, if any are defined.", - "id": "get-the-details-of-a-job-1449183680273", - "title": "Get the details of a job" - } - ], - "GetPipeline": [ - { - "input": { - "version": 123, - "name": "MyFirstPipeline" - }, - "output": { - "pipeline": { - "version": 1, - "name": "MyFirstPipeline", - "artifactStore": { - "type": "S3", - "location": "codepipeline-us-east-1-11EXAMPLE11" - }, - "roleArn": "arn:aws:iam::111111111111:role/AWS-CodePipeline-Service", - "stages": [ - { - "name": "Source", - "actions": [ - { - "name": "Source", - "actionTypeId": { - "version": "1", - "category": "Source", - "owner": "AWS", - "provider": "S3" - }, - "configuration": { - "S3Bucket": "awscodepipeline-demo-bucket", - "S3ObjectKey": "aws-codepipeline-s3-aws-codedeploy_linux.zip" - }, - "inputArtifacts": [ - - ], - "outputArtifacts": [ - { - "name": "MyApp" - } - ], - "runOrder": 1 - } - ] - }, - { - "name": "Beta", - "actions": [ - { - "name": "CodePipelineDemoFleet", - "actionTypeId": { - "version": "1", - "category": "Deploy", - "owner": "AWS", - "provider": "CodeDeploy" - }, - "configuration": { - "ApplicationName": "CodePipelineDemoApplication", - "DeploymentGroupName": "CodePipelineDemoFleet" - }, - "inputArtifacts": [ - { - "name": "MyApp" - } - ], - "outputArtifacts": [ - - ], - "runOrder": 1 - } - ] - } - ] - } - }, - "comments": { - "input": { - "version": "This is an optional parameter. If you do not specify a version, the most current version of the pipeline structure is returned." - }, - "output": { - } - }, - "description": "This example returns the structure of a pipeline named MyFirstPipeline.", - "id": "view-the-structure-of-a-pipeline-1449184156329", - "title": "View the structure of a pipeline" - } - ], - "GetPipelineState": [ - { - "input": { - "name": "MyFirstPipeline" - }, - "output": { - "created": "1446137312.204", - "pipelineName": "MyFirstPipeline", - "pipelineVersion": 1, - "stageStates": [ - { - "actionStates": [ - { - "actionName": "Source", - "entityUrl": "https://console.aws.amazon.com/s3/home?#", - "latestExecution": { - "lastStatusChange": "1446137358.328", - "status": "Succeeded" - } - } - ], - "stageName": "Source" - }, - { - "actionStates": [ - { - "actionName": "CodePipelineDemoFleet", - "entityUrl": "https://console.aws.amazon.com/codedeploy/home?#/applications/CodePipelineDemoApplication/deployment-groups/CodePipelineDemoFleet", - "latestExecution": { - "externalExecutionId": "d-EXAMPLE", - "externalExecutionUrl": "https://console.aws.amazon.com/codedeploy/home?#/deployments/d-EXAMPLE", - "lastStatusChange": "1446137493.131", - "status": "Succeeded", - "summary": "Deployment Succeeded" - } - } - ], - "inboundTransitionState": { - "enabled": true - }, - "stageName": "Beta" - } - ], - "updated": "1446137312.204" - }, - "comments": { - "input": { - }, - "output": { - "created": "The value for created and all other time- and date-related information such as lastStatusChange, is returned in timestamp format." - } - }, - "description": "This example returns the most recent state of a pipeline named MyFirstPipeline.", - "id": "view-information-about-the-state-of-a-pipeline-1449184486550", - "title": "View information about the state of a pipeline" - } - ], - "ListActionTypes": [ - { - "input": { - "actionOwnerFilter": "Custom", - "nextToken": "" - }, - "output": { - "actionTypes": [ - { - "actionConfigurationProperties": [ - { - "name": "MyJenkinsExampleBuildProject", - "required": true, - "key": true, - "queryable": true, - "secret": false - } - ], - "id": { - "version": "1", - "category": "Build", - "owner": "Custom", - "provider": "MyJenkinsProviderName" - }, - "inputArtifactDetails": { - "maximumCount": 5, - "minimumCount": 0 - }, - "outputArtifactDetails": { - "maximumCount": 5, - "minimumCount": 0 - }, - "settings": { - "entityUrlTemplate": "http://54.174.131.118/job/{Config:ProjectName}", - "executionUrlTemplate": "http://54.174.131.118/job/{Config:ProjectName}/{ExternalExecutionId}" - } - }, - { - "actionConfigurationProperties": [ - { - "name": "MyJenkinsExampleTestProject", - "required": true, - "key": true, - "queryable": true, - "secret": false - } - ], - "id": { - "version": "1", - "category": "Build", - "owner": "Custom", - "provider": "MyJenkinsProviderName" - }, - "inputArtifactDetails": { - "maximumCount": 5, - "minimumCount": 0 - }, - "outputArtifactDetails": { - "maximumCount": 5, - "minimumCount": 0 - }, - "settings": { - "entityUrlTemplate": "http://54.210.140.46/job/{Config:ProjectName}", - "executionUrlTemplate": "http://54.210.140.46/job/{Config:ProjectName}/{ExternalExecutionId}" - } - } - ], - "nextToken": "" - }, - "comments": { - "input": { - }, - "output": { - "actionOwnerFilter": "actionOwnerFilter is optional. It is used to filter the response to actions created by a specific entity. Valid values include AWS, ThirdParty, and Custom.", - "nextToken": "nextToken is optional. Its operation is reserved for future use." - } - }, - "description": "Used by itself, ListActionTypes returns the structure of all AWS CodePipeline actions available to your AWS account. This example uses the actionOwnerFilter option to limit the response to include only the structure of all custom actions defined for the account.", - "id": "view-a-summary-of-all-action-types-associated-with-your-account-1455218918202", - "title": "View a summary of all action types associated with your account" - } - ], - "ListPipelines": [ - { - "input": { - }, - "output": { - "nextToken": "", - "pipelines": [ - { - "version": 1, - "name": "MyFirstPipeline", - "created": "1444681408.094", - "updated": "1444681408.094" - }, - { - "version": 3, - "name": "MySecondPipeline", - "created": "1443046290.003", - "updated": "1443048299.639" - } - ] - }, - "comments": { - "input": { - "nextToken": "nextToken is optional. Its operation is reserved for future use." - }, - "output": { - "pipelines": "Date and time information returned in the pipeline blocks, such as the values for created or updated, are in timestamp format." - } - }, - "description": "This example lists all AWS CodePipeline pipelines associated with the user's AWS account.", - "id": "view-a-summary-of-all-pipelines-associated-with-your-account-1449185747807", - "title": "View a summary of all pipelines associated with your account" - } - ], - "PollForJobs": [ - { - "input": { - "actionTypeId": { - "version": "1", - "category": "Test", - "owner": "Custom", - "provider": "MyJenkinsProviderName" - }, - "maxBatchSize": 5, - "queryParam": { - "ProjectName": "MyJenkinsTestProj" - } - }, - "output": { - "jobs": [ - { - "accountId": "111111111111", - "data": { - "actionConfiguration": { - "configuration": { - "ProjectName": "MyJenkinsTestProj" - } - }, - "actionTypeId": { - "version": "1", - "category": "Test", - "owner": "Custom", - "provider": "MyJenkinsProviderName" - }, - "artifactCredentials": { - "accessKeyId": "AKIAIOSFODNN7EXAMPLE", - "secretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY", - "sessionToken": "fICCQD6m7oRw0uXOjANBgkqhkiG9w0BAQUFADCBiDELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAldBMRAwDgYDVQQHEwdTZWF0dGxlMQ8wDQYDVQQKEwZBbWF6b24xFDASBgNVBAsTC0lBTSBDb25zb2xlMRIwEAYDVQQDEwlUZXN0Q2lsYWMxHzAdBgkqhkiG9w0BCQEWEG5vb25lQGFtYXpvbi5jb20wHhcNMTEwNDI1MjA0NTIxWhcNMTIwNDI0MjA0NTIxWjCBiDELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAldBMRAwDgYDVQQHEwdTZWF0dGxlMQ8wDQYDVQQKEwZBbWF6b24xFDASBgNVBAsTC0lBTSBDb25zb2xlMRIwEAYDVQQDEwlUZXN0Q2lsYWMxHzAdBgkqhkiG9w0BCQEWEG5vb25lQGFtYXpvbi5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMaK0dn+a4GmWIWJ21uUSfwfEvySWtC2XADZ4nB+BLYgVIk60CpiwsZ3G93vUEIO3IyNoH/f0wYK8m9TrDHudUZg3qX4waLG5M43q7Wgc/MbQITxOUSQv7c7ugFFDzQGBzZswY6786m86gpEIbb3OhjZnzcvQAaRHhdlQWIMm2nrAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAtCu4nUhVVxYUntneD9+h8Mg9q6q+auNKyExzyLwaxlAoo7TJHidbtS4J5iNmZgXL0FkbFFBjvSfpJIlJ00zbhNYS5f6GuoEDmFJl0ZxBHjJnyp378OD8uTs7fLvjx79LjSTbNYiytVbZPQUQ5Yaxu2jXnimvw3rrszlaEXAMPLE=" - }, - "inputArtifacts": [ - { - "name": "MyAppBuild", - "location": { - "type": "S3", - "s3Location": { - "bucketName": "codepipeline-us-east-1-11EXAMPLE11", - "objectKey": "MySecondPipeline/MyAppBuild/EXAMPLE" - } - } - } - ], - "outputArtifacts": [ - - ], - "pipelineContext": { - "action": { - "name": "MyJenkinsTest-Action" - }, - "pipelineName": "MySecondPipeline", - "stage": { - "name": "Testing" - } - } - }, - "id": "11111111-abcd-1111-abcd-111111abcdef", - "nonce": "3" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example returns information about any jobs for a job worker to act upon. This command is only used for custom actions. When this command is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline. This command will also return any secret values defined for the action, if any are defined.", - "id": "view-any-available-jobs-1449186054484", - "title": "View any available jobs" - } - ], - "StartPipelineExecution": [ - { - "input": { - "name": "MyFirstPipeline" - }, - "output": { - "pipelineExecutionId": "11111111-abcd-1111-abcd-111111abcdef" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example runs the latest revision present in the source stage of a pipeline through the pipeline named \"MyFirstPipeline\".", - "id": "run-the-latest-revision-through-a-pipeline-1449186732433", - "title": "Run the latest revision through a pipeline" - } - ], - "UpdatePipeline": [ - { - "input": { - "pipeline": { - "version": 2, - "name": "MyFirstPipeline", - "artifactStore": { - "type": "S3", - "location": "codepipeline-us-east-1-11EXAMPLE11" - }, - "roleArn": "arn:aws:iam::111111111111:role/AWS-CodePipeline-Service", - "stages": [ - { - "name": "Source", - "actions": [ - { - "name": "Source", - "actionTypeId": { - "version": "1", - "category": "Source", - "owner": "AWS", - "provider": "S3" - }, - "configuration": { - "S3Bucket": "awscodepipeline-demo-bucket2", - "S3ObjectKey": "aws-codepipeline-s3-aws-codedeploy_linux.zip" - }, - "inputArtifacts": [ - - ], - "outputArtifacts": [ - { - "name": "MyApp" - } - ], - "runOrder": 1 - } - ] - }, - { - "name": "Beta", - "actions": [ - { - "name": "CodePipelineDemoFleet", - "actionTypeId": { - "version": "1", - "category": "Deploy", - "owner": "AWS", - "provider": "CodeDeploy" - }, - "configuration": { - "ApplicationName": "CodePipelineDemoApplication", - "DeploymentGroupName": "CodePipelineDemoFleet" - }, - "inputArtifacts": [ - { - "name": "MyApp" - } - ], - "outputArtifacts": [ - - ], - "runOrder": 1 - } - ] - } - ] - } - }, - "output": { - "pipeline": { - "version": 3, - "name": "MyFirstPipeline", - "artifactStore": { - "type": "S3", - "location": "codepipeline-us-east-1-11EXAMPLE11" - }, - "roleArn": "arn:aws:iam::111111111111:role/AWS-CodePipeline-Service", - "stages": [ - { - "name": "Source", - "actions": [ - { - "name": "Source", - "actionTypeId": { - "version": "1", - "category": "Source", - "owner": "AWS", - "provider": "S3" - }, - "configuration": { - "S3Bucket": "awscodepipeline-demo-bucket2", - "S3ObjectKey": "aws-codepipeline-s3-aws-codedeploy_linux.zip" - }, - "inputArtifacts": [ - - ], - "outputArtifacts": [ - { - "name": "MyApp" - } - ], - "runOrder": 1 - } - ] - }, - { - "name": "Beta", - "actions": [ - { - "name": "CodePipelineDemoFleet", - "actionTypeId": { - "version": "1", - "category": "Deploy", - "owner": "AWS", - "provider": "CodeDeploy" - }, - "configuration": { - "ApplicationName": "CodePipelineDemoApplication", - "DeploymentGroupName": "CodePipelineDemoFleet" - }, - "inputArtifacts": [ - { - "name": "MyApp" - } - ], - "outputArtifacts": [ - - ], - "runOrder": 1 - } - ] - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example updates the structure of a pipeline. The entire structure of the pipeline must be supplied, either by passing all of the parameters, or by using a pre-defined JSON file.", - "id": "update-the-structure-of-a-pipeline-1449186881322", - "title": "Update the structure of a pipeline" - } - ] - } -} diff --git a/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json b/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json deleted file mode 100644 index 636a811..0000000 --- a/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json +++ /dev/null @@ -1,1100 +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" - }, - "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": {} - } - } - }, - "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": "S4c" - } - } - } - }, - "PutJobSuccessResult": { - "input": { - "type": "structure", - "required": [ - "jobId" - ], - "members": { - "jobId": {}, - "currentRevision": { - "shape": "S4f" - }, - "continuationToken": {}, - "executionDetails": { - "shape": "S4h" - } - } - } - }, - "PutThirdPartyJobFailureResult": { - "input": { - "type": "structure", - "required": [ - "jobId", - "clientToken", - "failureDetails" - ], - "members": { - "jobId": {}, - "clientToken": {}, - "failureDetails": { - "shape": "S4c" - } - } - } - }, - "PutThirdPartyJobSuccessResult": { - "input": { - "type": "structure", - "required": [ - "jobId", - "clientToken" - ], - "members": { - "jobId": {}, - "clientToken": {}, - "currentRevision": { - "shape": "S4f" - }, - "continuationToken": {}, - "executionDetails": { - "shape": "S4h" - } - } - } - }, - "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" - } - } - }, - "S4c": { - "type": "structure", - "required": [ - "type", - "message" - ], - "members": { - "type": {}, - "message": {}, - "externalExecutionId": {} - } - }, - "S4f": { - "type": "structure", - "required": [ - "revision", - "changeIdentifier" - ], - "members": { - "revision": {}, - "changeIdentifier": {}, - "created": { - "type": "timestamp" - }, - "revisionSummary": {} - } - }, - "S4h": { - "type": "structure", - "members": { - "summary": {}, - "externalExecutionId": {}, - "percentComplete": { - "type": "integer" - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/cognito-identity-2014-06-30.min.json b/node_modules/aws-sdk/apis/cognito-identity-2014-06-30.min.json deleted file mode 100644 index c8923d3..0000000 --- a/node_modules/aws-sdk/apis/cognito-identity-2014-06-30.min.json +++ /dev/null @@ -1,487 +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" - }, - "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": "Se" - } - } - }, - "output": { - "shape": "Sf" - } - }, - "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": "Sq" - } - }, - "DescribeIdentityPool": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": {} - } - }, - "output": { - "shape": "Sf" - } - }, - "GetCredentialsForIdentity": { - "input": { - "type": "structure", - "required": [ - "IdentityId" - ], - "members": { - "IdentityId": {}, - "Logins": { - "shape": "Sv" - }, - "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": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityId": {} - } - } - }, - "GetIdentityPoolRoles": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": {} - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPoolId": {}, - "Roles": { - "shape": "S17" - } - } - } - }, - "GetOpenIdToken": { - "input": { - "type": "structure", - "required": [ - "IdentityId" - ], - "members": { - "IdentityId": {}, - "Logins": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityId": {}, - "Token": {} - } - } - }, - "GetOpenIdTokenForDeveloperIdentity": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "Logins" - ], - "members": { - "IdentityPoolId": {}, - "IdentityId": {}, - "Logins": { - "shape": "Sv" - }, - "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": "Sq" - } - }, - "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": "S17" - } - } - } - }, - "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": "Sv" - }, - "LoginsToRemove": { - "shape": "Sr" - } - } - } - }, - "UpdateIdentityPool": { - "input": { - "shape": "Sf" - }, - "output": { - "shape": "Sf" - } - } - }, - "shapes": { - "S4": { - "type": "map", - "key": {}, - "value": {} - }, - "S8": { - "type": "list", - "member": {} - }, - "Sa": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ProviderName": {}, - "ClientId": {} - } - } - }, - "Se": { - "type": "list", - "member": {} - }, - "Sf": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityPoolName", - "AllowUnauthenticatedIdentities" - ], - "members": { - "IdentityPoolId": {}, - "IdentityPoolName": {}, - "AllowUnauthenticatedIdentities": { - "type": "boolean" - }, - "SupportedLoginProviders": { - "shape": "S4" - }, - "DeveloperProviderName": {}, - "OpenIdConnectProviderARNs": { - "shape": "S8" - }, - "CognitoIdentityProviders": { - "shape": "Sa" - }, - "SamlProviderARNs": { - "shape": "Se" - } - } - }, - "Sq": { - "type": "structure", - "members": { - "IdentityId": {}, - "Logins": { - "shape": "Sr" - }, - "CreationDate": { - "type": "timestamp" - }, - "LastModifiedDate": { - "type": "timestamp" - } - } - }, - "Sr": { - "type": "list", - "member": {} - }, - "Sv": { - "type": "map", - "key": {}, - "value": {} - }, - "S17": { - "type": "map", - "key": {}, - "value": {} - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json b/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json deleted file mode 100644 index 6ec5a3e..0000000 --- a/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json +++ /dev/null @@ -1,1866 +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" - }, - "operations": { - "AddCustomAttributes": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "CustomAttributes" - ], - "members": { - "UserPoolId": {}, - "CustomAttributes": { - "type": "list", - "member": { - "shape": "S4" - } - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "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": "Sg" - }, - "ValidationData": { - "shape": "Sg" - }, - "TemporaryPassword": { - "shape": "Sk" - }, - "ForceAliasCreation": { - "type": "boolean" - }, - "MessageAction": {}, - "DesiredDeliveryMediums": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "User": { - "shape": "Sq" - } - } - } - }, - "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": "Sx" - } - } - }, - "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": "S17" - } - } - } - }, - "AdminGetUser": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Username" - ], - "members": { - "Username": { - "shape": "Sd" - }, - "UserAttributes": { - "shape": "Sg" - }, - "UserCreateDate": { - "type": "timestamp" - }, - "UserLastModifiedDate": { - "type": "timestamp" - }, - "Enabled": { - "type": "boolean" - }, - "UserStatus": {}, - "MFAOptions": { - "shape": "St" - } - } - } - }, - "AdminInitiateAuth": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "ClientId", - "AuthFlow" - ], - "members": { - "UserPoolId": {}, - "ClientId": { - "shape": "S1b" - }, - "AuthFlow": {}, - "AuthParameters": { - "shape": "S1d" - }, - "ClientMetadata": { - "shape": "S1e" - } - } - }, - "output": { - "type": "structure", - "members": { - "ChallengeName": {}, - "Session": {}, - "ChallengeParameters": { - "shape": "S1i" - }, - "AuthenticationResult": { - "shape": "S1j" - } - } - } - }, - "AdminListDevices": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - }, - "Limit": { - "type": "integer" - }, - "PaginationToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Devices": { - "shape": "S1r" - }, - "PaginationToken": {} - } - } - }, - "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": "S1b" - }, - "ChallengeName": {}, - "ChallengeResponses": { - "shape": "S1v" - }, - "Session": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChallengeName": {}, - "Session": {}, - "ChallengeParameters": { - "shape": "S1i" - }, - "AuthenticationResult": { - "shape": "S1j" - } - } - } - }, - "AdminSetUserSettings": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username", - "MFAOptions" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - }, - "MFAOptions": { - "shape": "St" - } - } - }, - "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": "Sg" - } - } - }, - "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" - ], - "members": { - "PreviousPassword": { - "shape": "Sk" - }, - "ProposedPassword": { - "shape": "Sk" - }, - "AccessToken": { - "shape": "S1k" - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "authtype": "none" - }, - "ConfirmDevice": { - "input": { - "type": "structure", - "required": [ - "AccessToken", - "DeviceKey" - ], - "members": { - "AccessToken": { - "shape": "S1k" - }, - "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": "S1b" - }, - "SecretHash": { - "shape": "S2d" - }, - "Username": { - "shape": "Sd" - }, - "ConfirmationCode": {}, - "Password": { - "shape": "Sk" - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "authtype": "none" - }, - "ConfirmSignUp": { - "input": { - "type": "structure", - "required": [ - "ClientId", - "Username", - "ConfirmationCode" - ], - "members": { - "ClientId": { - "shape": "S1b" - }, - "SecretHash": { - "shape": "S2d" - }, - "Username": { - "shape": "Sd" - }, - "ConfirmationCode": {}, - "ForceAliasCreation": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "authtype": "none" - }, - "CreateUserImportJob": { - "input": { - "type": "structure", - "required": [ - "JobName", - "UserPoolId", - "CloudWatchLogsRoleArn" - ], - "members": { - "JobName": {}, - "UserPoolId": {}, - "CloudWatchLogsRoleArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "UserImportJob": { - "shape": "S2m" - } - } - } - }, - "CreateUserPool": { - "input": { - "type": "structure", - "required": [ - "PoolName" - ], - "members": { - "PoolName": {}, - "Policies": { - "shape": "S2u" - }, - "LambdaConfig": { - "shape": "S2x" - }, - "AutoVerifiedAttributes": { - "shape": "S2y" - }, - "AliasAttributes": { - "shape": "S30" - }, - "SmsVerificationMessage": {}, - "EmailVerificationMessage": {}, - "EmailVerificationSubject": {}, - "SmsAuthenticationMessage": {}, - "MfaConfiguration": {}, - "DeviceConfiguration": { - "shape": "S36" - }, - "EmailConfiguration": { - "shape": "S37" - }, - "SmsConfiguration": { - "shape": "S39" - }, - "AdminCreateUserConfig": { - "shape": "S3a" - } - } - }, - "output": { - "type": "structure", - "members": { - "UserPool": { - "shape": "S3e" - } - } - } - }, - "CreateUserPoolClient": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "ClientName" - ], - "members": { - "UserPoolId": {}, - "ClientName": {}, - "GenerateSecret": { - "type": "boolean" - }, - "RefreshTokenValidity": { - "type": "integer" - }, - "ReadAttributes": { - "shape": "S3l" - }, - "WriteAttributes": { - "shape": "S3l" - }, - "ExplicitAuthFlows": { - "shape": "S3n" - } - } - }, - "output": { - "type": "structure", - "members": { - "UserPoolClient": { - "shape": "S3q" - } - } - } - }, - "DeleteUser": { - "input": { - "type": "structure", - "members": { - "AccessToken": { - "shape": "S1k" - } - } - }, - "authtype": "none" - }, - "DeleteUserAttributes": { - "input": { - "type": "structure", - "required": [ - "UserAttributeNames" - ], - "members": { - "UserAttributeNames": { - "shape": "Sx" - }, - "AccessToken": { - "shape": "S1k" - } - } - }, - "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": "S1b" - } - } - } - }, - "DescribeUserImportJob": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "JobId" - ], - "members": { - "UserPoolId": {}, - "JobId": {} - } - }, - "output": { - "type": "structure", - "members": { - "UserImportJob": { - "shape": "S2m" - } - } - } - }, - "DescribeUserPool": { - "input": { - "type": "structure", - "required": [ - "UserPoolId" - ], - "members": { - "UserPoolId": {} - } - }, - "output": { - "type": "structure", - "members": { - "UserPool": { - "shape": "S3e" - } - } - } - }, - "DescribeUserPoolClient": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "ClientId" - ], - "members": { - "UserPoolId": {}, - "ClientId": { - "shape": "S1b" - } - } - }, - "output": { - "type": "structure", - "members": { - "UserPoolClient": { - "shape": "S3q" - } - } - } - }, - "ForgetDevice": { - "input": { - "type": "structure", - "required": [ - "DeviceKey" - ], - "members": { - "AccessToken": { - "shape": "S1k" - }, - "DeviceKey": {} - } - } - }, - "ForgotPassword": { - "input": { - "type": "structure", - "required": [ - "ClientId", - "Username" - ], - "members": { - "ClientId": { - "shape": "S1b" - }, - "SecretHash": { - "shape": "S2d" - }, - "Username": { - "shape": "Sd" - } - } - }, - "output": { - "type": "structure", - "members": { - "CodeDeliveryDetails": { - "shape": "S46" - } - } - }, - "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": "S1k" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Device" - ], - "members": { - "Device": { - "shape": "S17" - } - } - } - }, - "GetUser": { - "input": { - "type": "structure", - "members": { - "AccessToken": { - "shape": "S1k" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Username", - "UserAttributes" - ], - "members": { - "Username": { - "shape": "Sd" - }, - "UserAttributes": { - "shape": "Sg" - }, - "MFAOptions": { - "shape": "St" - } - } - }, - "authtype": "none" - }, - "GetUserAttributeVerificationCode": { - "input": { - "type": "structure", - "required": [ - "AttributeName" - ], - "members": { - "AccessToken": { - "shape": "S1k" - }, - "AttributeName": {} - } - }, - "output": { - "type": "structure", - "members": { - "CodeDeliveryDetails": { - "shape": "S46" - } - } - }, - "authtype": "none" - }, - "GlobalSignOut": { - "input": { - "type": "structure", - "members": { - "AccessToken": { - "shape": "S1k" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "InitiateAuth": { - "input": { - "type": "structure", - "required": [ - "AuthFlow", - "ClientId" - ], - "members": { - "AuthFlow": {}, - "AuthParameters": { - "shape": "S1d" - }, - "ClientMetadata": { - "shape": "S1e" - }, - "ClientId": { - "shape": "S1b" - } - } - }, - "output": { - "type": "structure", - "members": { - "ChallengeName": {}, - "Session": {}, - "ChallengeParameters": { - "shape": "S1i" - }, - "AuthenticationResult": { - "shape": "S1j" - } - } - } - }, - "ListDevices": { - "input": { - "type": "structure", - "required": [ - "AccessToken" - ], - "members": { - "AccessToken": { - "shape": "S1k" - }, - "Limit": { - "type": "integer" - }, - "PaginationToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Devices": { - "shape": "S1r" - }, - "PaginationToken": {} - } - } - }, - "ListUserImportJobs": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "MaxResults" - ], - "members": { - "UserPoolId": {}, - "MaxResults": { - "type": "integer" - }, - "PaginationToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "UserImportJobs": { - "type": "list", - "member": { - "shape": "S2m" - } - }, - "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": "S1b" - }, - "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": "S2x" - }, - "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": { - "type": "list", - "member": { - "shape": "Sq" - } - }, - "PaginationToken": {} - } - } - }, - "ResendConfirmationCode": { - "input": { - "type": "structure", - "required": [ - "ClientId", - "Username" - ], - "members": { - "ClientId": { - "shape": "S1b" - }, - "SecretHash": { - "shape": "S2d" - }, - "Username": { - "shape": "Sd" - } - } - }, - "output": { - "type": "structure", - "members": { - "CodeDeliveryDetails": { - "shape": "S46" - } - } - }, - "authtype": "none" - }, - "RespondToAuthChallenge": { - "input": { - "type": "structure", - "required": [ - "ClientId", - "ChallengeName" - ], - "members": { - "ClientId": { - "shape": "S1b" - }, - "ChallengeName": {}, - "Session": {}, - "ChallengeResponses": { - "shape": "S1v" - } - } - }, - "output": { - "type": "structure", - "members": { - "ChallengeName": {}, - "Session": {}, - "ChallengeParameters": { - "shape": "S1i" - }, - "AuthenticationResult": { - "shape": "S1j" - } - } - } - }, - "SetUserSettings": { - "input": { - "type": "structure", - "required": [ - "AccessToken", - "MFAOptions" - ], - "members": { - "AccessToken": { - "shape": "S1k" - }, - "MFAOptions": { - "shape": "St" - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "authtype": "none" - }, - "SignUp": { - "input": { - "type": "structure", - "required": [ - "ClientId", - "Username", - "Password" - ], - "members": { - "ClientId": { - "shape": "S1b" - }, - "SecretHash": { - "shape": "S2d" - }, - "Username": { - "shape": "Sd" - }, - "Password": { - "shape": "Sk" - }, - "UserAttributes": { - "shape": "Sg" - }, - "ValidationData": { - "shape": "Sg" - } - } - }, - "output": { - "type": "structure", - "members": { - "UserConfirmed": { - "type": "boolean" - }, - "CodeDeliveryDetails": { - "shape": "S46" - } - } - }, - "authtype": "none" - }, - "StartUserImportJob": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "JobId" - ], - "members": { - "UserPoolId": {}, - "JobId": {} - } - }, - "output": { - "type": "structure", - "members": { - "UserImportJob": { - "shape": "S2m" - } - } - } - }, - "StopUserImportJob": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "JobId" - ], - "members": { - "UserPoolId": {}, - "JobId": {} - } - }, - "output": { - "type": "structure", - "members": { - "UserImportJob": { - "shape": "S2m" - } - } - } - }, - "UpdateDeviceStatus": { - "input": { - "type": "structure", - "required": [ - "AccessToken", - "DeviceKey" - ], - "members": { - "AccessToken": { - "shape": "S1k" - }, - "DeviceKey": {}, - "DeviceRememberedStatus": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateUserAttributes": { - "input": { - "type": "structure", - "required": [ - "UserAttributes" - ], - "members": { - "UserAttributes": { - "shape": "Sg" - }, - "AccessToken": { - "shape": "S1k" - } - } - }, - "output": { - "type": "structure", - "members": { - "CodeDeliveryDetailsList": { - "type": "list", - "member": { - "shape": "S46" - } - } - } - }, - "authtype": "none" - }, - "UpdateUserPool": { - "input": { - "type": "structure", - "required": [ - "UserPoolId" - ], - "members": { - "UserPoolId": {}, - "Policies": { - "shape": "S2u" - }, - "LambdaConfig": { - "shape": "S2x" - }, - "AutoVerifiedAttributes": { - "shape": "S2y" - }, - "SmsVerificationMessage": {}, - "EmailVerificationMessage": {}, - "EmailVerificationSubject": {}, - "SmsAuthenticationMessage": {}, - "MfaConfiguration": {}, - "DeviceConfiguration": { - "shape": "S36" - }, - "EmailConfiguration": { - "shape": "S37" - }, - "SmsConfiguration": { - "shape": "S39" - }, - "AdminCreateUserConfig": { - "shape": "S3a" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateUserPoolClient": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "ClientId" - ], - "members": { - "UserPoolId": {}, - "ClientId": { - "shape": "S1b" - }, - "ClientName": {}, - "RefreshTokenValidity": { - "type": "integer" - }, - "ReadAttributes": { - "shape": "S3l" - }, - "WriteAttributes": { - "shape": "S3l" - }, - "ExplicitAuthFlows": { - "shape": "S3n" - } - } - }, - "output": { - "type": "structure", - "members": { - "UserPoolClient": { - "shape": "S3q" - } - } - } - }, - "VerifyUserAttribute": { - "input": { - "type": "structure", - "required": [ - "AttributeName", - "Code" - ], - "members": { - "AccessToken": { - "shape": "S1k" - }, - "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 - }, - "Sg": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "Value": { - "type": "string", - "sensitive": true - } - } - } - }, - "Sk": { - "type": "string", - "sensitive": true - }, - "Sq": { - "type": "structure", - "members": { - "Username": { - "shape": "Sd" - }, - "Attributes": { - "shape": "Sg" - }, - "UserCreateDate": { - "type": "timestamp" - }, - "UserLastModifiedDate": { - "type": "timestamp" - }, - "Enabled": { - "type": "boolean" - }, - "UserStatus": {}, - "MFAOptions": { - "shape": "St" - } - } - }, - "St": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DeliveryMedium": {}, - "AttributeName": {} - } - } - }, - "Sx": { - "type": "list", - "member": {} - }, - "S17": { - "type": "structure", - "members": { - "DeviceKey": {}, - "DeviceAttributes": { - "shape": "Sg" - }, - "DeviceCreateDate": { - "type": "timestamp" - }, - "DeviceLastModifiedDate": { - "type": "timestamp" - }, - "DeviceLastAuthenticatedDate": { - "type": "timestamp" - } - } - }, - "S1b": { - "type": "string", - "sensitive": true - }, - "S1d": { - "type": "map", - "key": {}, - "value": {} - }, - "S1e": { - "type": "map", - "key": {}, - "value": {} - }, - "S1i": { - "type": "map", - "key": {}, - "value": {} - }, - "S1j": { - "type": "structure", - "members": { - "AccessToken": { - "shape": "S1k" - }, - "ExpiresIn": { - "type": "integer" - }, - "TokenType": {}, - "RefreshToken": { - "shape": "S1k" - }, - "IdToken": { - "shape": "S1k" - }, - "NewDeviceMetadata": { - "type": "structure", - "members": { - "DeviceKey": {}, - "DeviceGroupKey": {} - } - } - } - }, - "S1k": { - "type": "string", - "sensitive": true - }, - "S1r": { - "type": "list", - "member": { - "shape": "S17" - } - }, - "S1v": { - "type": "map", - "key": {}, - "value": {} - }, - "S2d": { - "type": "string", - "sensitive": true - }, - "S2m": { - "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": {} - } - }, - "S2u": { - "type": "structure", - "members": { - "PasswordPolicy": { - "type": "structure", - "members": { - "MinimumLength": { - "type": "integer" - }, - "RequireUppercase": { - "type": "boolean" - }, - "RequireLowercase": { - "type": "boolean" - }, - "RequireNumbers": { - "type": "boolean" - }, - "RequireSymbols": { - "type": "boolean" - } - } - } - } - }, - "S2x": { - "type": "structure", - "members": { - "PreSignUp": {}, - "CustomMessage": {}, - "PostConfirmation": {}, - "PreAuthentication": {}, - "PostAuthentication": {}, - "DefineAuthChallenge": {}, - "CreateAuthChallenge": {}, - "VerifyAuthChallengeResponse": {} - } - }, - "S2y": { - "type": "list", - "member": {} - }, - "S30": { - "type": "list", - "member": {} - }, - "S36": { - "type": "structure", - "members": { - "ChallengeRequiredOnNewDevice": { - "type": "boolean" - }, - "DeviceOnlyRememberedOnUserPrompt": { - "type": "boolean" - } - } - }, - "S37": { - "type": "structure", - "members": { - "SourceArn": {}, - "ReplyToEmailAddress": {} - } - }, - "S39": { - "type": "structure", - "members": { - "SnsCallerArn": {}, - "ExternalId": {} - } - }, - "S3a": { - "type": "structure", - "members": { - "AllowAdminCreateUserOnly": { - "type": "boolean" - }, - "UnusedAccountValidityDays": { - "type": "integer" - }, - "InviteMessageTemplate": { - "type": "structure", - "members": { - "SMSMessage": {}, - "EmailMessage": {}, - "EmailSubject": {} - } - } - } - }, - "S3e": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "Policies": { - "shape": "S2u" - }, - "LambdaConfig": { - "shape": "S2x" - }, - "Status": {}, - "LastModifiedDate": { - "type": "timestamp" - }, - "CreationDate": { - "type": "timestamp" - }, - "SchemaAttributes": { - "type": "list", - "member": { - "shape": "S4" - } - }, - "AutoVerifiedAttributes": { - "shape": "S2y" - }, - "AliasAttributes": { - "shape": "S30" - }, - "SmsVerificationMessage": {}, - "EmailVerificationMessage": {}, - "EmailVerificationSubject": {}, - "SmsAuthenticationMessage": {}, - "MfaConfiguration": {}, - "DeviceConfiguration": { - "shape": "S36" - }, - "EstimatedNumberOfUsers": { - "type": "integer" - }, - "EmailConfiguration": { - "shape": "S37" - }, - "SmsConfiguration": { - "shape": "S39" - }, - "SmsConfigurationFailure": {}, - "EmailConfigurationFailure": {}, - "AdminCreateUserConfig": { - "shape": "S3a" - } - } - }, - "S3l": { - "type": "list", - "member": {} - }, - "S3n": { - "type": "list", - "member": {} - }, - "S3q": { - "type": "structure", - "members": { - "UserPoolId": {}, - "ClientName": {}, - "ClientId": { - "shape": "S1b" - }, - "ClientSecret": { - "type": "string", - "sensitive": true - }, - "LastModifiedDate": { - "type": "timestamp" - }, - "CreationDate": { - "type": "timestamp" - }, - "RefreshTokenValidity": { - "type": "integer" - }, - "ReadAttributes": { - "shape": "S3l" - }, - "WriteAttributes": { - "shape": "S3l" - }, - "ExplicitAuthFlows": { - "shape": "S3n" - } - } - }, - "S46": { - "type": "structure", - "members": { - "Destination": {}, - "DeliveryMedium": {}, - "AttributeName": {} - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/cognito-sync-2014-06-30.min.json b/node_modules/aws-sdk/apis/cognito-sync-2014-06-30.min.json deleted file mode 100644 index 3f969ea..0000000 --- a/node_modules/aws-sdk/apis/cognito-sync-2014-06-30.min.json +++ /dev/null @@ -1,746 +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" - }, - "operations": { - "BulkPublish": { - "http": { - "requestUri": "/identitypools/{IdentityPoolId}/bulkpublish", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPoolId": {} - } - } - }, - "DeleteDataset": { - "http": { - "method": "DELETE", - "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityId", - "DatasetName" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "IdentityId": { - "location": "uri", - "locationName": "IdentityId" - }, - "DatasetName": { - "location": "uri", - "locationName": "DatasetName" - } - } - }, - "output": { - "type": "structure", - "members": { - "Dataset": { - "shape": "S8" - } - } - } - }, - "DescribeDataset": { - "http": { - "method": "GET", - "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityId", - "DatasetName" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "IdentityId": { - "location": "uri", - "locationName": "IdentityId" - }, - "DatasetName": { - "location": "uri", - "locationName": "DatasetName" - } - } - }, - "output": { - "type": "structure", - "members": { - "Dataset": { - "shape": "S8" - } - } - } - }, - "DescribeIdentityPoolUsage": { - "http": { - "method": "GET", - "requestUri": "/identitypools/{IdentityPoolId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPoolUsage": { - "shape": "Sg" - } - } - } - }, - "DescribeIdentityUsage": { - "http": { - "method": "GET", - "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "IdentityId": { - "location": "uri", - "locationName": "IdentityId" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityUsage": { - "type": "structure", - "members": { - "IdentityId": {}, - "IdentityPoolId": {}, - "LastModifiedDate": { - "type": "timestamp" - }, - "DatasetCount": { - "type": "integer" - }, - "DataStorage": { - "type": "long" - } - } - } - } - } - }, - "GetBulkPublishDetails": { - "http": { - "requestUri": "/identitypools/{IdentityPoolId}/getBulkPublishDetails", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPoolId": {}, - "BulkPublishStartTime": { - "type": "timestamp" - }, - "BulkPublishCompleteTime": { - "type": "timestamp" - }, - "BulkPublishStatus": {}, - "FailureMessage": {} - } - } - }, - "GetCognitoEvents": { - "http": { - "method": "GET", - "requestUri": "/identitypools/{IdentityPoolId}/events", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Events": { - "shape": "Sq" - } - } - } - }, - "GetIdentityPoolConfiguration": { - "http": { - "method": "GET", - "requestUri": "/identitypools/{IdentityPoolId}/configuration", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPoolId": {}, - "PushSync": { - "shape": "Sv" - }, - "CognitoStreams": { - "shape": "Sz" - } - } - } - }, - "ListDatasets": { - "http": { - "method": "GET", - "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityId", - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "IdentityId": { - "location": "uri", - "locationName": "IdentityId" - }, - "NextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "MaxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Datasets": { - "type": "list", - "member": { - "shape": "S8" - } - }, - "Count": { - "type": "integer" - }, - "NextToken": {} - } - } - }, - "ListIdentityPoolUsage": { - "http": { - "method": "GET", - "requestUri": "/identitypools", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "NextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "MaxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPoolUsages": { - "type": "list", - "member": { - "shape": "Sg" - } - }, - "MaxResults": { - "type": "integer" - }, - "Count": { - "type": "integer" - }, - "NextToken": {} - } - } - }, - "ListRecords": { - "http": { - "method": "GET", - "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/records", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityId", - "DatasetName" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "IdentityId": { - "location": "uri", - "locationName": "IdentityId" - }, - "DatasetName": { - "location": "uri", - "locationName": "DatasetName" - }, - "LastSyncCount": { - "location": "querystring", - "locationName": "lastSyncCount", - "type": "long" - }, - "NextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "MaxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - }, - "SyncSessionToken": { - "location": "querystring", - "locationName": "syncSessionToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Records": { - "shape": "S1c" - }, - "NextToken": {}, - "Count": { - "type": "integer" - }, - "DatasetSyncCount": { - "type": "long" - }, - "LastModifiedBy": {}, - "MergedDatasetNames": { - "type": "list", - "member": {} - }, - "DatasetExists": { - "type": "boolean" - }, - "DatasetDeletedAfterRequestedSyncCount": { - "type": "boolean" - }, - "SyncSessionToken": {} - } - } - }, - "RegisterDevice": { - "http": { - "requestUri": "/identitypools/{IdentityPoolId}/identity/{IdentityId}/device", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityId", - "Platform", - "Token" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "IdentityId": { - "location": "uri", - "locationName": "IdentityId" - }, - "Platform": {}, - "Token": {} - } - }, - "output": { - "type": "structure", - "members": { - "DeviceId": {} - } - } - }, - "SetCognitoEvents": { - "http": { - "requestUri": "/identitypools/{IdentityPoolId}/events", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "Events" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "Events": { - "shape": "Sq" - } - } - } - }, - "SetIdentityPoolConfiguration": { - "http": { - "requestUri": "/identitypools/{IdentityPoolId}/configuration", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "PushSync": { - "shape": "Sv" - }, - "CognitoStreams": { - "shape": "Sz" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPoolId": {}, - "PushSync": { - "shape": "Sv" - }, - "CognitoStreams": { - "shape": "Sz" - } - } - } - }, - "SubscribeToDataset": { - "http": { - "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityId", - "DatasetName", - "DeviceId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "IdentityId": { - "location": "uri", - "locationName": "IdentityId" - }, - "DatasetName": { - "location": "uri", - "locationName": "DatasetName" - }, - "DeviceId": { - "location": "uri", - "locationName": "DeviceId" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UnsubscribeFromDataset": { - "http": { - "method": "DELETE", - "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityId", - "DatasetName", - "DeviceId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "IdentityId": { - "location": "uri", - "locationName": "IdentityId" - }, - "DatasetName": { - "location": "uri", - "locationName": "DatasetName" - }, - "DeviceId": { - "location": "uri", - "locationName": "DeviceId" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateRecords": { - "http": { - "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityId", - "DatasetName", - "SyncSessionToken" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "IdentityId": { - "location": "uri", - "locationName": "IdentityId" - }, - "DatasetName": { - "location": "uri", - "locationName": "DatasetName" - }, - "DeviceId": {}, - "RecordPatches": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Op", - "Key", - "SyncCount" - ], - "members": { - "Op": {}, - "Key": {}, - "Value": {}, - "SyncCount": { - "type": "long" - }, - "DeviceLastModifiedDate": { - "type": "timestamp" - } - } - } - }, - "SyncSessionToken": {}, - "ClientContext": { - "location": "header", - "locationName": "x-amz-Client-Context" - } - } - }, - "output": { - "type": "structure", - "members": { - "Records": { - "shape": "S1c" - } - } - } - } - }, - "shapes": { - "S8": { - "type": "structure", - "members": { - "IdentityId": {}, - "DatasetName": {}, - "CreationDate": { - "type": "timestamp" - }, - "LastModifiedDate": { - "type": "timestamp" - }, - "LastModifiedBy": {}, - "DataStorage": { - "type": "long" - }, - "NumRecords": { - "type": "long" - } - } - }, - "Sg": { - "type": "structure", - "members": { - "IdentityPoolId": {}, - "SyncSessionsCount": { - "type": "long" - }, - "DataStorage": { - "type": "long" - }, - "LastModifiedDate": { - "type": "timestamp" - } - } - }, - "Sq": { - "type": "map", - "key": {}, - "value": {} - }, - "Sv": { - "type": "structure", - "members": { - "ApplicationArns": { - "type": "list", - "member": {} - }, - "RoleArn": {} - } - }, - "Sz": { - "type": "structure", - "members": { - "StreamName": {}, - "RoleArn": {}, - "StreamingStatus": {} - } - }, - "S1c": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {}, - "SyncCount": { - "type": "long" - }, - "LastModifiedDate": { - "type": "timestamp" - }, - "LastModifiedBy": {}, - "DeviceLastModifiedDate": { - "type": "timestamp" - } - } - } - } - }, - "examples": {} -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/config-2014-11-12.min.json b/node_modules/aws-sdk/apis/config-2014-11-12.min.json deleted file mode 100644 index 6e8b40e..0000000 --- a/node_modules/aws-sdk/apis/config-2014-11-12.min.json +++ /dev/null @@ -1,857 +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" - }, - "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" - } - } - }, - "output": { - "type": "structure", - "members": { - "ConfigRulesEvaluationStatus": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ConfigRuleName": {}, - "ConfigRuleArn": {}, - "ConfigRuleId": {}, - "LastSuccessfulInvocationTime": { - "type": "timestamp" - }, - "LastFailedInvocationTime": { - "type": "timestamp" - }, - "LastSuccessfulEvaluationTime": { - "type": "timestamp" - }, - "LastFailedEvaluationTime": { - "type": "timestamp" - }, - "FirstActivatedTime": { - "type": "timestamp" - }, - "LastErrorCode": {}, - "LastErrorMessage": {}, - "FirstEvaluationStarted": { - "type": "boolean" - } - } - } - } - } - } - }, - "DescribeConfigRules": { - "input": { - "type": "structure", - "members": { - "ConfigRuleNames": { - "shape": "Sd" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ConfigRules": { - "type": "list", - "member": { - "shape": "S12" - } - }, - "NextToken": {} - } - } - }, - "DescribeConfigurationRecorderStatus": { - "input": { - "type": "structure", - "members": { - "ConfigurationRecorderNames": { - "shape": "S1g" - } - } - }, - "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": "S1g" - } - } - }, - "output": { - "type": "structure", - "members": { - "ConfigurationRecorders": { - "type": "list", - "member": { - "shape": "S1o" - } - } - } - } - }, - "DescribeDeliveryChannelStatus": { - "input": { - "type": "structure", - "members": { - "DeliveryChannelNames": { - "shape": "S1v" - } - } - }, - "output": { - "type": "structure", - "members": { - "DeliveryChannelsStatus": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "configSnapshotDeliveryInfo": { - "shape": "S1z" - }, - "configHistoryDeliveryInfo": { - "shape": "S1z" - }, - "configStreamDeliveryInfo": { - "type": "structure", - "members": { - "lastStatus": {}, - "lastErrorCode": {}, - "lastErrorMessage": {}, - "lastStatusChangeTime": { - "type": "timestamp" - } - } - } - } - } - } - } - } - }, - "DescribeDeliveryChannels": { - "input": { - "type": "structure", - "members": { - "DeliveryChannelNames": { - "shape": "S1v" - } - } - }, - "output": { - "type": "structure", - "members": { - "DeliveryChannels": { - "type": "list", - "member": { - "shape": "S25" - } - } - } - } - }, - "GetComplianceDetailsByConfigRule": { - "input": { - "type": "structure", - "required": [ - "ConfigRuleName" - ], - "members": { - "ConfigRuleName": {}, - "ComplianceTypes": { - "shape": "Se" - }, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "EvaluationResults": { - "shape": "S29" - }, - "NextToken": {} - } - } - }, - "GetComplianceDetailsByResource": { - "input": { - "type": "structure", - "required": [ - "ResourceType", - "ResourceId" - ], - "members": { - "ResourceType": {}, - "ResourceId": {}, - "ComplianceTypes": { - "shape": "Se" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "EvaluationResults": { - "shape": "S29" - }, - "NextToken": {} - } - } - }, - "GetComplianceSummaryByConfigRule": { - "output": { - "type": "structure", - "members": { - "ComplianceSummary": { - "shape": "S2g" - } - } - } - }, - "GetComplianceSummaryByResourceType": { - "input": { - "type": "structure", - "members": { - "ResourceTypes": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "ComplianceSummariesByResourceType": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ResourceType": {}, - "ComplianceSummary": { - "shape": "S2g" - } - } - } - } - } - } - }, - "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": "S12" - } - } - } - }, - "PutConfigurationRecorder": { - "input": { - "type": "structure", - "required": [ - "ConfigurationRecorder" - ], - "members": { - "ConfigurationRecorder": { - "shape": "S1o" - } - } - } - }, - "PutDeliveryChannel": { - "input": { - "type": "structure", - "required": [ - "DeliveryChannel" - ], - "members": { - "DeliveryChannel": { - "shape": "S25" - } - } - } - }, - "PutEvaluations": { - "input": { - "type": "structure", - "required": [ - "ResultToken" - ], - "members": { - "Evaluations": { - "shape": "S3r" - }, - "ResultToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "FailedEvaluations": { - "shape": "S3r" - } - } - } - }, - "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" - } - } - }, - "S12": { - "type": "structure", - "required": [ - "Source" - ], - "members": { - "ConfigRuleName": {}, - "ConfigRuleArn": {}, - "ConfigRuleId": {}, - "Description": {}, - "Scope": { - "type": "structure", - "members": { - "ComplianceResourceTypes": { - "type": "list", - "member": {} - }, - "TagKey": {}, - "TagValue": {}, - "ComplianceResourceId": {} - } - }, - "Source": { - "type": "structure", - "members": { - "Owner": {}, - "SourceIdentifier": {}, - "SourceDetails": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EventSource": {}, - "MessageType": {}, - "MaximumExecutionFrequency": {} - } - } - } - } - }, - "InputParameters": {}, - "MaximumExecutionFrequency": {}, - "ConfigRuleState": {} - } - }, - "S1g": { - "type": "list", - "member": {} - }, - "S1o": { - "type": "structure", - "members": { - "name": {}, - "roleARN": {}, - "recordingGroup": { - "type": "structure", - "members": { - "allSupported": { - "type": "boolean" - }, - "includeGlobalResourceTypes": { - "type": "boolean" - }, - "resourceTypes": { - "type": "list", - "member": {} - } - } - } - } - }, - "S1v": { - "type": "list", - "member": {} - }, - "S1z": { - "type": "structure", - "members": { - "lastStatus": {}, - "lastErrorCode": {}, - "lastErrorMessage": {}, - "lastAttemptTime": { - "type": "timestamp" - }, - "lastSuccessfulTime": { - "type": "timestamp" - }, - "nextDeliveryTime": { - "type": "timestamp" - } - } - }, - "S25": { - "type": "structure", - "members": { - "name": {}, - "s3BucketName": {}, - "s3KeyPrefix": {}, - "snsTopicARN": {}, - "configSnapshotDeliveryProperties": { - "type": "structure", - "members": { - "deliveryFrequency": {} - } - } - } - }, - "S29": { - "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": {} - } - } - }, - "S2g": { - "type": "structure", - "members": { - "CompliantResourceCount": { - "shape": "Sk" - }, - "NonCompliantResourceCount": { - "shape": "Sk" - }, - "ComplianceSummaryTimestamp": { - "type": "timestamp" - } - } - }, - "S3r": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "ComplianceResourceType", - "ComplianceResourceId", - "ComplianceType", - "OrderingTimestamp" - ], - "members": { - "ComplianceResourceType": {}, - "ComplianceResourceId": {}, - "ComplianceType": {}, - "Annotation": {}, - "OrderingTimestamp": { - "type": "timestamp" - } - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/config-2014-11-12.paginators.json b/node_modules/aws-sdk/apis/config-2014-11-12.paginators.json deleted file mode 100644 index 45c365e..0000000 --- a/node_modules/aws-sdk/apis/config-2014-11-12.paginators.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "pagination": { - "GetResourceConfigHistory": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "limit", - "result_key": "configurationItems" - } - } -} diff --git a/node_modules/aws-sdk/apis/datapipeline-2012-10-29.min.json b/node_modules/aws-sdk/apis/datapipeline-2012-10-29.min.json deleted file mode 100644 index 88f505f..0000000 --- a/node_modules/aws-sdk/apis/datapipeline-2012-10-29.min.json +++ /dev/null @@ -1,666 +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" - }, - "operations": { - "ActivatePipeline": { - "input": { - "type": "structure", - "required": [ - "pipelineId" - ], - "members": { - "pipelineId": {}, - "parameterValues": { - "shape": "S3" - }, - "startTimestamp": { - "type": "timestamp" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AddTags": { - "input": { - "type": "structure", - "required": [ - "pipelineId", - "tags" - ], - "members": { - "pipelineId": {}, - "tags": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreatePipeline": { - "input": { - "type": "structure", - "required": [ - "name", - "uniqueId" - ], - "members": { - "name": {}, - "uniqueId": {}, - "description": {}, - "tags": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "required": [ - "pipelineId" - ], - "members": { - "pipelineId": {} - } - } - }, - "DeactivatePipeline": { - "input": { - "type": "structure", - "required": [ - "pipelineId" - ], - "members": { - "pipelineId": {}, - "cancelActive": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeletePipeline": { - "input": { - "type": "structure", - "required": [ - "pipelineId" - ], - "members": { - "pipelineId": {} - } - } - }, - "DescribeObjects": { - "input": { - "type": "structure", - "required": [ - "pipelineId", - "objectIds" - ], - "members": { - "pipelineId": {}, - "objectIds": { - "shape": "Sn" - }, - "evaluateExpressions": { - "type": "boolean" - }, - "marker": {} - } - }, - "output": { - "type": "structure", - "required": [ - "pipelineObjects" - ], - "members": { - "pipelineObjects": { - "shape": "Sq" - }, - "marker": {}, - "hasMoreResults": { - "type": "boolean" - } - } - } - }, - "DescribePipelines": { - "input": { - "type": "structure", - "required": [ - "pipelineIds" - ], - "members": { - "pipelineIds": { - "shape": "Sn" - } - } - }, - "output": { - "type": "structure", - "required": [ - "pipelineDescriptionList" - ], - "members": { - "pipelineDescriptionList": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "pipelineId", - "name", - "fields" - ], - "members": { - "pipelineId": {}, - "name": {}, - "fields": { - "shape": "Ss" - }, - "description": {}, - "tags": { - "shape": "Sa" - } - } - } - } - } - } - }, - "EvaluateExpression": { - "input": { - "type": "structure", - "required": [ - "pipelineId", - "objectId", - "expression" - ], - "members": { - "pipelineId": {}, - "objectId": {}, - "expression": {} - } - }, - "output": { - "type": "structure", - "required": [ - "evaluatedExpression" - ], - "members": { - "evaluatedExpression": {} - } - } - }, - "GetPipelineDefinition": { - "input": { - "type": "structure", - "required": [ - "pipelineId" - ], - "members": { - "pipelineId": {}, - "version": {} - } - }, - "output": { - "type": "structure", - "members": { - "pipelineObjects": { - "shape": "Sq" - }, - "parameterObjects": { - "shape": "S13" - }, - "parameterValues": { - "shape": "S3" - } - } - } - }, - "ListPipelines": { - "input": { - "type": "structure", - "members": { - "marker": {} - } - }, - "output": { - "type": "structure", - "required": [ - "pipelineIdList" - ], - "members": { - "pipelineIdList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "id": {}, - "name": {} - } - } - }, - "marker": {}, - "hasMoreResults": { - "type": "boolean" - } - } - } - }, - "PollForTask": { - "input": { - "type": "structure", - "required": [ - "workerGroup" - ], - "members": { - "workerGroup": {}, - "hostname": {}, - "instanceIdentity": { - "type": "structure", - "members": { - "document": {}, - "signature": {} - } - } - } - }, - "output": { - "type": "structure", - "members": { - "taskObject": { - "type": "structure", - "members": { - "taskId": {}, - "pipelineId": {}, - "attemptId": {}, - "objects": { - "type": "map", - "key": {}, - "value": { - "shape": "Sr" - } - } - } - } - } - } - }, - "PutPipelineDefinition": { - "input": { - "type": "structure", - "required": [ - "pipelineId", - "pipelineObjects" - ], - "members": { - "pipelineId": {}, - "pipelineObjects": { - "shape": "Sq" - }, - "parameterObjects": { - "shape": "S13" - }, - "parameterValues": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "required": [ - "errored" - ], - "members": { - "validationErrors": { - "shape": "S1l" - }, - "validationWarnings": { - "shape": "S1p" - }, - "errored": { - "type": "boolean" - } - } - } - }, - "QueryObjects": { - "input": { - "type": "structure", - "required": [ - "pipelineId", - "sphere" - ], - "members": { - "pipelineId": {}, - "query": { - "type": "structure", - "members": { - "selectors": { - "type": "list", - "member": { - "type": "structure", - "members": { - "fieldName": {}, - "operator": { - "type": "structure", - "members": { - "type": {}, - "values": { - "shape": "S1x" - } - } - } - } - } - } - } - }, - "sphere": {}, - "marker": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "ids": { - "shape": "Sn" - }, - "marker": {}, - "hasMoreResults": { - "type": "boolean" - } - } - } - }, - "RemoveTags": { - "input": { - "type": "structure", - "required": [ - "pipelineId", - "tagKeys" - ], - "members": { - "pipelineId": {}, - "tagKeys": { - "shape": "S1x" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "ReportTaskProgress": { - "input": { - "type": "structure", - "required": [ - "taskId" - ], - "members": { - "taskId": {}, - "fields": { - "shape": "Ss" - } - } - }, - "output": { - "type": "structure", - "required": [ - "canceled" - ], - "members": { - "canceled": { - "type": "boolean" - } - } - } - }, - "ReportTaskRunnerHeartbeat": { - "input": { - "type": "structure", - "required": [ - "taskrunnerId" - ], - "members": { - "taskrunnerId": {}, - "workerGroup": {}, - "hostname": {} - } - }, - "output": { - "type": "structure", - "required": [ - "terminate" - ], - "members": { - "terminate": { - "type": "boolean" - } - } - } - }, - "SetStatus": { - "input": { - "type": "structure", - "required": [ - "pipelineId", - "objectIds", - "status" - ], - "members": { - "pipelineId": {}, - "objectIds": { - "shape": "Sn" - }, - "status": {} - } - } - }, - "SetTaskStatus": { - "input": { - "type": "structure", - "required": [ - "taskId", - "taskStatus" - ], - "members": { - "taskId": {}, - "taskStatus": {}, - "errorId": {}, - "errorMessage": {}, - "errorStackTrace": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "ValidatePipelineDefinition": { - "input": { - "type": "structure", - "required": [ - "pipelineId", - "pipelineObjects" - ], - "members": { - "pipelineId": {}, - "pipelineObjects": { - "shape": "Sq" - }, - "parameterObjects": { - "shape": "S13" - }, - "parameterValues": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "required": [ - "errored" - ], - "members": { - "validationErrors": { - "shape": "S1l" - }, - "validationWarnings": { - "shape": "S1p" - }, - "errored": { - "type": "boolean" - } - } - } - } - }, - "shapes": { - "S3": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "id", - "stringValue" - ], - "members": { - "id": {}, - "stringValue": {} - } - } - }, - "Sa": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "key", - "value" - ], - "members": { - "key": {}, - "value": {} - } - } - }, - "Sn": { - "type": "list", - "member": {} - }, - "Sq": { - "type": "list", - "member": { - "shape": "Sr" - } - }, - "Sr": { - "type": "structure", - "required": [ - "id", - "name", - "fields" - ], - "members": { - "id": {}, - "name": {}, - "fields": { - "shape": "Ss" - } - } - }, - "Ss": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "key" - ], - "members": { - "key": {}, - "stringValue": {}, - "refValue": {} - } - } - }, - "S13": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "id", - "attributes" - ], - "members": { - "id": {}, - "attributes": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "key", - "stringValue" - ], - "members": { - "key": {}, - "stringValue": {} - } - } - } - } - } - }, - "S1l": { - "type": "list", - "member": { - "type": "structure", - "members": { - "id": {}, - "errors": { - "shape": "S1n" - } - } - } - }, - "S1n": { - "type": "list", - "member": {} - }, - "S1p": { - "type": "list", - "member": { - "type": "structure", - "members": { - "id": {}, - "warnings": { - "shape": "S1n" - } - } - } - }, - "S1x": { - "type": "list", - "member": {} - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/datapipeline-2012-10-29.paginators.json b/node_modules/aws-sdk/apis/datapipeline-2012-10-29.paginators.json deleted file mode 100644 index db94193..0000000 --- a/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/node_modules/aws-sdk/apis/devicefarm-2015-06-23.examples.json b/node_modules/aws-sdk/apis/devicefarm-2015-06-23.examples.json deleted file mode 100644 index 3b9063f..0000000 --- a/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:183774035805: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:183774035805: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%3A183774035805%3Aproject%3A5e01a8c7-c861-4c0a-b1d5-12345EXAMPLE/uploads/arn%3Aaws%3Adevicefarm%3Aus-west-2%3A183774035805%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:183774035805:project:7ad300ed-8183-41a7-bf94-12345EXAMPLE", - "created": "1453163262.105" - }, - { - "name": "Hello World", - "arn": "arn:aws:devicefarm:us-west-2:183774035805: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:183774035805:project:8f75187d-101e-4625-accc-12345EXAMPLE" - }, - "output": { - "project": { - "name": "NewName", - "arn": "arn:aws:devicefarm:us-west-2:183774035805: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/node_modules/aws-sdk/apis/devicefarm-2015-06-23.min.json b/node_modules/aws-sdk/apis/devicefarm-2015-06-23.min.json deleted file mode 100644 index 516c178..0000000 --- a/node_modules/aws-sdk/apis/devicefarm-2015-06-23.min.json +++ /dev/null @@ -1,1404 +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" - }, - "operations": { - "CreateDevicePool": { - "input": { - "type": "structure", - "required": [ - "projectArn", - "name", - "rules" - ], - "members": { - "projectArn": {}, - "name": {}, - "description": {}, - "rules": { - "shape": "S5" - } - } - }, - "output": { - "type": "structure", - "members": { - "devicePool": { - "shape": "Sb" - } - } - } - }, - "CreateProject": { - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {} - } - }, - "output": { - "type": "structure", - "members": { - "project": { - "shape": "Sf" - } - } - } - }, - "CreateRemoteAccessSession": { - "input": { - "type": "structure", - "required": [ - "projectArn", - "deviceArn" - ], - "members": { - "projectArn": {}, - "deviceArn": {}, - "name": {}, - "configuration": { - "type": "structure", - "members": { - "billingMethod": {} - } - } - } - }, - "output": { - "type": "structure", - "members": { - "remoteAccessSession": { - "shape": "Sl" - } - } - } - }, - "CreateUpload": { - "input": { - "type": "structure", - "required": [ - "projectArn", - "name", - "type" - ], - "members": { - "projectArn": {}, - "name": {}, - "type": {}, - "contentType": {} - } - }, - "output": { - "type": "structure", - "members": { - "upload": { - "shape": "S12" - } - } - } - }, - "DeleteDevicePool": { - "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": "S1k" - }, - "unmeteredRemoteAccessDevices": { - "shape": "S1k" - } - } - } - } - } - }, - "GetDevice": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "device": { - "shape": "So" - } - } - } - }, - "GetDevicePool": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "devicePool": { - "shape": "Sb" - } - } - } - }, - "GetDevicePoolCompatibility": { - "input": { - "type": "structure", - "required": [ - "devicePoolArn" - ], - "members": { - "devicePoolArn": {}, - "appArn": {}, - "testType": {} - } - }, - "output": { - "type": "structure", - "members": { - "compatibleDevices": { - "shape": "S1s" - }, - "incompatibleDevices": { - "shape": "S1s" - } - } - } - }, - "GetJob": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "job": { - "shape": "S1y" - } - } - } - }, - "GetOfferingStatus": { - "input": { - "type": "structure", - "members": { - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "current": { - "shape": "S23" - }, - "nextPeriod": { - "shape": "S23" - }, - "nextToken": {} - } - } - }, - "GetProject": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "project": { - "shape": "Sf" - } - } - } - }, - "GetRemoteAccessSession": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "remoteAccessSession": { - "shape": "Sl" - } - } - } - }, - "GetRun": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "run": { - "shape": "S2k" - } - } - } - }, - "GetSuite": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "suite": { - "shape": "S2n" - } - } - } - }, - "GetTest": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "test": { - "shape": "S2q" - } - } - } - }, - "GetUpload": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "upload": { - "shape": "S12" - } - } - } - }, - "InstallToRemoteAccessSession": { - "input": { - "type": "structure", - "required": [ - "remoteAccessSessionArn", - "appArn" - ], - "members": { - "remoteAccessSessionArn": {}, - "appArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "appUpload": { - "shape": "S12" - } - } - } - }, - "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": "So" - } - }, - "nextToken": {} - } - } - }, - "ListJobs": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "jobs": { - "type": "list", - "member": { - "shape": "S1y" - } - }, - "nextToken": {} - } - } - }, - "ListOfferingTransactions": { - "input": { - "type": "structure", - "members": { - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "offeringTransactions": { - "type": "list", - "member": { - "shape": "S3d" - } - }, - "nextToken": {} - } - } - }, - "ListOfferings": { - "input": { - "type": "structure", - "members": { - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "offerings": { - "type": "list", - "member": { - "shape": "S27" - } - }, - "nextToken": {} - } - } - }, - "ListProjects": { - "input": { - "type": "structure", - "members": { - "arn": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "projects": { - "type": "list", - "member": { - "shape": "Sf" - } - }, - "nextToken": {} - } - } - }, - "ListRemoteAccessSessions": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "remoteAccessSessions": { - "type": "list", - "member": { - "shape": "Sl" - } - }, - "nextToken": {} - } - } - }, - "ListRuns": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "runs": { - "type": "list", - "member": { - "shape": "S2k" - } - }, - "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": "S2n" - } - }, - "nextToken": {} - } - } - }, - "ListTests": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "tests": { - "type": "list", - "member": { - "shape": "S2q" - } - }, - "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": "S49" - }, - "job": { - "shape": "S49" - }, - "suite": { - "shape": "S49" - }, - "test": { - "shape": "S49" - }, - "device": { - "shape": "So" - }, - "result": {}, - "message": {} - } - } - } - } - } - } - }, - "nextToken": {} - } - } - }, - "ListUploads": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "uploads": { - "type": "list", - "member": { - "shape": "S12" - } - }, - "nextToken": {} - } - } - }, - "PurchaseOffering": { - "input": { - "type": "structure", - "members": { - "offeringId": {}, - "quantity": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "offeringTransaction": { - "shape": "S3d" - } - } - } - }, - "RenewOffering": { - "input": { - "type": "structure", - "members": { - "offeringId": {}, - "quantity": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "offeringTransaction": { - "shape": "S3d" - } - } - } - }, - "ScheduleRun": { - "input": { - "type": "structure", - "required": [ - "projectArn", - "devicePoolArn", - "test" - ], - "members": { - "projectArn": {}, - "appArn": {}, - "devicePoolArn": {}, - "name": {}, - "test": { - "type": "structure", - "required": [ - "type" - ], - "members": { - "type": {}, - "testPackageArn": {}, - "filter": {}, - "parameters": { - "type": "map", - "key": {}, - "value": {} - } - } - }, - "configuration": { - "type": "structure", - "members": { - "extraDataPackageArn": {}, - "networkProfileArn": {}, - "locale": {}, - "location": { - "type": "structure", - "required": [ - "latitude", - "longitude" - ], - "members": { - "latitude": { - "type": "double" - }, - "longitude": { - "type": "double" - } - } - }, - "radios": { - "type": "structure", - "members": { - "wifi": { - "type": "boolean" - }, - "bluetooth": { - "type": "boolean" - }, - "nfc": { - "type": "boolean" - }, - "gps": { - "type": "boolean" - } - } - }, - "auxiliaryApps": { - "type": "list", - "member": {} - }, - "billingMethod": {} - } - } - } - }, - "output": { - "type": "structure", - "members": { - "run": { - "shape": "S2k" - } - } - } - }, - "StopRemoteAccessSession": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "remoteAccessSession": { - "shape": "Sl" - } - } - } - }, - "StopRun": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "run": { - "shape": "S2k" - } - } - } - }, - "UpdateDevicePool": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "name": {}, - "description": {}, - "rules": { - "shape": "S5" - } - } - }, - "output": { - "type": "structure", - "members": { - "devicePool": { - "shape": "Sb" - } - } - } - }, - "UpdateProject": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "name": {} - } - }, - "output": { - "type": "structure", - "members": { - "project": { - "shape": "Sf" - } - } - } - } - }, - "shapes": { - "S5": { - "type": "list", - "member": { - "type": "structure", - "members": { - "attribute": {}, - "operator": {}, - "value": {} - } - } - }, - "Sb": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "description": {}, - "type": {}, - "rules": { - "shape": "S5" - } - } - }, - "Sf": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "created": { - "type": "timestamp" - } - } - }, - "Sl": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "created": { - "type": "timestamp" - }, - "status": {}, - "result": {}, - "message": {}, - "started": { - "type": "timestamp" - }, - "stopped": { - "type": "timestamp" - }, - "device": { - "shape": "So" - }, - "billingMethod": {}, - "deviceMinutes": { - "shape": "Sx" - }, - "endpoint": {} - } - }, - "So": { - "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": {} - } - }, - "Sx": { - "type": "structure", - "members": { - "total": { - "type": "double" - }, - "metered": { - "type": "double" - }, - "unmetered": { - "type": "double" - } - } - }, - "S12": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "created": { - "type": "timestamp" - }, - "type": {}, - "status": {}, - "url": {}, - "metadata": {}, - "contentType": {}, - "message": {} - } - }, - "S1k": { - "type": "map", - "key": {}, - "value": { - "type": "integer" - } - }, - "S1s": { - "type": "list", - "member": { - "type": "structure", - "members": { - "device": { - "shape": "So" - }, - "compatible": { - "type": "boolean" - }, - "incompatibilityMessages": { - "type": "list", - "member": { - "type": "structure", - "members": { - "message": {}, - "type": {} - } - } - } - } - } - }, - "S1y": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "type": {}, - "created": { - "type": "timestamp" - }, - "status": {}, - "result": {}, - "started": { - "type": "timestamp" - }, - "stopped": { - "type": "timestamp" - }, - "counters": { - "shape": "S1z" - }, - "message": {}, - "device": { - "shape": "So" - }, - "deviceMinutes": { - "shape": "Sx" - } - } - }, - "S1z": { - "type": "structure", - "members": { - "total": { - "type": "integer" - }, - "passed": { - "type": "integer" - }, - "failed": { - "type": "integer" - }, - "warned": { - "type": "integer" - }, - "errored": { - "type": "integer" - }, - "stopped": { - "type": "integer" - }, - "skipped": { - "type": "integer" - } - } - }, - "S23": { - "type": "map", - "key": {}, - "value": { - "shape": "S25" - } - }, - "S25": { - "type": "structure", - "members": { - "type": {}, - "offering": { - "shape": "S27" - }, - "quantity": { - "type": "integer" - }, - "effectiveOn": { - "type": "timestamp" - } - } - }, - "S27": { - "type": "structure", - "members": { - "id": {}, - "description": {}, - "type": {}, - "platform": {}, - "recurringCharges": { - "type": "list", - "member": { - "type": "structure", - "members": { - "cost": { - "shape": "S2b" - }, - "frequency": {} - } - } - } - } - }, - "S2b": { - "type": "structure", - "members": { - "amount": { - "type": "double" - }, - "currencyCode": {} - } - }, - "S2k": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "type": {}, - "platform": {}, - "created": { - "type": "timestamp" - }, - "status": {}, - "result": {}, - "started": { - "type": "timestamp" - }, - "stopped": { - "type": "timestamp" - }, - "counters": { - "shape": "S1z" - }, - "message": {}, - "totalJobs": { - "type": "integer" - }, - "completedJobs": { - "type": "integer" - }, - "billingMethod": {}, - "deviceMinutes": { - "shape": "Sx" - } - } - }, - "S2n": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "type": {}, - "created": { - "type": "timestamp" - }, - "status": {}, - "result": {}, - "started": { - "type": "timestamp" - }, - "stopped": { - "type": "timestamp" - }, - "counters": { - "shape": "S1z" - }, - "message": {}, - "deviceMinutes": { - "shape": "Sx" - } - } - }, - "S2q": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "type": {}, - "created": { - "type": "timestamp" - }, - "status": {}, - "result": {}, - "started": { - "type": "timestamp" - }, - "stopped": { - "type": "timestamp" - }, - "counters": { - "shape": "S1z" - }, - "message": {}, - "deviceMinutes": { - "shape": "Sx" - } - } - }, - "S3d": { - "type": "structure", - "members": { - "offeringStatus": { - "shape": "S25" - }, - "transactionId": {}, - "createdOn": { - "type": "timestamp" - }, - "cost": { - "shape": "S2b" - } - } - }, - "S49": { - "type": "structure", - "members": { - "arn": {}, - "name": {} - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/devicefarm-2015-06-23.paginators.json b/node_modules/aws-sdk/apis/devicefarm-2015-06-23.paginators.json deleted file mode 100644 index ce5f8d7..0000000 --- a/node_modules/aws-sdk/apis/devicefarm-2015-06-23.paginators.json +++ /dev/null @@ -1,74 +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" - } - } -} diff --git a/node_modules/aws-sdk/apis/directconnect-2012-10-25.min.json b/node_modules/aws-sdk/apis/directconnect-2012-10-25.min.json deleted file mode 100644 index 0cdffec..0000000 --- a/node_modules/aws-sdk/apis/directconnect-2012-10-25.min.json +++ /dev/null @@ -1,563 +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" - }, - "operations": { - "AllocateConnectionOnInterconnect": { - "input": { - "type": "structure", - "required": [ - "bandwidth", - "connectionName", - "ownerAccount", - "interconnectId", - "vlan" - ], - "members": { - "bandwidth": {}, - "connectionName": {}, - "ownerAccount": {}, - "interconnectId": {}, - "vlan": { - "type": "integer" - } - } - }, - "output": { - "shape": "S7" - } - }, - "AllocatePrivateVirtualInterface": { - "input": { - "type": "structure", - "required": [ - "connectionId", - "ownerAccount", - "newPrivateVirtualInterfaceAllocation" - ], - "members": { - "connectionId": {}, - "ownerAccount": {}, - "newPrivateVirtualInterfaceAllocation": { - "type": "structure", - "required": [ - "virtualInterfaceName", - "vlan", - "asn" - ], - "members": { - "virtualInterfaceName": {}, - "vlan": { - "type": "integer" - }, - "asn": { - "type": "integer" - }, - "authKey": {}, - "amazonAddress": {}, - "customerAddress": {} - } - } - } - }, - "output": { - "shape": "Sl" - } - }, - "AllocatePublicVirtualInterface": { - "input": { - "type": "structure", - "required": [ - "connectionId", - "ownerAccount", - "newPublicVirtualInterfaceAllocation" - ], - "members": { - "connectionId": {}, - "ownerAccount": {}, - "newPublicVirtualInterfaceAllocation": { - "type": "structure", - "required": [ - "virtualInterfaceName", - "vlan", - "asn", - "amazonAddress", - "customerAddress", - "routeFilterPrefixes" - ], - "members": { - "virtualInterfaceName": {}, - "vlan": { - "type": "integer" - }, - "asn": { - "type": "integer" - }, - "authKey": {}, - "amazonAddress": {}, - "customerAddress": {}, - "routeFilterPrefixes": { - "shape": "Sr" - } - } - } - } - }, - "output": { - "shape": "Sl" - } - }, - "ConfirmConnection": { - "input": { - "type": "structure", - "required": [ - "connectionId" - ], - "members": { - "connectionId": {} - } - }, - "output": { - "type": "structure", - "members": { - "connectionState": {} - } - } - }, - "ConfirmPrivateVirtualInterface": { - "input": { - "type": "structure", - "required": [ - "virtualInterfaceId", - "virtualGatewayId" - ], - "members": { - "virtualInterfaceId": {}, - "virtualGatewayId": {} - } - }, - "output": { - "type": "structure", - "members": { - "virtualInterfaceState": {} - } - } - }, - "ConfirmPublicVirtualInterface": { - "input": { - "type": "structure", - "required": [ - "virtualInterfaceId" - ], - "members": { - "virtualInterfaceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "virtualInterfaceState": {} - } - } - }, - "CreateConnection": { - "input": { - "type": "structure", - "required": [ - "location", - "bandwidth", - "connectionName" - ], - "members": { - "location": {}, - "bandwidth": {}, - "connectionName": {} - } - }, - "output": { - "shape": "S7" - } - }, - "CreateInterconnect": { - "input": { - "type": "structure", - "required": [ - "interconnectName", - "bandwidth", - "location" - ], - "members": { - "interconnectName": {}, - "bandwidth": {}, - "location": {} - } - }, - "output": { - "shape": "S15" - } - }, - "CreatePrivateVirtualInterface": { - "input": { - "type": "structure", - "required": [ - "connectionId", - "newPrivateVirtualInterface" - ], - "members": { - "connectionId": {}, - "newPrivateVirtualInterface": { - "type": "structure", - "required": [ - "virtualInterfaceName", - "vlan", - "asn", - "virtualGatewayId" - ], - "members": { - "virtualInterfaceName": {}, - "vlan": { - "type": "integer" - }, - "asn": { - "type": "integer" - }, - "authKey": {}, - "amazonAddress": {}, - "customerAddress": {}, - "virtualGatewayId": {} - } - } - } - }, - "output": { - "shape": "Sl" - } - }, - "CreatePublicVirtualInterface": { - "input": { - "type": "structure", - "required": [ - "connectionId", - "newPublicVirtualInterface" - ], - "members": { - "connectionId": {}, - "newPublicVirtualInterface": { - "type": "structure", - "required": [ - "virtualInterfaceName", - "vlan", - "asn", - "amazonAddress", - "customerAddress", - "routeFilterPrefixes" - ], - "members": { - "virtualInterfaceName": {}, - "vlan": { - "type": "integer" - }, - "asn": { - "type": "integer" - }, - "authKey": {}, - "amazonAddress": {}, - "customerAddress": {}, - "routeFilterPrefixes": { - "shape": "Sr" - } - } - } - } - }, - "output": { - "shape": "Sl" - } - }, - "DeleteConnection": { - "input": { - "type": "structure", - "required": [ - "connectionId" - ], - "members": { - "connectionId": {} - } - }, - "output": { - "shape": "S7" - } - }, - "DeleteInterconnect": { - "input": { - "type": "structure", - "required": [ - "interconnectId" - ], - "members": { - "interconnectId": {} - } - }, - "output": { - "type": "structure", - "members": { - "interconnectState": {} - } - } - }, - "DeleteVirtualInterface": { - "input": { - "type": "structure", - "required": [ - "virtualInterfaceId" - ], - "members": { - "virtualInterfaceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "virtualInterfaceState": {} - } - } - }, - "DescribeConnectionLoa": { - "input": { - "type": "structure", - "required": [ - "connectionId" - ], - "members": { - "connectionId": {}, - "providerName": {}, - "loaContentType": {} - } - }, - "output": { - "type": "structure", - "members": { - "loa": { - "shape": "S1k" - } - } - } - }, - "DescribeConnections": { - "input": { - "type": "structure", - "members": { - "connectionId": {} - } - }, - "output": { - "shape": "S1n" - } - }, - "DescribeConnectionsOnInterconnect": { - "input": { - "type": "structure", - "required": [ - "interconnectId" - ], - "members": { - "interconnectId": {} - } - }, - "output": { - "shape": "S1n" - } - }, - "DescribeInterconnectLoa": { - "input": { - "type": "structure", - "required": [ - "interconnectId" - ], - "members": { - "interconnectId": {}, - "providerName": {}, - "loaContentType": {} - } - }, - "output": { - "type": "structure", - "members": { - "loa": { - "shape": "S1k" - } - } - } - }, - "DescribeInterconnects": { - "input": { - "type": "structure", - "members": { - "interconnectId": {} - } - }, - "output": { - "type": "structure", - "members": { - "interconnects": { - "type": "list", - "member": { - "shape": "S15" - } - } - } - } - }, - "DescribeLocations": { - "output": { - "type": "structure", - "members": { - "locations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "locationCode": {}, - "locationName": {} - } - } - } - } - } - }, - "DescribeVirtualGateways": { - "output": { - "type": "structure", - "members": { - "virtualGateways": { - "type": "list", - "member": { - "type": "structure", - "members": { - "virtualGatewayId": {}, - "virtualGatewayState": {} - } - } - } - } - } - }, - "DescribeVirtualInterfaces": { - "input": { - "type": "structure", - "members": { - "connectionId": {}, - "virtualInterfaceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "virtualInterfaces": { - "type": "list", - "member": { - "shape": "Sl" - } - } - } - } - } - }, - "shapes": { - "S7": { - "type": "structure", - "members": { - "ownerAccount": {}, - "connectionId": {}, - "connectionName": {}, - "connectionState": {}, - "region": {}, - "location": {}, - "bandwidth": {}, - "vlan": { - "type": "integer" - }, - "partnerName": {}, - "loaIssueTime": { - "type": "timestamp" - } - } - }, - "Sl": { - "type": "structure", - "members": { - "ownerAccount": {}, - "virtualInterfaceId": {}, - "location": {}, - "connectionId": {}, - "virtualInterfaceType": {}, - "virtualInterfaceName": {}, - "vlan": { - "type": "integer" - }, - "asn": { - "type": "integer" - }, - "authKey": {}, - "amazonAddress": {}, - "customerAddress": {}, - "virtualInterfaceState": {}, - "customerRouterConfig": {}, - "virtualGatewayId": {}, - "routeFilterPrefixes": { - "shape": "Sr" - } - } - }, - "Sr": { - "type": "list", - "member": { - "type": "structure", - "members": { - "cidr": {} - } - } - }, - "S15": { - "type": "structure", - "members": { - "interconnectId": {}, - "interconnectName": {}, - "interconnectState": {}, - "region": {}, - "location": {}, - "bandwidth": {}, - "loaIssueTime": { - "type": "timestamp" - } - } - }, - "S1k": { - "type": "structure", - "members": { - "loaContent": { - "type": "blob" - }, - "loaContentType": {} - } - }, - "S1n": { - "type": "structure", - "members": { - "connections": { - "type": "list", - "member": { - "shape": "S7" - } - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/directconnect-2012-10-25.paginators.json b/node_modules/aws-sdk/apis/directconnect-2012-10-25.paginators.json deleted file mode 100644 index cc93bed..0000000 --- a/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" - } - } -} diff --git a/node_modules/aws-sdk/apis/discovery-2015-11-01.min.json b/node_modules/aws-sdk/apis/discovery-2015-11-01.min.json deleted file mode 100644 index 6b05842..0000000 --- a/node_modules/aws-sdk/apis/discovery-2015-11-01.min.json +++ /dev/null @@ -1,356 +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" - }, - "operations": { - "CreateTags": { - "input": { - "type": "structure", - "required": [ - "configurationIds", - "tags" - ], - "members": { - "configurationIds": { - "shape": "S2" - }, - "tags": { - "shape": "S4" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteTags": { - "input": { - "type": "structure", - "required": [ - "configurationIds" - ], - "members": { - "configurationIds": { - "shape": "S2" - }, - "tags": { - "shape": "S4" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DescribeAgents": { - "input": { - "type": "structure", - "members": { - "agentIds": { - "shape": "Sc" - }, - "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": {} - } - } - }, - "nextToken": {} - } - } - }, - "DescribeConfigurations": { - "input": { - "type": "structure", - "required": [ - "configurationIds" - ], - "members": { - "configurationIds": { - "shape": "S2" - } - } - }, - "output": { - "type": "structure", - "members": { - "configurations": { - "type": "list", - "member": { - "type": "map", - "key": {}, - "value": {} - } - } - } - } - }, - "DescribeExportConfigurations": { - "input": { - "type": "structure", - "members": { - "exportIds": { - "type": "list", - "member": {} - }, - "maxResults": { - "type": "integer" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "exportsInfo": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "exportId", - "exportStatus", - "statusMessage", - "exportRequestTime" - ], - "members": { - "exportId": {}, - "exportStatus": {}, - "statusMessage": {}, - "configurationsDownloadUrl": {}, - "exportRequestTime": { - "type": "timestamp" - } - } - } - }, - "nextToken": {} - } - } - }, - "DescribeTags": { - "input": { - "type": "structure", - "members": { - "filters": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "name", - "values" - ], - "members": { - "name": {}, - "values": { - "shape": "S15" - } - } - } - }, - "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": {} - } - } - }, - "ExportConfigurations": { - "output": { - "type": "structure", - "members": { - "exportId": {} - } - } - }, - "ListConfigurations": { - "input": { - "type": "structure", - "required": [ - "configurationType" - ], - "members": { - "configurationType": {}, - "filters": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "name", - "values", - "condition" - ], - "members": { - "name": {}, - "values": { - "shape": "S15" - }, - "condition": {} - } - } - }, - "maxResults": { - "type": "integer" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "configurations": { - "type": "list", - "member": { - "type": "map", - "key": {}, - "value": {} - } - }, - "nextToken": {} - } - } - }, - "StartDataCollectionByAgentIds": { - "input": { - "type": "structure", - "required": [ - "agentIds" - ], - "members": { - "agentIds": { - "shape": "Sc" - } - } - }, - "output": { - "type": "structure", - "members": { - "agentsConfigurationStatus": { - "shape": "S1m" - } - } - } - }, - "StopDataCollectionByAgentIds": { - "input": { - "type": "structure", - "required": [ - "agentIds" - ], - "members": { - "agentIds": { - "shape": "Sc" - } - } - }, - "output": { - "type": "structure", - "members": { - "agentsConfigurationStatus": { - "shape": "S1m" - } - } - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": {} - }, - "S4": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "required": [ - "key", - "value" - ], - "members": { - "key": {}, - "value": {} - } - } - }, - "Sc": { - "type": "list", - "member": {} - }, - "S15": { - "type": "list", - "member": { - "locationName": "item" - } - }, - "S1m": { - "type": "list", - "member": { - "type": "structure", - "members": { - "agentId": {}, - "operationSucceeded": { - "type": "boolean" - }, - "description": {} - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/dms-2016-01-01.min.json b/node_modules/aws-sdk/apis/dms-2016-01-01.min.json deleted file mode 100644 index d762664..0000000 --- a/node_modules/aws-sdk/apis/dms-2016-01-01.min.json +++ /dev/null @@ -1,1130 +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" - }, - "operations": { - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceArn", - "Tags" - ], - "members": { - "ResourceArn": {}, - "Tags": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateEndpoint": { - "input": { - "type": "structure", - "required": [ - "EndpointIdentifier", - "EndpointType", - "EngineName", - "Username", - "Password", - "ServerName", - "Port" - ], - "members": { - "EndpointIdentifier": {}, - "EndpointType": {}, - "EngineName": {}, - "Username": {}, - "Password": { - "shape": "S8" - }, - "ServerName": {}, - "Port": { - "type": "integer" - }, - "DatabaseName": {}, - "ExtraConnectionAttributes": {}, - "KmsKeyId": {}, - "Tags": { - "shape": "S3" - }, - "CertificateArn": {}, - "SslMode": {} - } - }, - "output": { - "type": "structure", - "members": { - "Endpoint": { - "shape": "Sc" - } - } - } - }, - "CreateReplicationInstance": { - "input": { - "type": "structure", - "required": [ - "ReplicationInstanceIdentifier", - "ReplicationInstanceClass" - ], - "members": { - "ReplicationInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "ReplicationInstanceClass": {}, - "VpcSecurityGroupIds": { - "shape": "Se" - }, - "AvailabilityZone": {}, - "ReplicationSubnetGroupIdentifier": {}, - "PreferredMaintenanceWindow": {}, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Tags": { - "shape": "S3" - }, - "KmsKeyId": {}, - "PubliclyAccessible": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationInstance": { - "shape": "Sh" - } - } - } - }, - "CreateReplicationSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "ReplicationSubnetGroupIdentifier", - "ReplicationSubnetGroupDescription", - "SubnetIds" - ], - "members": { - "ReplicationSubnetGroupIdentifier": {}, - "ReplicationSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "Sv" - }, - "Tags": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationSubnetGroup": { - "shape": "Sm" - } - } - } - }, - "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": "S10" - } - } - } - }, - "DeleteCertificate": { - "input": { - "type": "structure", - "required": [ - "CertificateArn" - ], - "members": { - "CertificateArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "Certificate": { - "shape": "S15" - } - } - } - }, - "DeleteEndpoint": { - "input": { - "type": "structure", - "required": [ - "EndpointArn" - ], - "members": { - "EndpointArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "Endpoint": { - "shape": "Sc" - } - } - } - }, - "DeleteReplicationInstance": { - "input": { - "type": "structure", - "required": [ - "ReplicationInstanceArn" - ], - "members": { - "ReplicationInstanceArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationInstance": { - "shape": "Sh" - } - } - } - }, - "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": "S10" - } - } - } - }, - "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": "S1j" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "Certificates": { - "type": "list", - "member": { - "shape": "S15", - "locationName": "Certificate" - } - } - } - } - }, - "DescribeConnections": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S1j" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "Connections": { - "type": "list", - "member": { - "shape": "S1r", - "locationName": "Connection" - } - } - } - } - }, - "DescribeEndpointTypes": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S1j" - }, - "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": "S1j" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "Endpoints": { - "type": "list", - "member": { - "shape": "Sc", - "locationName": "Endpoint" - } - } - } - } - }, - "DescribeOrderableReplicationInstances": { - "input": { - "type": "structure", - "members": { - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "OrderableReplicationInstances": { - "type": "list", - "member": { - "locationName": "OrderableReplicationInstance", - "type": "structure", - "members": { - "EngineVersion": {}, - "ReplicationInstanceClass": {}, - "StorageType": {}, - "MinAllocatedStorage": { - "type": "integer" - }, - "MaxAllocatedStorage": { - "type": "integer" - }, - "DefaultAllocatedStorage": { - "type": "integer" - }, - "IncludedAllocatedStorage": { - "type": "integer" - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeRefreshSchemasStatus": { - "input": { - "type": "structure", - "required": [ - "EndpointArn" - ], - "members": { - "EndpointArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "RefreshSchemasStatus": { - "shape": "S25" - } - } - } - }, - "DescribeReplicationInstances": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S1j" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "ReplicationInstances": { - "type": "list", - "member": { - "shape": "Sh", - "locationName": "ReplicationInstance" - } - } - } - } - }, - "DescribeReplicationSubnetGroups": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S1j" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "ReplicationSubnetGroups": { - "type": "list", - "member": { - "shape": "Sm", - "locationName": "ReplicationSubnetGroup" - } - } - } - } - }, - "DescribeReplicationTasks": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S1j" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "ReplicationTasks": { - "type": "list", - "member": { - "shape": "S10", - "locationName": "ReplicationTask" - } - } - } - } - }, - "DescribeSchemas": { - "input": { - "type": "structure", - "required": [ - "EndpointArn" - ], - "members": { - "EndpointArn": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "Schemas": { - "type": "list", - "member": {} - } - } - } - }, - "DescribeTableStatistics": { - "input": { - "type": "structure", - "required": [ - "ReplicationTaskArn" - ], - "members": { - "ReplicationTaskArn": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationTaskArn": {}, - "TableStatistics": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SchemaName": {}, - "TableName": {}, - "Inserts": { - "type": "long" - }, - "Deletes": { - "type": "long" - }, - "Updates": { - "type": "long" - }, - "Ddls": { - "type": "long" - }, - "FullLoadRows": { - "type": "long" - }, - "LastUpdateTime": { - "type": "timestamp" - }, - "TableState": {} - } - } - }, - "Marker": {} - } - } - }, - "ImportCertificate": { - "input": { - "type": "structure", - "required": [ - "CertificateIdentifier" - ], - "members": { - "CertificateIdentifier": {}, - "CertificatePem": {} - } - }, - "output": { - "type": "structure", - "members": { - "Certificate": { - "shape": "S15" - } - } - } - }, - "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": {} - } - }, - "output": { - "type": "structure", - "members": { - "Endpoint": { - "shape": "Sc" - } - } - } - }, - "ModifyReplicationInstance": { - "input": { - "type": "structure", - "required": [ - "ReplicationInstanceArn" - ], - "members": { - "ReplicationInstanceArn": {}, - "AllocatedStorage": { - "type": "integer" - }, - "ApplyImmediately": { - "type": "boolean" - }, - "ReplicationInstanceClass": {}, - "VpcSecurityGroupIds": { - "shape": "Se" - }, - "PreferredMaintenanceWindow": {}, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "ReplicationInstanceIdentifier": {} - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationInstance": { - "shape": "Sh" - } - } - } - }, - "ModifyReplicationSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "ReplicationSubnetGroupIdentifier", - "SubnetIds" - ], - "members": { - "ReplicationSubnetGroupIdentifier": {}, - "ReplicationSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationSubnetGroup": { - "shape": "Sm" - } - } - } - }, - "RefreshSchemas": { - "input": { - "type": "structure", - "required": [ - "EndpointArn", - "ReplicationInstanceArn" - ], - "members": { - "EndpointArn": {}, - "ReplicationInstanceArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "RefreshSchemasStatus": { - "shape": "S25" - } - } - } - }, - "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": "S10" - } - } - } - }, - "StopReplicationTask": { - "input": { - "type": "structure", - "required": [ - "ReplicationTaskArn" - ], - "members": { - "ReplicationTaskArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationTask": { - "shape": "S10" - } - } - } - }, - "TestConnection": { - "input": { - "type": "structure", - "required": [ - "ReplicationInstanceArn", - "EndpointArn" - ], - "members": { - "ReplicationInstanceArn": {}, - "EndpointArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "Connection": { - "shape": "S1r" - } - } - } - } - }, - "shapes": { - "S3": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S8": { - "type": "string", - "sensitive": true - }, - "Sc": { - "type": "structure", - "members": { - "EndpointIdentifier": {}, - "EndpointType": {}, - "EngineName": {}, - "Username": {}, - "ServerName": {}, - "Port": { - "type": "integer" - }, - "DatabaseName": {}, - "ExtraConnectionAttributes": {}, - "Status": {}, - "KmsKeyId": {}, - "EndpointArn": {}, - "CertificateArn": {}, - "SslMode": {} - } - }, - "Se": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupId" - } - }, - "Sh": { - "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": "Sm" - }, - "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" - } - } - }, - "Sm": { - "type": "structure", - "members": { - "ReplicationSubnetGroupIdentifier": {}, - "ReplicationSubnetGroupDescription": {}, - "VpcId": {}, - "SubnetGroupStatus": {}, - "Subnets": { - "type": "list", - "member": { - "locationName": "Subnet", - "type": "structure", - "members": { - "SubnetIdentifier": {}, - "SubnetAvailabilityZone": { - "type": "structure", - "members": { - "Name": {} - } - }, - "SubnetStatus": {} - } - } - } - } - }, - "Sv": { - "type": "list", - "member": { - "locationName": "SubnetIdentifier" - } - }, - "S10": { - "type": "structure", - "members": { - "ReplicationTaskIdentifier": {}, - "SourceEndpointArn": {}, - "TargetEndpointArn": {}, - "ReplicationInstanceArn": {}, - "MigrationType": {}, - "TableMappings": {}, - "ReplicationTaskSettings": {}, - "Status": {}, - "LastFailureMessage": {}, - "ReplicationTaskCreationDate": { - "type": "timestamp" - }, - "ReplicationTaskStartDate": { - "type": "timestamp" - }, - "ReplicationTaskArn": {}, - "ReplicationTaskStats": { - "type": "structure", - "members": { - "FullLoadProgressPercent": { - "type": "integer" - }, - "ElapsedTimeMillis": { - "type": "long" - }, - "TablesLoaded": { - "type": "integer" - }, - "TablesLoading": { - "type": "integer" - }, - "TablesQueued": { - "type": "integer" - }, - "TablesErrored": { - "type": "integer" - } - } - } - } - }, - "S15": { - "type": "structure", - "members": { - "CertificateIdentifier": {}, - "CertificateCreationDate": { - "type": "timestamp" - }, - "CertificatePem": {}, - "CertificateArn": {}, - "CertificateOwner": {}, - "ValidFromDate": { - "type": "timestamp" - }, - "ValidToDate": { - "type": "timestamp" - }, - "SigningAlgorithm": {}, - "KeyLength": { - "type": "integer" - } - } - }, - "S1j": { - "type": "list", - "member": { - "locationName": "Filter", - "type": "structure", - "required": [ - "Name", - "Values" - ], - "members": { - "Name": {}, - "Values": { - "type": "list", - "member": { - "locationName": "Value" - } - } - } - } - }, - "S1r": { - "type": "structure", - "members": { - "ReplicationInstanceArn": {}, - "EndpointArn": {}, - "Status": {}, - "LastFailureMessage": {}, - "EndpointIdentifier": {}, - "ReplicationInstanceIdentifier": {} - } - }, - "S25": { - "type": "structure", - "members": { - "EndpointArn": {}, - "ReplicationInstanceArn": {}, - "Status": {}, - "LastRefreshDate": { - "type": "timestamp" - }, - "LastFailureMessage": {} - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/ds-2015-04-16.min.json b/node_modules/aws-sdk/apis/ds-2015-04-16.min.json deleted file mode 100644 index b4e71b2..0000000 --- a/node_modules/aws-sdk/apis/ds-2015-04-16.min.json +++ /dev/null @@ -1,1033 +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" - }, - "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": {} - } - }, - "ConnectDirectory": { - "input": { - "type": "structure", - "required": [ - "Name", - "Password", - "Size", - "ConnectSettings" - ], - "members": { - "Name": {}, - "ShortName": {}, - "Password": { - "shape": "Sj" - }, - "Description": {}, - "Size": {}, - "ConnectSettings": { - "type": "structure", - "required": [ - "VpcId", - "SubnetIds", - "CustomerDnsIps", - "CustomerUserName" - ], - "members": { - "VpcId": {}, - "SubnetIds": { - "shape": "Sn" - }, - "CustomerDnsIps": { - "shape": "Sp" - }, - "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": "S10" - } - } - }, - "output": { - "type": "structure", - "members": { - "Computer": { - "type": "structure", - "members": { - "ComputerId": {}, - "ComputerName": {}, - "ComputerAttributes": { - "shape": "S10" - } - } - } - } - } - }, - "CreateConditionalForwarder": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "RemoteDomainName", - "DnsIpAddrs" - ], - "members": { - "DirectoryId": {}, - "RemoteDomainName": {}, - "DnsIpAddrs": { - "shape": "Sp" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateDirectory": { - "input": { - "type": "structure", - "required": [ - "Name", - "Password", - "Size" - ], - "members": { - "Name": {}, - "ShortName": {}, - "Password": { - "shape": "S1b" - }, - "Description": {}, - "Size": {}, - "VpcSettings": { - "shape": "S1c" - } - } - }, - "output": { - "type": "structure", - "members": { - "DirectoryId": {} - } - } - }, - "CreateMicrosoftAD": { - "input": { - "type": "structure", - "required": [ - "Name", - "Password", - "VpcSettings" - ], - "members": { - "Name": {}, - "ShortName": {}, - "Password": { - "shape": "S1b" - }, - "Description": {}, - "VpcSettings": { - "shape": "S1c" - } - } - }, - "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": "Sp" - } - } - }, - "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": "Sp" - }, - "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": "Sp" - }, - "Stage": {}, - "LaunchTime": { - "type": "timestamp" - }, - "StageLastUpdatedDateTime": { - "type": "timestamp" - }, - "Type": {}, - "VpcSettings": { - "type": "structure", - "members": { - "VpcId": {}, - "SubnetIds": { - "shape": "Sn" - }, - "SecurityGroupId": {}, - "AvailabilityZones": { - "shape": "S2m" - } - } - }, - "ConnectSettings": { - "type": "structure", - "members": { - "VpcId": {}, - "SubnetIds": { - "shape": "Sn" - }, - "CustomerUserName": {}, - "SecurityGroupId": {}, - "AvailabilityZones": { - "shape": "S2m" - }, - "ConnectIps": { - "type": "list", - "member": {} - } - } - }, - "RadiusSettings": { - "shape": "S2q" - }, - "RadiusStatus": {}, - "StageReason": {}, - "SsoEnabled": { - "type": "boolean" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeEventTopics": { - "input": { - "type": "structure", - "members": { - "DirectoryId": {}, - "TopicNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "EventTopics": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DirectoryId": {}, - "TopicName": {}, - "TopicArn": {}, - "CreatedDateTime": { - "type": "timestamp" - }, - "Status": {} - } - } - } - } - } - }, - "DescribeSnapshots": { - "input": { - "type": "structure", - "members": { - "DirectoryId": {}, - "SnapshotIds": { - "type": "list", - "member": {} - }, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Snapshots": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DirectoryId": {}, - "SnapshotId": {}, - "Type": {}, - "Name": {}, - "Status": {}, - "StartTime": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeTrusts": { - "input": { - "type": "structure", - "members": { - "DirectoryId": {}, - "TrustIds": { - "type": "list", - "member": {} - }, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Trusts": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DirectoryId": {}, - "TrustId": {}, - "RemoteDomainName": {}, - "TrustType": {}, - "TrustDirection": {}, - "TrustState": {}, - "CreatedDateTime": { - "type": "timestamp" - }, - "LastUpdatedDateTime": { - "type": "timestamp" - }, - "StateLastUpdatedDateTime": { - "type": "timestamp" - }, - "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": "Sj" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "EnableRadius": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "RadiusSettings" - ], - "members": { - "DirectoryId": {}, - "RadiusSettings": { - "shape": "S2q" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "EnableSso": { - "input": { - "type": "structure", - "required": [ - "DirectoryId" - ], - "members": { - "DirectoryId": {}, - "UserName": {}, - "Password": { - "shape": "Sj" - } - } - }, - "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": {} - } - } - }, - "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": {} - } - }, - "UpdateConditionalForwarder": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "RemoteDomainName", - "DnsIpAddrs" - ], - "members": { - "DirectoryId": {}, - "RemoteDomainName": {}, - "DnsIpAddrs": { - "shape": "Sp" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateRadius": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "RadiusSettings" - ], - "members": { - "DirectoryId": {}, - "RadiusSettings": { - "shape": "S2q" - } - } - }, - "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": {} - } - } - }, - "Sj": { - "type": "string", - "sensitive": true - }, - "Sn": { - "type": "list", - "member": {} - }, - "Sp": { - "type": "list", - "member": {} - }, - "S10": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Value": {} - } - } - }, - "S1b": { - "type": "string", - "sensitive": true - }, - "S1c": { - "type": "structure", - "required": [ - "VpcId", - "SubnetIds" - ], - "members": { - "VpcId": {}, - "SubnetIds": { - "shape": "Sn" - } - } - }, - "S2m": { - "type": "list", - "member": {} - }, - "S2q": { - "type": "structure", - "members": { - "RadiusServers": { - "type": "list", - "member": {} - }, - "RadiusPort": { - "type": "integer" - }, - "RadiusTimeout": { - "type": "integer" - }, - "RadiusRetries": { - "type": "integer" - }, - "SharedSecret": { - "type": "string", - "sensitive": true - }, - "AuthenticationProtocol": {}, - "DisplayLabel": {}, - "UseSameUsername": { - "type": "boolean" - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/dynamodb-2011-12-05.min.json b/node_modules/aws-sdk/apis/dynamodb-2011-12-05.min.json deleted file mode 100644 index 022146d..0000000 --- a/node_modules/aws-sdk/apis/dynamodb-2011-12-05.min.json +++ /dev/null @@ -1,663 +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" - }, - "operations": { - "BatchGetItem": { - "input": { - "type": "structure", - "required": [ - "RequestItems" - ], - "members": { - "RequestItems": { - "shape": "S2" - } - } - }, - "output": { - "type": "structure", - "members": { - "Responses": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "Items": { - "shape": "Sk" - }, - "ConsumedCapacityUnits": { - "type": "double" - } - } - } - }, - "UnprocessedKeys": { - "shape": "S2" - } - } - } - }, - "BatchWriteItem": { - "input": { - "type": "structure", - "required": [ - "RequestItems" - ], - "members": { - "RequestItems": { - "shape": "So" - } - } - }, - "output": { - "type": "structure", - "members": { - "Responses": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "ConsumedCapacityUnits": { - "type": "double" - } - } - } - }, - "UnprocessedItems": { - "shape": "So" - } - } - } - }, - "CreateTable": { - "input": { - "type": "structure", - "required": [ - "TableName", - "KeySchema", - "ProvisionedThroughput" - ], - "members": { - "TableName": {}, - "KeySchema": { - "shape": "Sy" - }, - "ProvisionedThroughput": { - "shape": "S12" - } - } - }, - "output": { - "type": "structure", - "members": { - "TableDescription": { - "shape": "S15" - } - } - } - }, - "DeleteItem": { - "input": { - "type": "structure", - "required": [ - "TableName", - "Key" - ], - "members": { - "TableName": {}, - "Key": { - "shape": "S6" - }, - "Expected": { - "shape": "S1b" - }, - "ReturnValues": {} - } - }, - "output": { - "type": "structure", - "members": { - "Attributes": { - "shape": "Sl" - }, - "ConsumedCapacityUnits": { - "type": "double" - } - } - } - }, - "DeleteTable": { - "input": { - "type": "structure", - "required": [ - "TableName" - ], - "members": { - "TableName": {} - } - }, - "output": { - "type": "structure", - "members": { - "TableDescription": { - "shape": "S15" - } - } - } - }, - "DescribeTable": { - "input": { - "type": "structure", - "required": [ - "TableName" - ], - "members": { - "TableName": {} - } - }, - "output": { - "type": "structure", - "members": { - "Table": { - "shape": "S15" - } - } - } - }, - "GetItem": { - "input": { - "type": "structure", - "required": [ - "TableName", - "Key" - ], - "members": { - "TableName": {}, - "Key": { - "shape": "S6" - }, - "AttributesToGet": { - "shape": "Se" - }, - "ConsistentRead": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Item": { - "shape": "Sl" - }, - "ConsumedCapacityUnits": { - "type": "double" - } - } - } - }, - "ListTables": { - "input": { - "type": "structure", - "members": { - "ExclusiveStartTableName": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "TableNames": { - "type": "list", - "member": {} - }, - "LastEvaluatedTableName": {} - } - } - }, - "PutItem": { - "input": { - "type": "structure", - "required": [ - "TableName", - "Item" - ], - "members": { - "TableName": {}, - "Item": { - "shape": "Ss" - }, - "Expected": { - "shape": "S1b" - }, - "ReturnValues": {} - } - }, - "output": { - "type": "structure", - "members": { - "Attributes": { - "shape": "Sl" - }, - "ConsumedCapacityUnits": { - "type": "double" - } - } - } - }, - "Query": { - "input": { - "type": "structure", - "required": [ - "TableName", - "HashKeyValue" - ], - "members": { - "TableName": {}, - "AttributesToGet": { - "shape": "Se" - }, - "Limit": { - "type": "integer" - }, - "ConsistentRead": { - "type": "boolean" - }, - "Count": { - "type": "boolean" - }, - "HashKeyValue": { - "shape": "S7" - }, - "RangeKeyCondition": { - "shape": "S1u" - }, - "ScanIndexForward": { - "type": "boolean" - }, - "ExclusiveStartKey": { - "shape": "S6" - } - } - }, - "output": { - "type": "structure", - "members": { - "Items": { - "shape": "Sk" - }, - "Count": { - "type": "integer" - }, - "LastEvaluatedKey": { - "shape": "S6" - }, - "ConsumedCapacityUnits": { - "type": "double" - } - } - } - }, - "Scan": { - "input": { - "type": "structure", - "required": [ - "TableName" - ], - "members": { - "TableName": {}, - "AttributesToGet": { - "shape": "Se" - }, - "Limit": { - "type": "integer" - }, - "Count": { - "type": "boolean" - }, - "ScanFilter": { - "type": "map", - "key": {}, - "value": { - "shape": "S1u" - } - }, - "ExclusiveStartKey": { - "shape": "S6" - } - } - }, - "output": { - "type": "structure", - "members": { - "Items": { - "shape": "Sk" - }, - "Count": { - "type": "integer" - }, - "ScannedCount": { - "type": "integer" - }, - "LastEvaluatedKey": { - "shape": "S6" - }, - "ConsumedCapacityUnits": { - "type": "double" - } - } - } - }, - "UpdateItem": { - "input": { - "type": "structure", - "required": [ - "TableName", - "Key", - "AttributeUpdates" - ], - "members": { - "TableName": {}, - "Key": { - "shape": "S6" - }, - "AttributeUpdates": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "Value": { - "shape": "S7" - }, - "Action": {} - } - } - }, - "Expected": { - "shape": "S1b" - }, - "ReturnValues": {} - } - }, - "output": { - "type": "structure", - "members": { - "Attributes": { - "shape": "Sl" - }, - "ConsumedCapacityUnits": { - "type": "double" - } - } - } - }, - "UpdateTable": { - "input": { - "type": "structure", - "required": [ - "TableName", - "ProvisionedThroughput" - ], - "members": { - "TableName": {}, - "ProvisionedThroughput": { - "shape": "S12" - } - } - }, - "output": { - "type": "structure", - "members": { - "TableDescription": { - "shape": "S15" - } - } - } - } - }, - "shapes": { - "S2": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "Keys" - ], - "members": { - "Keys": { - "type": "list", - "member": { - "shape": "S6" - } - }, - "AttributesToGet": { - "shape": "Se" - }, - "ConsistentRead": { - "type": "boolean" - } - } - } - }, - "S6": { - "type": "structure", - "required": [ - "HashKeyElement" - ], - "members": { - "HashKeyElement": { - "shape": "S7" - }, - "RangeKeyElement": { - "shape": "S7" - } - } - }, - "S7": { - "type": "structure", - "members": { - "S": {}, - "N": {}, - "B": { - "type": "blob" - }, - "SS": { - "type": "list", - "member": {} - }, - "NS": { - "type": "list", - "member": {} - }, - "BS": { - "type": "list", - "member": { - "type": "blob" - } - } - } - }, - "Se": { - "type": "list", - "member": {} - }, - "Sk": { - "type": "list", - "member": { - "shape": "Sl" - } - }, - "Sl": { - "type": "map", - "key": {}, - "value": { - "shape": "S7" - } - }, - "So": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PutRequest": { - "type": "structure", - "required": [ - "Item" - ], - "members": { - "Item": { - "shape": "Ss" - } - } - }, - "DeleteRequest": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": { - "shape": "S6" - } - } - } - } - } - } - }, - "Ss": { - "type": "map", - "key": {}, - "value": { - "shape": "S7" - } - }, - "Sy": { - "type": "structure", - "required": [ - "HashKeyElement" - ], - "members": { - "HashKeyElement": { - "shape": "Sz" - }, - "RangeKeyElement": { - "shape": "Sz" - } - } - }, - "Sz": { - "type": "structure", - "required": [ - "AttributeName", - "AttributeType" - ], - "members": { - "AttributeName": {}, - "AttributeType": {} - } - }, - "S12": { - "type": "structure", - "required": [ - "ReadCapacityUnits", - "WriteCapacityUnits" - ], - "members": { - "ReadCapacityUnits": { - "type": "long" - }, - "WriteCapacityUnits": { - "type": "long" - } - } - }, - "S15": { - "type": "structure", - "members": { - "TableName": {}, - "KeySchema": { - "shape": "Sy" - }, - "TableStatus": {}, - "CreationDateTime": { - "type": "timestamp" - }, - "ProvisionedThroughput": { - "type": "structure", - "members": { - "LastIncreaseDateTime": { - "type": "timestamp" - }, - "LastDecreaseDateTime": { - "type": "timestamp" - }, - "NumberOfDecreasesToday": { - "type": "long" - }, - "ReadCapacityUnits": { - "type": "long" - }, - "WriteCapacityUnits": { - "type": "long" - } - } - }, - "TableSizeBytes": { - "type": "long" - }, - "ItemCount": { - "type": "long" - } - } - }, - "S1b": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "Value": { - "shape": "S7" - }, - "Exists": { - "type": "boolean" - } - } - } - }, - "S1u": { - "type": "structure", - "required": [ - "ComparisonOperator" - ], - "members": { - "AttributeValueList": { - "type": "list", - "member": { - "shape": "S7" - } - }, - "ComparisonOperator": {} - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/dynamodb-2011-12-05.paginators.json b/node_modules/aws-sdk/apis/dynamodb-2011-12-05.paginators.json deleted file mode 100644 index d4075e1..0000000 --- a/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", - "output_token": "LastEvaluatedTableName", - "limit_key": "Limit", - "result_key": "TableNames" - }, - "Query": { - "input_token": "ExclusiveStartKey", - "output_token": "LastEvaluatedKey", - "limit_key": "Limit", - "result_key": "Items" - }, - "Scan": { - "input_token": "ExclusiveStartKey", - "output_token": "LastEvaluatedKey", - "limit_key": "Limit", - "result_key": "Items" - } - } -} diff --git a/node_modules/aws-sdk/apis/dynamodb-2011-12-05.waiters2.json b/node_modules/aws-sdk/apis/dynamodb-2011-12-05.waiters2.json deleted file mode 100644 index 43a55ca..0000000 --- a/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/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json b/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json deleted file mode 100644 index f12b3d8..0000000 --- a/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json +++ /dev/null @@ -1,1050 +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" - }, - "operations": { - "BatchGetItem": { - "input": { - "type": "structure", - "required": [ - "RequestItems" - ], - "members": { - "RequestItems": { - "shape": "S2" - }, - "ReturnConsumedCapacity": {} - } - }, - "output": { - "type": "structure", - "members": { - "Responses": { - "type": "map", - "key": {}, - "value": { - "shape": "Sr" - } - }, - "UnprocessedKeys": { - "shape": "S2" - }, - "ConsumedCapacity": { - "shape": "St" - } - } - } - }, - "BatchWriteItem": { - "input": { - "type": "structure", - "required": [ - "RequestItems" - ], - "members": { - "RequestItems": { - "shape": "S10" - }, - "ReturnConsumedCapacity": {}, - "ReturnItemCollectionMetrics": {} - } - }, - "output": { - "type": "structure", - "members": { - "UnprocessedItems": { - "shape": "S10" - }, - "ItemCollectionMetrics": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": { - "shape": "S1a" - } - } - }, - "ConsumedCapacity": { - "shape": "St" - } - } - } - }, - "CreateTable": { - "input": { - "type": "structure", - "required": [ - "AttributeDefinitions", - "TableName", - "KeySchema", - "ProvisionedThroughput" - ], - "members": { - "AttributeDefinitions": { - "shape": "S1f" - }, - "TableName": {}, - "KeySchema": { - "shape": "S1j" - }, - "LocalSecondaryIndexes": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "IndexName", - "KeySchema", - "Projection" - ], - "members": { - "IndexName": {}, - "KeySchema": { - "shape": "S1j" - }, - "Projection": { - "shape": "S1o" - } - } - } - }, - "GlobalSecondaryIndexes": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "IndexName", - "KeySchema", - "Projection", - "ProvisionedThroughput" - ], - "members": { - "IndexName": {}, - "KeySchema": { - "shape": "S1j" - }, - "Projection": { - "shape": "S1o" - }, - "ProvisionedThroughput": { - "shape": "S1u" - } - } - } - }, - "ProvisionedThroughput": { - "shape": "S1u" - }, - "StreamSpecification": { - "shape": "S1w" - } - } - }, - "output": { - "type": "structure", - "members": { - "TableDescription": { - "shape": "S20" - } - } - } - }, - "DeleteItem": { - "input": { - "type": "structure", - "required": [ - "TableName", - "Key" - ], - "members": { - "TableName": {}, - "Key": { - "shape": "S6" - }, - "Expected": { - "shape": "S2e" - }, - "ConditionalOperator": {}, - "ReturnValues": {}, - "ReturnConsumedCapacity": {}, - "ReturnItemCollectionMetrics": {}, - "ConditionExpression": {}, - "ExpressionAttributeNames": { - "shape": "Sm" - }, - "ExpressionAttributeValues": { - "shape": "S2m" - } - } - }, - "output": { - "type": "structure", - "members": { - "Attributes": { - "shape": "Ss" - }, - "ConsumedCapacity": { - "shape": "Su" - }, - "ItemCollectionMetrics": { - "shape": "S1a" - } - } - } - }, - "DeleteTable": { - "input": { - "type": "structure", - "required": [ - "TableName" - ], - "members": { - "TableName": {} - } - }, - "output": { - "type": "structure", - "members": { - "TableDescription": { - "shape": "S20" - } - } - } - }, - "DescribeLimits": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "AccountMaxReadCapacityUnits": { - "type": "long" - }, - "AccountMaxWriteCapacityUnits": { - "type": "long" - }, - "TableMaxReadCapacityUnits": { - "type": "long" - }, - "TableMaxWriteCapacityUnits": { - "type": "long" - } - } - } - }, - "DescribeTable": { - "input": { - "type": "structure", - "required": [ - "TableName" - ], - "members": { - "TableName": {} - } - }, - "output": { - "type": "structure", - "members": { - "Table": { - "shape": "S20" - } - } - } - }, - "GetItem": { - "input": { - "type": "structure", - "required": [ - "TableName", - "Key" - ], - "members": { - "TableName": {}, - "Key": { - "shape": "S6" - }, - "AttributesToGet": { - "shape": "Sj" - }, - "ConsistentRead": { - "type": "boolean" - }, - "ReturnConsumedCapacity": {}, - "ProjectionExpression": {}, - "ExpressionAttributeNames": { - "shape": "Sm" - } - } - }, - "output": { - "type": "structure", - "members": { - "Item": { - "shape": "Ss" - }, - "ConsumedCapacity": { - "shape": "Su" - } - } - } - }, - "ListTables": { - "input": { - "type": "structure", - "members": { - "ExclusiveStartTableName": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "TableNames": { - "type": "list", - "member": {} - }, - "LastEvaluatedTableName": {} - } - } - }, - "PutItem": { - "input": { - "type": "structure", - "required": [ - "TableName", - "Item" - ], - "members": { - "TableName": {}, - "Item": { - "shape": "S14" - }, - "Expected": { - "shape": "S2e" - }, - "ReturnValues": {}, - "ReturnConsumedCapacity": {}, - "ReturnItemCollectionMetrics": {}, - "ConditionalOperator": {}, - "ConditionExpression": {}, - "ExpressionAttributeNames": { - "shape": "Sm" - }, - "ExpressionAttributeValues": { - "shape": "S2m" - } - } - }, - "output": { - "type": "structure", - "members": { - "Attributes": { - "shape": "Ss" - }, - "ConsumedCapacity": { - "shape": "Su" - }, - "ItemCollectionMetrics": { - "shape": "S1a" - } - } - } - }, - "Query": { - "input": { - "type": "structure", - "required": [ - "TableName" - ], - "members": { - "TableName": {}, - "IndexName": {}, - "Select": {}, - "AttributesToGet": { - "shape": "Sj" - }, - "Limit": { - "type": "integer" - }, - "ConsistentRead": { - "type": "boolean" - }, - "KeyConditions": { - "type": "map", - "key": {}, - "value": { - "shape": "S37" - } - }, - "QueryFilter": { - "shape": "S38" - }, - "ConditionalOperator": {}, - "ScanIndexForward": { - "type": "boolean" - }, - "ExclusiveStartKey": { - "shape": "S6" - }, - "ReturnConsumedCapacity": {}, - "ProjectionExpression": {}, - "FilterExpression": {}, - "KeyConditionExpression": {}, - "ExpressionAttributeNames": { - "shape": "Sm" - }, - "ExpressionAttributeValues": { - "shape": "S2m" - } - } - }, - "output": { - "type": "structure", - "members": { - "Items": { - "shape": "Sr" - }, - "Count": { - "type": "integer" - }, - "ScannedCount": { - "type": "integer" - }, - "LastEvaluatedKey": { - "shape": "S6" - }, - "ConsumedCapacity": { - "shape": "Su" - } - } - } - }, - "Scan": { - "input": { - "type": "structure", - "required": [ - "TableName" - ], - "members": { - "TableName": {}, - "IndexName": {}, - "AttributesToGet": { - "shape": "Sj" - }, - "Limit": { - "type": "integer" - }, - "Select": {}, - "ScanFilter": { - "shape": "S38" - }, - "ConditionalOperator": {}, - "ExclusiveStartKey": { - "shape": "S6" - }, - "ReturnConsumedCapacity": {}, - "TotalSegments": { - "type": "integer" - }, - "Segment": { - "type": "integer" - }, - "ProjectionExpression": {}, - "FilterExpression": {}, - "ExpressionAttributeNames": { - "shape": "Sm" - }, - "ExpressionAttributeValues": { - "shape": "S2m" - }, - "ConsistentRead": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Items": { - "shape": "Sr" - }, - "Count": { - "type": "integer" - }, - "ScannedCount": { - "type": "integer" - }, - "LastEvaluatedKey": { - "shape": "S6" - }, - "ConsumedCapacity": { - "shape": "Su" - } - } - } - }, - "UpdateItem": { - "input": { - "type": "structure", - "required": [ - "TableName", - "Key" - ], - "members": { - "TableName": {}, - "Key": { - "shape": "S6" - }, - "AttributeUpdates": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "Value": { - "shape": "S8" - }, - "Action": {} - } - } - }, - "Expected": { - "shape": "S2e" - }, - "ConditionalOperator": {}, - "ReturnValues": {}, - "ReturnConsumedCapacity": {}, - "ReturnItemCollectionMetrics": {}, - "UpdateExpression": {}, - "ConditionExpression": {}, - "ExpressionAttributeNames": { - "shape": "Sm" - }, - "ExpressionAttributeValues": { - "shape": "S2m" - } - } - }, - "output": { - "type": "structure", - "members": { - "Attributes": { - "shape": "Ss" - }, - "ConsumedCapacity": { - "shape": "Su" - }, - "ItemCollectionMetrics": { - "shape": "S1a" - } - } - } - }, - "UpdateTable": { - "input": { - "type": "structure", - "required": [ - "TableName" - ], - "members": { - "AttributeDefinitions": { - "shape": "S1f" - }, - "TableName": {}, - "ProvisionedThroughput": { - "shape": "S1u" - }, - "GlobalSecondaryIndexUpdates": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Update": { - "type": "structure", - "required": [ - "IndexName", - "ProvisionedThroughput" - ], - "members": { - "IndexName": {}, - "ProvisionedThroughput": { - "shape": "S1u" - } - } - }, - "Create": { - "type": "structure", - "required": [ - "IndexName", - "KeySchema", - "Projection", - "ProvisionedThroughput" - ], - "members": { - "IndexName": {}, - "KeySchema": { - "shape": "S1j" - }, - "Projection": { - "shape": "S1o" - }, - "ProvisionedThroughput": { - "shape": "S1u" - } - } - }, - "Delete": { - "type": "structure", - "required": [ - "IndexName" - ], - "members": { - "IndexName": {} - } - } - } - } - }, - "StreamSpecification": { - "shape": "S1w" - } - } - }, - "output": { - "type": "structure", - "members": { - "TableDescription": { - "shape": "S20" - } - } - } - } - }, - "shapes": { - "S2": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "Keys" - ], - "members": { - "Keys": { - "type": "list", - "member": { - "shape": "S6" - } - }, - "AttributesToGet": { - "shape": "Sj" - }, - "ConsistentRead": { - "type": "boolean" - }, - "ProjectionExpression": {}, - "ExpressionAttributeNames": { - "shape": "Sm" - } - } - } - }, - "S6": { - "type": "map", - "key": {}, - "value": { - "shape": "S8" - } - }, - "S8": { - "type": "structure", - "members": { - "S": {}, - "N": {}, - "B": { - "type": "blob" - }, - "SS": { - "type": "list", - "member": {} - }, - "NS": { - "type": "list", - "member": {} - }, - "BS": { - "type": "list", - "member": { - "type": "blob" - } - }, - "M": { - "type": "map", - "key": {}, - "value": { - "shape": "S8" - } - }, - "L": { - "type": "list", - "member": { - "shape": "S8" - } - }, - "NULL": { - "type": "boolean" - }, - "BOOL": { - "type": "boolean" - } - } - }, - "Sj": { - "type": "list", - "member": {} - }, - "Sm": { - "type": "map", - "key": {}, - "value": {} - }, - "Sr": { - "type": "list", - "member": { - "shape": "Ss" - } - }, - "Ss": { - "type": "map", - "key": {}, - "value": { - "shape": "S8" - } - }, - "St": { - "type": "list", - "member": { - "shape": "Su" - } - }, - "Su": { - "type": "structure", - "members": { - "TableName": {}, - "CapacityUnits": { - "type": "double" - }, - "Table": { - "shape": "Sw" - }, - "LocalSecondaryIndexes": { - "shape": "Sx" - }, - "GlobalSecondaryIndexes": { - "shape": "Sx" - } - } - }, - "Sw": { - "type": "structure", - "members": { - "CapacityUnits": { - "type": "double" - } - } - }, - "Sx": { - "type": "map", - "key": {}, - "value": { - "shape": "Sw" - } - }, - "S10": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PutRequest": { - "type": "structure", - "required": [ - "Item" - ], - "members": { - "Item": { - "shape": "S14" - } - } - }, - "DeleteRequest": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": { - "shape": "S6" - } - } - } - } - } - } - }, - "S14": { - "type": "map", - "key": {}, - "value": { - "shape": "S8" - } - }, - "S1a": { - "type": "structure", - "members": { - "ItemCollectionKey": { - "type": "map", - "key": {}, - "value": { - "shape": "S8" - } - }, - "SizeEstimateRangeGB": { - "type": "list", - "member": { - "type": "double" - } - } - } - }, - "S1f": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "AttributeName", - "AttributeType" - ], - "members": { - "AttributeName": {}, - "AttributeType": {} - } - } - }, - "S1j": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "AttributeName", - "KeyType" - ], - "members": { - "AttributeName": {}, - "KeyType": {} - } - } - }, - "S1o": { - "type": "structure", - "members": { - "ProjectionType": {}, - "NonKeyAttributes": { - "type": "list", - "member": {} - } - } - }, - "S1u": { - "type": "structure", - "required": [ - "ReadCapacityUnits", - "WriteCapacityUnits" - ], - "members": { - "ReadCapacityUnits": { - "type": "long" - }, - "WriteCapacityUnits": { - "type": "long" - } - } - }, - "S1w": { - "type": "structure", - "members": { - "StreamEnabled": { - "type": "boolean" - }, - "StreamViewType": {} - } - }, - "S20": { - "type": "structure", - "members": { - "AttributeDefinitions": { - "shape": "S1f" - }, - "TableName": {}, - "KeySchema": { - "shape": "S1j" - }, - "TableStatus": {}, - "CreationDateTime": { - "type": "timestamp" - }, - "ProvisionedThroughput": { - "shape": "S23" - }, - "TableSizeBytes": { - "type": "long" - }, - "ItemCount": { - "type": "long" - }, - "TableArn": {}, - "LocalSecondaryIndexes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "IndexName": {}, - "KeySchema": { - "shape": "S1j" - }, - "Projection": { - "shape": "S1o" - }, - "IndexSizeBytes": { - "type": "long" - }, - "ItemCount": { - "type": "long" - }, - "IndexArn": {} - } - } - }, - "GlobalSecondaryIndexes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "IndexName": {}, - "KeySchema": { - "shape": "S1j" - }, - "Projection": { - "shape": "S1o" - }, - "IndexStatus": {}, - "Backfilling": { - "type": "boolean" - }, - "ProvisionedThroughput": { - "shape": "S23" - }, - "IndexSizeBytes": { - "type": "long" - }, - "ItemCount": { - "type": "long" - }, - "IndexArn": {} - } - } - }, - "StreamSpecification": { - "shape": "S1w" - }, - "LatestStreamLabel": {}, - "LatestStreamArn": {} - } - }, - "S23": { - "type": "structure", - "members": { - "LastIncreaseDateTime": { - "type": "timestamp" - }, - "LastDecreaseDateTime": { - "type": "timestamp" - }, - "NumberOfDecreasesToday": { - "type": "long" - }, - "ReadCapacityUnits": { - "type": "long" - }, - "WriteCapacityUnits": { - "type": "long" - } - } - }, - "S2e": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "Value": { - "shape": "S8" - }, - "Exists": { - "type": "boolean" - }, - "ComparisonOperator": {}, - "AttributeValueList": { - "shape": "S2i" - } - } - } - }, - "S2i": { - "type": "list", - "member": { - "shape": "S8" - } - }, - "S2m": { - "type": "map", - "key": {}, - "value": { - "shape": "S8" - } - }, - "S37": { - "type": "structure", - "required": [ - "ComparisonOperator" - ], - "members": { - "AttributeValueList": { - "shape": "S2i" - }, - "ComparisonOperator": {} - } - }, - "S38": { - "type": "map", - "key": {}, - "value": { - "shape": "S37" - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/dynamodb-2012-08-10.paginators.json b/node_modules/aws-sdk/apis/dynamodb-2012-08-10.paginators.json deleted file mode 100644 index d4075e1..0000000 --- a/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", - "output_token": "LastEvaluatedTableName", - "limit_key": "Limit", - "result_key": "TableNames" - }, - "Query": { - "input_token": "ExclusiveStartKey", - "output_token": "LastEvaluatedKey", - "limit_key": "Limit", - "result_key": "Items" - }, - "Scan": { - "input_token": "ExclusiveStartKey", - "output_token": "LastEvaluatedKey", - "limit_key": "Limit", - "result_key": "Items" - } - } -} diff --git a/node_modules/aws-sdk/apis/dynamodb-2012-08-10.waiters2.json b/node_modules/aws-sdk/apis/dynamodb-2012-08-10.waiters2.json deleted file mode 100644 index 43a55ca..0000000 --- a/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/node_modules/aws-sdk/apis/ec2-2016-09-15.examples.json b/node_modules/aws-sdk/apis/ec2-2016-09-15.examples.json deleted file mode 100644 index f6a8719..0000000 --- a/node_modules/aws-sdk/apis/ec2-2016-09-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/node_modules/aws-sdk/apis/ec2-2016-09-15.min.json b/node_modules/aws-sdk/apis/ec2-2016-09-15.min.json deleted file mode 100644 index 2a065d8..0000000 --- a/node_modules/aws-sdk/apis/ec2-2016-09-15.min.json +++ /dev/null @@ -1,10892 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-09-15", - "endpointPrefix": "ec2", - "protocol": "ec2", - "serviceAbbreviation": "Amazon EC2", - "serviceFullName": "Amazon Elastic Compute Cloud", - "signatureVersion": "v4", - "xmlNamespace": "http://ec2.amazonaws.com/doc/2016-09-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": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Domain": {} - } - }, - "output": { - "type": "structure", - "members": { - "PublicIp": { - "locationName": "publicIp" - }, - "Domain": { - "locationName": "domain" - }, - "AllocationId": { - "locationName": "allocationId" - } - } - } - }, - "AllocateHosts": { - "input": { - "type": "structure", - "required": [ - "InstanceType", - "Quantity", - "AvailabilityZone" - ], - "members": { - "AutoPlacement": { - "locationName": "autoPlacement" - }, - "ClientToken": { - "locationName": "clientToken" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "Quantity": { - "locationName": "quantity", - "type": "integer" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - } - } - }, - "output": { - "type": "structure", - "members": { - "HostIds": { - "shape": "Sp", - "locationName": "hostIdSet" - } - } - } - }, - "AssignPrivateIpAddresses": { - "input": { - "type": "structure", - "required": [ - "NetworkInterfaceId" - ], - "members": { - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "PrivateIpAddresses": { - "shape": "Sr", - "locationName": "privateIpAddress" - }, - "SecondaryPrivateIpAddressCount": { - "locationName": "secondaryPrivateIpAddressCount", - "type": "integer" - }, - "AllowReassignment": { - "locationName": "allowReassignment", - "type": "boolean" - } - } - } - }, - "AssociateAddress": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceId": {}, - "PublicIp": {}, - "AllocationId": {}, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - }, - "AllowReassociation": { - "locationName": "allowReassociation", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "AssociationId": { - "locationName": "associationId" - } - } - } - }, - "AssociateDhcpOptions": { - "input": { - "type": "structure", - "required": [ - "DhcpOptionsId", - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "DhcpOptionsId": {}, - "VpcId": {} - } - } - }, - "AssociateRouteTable": { - "input": { - "type": "structure", - "required": [ - "SubnetId", - "RouteTableId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "RouteTableId": { - "locationName": "routeTableId" - } - } - }, - "output": { - "type": "structure", - "members": { - "AssociationId": { - "locationName": "associationId" - } - } - } - }, - "AttachClassicLinkVpc": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "VpcId", - "Groups" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "VpcId": { - "locationName": "vpcId" - }, - "Groups": { - "shape": "Sy", - "locationName": "SecurityGroupId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "AttachInternetGateway": { - "input": { - "type": "structure", - "required": [ - "InternetGatewayId", - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InternetGatewayId": { - "locationName": "internetGatewayId" - }, - "VpcId": { - "locationName": "vpcId" - } - } - } - }, - "AttachNetworkInterface": { - "input": { - "type": "structure", - "required": [ - "NetworkInterfaceId", - "InstanceId", - "DeviceIndex" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "DeviceIndex": { - "locationName": "deviceIndex", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "AttachmentId": { - "locationName": "attachmentId" - } - } - } - }, - "AttachVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeId", - "InstanceId", - "Device" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VolumeId": {}, - "InstanceId": {}, - "Device": {} - } - }, - "output": { - "shape": "S14" - } - }, - "AttachVpnGateway": { - "input": { - "type": "structure", - "required": [ - "VpnGatewayId", - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpnGatewayId": {}, - "VpcId": {} - } - }, - "output": { - "type": "structure", - "members": { - "VpcAttachment": { - "shape": "S18", - "locationName": "attachment" - } - } - } - }, - "AuthorizeSecurityGroupEgress": { - "input": { - "type": "structure", - "required": [ - "GroupId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "GroupId": { - "locationName": "groupId" - }, - "SourceSecurityGroupName": { - "locationName": "sourceSecurityGroupName" - }, - "SourceSecurityGroupOwnerId": { - "locationName": "sourceSecurityGroupOwnerId" - }, - "IpProtocol": { - "locationName": "ipProtocol" - }, - "FromPort": { - "locationName": "fromPort", - "type": "integer" - }, - "ToPort": { - "locationName": "toPort", - "type": "integer" - }, - "CidrIp": { - "locationName": "cidrIp" - }, - "IpPermissions": { - "shape": "S1b", - "locationName": "ipPermissions" - } - } - } - }, - "AuthorizeSecurityGroupIngress": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "GroupName": {}, - "GroupId": {}, - "SourceSecurityGroupName": {}, - "SourceSecurityGroupOwnerId": {}, - "IpProtocol": {}, - "FromPort": { - "type": "integer" - }, - "ToPort": { - "type": "integer" - }, - "CidrIp": {}, - "IpPermissions": { - "shape": "S1b" - } - } - } - }, - "BundleInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "Storage" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceId": {}, - "Storage": { - "shape": "S1l" - } - } - }, - "output": { - "type": "structure", - "members": { - "BundleTask": { - "shape": "S1p", - "locationName": "bundleInstanceTask" - } - } - } - }, - "CancelBundleTask": { - "input": { - "type": "structure", - "required": [ - "BundleId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "BundleId": {} - } - }, - "output": { - "type": "structure", - "members": { - "BundleTask": { - "shape": "S1p", - "locationName": "bundleInstanceTask" - } - } - } - }, - "CancelConversionTask": { - "input": { - "type": "structure", - "required": [ - "ConversionTaskId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "ConversionTaskId": { - "locationName": "conversionTaskId" - }, - "ReasonMessage": { - "locationName": "reasonMessage" - } - } - } - }, - "CancelExportTask": { - "input": { - "type": "structure", - "required": [ - "ExportTaskId" - ], - "members": { - "ExportTaskId": { - "locationName": "exportTaskId" - } - } - } - }, - "CancelImportTask": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "type": "boolean" - }, - "ImportTaskId": {}, - "CancelReason": {} - } - }, - "output": { - "type": "structure", - "members": { - "ImportTaskId": { - "locationName": "importTaskId" - }, - "State": { - "locationName": "state" - }, - "PreviousState": { - "locationName": "previousState" - } - } - } - }, - "CancelReservedInstancesListing": { - "input": { - "type": "structure", - "required": [ - "ReservedInstancesListingId" - ], - "members": { - "ReservedInstancesListingId": { - "locationName": "reservedInstancesListingId" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReservedInstancesListings": { - "shape": "S20", - "locationName": "reservedInstancesListingsSet" - } - } - } - }, - "CancelSpotFleetRequests": { - "input": { - "type": "structure", - "required": [ - "SpotFleetRequestIds", - "TerminateInstances" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SpotFleetRequestIds": { - "shape": "S2c", - "locationName": "spotFleetRequestId" - }, - "TerminateInstances": { - "locationName": "terminateInstances", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "UnsuccessfulFleetRequests": { - "locationName": "unsuccessfulFleetRequestSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "required": [ - "SpotFleetRequestId", - "Error" - ], - "members": { - "SpotFleetRequestId": { - "locationName": "spotFleetRequestId" - }, - "Error": { - "locationName": "error", - "type": "structure", - "required": [ - "Code", - "Message" - ], - "members": { - "Code": { - "locationName": "code" - }, - "Message": { - "locationName": "message" - } - } - } - } - } - }, - "SuccessfulFleetRequests": { - "locationName": "successfulFleetRequestSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "required": [ - "SpotFleetRequestId", - "CurrentSpotFleetRequestState", - "PreviousSpotFleetRequestState" - ], - "members": { - "SpotFleetRequestId": { - "locationName": "spotFleetRequestId" - }, - "CurrentSpotFleetRequestState": { - "locationName": "currentSpotFleetRequestState" - }, - "PreviousSpotFleetRequestState": { - "locationName": "previousSpotFleetRequestState" - } - } - } - } - } - } - }, - "CancelSpotInstanceRequests": { - "input": { - "type": "structure", - "required": [ - "SpotInstanceRequestIds" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SpotInstanceRequestIds": { - "shape": "S2m", - "locationName": "SpotInstanceRequestId" - } - } - }, - "output": { - "type": "structure", - "members": { - "CancelledSpotInstanceRequests": { - "locationName": "spotInstanceRequestSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "SpotInstanceRequestId": { - "locationName": "spotInstanceRequestId" - }, - "State": { - "locationName": "state" - } - } - } - } - } - } - }, - "ConfirmProductInstance": { - "input": { - "type": "structure", - "required": [ - "ProductCode", - "InstanceId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "ProductCode": {}, - "InstanceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "OwnerId": { - "locationName": "ownerId" - }, - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "CopyImage": { - "input": { - "type": "structure", - "required": [ - "SourceRegion", - "SourceImageId", - "Name" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SourceRegion": {}, - "SourceImageId": {}, - "Name": {}, - "Description": {}, - "ClientToken": {}, - "Encrypted": { - "locationName": "encrypted", - "type": "boolean" - }, - "KmsKeyId": { - "locationName": "kmsKeyId" - } - } - }, - "output": { - "type": "structure", - "members": { - "ImageId": { - "locationName": "imageId" - } - } - } - }, - "CopySnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceRegion", - "SourceSnapshotId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SourceRegion": {}, - "SourceSnapshotId": {}, - "Description": {}, - "DestinationRegion": { - "locationName": "destinationRegion" - }, - "PresignedUrl": { - "locationName": "presignedUrl" - }, - "Encrypted": { - "locationName": "encrypted", - "type": "boolean" - }, - "KmsKeyId": { - "locationName": "kmsKeyId" - } - } - }, - "output": { - "type": "structure", - "members": { - "SnapshotId": { - "locationName": "snapshotId" - } - } - } - }, - "CreateCustomerGateway": { - "input": { - "type": "structure", - "required": [ - "Type", - "PublicIp", - "BgpAsn" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Type": {}, - "PublicIp": { - "locationName": "IpAddress" - }, - "BgpAsn": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "CustomerGateway": { - "shape": "S30", - "locationName": "customerGateway" - } - } - } - }, - "CreateDhcpOptions": { - "input": { - "type": "structure", - "required": [ - "DhcpConfigurations" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "DhcpConfigurations": { - "locationName": "dhcpConfiguration", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Key": { - "locationName": "key" - }, - "Values": { - "shape": "S2c", - "locationName": "Value" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "DhcpOptions": { - "shape": "S35", - "locationName": "dhcpOptions" - } - } - } - }, - "CreateFlowLogs": { - "input": { - "type": "structure", - "required": [ - "ResourceIds", - "ResourceType", - "TrafficType", - "LogGroupName", - "DeliverLogsPermissionArn" - ], - "members": { - "ResourceIds": { - "shape": "S2c", - "locationName": "ResourceId" - }, - "ResourceType": {}, - "TrafficType": {}, - "LogGroupName": {}, - "DeliverLogsPermissionArn": {}, - "ClientToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "FlowLogIds": { - "shape": "S2c", - "locationName": "flowLogIdSet" - }, - "ClientToken": { - "locationName": "clientToken" - }, - "Unsuccessful": { - "shape": "S3e", - "locationName": "unsuccessful" - } - } - } - }, - "CreateImage": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "Name" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "Name": { - "locationName": "name" - }, - "Description": { - "locationName": "description" - }, - "NoReboot": { - "locationName": "noReboot", - "type": "boolean" - }, - "BlockDeviceMappings": { - "shape": "S3i", - "locationName": "blockDeviceMapping" - } - } - }, - "output": { - "type": "structure", - "members": { - "ImageId": { - "locationName": "imageId" - } - } - } - }, - "CreateInstanceExportTask": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "Description": { - "locationName": "description" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "TargetEnvironment": { - "locationName": "targetEnvironment" - }, - "ExportToS3Task": { - "locationName": "exportToS3", - "type": "structure", - "members": { - "DiskImageFormat": { - "locationName": "diskImageFormat" - }, - "ContainerFormat": { - "locationName": "containerFormat" - }, - "S3Bucket": { - "locationName": "s3Bucket" - }, - "S3Prefix": { - "locationName": "s3Prefix" - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ExportTask": { - "shape": "S3t", - "locationName": "exportTask" - } - } - } - }, - "CreateInternetGateway": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "InternetGateway": { - "shape": "S3z", - "locationName": "internetGateway" - } - } - } - }, - "CreateKeyPair": { - "input": { - "type": "structure", - "required": [ - "KeyName" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "KeyName": {} - } - }, - "output": { - "type": "structure", - "members": { - "KeyName": { - "locationName": "keyName" - }, - "KeyFingerprint": { - "locationName": "keyFingerprint" - }, - "KeyMaterial": { - "locationName": "keyMaterial" - } - } - } - }, - "CreateNatGateway": { - "input": { - "type": "structure", - "required": [ - "SubnetId", - "AllocationId" - ], - "members": { - "SubnetId": {}, - "AllocationId": {}, - "ClientToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "NatGateway": { - "shape": "S46", - "locationName": "natGateway" - }, - "ClientToken": { - "locationName": "clientToken" - } - } - } - }, - "CreateNetworkAcl": { - "input": { - "type": "structure", - "required": [ - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "output": { - "type": "structure", - "members": { - "NetworkAcl": { - "shape": "S4d", - "locationName": "networkAcl" - } - } - } - }, - "CreateNetworkAclEntry": { - "input": { - "type": "structure", - "required": [ - "NetworkAclId", - "RuleNumber", - "Protocol", - "RuleAction", - "Egress", - "CidrBlock" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkAclId": { - "locationName": "networkAclId" - }, - "RuleNumber": { - "locationName": "ruleNumber", - "type": "integer" - }, - "Protocol": { - "locationName": "protocol" - }, - "RuleAction": { - "locationName": "ruleAction" - }, - "Egress": { - "locationName": "egress", - "type": "boolean" - }, - "CidrBlock": { - "locationName": "cidrBlock" - }, - "IcmpTypeCode": { - "shape": "S4h", - "locationName": "Icmp" - }, - "PortRange": { - "shape": "S4i", - "locationName": "portRange" - } - } - } - }, - "CreateNetworkInterface": { - "input": { - "type": "structure", - "required": [ - "SubnetId" - ], - "members": { - "SubnetId": { - "locationName": "subnetId" - }, - "Description": { - "locationName": "description" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - }, - "Groups": { - "shape": "S4n", - "locationName": "SecurityGroupId" - }, - "PrivateIpAddresses": { - "shape": "S4o", - "locationName": "privateIpAddresses" - }, - "SecondaryPrivateIpAddressCount": { - "locationName": "secondaryPrivateIpAddressCount", - "type": "integer" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "NetworkInterface": { - "shape": "S4r", - "locationName": "networkInterface" - } - } - } - }, - "CreatePlacementGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "Strategy" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "GroupName": { - "locationName": "groupName" - }, - "Strategy": { - "locationName": "strategy" - } - } - } - }, - "CreateReservedInstancesListing": { - "input": { - "type": "structure", - "required": [ - "ReservedInstancesId", - "InstanceCount", - "PriceSchedules", - "ClientToken" - ], - "members": { - "ReservedInstancesId": { - "locationName": "reservedInstancesId" - }, - "InstanceCount": { - "locationName": "instanceCount", - "type": "integer" - }, - "PriceSchedules": { - "locationName": "priceSchedules", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Term": { - "locationName": "term", - "type": "long" - }, - "Price": { - "locationName": "price", - "type": "double" - }, - "CurrencyCode": { - "locationName": "currencyCode" - } - } - } - }, - "ClientToken": { - "locationName": "clientToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReservedInstancesListings": { - "shape": "S20", - "locationName": "reservedInstancesListingsSet" - } - } - } - }, - "CreateRoute": { - "input": { - "type": "structure", - "required": [ - "RouteTableId", - "DestinationCidrBlock" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "RouteTableId": { - "locationName": "routeTableId" - }, - "DestinationCidrBlock": { - "locationName": "destinationCidrBlock" - }, - "GatewayId": { - "locationName": "gatewayId" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "VpcPeeringConnectionId": { - "locationName": "vpcPeeringConnectionId" - }, - "NatGatewayId": { - "locationName": "natGatewayId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "CreateRouteTable": { - "input": { - "type": "structure", - "required": [ - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "output": { - "type": "structure", - "members": { - "RouteTable": { - "shape": "S5a", - "locationName": "routeTable" - } - } - } - }, - "CreateSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "Description" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "GroupName": {}, - "Description": { - "locationName": "GroupDescription" - }, - "VpcId": {} - } - }, - "output": { - "type": "structure", - "members": { - "GroupId": { - "locationName": "groupId" - } - } - } - }, - "CreateSnapshot": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VolumeId": {}, - "Description": {} - } - }, - "output": { - "shape": "S5m" - } - }, - "CreateSpotDatafeedSubscription": { - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Bucket": { - "locationName": "bucket" - }, - "Prefix": { - "locationName": "prefix" - } - } - }, - "output": { - "type": "structure", - "members": { - "SpotDatafeedSubscription": { - "shape": "S5q", - "locationName": "spotDatafeedSubscription" - } - } - } - }, - "CreateSubnet": { - "input": { - "type": "structure", - "required": [ - "VpcId", - "CidrBlock" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcId": {}, - "CidrBlock": {}, - "AvailabilityZone": {} - } - }, - "output": { - "type": "structure", - "members": { - "Subnet": { - "shape": "S5v", - "locationName": "subnet" - } - } - } - }, - "CreateTags": { - "input": { - "type": "structure", - "required": [ - "Resources", - "Tags" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Resources": { - "shape": "S5y", - "locationName": "ResourceId" - }, - "Tags": { - "shape": "Sh", - "locationName": "Tag" - } - } - } - }, - "CreateVolume": { - "input": { - "type": "structure", - "required": [ - "AvailabilityZone" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Size": { - "type": "integer" - }, - "SnapshotId": {}, - "AvailabilityZone": {}, - "VolumeType": {}, - "Iops": { - "type": "integer" - }, - "Encrypted": { - "locationName": "encrypted", - "type": "boolean" - }, - "KmsKeyId": {} - } - }, - "output": { - "shape": "S60" - } - }, - "CreateVpc": { - "input": { - "type": "structure", - "required": [ - "CidrBlock" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "CidrBlock": {}, - "InstanceTenancy": { - "locationName": "instanceTenancy" - } - } - }, - "output": { - "type": "structure", - "members": { - "Vpc": { - "shape": "S66", - "locationName": "vpc" - } - } - } - }, - "CreateVpcEndpoint": { - "input": { - "type": "structure", - "required": [ - "VpcId", - "ServiceName" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "VpcId": {}, - "ServiceName": {}, - "PolicyDocument": {}, - "RouteTableIds": { - "shape": "S2c", - "locationName": "RouteTableId" - }, - "ClientToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "VpcEndpoint": { - "shape": "S6a", - "locationName": "vpcEndpoint" - }, - "ClientToken": { - "locationName": "clientToken" - } - } - } - }, - "CreateVpcPeeringConnection": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcId": { - "locationName": "vpcId" - }, - "PeerVpcId": { - "locationName": "peerVpcId" - }, - "PeerOwnerId": { - "locationName": "peerOwnerId" - } - } - }, - "output": { - "type": "structure", - "members": { - "VpcPeeringConnection": { - "shape": "Sb", - "locationName": "vpcPeeringConnection" - } - } - } - }, - "CreateVpnConnection": { - "input": { - "type": "structure", - "required": [ - "Type", - "CustomerGatewayId", - "VpnGatewayId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Type": {}, - "CustomerGatewayId": {}, - "VpnGatewayId": {}, - "Options": { - "locationName": "options", - "type": "structure", - "members": { - "StaticRoutesOnly": { - "locationName": "staticRoutesOnly", - "type": "boolean" - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "VpnConnection": { - "shape": "S6h", - "locationName": "vpnConnection" - } - } - } - }, - "CreateVpnConnectionRoute": { - "input": { - "type": "structure", - "required": [ - "VpnConnectionId", - "DestinationCidrBlock" - ], - "members": { - "VpnConnectionId": {}, - "DestinationCidrBlock": {} - } - } - }, - "CreateVpnGateway": { - "input": { - "type": "structure", - "required": [ - "Type" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Type": {}, - "AvailabilityZone": {} - } - }, - "output": { - "type": "structure", - "members": { - "VpnGateway": { - "shape": "S6t", - "locationName": "vpnGateway" - } - } - } - }, - "DeleteCustomerGateway": { - "input": { - "type": "structure", - "required": [ - "CustomerGatewayId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "CustomerGatewayId": {} - } - } - }, - "DeleteDhcpOptions": { - "input": { - "type": "structure", - "required": [ - "DhcpOptionsId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "DhcpOptionsId": {} - } - } - }, - "DeleteFlowLogs": { - "input": { - "type": "structure", - "required": [ - "FlowLogIds" - ], - "members": { - "FlowLogIds": { - "shape": "S2c", - "locationName": "FlowLogId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Unsuccessful": { - "shape": "S3e", - "locationName": "unsuccessful" - } - } - } - }, - "DeleteInternetGateway": { - "input": { - "type": "structure", - "required": [ - "InternetGatewayId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InternetGatewayId": { - "locationName": "internetGatewayId" - } - } - } - }, - "DeleteKeyPair": { - "input": { - "type": "structure", - "required": [ - "KeyName" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "KeyName": {} - } - } - }, - "DeleteNatGateway": { - "input": { - "type": "structure", - "required": [ - "NatGatewayId" - ], - "members": { - "NatGatewayId": {} - } - }, - "output": { - "type": "structure", - "members": { - "NatGatewayId": { - "locationName": "natGatewayId" - } - } - } - }, - "DeleteNetworkAcl": { - "input": { - "type": "structure", - "required": [ - "NetworkAclId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkAclId": { - "locationName": "networkAclId" - } - } - } - }, - "DeleteNetworkAclEntry": { - "input": { - "type": "structure", - "required": [ - "NetworkAclId", - "RuleNumber", - "Egress" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkAclId": { - "locationName": "networkAclId" - }, - "RuleNumber": { - "locationName": "ruleNumber", - "type": "integer" - }, - "Egress": { - "locationName": "egress", - "type": "boolean" - } - } - } - }, - "DeleteNetworkInterface": { - "input": { - "type": "structure", - "required": [ - "NetworkInterfaceId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - } - } - } - }, - "DeletePlacementGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "GroupName": { - "locationName": "groupName" - } - } - } - }, - "DeleteRoute": { - "input": { - "type": "structure", - "required": [ - "RouteTableId", - "DestinationCidrBlock" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "RouteTableId": { - "locationName": "routeTableId" - }, - "DestinationCidrBlock": { - "locationName": "destinationCidrBlock" - } - } - } - }, - "DeleteRouteTable": { - "input": { - "type": "structure", - "required": [ - "RouteTableId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "RouteTableId": { - "locationName": "routeTableId" - } - } - } - }, - "DeleteSecurityGroup": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "GroupName": {}, - "GroupId": {} - } - } - }, - "DeleteSnapshot": { - "input": { - "type": "structure", - "required": [ - "SnapshotId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SnapshotId": {} - } - } - }, - "DeleteSpotDatafeedSubscription": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "DeleteSubnet": { - "input": { - "type": "structure", - "required": [ - "SubnetId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SubnetId": {} - } - } - }, - "DeleteTags": { - "input": { - "type": "structure", - "required": [ - "Resources" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Resources": { - "shape": "S5y", - "locationName": "resourceId" - }, - "Tags": { - "shape": "Sh", - "locationName": "tag" - } - } - } - }, - "DeleteVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VolumeId": {} - } - } - }, - "DeleteVpc": { - "input": { - "type": "structure", - "required": [ - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcId": {} - } - } - }, - "DeleteVpcEndpoints": { - "input": { - "type": "structure", - "required": [ - "VpcEndpointIds" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "VpcEndpointIds": { - "shape": "S2c", - "locationName": "VpcEndpointId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Unsuccessful": { - "shape": "S3e", - "locationName": "unsuccessful" - } - } - } - }, - "DeleteVpcPeeringConnection": { - "input": { - "type": "structure", - "required": [ - "VpcPeeringConnectionId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcPeeringConnectionId": { - "locationName": "vpcPeeringConnectionId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "DeleteVpnConnection": { - "input": { - "type": "structure", - "required": [ - "VpnConnectionId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpnConnectionId": {} - } - } - }, - "DeleteVpnConnectionRoute": { - "input": { - "type": "structure", - "required": [ - "VpnConnectionId", - "DestinationCidrBlock" - ], - "members": { - "VpnConnectionId": {}, - "DestinationCidrBlock": {} - } - } - }, - "DeleteVpnGateway": { - "input": { - "type": "structure", - "required": [ - "VpnGatewayId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpnGatewayId": {} - } - } - }, - "DeregisterImage": { - "input": { - "type": "structure", - "required": [ - "ImageId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "ImageId": {} - } - } - }, - "DescribeAccountAttributes": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "AttributeNames": { - "locationName": "attributeName", - "type": "list", - "member": { - "locationName": "attributeName" - } - } - } - }, - "output": { - "type": "structure", - "members": { - "AccountAttributes": { - "locationName": "accountAttributeSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "AttributeName": { - "locationName": "attributeName" - }, - "AttributeValues": { - "locationName": "attributeValueSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "AttributeValue": { - "locationName": "attributeValue" - } - } - } - } - } - } - } - } - } - }, - "DescribeAddresses": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "PublicIps": { - "locationName": "PublicIp", - "type": "list", - "member": { - "locationName": "PublicIp" - } - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - }, - "AllocationIds": { - "locationName": "AllocationId", - "type": "list", - "member": { - "locationName": "AllocationId" - } - } - } - }, - "output": { - "type": "structure", - "members": { - "Addresses": { - "locationName": "addressesSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "PublicIp": { - "locationName": "publicIp" - }, - "AllocationId": { - "locationName": "allocationId" - }, - "AssociationId": { - "locationName": "associationId" - }, - "Domain": { - "locationName": "domain" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "NetworkInterfaceOwnerId": { - "locationName": "networkInterfaceOwnerId" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - } - } - } - } - } - } - }, - "DescribeAvailabilityZones": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "ZoneNames": { - "locationName": "ZoneName", - "type": "list", - "member": { - "locationName": "ZoneName" - } - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "AvailabilityZones": { - "locationName": "availabilityZoneInfo", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ZoneName": { - "locationName": "zoneName" - }, - "State": { - "locationName": "zoneState" - }, - "RegionName": { - "locationName": "regionName" - }, - "Messages": { - "locationName": "messageSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Message": { - "locationName": "message" - } - } - } - } - } - } - } - } - } - }, - "DescribeBundleTasks": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "BundleIds": { - "locationName": "BundleId", - "type": "list", - "member": { - "locationName": "BundleId" - } - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "BundleTasks": { - "locationName": "bundleInstanceTasksSet", - "type": "list", - "member": { - "shape": "S1p", - "locationName": "item" - } - } - } - } - }, - "DescribeClassicLinkInstances": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceIds": { - "shape": "S8h", - "locationName": "InstanceId" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - }, - "NextToken": { - "locationName": "nextToken" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Instances": { - "locationName": "instancesSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "VpcId": { - "locationName": "vpcId" - }, - "Groups": { - "shape": "S4t", - "locationName": "groupSet" - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeConversionTasks": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "ConversionTaskIds": { - "locationName": "conversionTaskId", - "type": "list", - "member": { - "locationName": "item" - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ConversionTasks": { - "locationName": "conversionTasks", - "type": "list", - "member": { - "shape": "S8p", - "locationName": "item" - } - } - } - } - }, - "DescribeCustomerGateways": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "CustomerGatewayIds": { - "locationName": "CustomerGatewayId", - "type": "list", - "member": { - "locationName": "CustomerGatewayId" - } - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "CustomerGateways": { - "locationName": "customerGatewaySet", - "type": "list", - "member": { - "shape": "S30", - "locationName": "item" - } - } - } - } - }, - "DescribeDhcpOptions": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "DhcpOptionsIds": { - "locationName": "DhcpOptionsId", - "type": "list", - "member": { - "locationName": "DhcpOptionsId" - } - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "DhcpOptions": { - "locationName": "dhcpOptionsSet", - "type": "list", - "member": { - "shape": "S35", - "locationName": "item" - } - } - } - } - }, - "DescribeExportTasks": { - "input": { - "type": "structure", - "members": { - "ExportTaskIds": { - "locationName": "exportTaskId", - "type": "list", - "member": { - "locationName": "ExportTaskId" - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ExportTasks": { - "locationName": "exportTaskSet", - "type": "list", - "member": { - "shape": "S3t", - "locationName": "item" - } - } - } - } - }, - "DescribeFlowLogs": { - "input": { - "type": "structure", - "members": { - "FlowLogIds": { - "shape": "S2c", - "locationName": "FlowLogId" - }, - "Filter": { - "shape": "S7y" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "FlowLogs": { - "locationName": "flowLogSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "CreationTime": { - "locationName": "creationTime", - "type": "timestamp" - }, - "FlowLogId": { - "locationName": "flowLogId" - }, - "FlowLogStatus": { - "locationName": "flowLogStatus" - }, - "ResourceId": { - "locationName": "resourceId" - }, - "TrafficType": { - "locationName": "trafficType" - }, - "LogGroupName": { - "locationName": "logGroupName" - }, - "DeliverLogsStatus": { - "locationName": "deliverLogsStatus" - }, - "DeliverLogsErrorMessage": { - "locationName": "deliverLogsErrorMessage" - }, - "DeliverLogsPermissionArn": { - "locationName": "deliverLogsPermissionArn" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeHostReservationOfferings": { - "input": { - "type": "structure", - "members": { - "OfferingId": {}, - "MinDuration": { - "type": "integer" - }, - "MaxDuration": { - "type": "integer" - }, - "Filter": { - "shape": "S7y" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "OfferingSet": { - "locationName": "offeringSet", - "type": "list", - "member": { - "type": "structure", - "members": { - "OfferingId": { - "locationName": "offeringId" - }, - "InstanceFamily": { - "locationName": "instanceFamily" - }, - "PaymentOption": { - "locationName": "paymentOption" - }, - "UpfrontPrice": { - "locationName": "upfrontPrice" - }, - "HourlyPrice": { - "locationName": "hourlyPrice" - }, - "CurrencyCode": { - "locationName": "currencyCode" - }, - "Duration": { - "locationName": "duration", - "type": "integer" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeHostReservations": { - "input": { - "type": "structure", - "members": { - "HostReservationIdSet": { - "type": "list", - "member": { - "locationName": "item" - } - }, - "Filter": { - "shape": "S7y" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "HostReservationSet": { - "locationName": "hostReservationSet", - "type": "list", - "member": { - "type": "structure", - "members": { - "HostReservationId": { - "locationName": "hostReservationId" - }, - "HostIdSet": { - "shape": "S9o", - "locationName": "hostIdSet" - }, - "OfferingId": { - "locationName": "offeringId" - }, - "InstanceFamily": { - "locationName": "instanceFamily" - }, - "PaymentOption": { - "locationName": "paymentOption" - }, - "HourlyPrice": { - "locationName": "hourlyPrice" - }, - "UpfrontPrice": { - "locationName": "upfrontPrice" - }, - "CurrencyCode": { - "locationName": "currencyCode" - }, - "Count": { - "locationName": "count", - "type": "integer" - }, - "Duration": { - "locationName": "duration", - "type": "integer" - }, - "End": { - "locationName": "end", - "type": "timestamp" - }, - "Start": { - "locationName": "start", - "type": "timestamp" - }, - "State": { - "locationName": "state" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeHosts": { - "input": { - "type": "structure", - "members": { - "HostIds": { - "shape": "S9r", - "locationName": "hostId" - }, - "NextToken": { - "locationName": "nextToken" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - }, - "Filter": { - "shape": "S7y", - "locationName": "filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "Hosts": { - "locationName": "hostSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "HostId": { - "locationName": "hostId" - }, - "AutoPlacement": { - "locationName": "autoPlacement" - }, - "HostReservationId": { - "locationName": "hostReservationId" - }, - "ClientToken": { - "locationName": "clientToken" - }, - "HostProperties": { - "locationName": "hostProperties", - "type": "structure", - "members": { - "Sockets": { - "locationName": "sockets", - "type": "integer" - }, - "Cores": { - "locationName": "cores", - "type": "integer" - }, - "TotalVCpus": { - "locationName": "totalVCpus", - "type": "integer" - }, - "InstanceType": { - "locationName": "instanceType" - } - } - }, - "State": { - "locationName": "state" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "Instances": { - "locationName": "instances", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "InstanceType": { - "locationName": "instanceType" - } - } - } - }, - "AvailableCapacity": { - "locationName": "availableCapacity", - "type": "structure", - "members": { - "AvailableInstanceCapacity": { - "locationName": "availableInstanceCapacity", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "InstanceType": { - "locationName": "instanceType" - }, - "AvailableCapacity": { - "locationName": "availableCapacity", - "type": "integer" - }, - "TotalCapacity": { - "locationName": "totalCapacity", - "type": "integer" - } - } - } - }, - "AvailableVCpus": { - "locationName": "availableVCpus", - "type": "integer" - } - } - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeIdFormat": { - "input": { - "type": "structure", - "members": { - "Resource": {} - } - }, - "output": { - "type": "structure", - "members": { - "Statuses": { - "shape": "Sa4", - "locationName": "statusSet" - } - } - } - }, - "DescribeIdentityIdFormat": { - "input": { - "type": "structure", - "required": [ - "PrincipalArn" - ], - "members": { - "Resource": { - "locationName": "resource" - }, - "PrincipalArn": { - "locationName": "principalArn" - } - } - }, - "output": { - "type": "structure", - "members": { - "Statuses": { - "shape": "Sa4", - "locationName": "statusSet" - } - } - } - }, - "DescribeImageAttribute": { - "input": { - "type": "structure", - "required": [ - "ImageId", - "Attribute" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "ImageId": {}, - "Attribute": {} - } - }, - "output": { - "type": "structure", - "members": { - "ImageId": { - "locationName": "imageId" - }, - "LaunchPermissions": { - "shape": "Sab", - "locationName": "launchPermission" - }, - "ProductCodes": { - "shape": "Sae", - "locationName": "productCodes" - }, - "KernelId": { - "shape": "S39", - "locationName": "kernel" - }, - "RamdiskId": { - "shape": "S39", - "locationName": "ramdisk" - }, - "Description": { - "shape": "S39", - "locationName": "description" - }, - "SriovNetSupport": { - "shape": "S39", - "locationName": "sriovNetSupport" - }, - "BlockDeviceMappings": { - "shape": "Sah", - "locationName": "blockDeviceMapping" - } - } - } - }, - "DescribeImages": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "ImageIds": { - "locationName": "ImageId", - "type": "list", - "member": { - "locationName": "ImageId" - } - }, - "Owners": { - "shape": "Sak", - "locationName": "Owner" - }, - "ExecutableUsers": { - "locationName": "ExecutableBy", - "type": "list", - "member": { - "locationName": "ExecutableBy" - } - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "Images": { - "locationName": "imagesSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ImageId": { - "locationName": "imageId" - }, - "ImageLocation": { - "locationName": "imageLocation" - }, - "State": { - "locationName": "imageState" - }, - "OwnerId": { - "locationName": "imageOwnerId" - }, - "CreationDate": { - "locationName": "creationDate" - }, - "Public": { - "locationName": "isPublic", - "type": "boolean" - }, - "ProductCodes": { - "shape": "Sae", - "locationName": "productCodes" - }, - "Architecture": { - "locationName": "architecture" - }, - "ImageType": { - "locationName": "imageType" - }, - "KernelId": { - "locationName": "kernelId" - }, - "RamdiskId": { - "locationName": "ramdiskId" - }, - "Platform": { - "locationName": "platform" - }, - "SriovNetSupport": { - "locationName": "sriovNetSupport" - }, - "EnaSupport": { - "locationName": "enaSupport", - "type": "boolean" - }, - "StateReason": { - "shape": "Sas", - "locationName": "stateReason" - }, - "ImageOwnerAlias": { - "locationName": "imageOwnerAlias" - }, - "Name": { - "locationName": "name" - }, - "Description": { - "locationName": "description" - }, - "RootDeviceType": { - "locationName": "rootDeviceType" - }, - "RootDeviceName": { - "locationName": "rootDeviceName" - }, - "BlockDeviceMappings": { - "shape": "Sah", - "locationName": "blockDeviceMapping" - }, - "VirtualizationType": { - "locationName": "virtualizationType" - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - }, - "Hypervisor": { - "locationName": "hypervisor" - } - } - } - } - } - } - }, - "DescribeImportImageTasks": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "type": "boolean" - }, - "ImportTaskIds": { - "shape": "Sax", - "locationName": "ImportTaskId" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - }, - "Filters": { - "shape": "S7y" - } - } - }, - "output": { - "type": "structure", - "members": { - "ImportImageTasks": { - "locationName": "importImageTaskSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ImportTaskId": { - "locationName": "importTaskId" - }, - "Architecture": { - "locationName": "architecture" - }, - "LicenseType": { - "locationName": "licenseType" - }, - "Platform": { - "locationName": "platform" - }, - "Hypervisor": { - "locationName": "hypervisor" - }, - "Description": { - "locationName": "description" - }, - "SnapshotDetails": { - "shape": "Sb1", - "locationName": "snapshotDetailSet" - }, - "ImageId": { - "locationName": "imageId" - }, - "Progress": { - "locationName": "progress" - }, - "StatusMessage": { - "locationName": "statusMessage" - }, - "Status": { - "locationName": "status" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeImportSnapshotTasks": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "type": "boolean" - }, - "ImportTaskIds": { - "shape": "Sax", - "locationName": "ImportTaskId" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - }, - "Filters": { - "shape": "S7y" - } - } - }, - "output": { - "type": "structure", - "members": { - "ImportSnapshotTasks": { - "locationName": "importSnapshotTaskSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ImportTaskId": { - "locationName": "importTaskId" - }, - "SnapshotTaskDetail": { - "shape": "Sb8", - "locationName": "snapshotTaskDetail" - }, - "Description": { - "locationName": "description" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeInstanceAttribute": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "Attribute" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "Attribute": { - "locationName": "attribute" - } - } - }, - "output": { - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "InstanceType": { - "shape": "S39", - "locationName": "instanceType" - }, - "KernelId": { - "shape": "S39", - "locationName": "kernel" - }, - "RamdiskId": { - "shape": "S39", - "locationName": "ramdisk" - }, - "UserData": { - "shape": "S39", - "locationName": "userData" - }, - "DisableApiTermination": { - "shape": "Sbc", - "locationName": "disableApiTermination" - }, - "InstanceInitiatedShutdownBehavior": { - "shape": "S39", - "locationName": "instanceInitiatedShutdownBehavior" - }, - "RootDeviceName": { - "shape": "S39", - "locationName": "rootDeviceName" - }, - "BlockDeviceMappings": { - "shape": "Sbd", - "locationName": "blockDeviceMapping" - }, - "ProductCodes": { - "shape": "Sae", - "locationName": "productCodes" - }, - "EbsOptimized": { - "shape": "Sbc", - "locationName": "ebsOptimized" - }, - "SriovNetSupport": { - "shape": "S39", - "locationName": "sriovNetSupport" - }, - "EnaSupport": { - "shape": "Sbc", - "locationName": "enaSupport" - }, - "SourceDestCheck": { - "shape": "Sbc", - "locationName": "sourceDestCheck" - }, - "Groups": { - "shape": "S4t", - "locationName": "groupSet" - } - } - } - }, - "DescribeInstanceStatus": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceIds": { - "shape": "S8h", - "locationName": "InstanceId" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - }, - "IncludeAllInstances": { - "locationName": "includeAllInstances", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "InstanceStatuses": { - "locationName": "instanceStatusSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "Events": { - "locationName": "eventsSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Code": { - "locationName": "code" - }, - "Description": { - "locationName": "description" - }, - "NotBefore": { - "locationName": "notBefore", - "type": "timestamp" - }, - "NotAfter": { - "locationName": "notAfter", - "type": "timestamp" - } - } - } - }, - "InstanceState": { - "shape": "Sbn", - "locationName": "instanceState" - }, - "SystemStatus": { - "shape": "Sbp", - "locationName": "systemStatus" - }, - "InstanceStatus": { - "shape": "Sbp", - "locationName": "instanceStatus" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeInstances": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceIds": { - "shape": "S8h", - "locationName": "InstanceId" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - }, - "NextToken": { - "locationName": "nextToken" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Reservations": { - "locationName": "reservationSet", - "type": "list", - "member": { - "shape": "Sby", - "locationName": "item" - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeInternetGateways": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InternetGatewayIds": { - "shape": "S2c", - "locationName": "internetGatewayId" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "InternetGateways": { - "locationName": "internetGatewaySet", - "type": "list", - "member": { - "shape": "S3z", - "locationName": "item" - } - } - } - } - }, - "DescribeKeyPairs": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "KeyNames": { - "locationName": "KeyName", - "type": "list", - "member": { - "locationName": "KeyName" - } - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "KeyPairs": { - "locationName": "keySet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "KeyName": { - "locationName": "keyName" - }, - "KeyFingerprint": { - "locationName": "keyFingerprint" - } - } - } - } - } - } - }, - "DescribeMovingAddresses": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "PublicIps": { - "shape": "S2c", - "locationName": "publicIp" - }, - "NextToken": { - "locationName": "nextToken" - }, - "Filters": { - "shape": "S7y", - "locationName": "filter" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "MovingAddressStatuses": { - "locationName": "movingAddressStatusSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "PublicIp": { - "locationName": "publicIp" - }, - "MoveStatus": { - "locationName": "moveStatus" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeNatGateways": { - "input": { - "type": "structure", - "members": { - "NatGatewayIds": { - "shape": "S2c", - "locationName": "NatGatewayId" - }, - "Filter": { - "shape": "S7y" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "NatGateways": { - "locationName": "natGatewaySet", - "type": "list", - "member": { - "shape": "S46", - "locationName": "item" - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeNetworkAcls": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkAclIds": { - "shape": "S2c", - "locationName": "NetworkAclId" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "NetworkAcls": { - "locationName": "networkAclSet", - "type": "list", - "member": { - "shape": "S4d", - "locationName": "item" - } - } - } - } - }, - "DescribeNetworkInterfaceAttribute": { - "input": { - "type": "structure", - "required": [ - "NetworkInterfaceId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "Attribute": { - "locationName": "attribute" - } - } - }, - "output": { - "type": "structure", - "members": { - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "Description": { - "shape": "S39", - "locationName": "description" - }, - "SourceDestCheck": { - "shape": "Sbc", - "locationName": "sourceDestCheck" - }, - "Groups": { - "shape": "S4t", - "locationName": "groupSet" - }, - "Attachment": { - "shape": "S4v", - "locationName": "attachment" - } - } - } - }, - "DescribeNetworkInterfaces": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkInterfaceIds": { - "locationName": "NetworkInterfaceId", - "type": "list", - "member": { - "locationName": "item" - } - }, - "Filters": { - "shape": "S7y", - "locationName": "filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "NetworkInterfaces": { - "locationName": "networkInterfaceSet", - "type": "list", - "member": { - "shape": "S4r", - "locationName": "item" - } - } - } - } - }, - "DescribePlacementGroups": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "GroupNames": { - "locationName": "groupName", - "type": "list", - "member": {} - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "PlacementGroups": { - "locationName": "placementGroupSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "GroupName": { - "locationName": "groupName" - }, - "Strategy": { - "locationName": "strategy" - }, - "State": { - "locationName": "state" - } - } - } - } - } - } - }, - "DescribePrefixLists": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "type": "boolean" - }, - "PrefixListIds": { - "shape": "S2c", - "locationName": "PrefixListId" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "PrefixLists": { - "locationName": "prefixListSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "PrefixListId": { - "locationName": "prefixListId" - }, - "PrefixListName": { - "locationName": "prefixListName" - }, - "Cidrs": { - "shape": "S2c", - "locationName": "cidrSet" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeRegions": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "RegionNames": { - "locationName": "RegionName", - "type": "list", - "member": { - "locationName": "RegionName" - } - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "Regions": { - "locationName": "regionInfo", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "RegionName": { - "locationName": "regionName" - }, - "Endpoint": { - "locationName": "regionEndpoint" - } - } - } - } - } - } - }, - "DescribeReservedInstances": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "ReservedInstancesIds": { - "shape": "Sdj", - "locationName": "ReservedInstancesId" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - }, - "OfferingType": { - "locationName": "offeringType" - }, - "OfferingClass": {} - } - }, - "output": { - "type": "structure", - "members": { - "ReservedInstances": { - "locationName": "reservedInstancesSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ReservedInstancesId": { - "locationName": "reservedInstancesId" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "Start": { - "locationName": "start", - "type": "timestamp" - }, - "End": { - "locationName": "end", - "type": "timestamp" - }, - "Duration": { - "locationName": "duration", - "type": "long" - }, - "UsagePrice": { - "locationName": "usagePrice", - "type": "float" - }, - "FixedPrice": { - "locationName": "fixedPrice", - "type": "float" - }, - "InstanceCount": { - "locationName": "instanceCount", - "type": "integer" - }, - "ProductDescription": { - "locationName": "productDescription" - }, - "State": { - "locationName": "state" - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - }, - "InstanceTenancy": { - "locationName": "instanceTenancy" - }, - "CurrencyCode": { - "locationName": "currencyCode" - }, - "OfferingType": { - "locationName": "offeringType" - }, - "RecurringCharges": { - "shape": "Sds", - "locationName": "recurringCharges" - }, - "OfferingClass": { - "locationName": "offeringClass" - }, - "Scope": { - "locationName": "scope" - } - } - } - } - } - } - }, - "DescribeReservedInstancesListings": { - "input": { - "type": "structure", - "members": { - "ReservedInstancesId": { - "locationName": "reservedInstancesId" - }, - "ReservedInstancesListingId": { - "locationName": "reservedInstancesListingId" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReservedInstancesListings": { - "shape": "S20", - "locationName": "reservedInstancesListingsSet" - } - } - } - }, - "DescribeReservedInstancesModifications": { - "input": { - "type": "structure", - "members": { - "ReservedInstancesModificationIds": { - "locationName": "ReservedInstancesModificationId", - "type": "list", - "member": { - "locationName": "ReservedInstancesModificationId" - } - }, - "NextToken": { - "locationName": "nextToken" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReservedInstancesModifications": { - "locationName": "reservedInstancesModificationsSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ReservedInstancesModificationId": { - "locationName": "reservedInstancesModificationId" - }, - "ReservedInstancesIds": { - "locationName": "reservedInstancesSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ReservedInstancesId": { - "locationName": "reservedInstancesId" - } - } - } - }, - "ModificationResults": { - "locationName": "modificationResultSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ReservedInstancesId": { - "locationName": "reservedInstancesId" - }, - "TargetConfiguration": { - "shape": "Se7", - "locationName": "targetConfiguration" - } - } - } - }, - "CreateDate": { - "locationName": "createDate", - "type": "timestamp" - }, - "UpdateDate": { - "locationName": "updateDate", - "type": "timestamp" - }, - "EffectiveDate": { - "locationName": "effectiveDate", - "type": "timestamp" - }, - "Status": { - "locationName": "status" - }, - "StatusMessage": { - "locationName": "statusMessage" - }, - "ClientToken": { - "locationName": "clientToken" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeReservedInstancesOfferings": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "ReservedInstancesOfferingIds": { - "locationName": "ReservedInstancesOfferingId", - "type": "list", - "member": {} - }, - "InstanceType": {}, - "AvailabilityZone": {}, - "ProductDescription": {}, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - }, - "InstanceTenancy": { - "locationName": "instanceTenancy" - }, - "OfferingType": { - "locationName": "offeringType" - }, - "NextToken": { - "locationName": "nextToken" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - }, - "IncludeMarketplace": { - "type": "boolean" - }, - "MinDuration": { - "type": "long" - }, - "MaxDuration": { - "type": "long" - }, - "MaxInstanceCount": { - "type": "integer" - }, - "OfferingClass": {} - } - }, - "output": { - "type": "structure", - "members": { - "ReservedInstancesOfferings": { - "locationName": "reservedInstancesOfferingsSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ReservedInstancesOfferingId": { - "locationName": "reservedInstancesOfferingId" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "Duration": { - "locationName": "duration", - "type": "long" - }, - "UsagePrice": { - "locationName": "usagePrice", - "type": "float" - }, - "FixedPrice": { - "locationName": "fixedPrice", - "type": "float" - }, - "ProductDescription": { - "locationName": "productDescription" - }, - "InstanceTenancy": { - "locationName": "instanceTenancy" - }, - "CurrencyCode": { - "locationName": "currencyCode" - }, - "OfferingType": { - "locationName": "offeringType" - }, - "RecurringCharges": { - "shape": "Sds", - "locationName": "recurringCharges" - }, - "Marketplace": { - "locationName": "marketplace", - "type": "boolean" - }, - "PricingDetails": { - "locationName": "pricingDetailsSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Price": { - "locationName": "price", - "type": "double" - }, - "Count": { - "locationName": "count", - "type": "integer" - } - } - } - }, - "OfferingClass": { - "locationName": "offeringClass" - }, - "Scope": { - "locationName": "scope" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeRouteTables": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "RouteTableIds": { - "shape": "S2c", - "locationName": "RouteTableId" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "RouteTables": { - "locationName": "routeTableSet", - "type": "list", - "member": { - "shape": "S5a", - "locationName": "item" - } - } - } - } - }, - "DescribeScheduledInstanceAvailability": { - "input": { - "type": "structure", - "required": [ - "Recurrence", - "FirstSlotStartTimeRange" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "Recurrence": { - "type": "structure", - "members": { - "Frequency": {}, - "Interval": { - "type": "integer" - }, - "OccurrenceDays": { - "locationName": "OccurrenceDay", - "type": "list", - "member": { - "locationName": "OccurenceDay", - "type": "integer" - } - }, - "OccurrenceRelativeToEnd": { - "type": "boolean" - }, - "OccurrenceUnit": {} - } - }, - "FirstSlotStartTimeRange": { - "type": "structure", - "required": [ - "EarliestTime", - "LatestTime" - ], - "members": { - "EarliestTime": { - "type": "timestamp" - }, - "LatestTime": { - "type": "timestamp" - } - } - }, - "MinSlotDurationInHours": { - "type": "integer" - }, - "MaxSlotDurationInHours": { - "type": "integer" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": { - "locationName": "nextToken" - }, - "ScheduledInstanceAvailabilitySet": { - "locationName": "scheduledInstanceAvailabilitySet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "InstanceType": { - "locationName": "instanceType" - }, - "Platform": { - "locationName": "platform" - }, - "NetworkPlatform": { - "locationName": "networkPlatform" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "PurchaseToken": { - "locationName": "purchaseToken" - }, - "SlotDurationInHours": { - "locationName": "slotDurationInHours", - "type": "integer" - }, - "Recurrence": { - "shape": "Sep", - "locationName": "recurrence" - }, - "FirstSlotStartTime": { - "locationName": "firstSlotStartTime", - "type": "timestamp" - }, - "HourlyPrice": { - "locationName": "hourlyPrice" - }, - "TotalScheduledInstanceHours": { - "locationName": "totalScheduledInstanceHours", - "type": "integer" - }, - "AvailableInstanceCount": { - "locationName": "availableInstanceCount", - "type": "integer" - }, - "MinTermDurationInDays": { - "locationName": "minTermDurationInDays", - "type": "integer" - }, - "MaxTermDurationInDays": { - "locationName": "maxTermDurationInDays", - "type": "integer" - } - } - } - } - } - } - }, - "DescribeScheduledInstances": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "type": "boolean" - }, - "ScheduledInstanceIds": { - "locationName": "ScheduledInstanceId", - "type": "list", - "member": { - "locationName": "ScheduledInstanceId" - } - }, - "SlotStartTimeRange": { - "type": "structure", - "members": { - "EarliestTime": { - "type": "timestamp" - }, - "LatestTime": { - "type": "timestamp" - } - } - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": { - "locationName": "nextToken" - }, - "ScheduledInstanceSet": { - "locationName": "scheduledInstanceSet", - "type": "list", - "member": { - "shape": "Sew", - "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": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "GroupNames": { - "shape": "Sf3", - "locationName": "GroupName" - }, - "GroupIds": { - "shape": "Sy", - "locationName": "GroupId" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "SecurityGroups": { - "locationName": "securityGroupInfo", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "OwnerId": { - "locationName": "ownerId" - }, - "GroupName": { - "locationName": "groupName" - }, - "GroupId": { - "locationName": "groupId" - }, - "Description": { - "locationName": "groupDescription" - }, - "IpPermissions": { - "shape": "S1b", - "locationName": "ipPermissions" - }, - "IpPermissionsEgress": { - "shape": "S1b", - "locationName": "ipPermissionsEgress" - }, - "VpcId": { - "locationName": "vpcId" - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - } - } - } - } - } - } - }, - "DescribeSnapshotAttribute": { - "input": { - "type": "structure", - "required": [ - "SnapshotId", - "Attribute" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SnapshotId": {}, - "Attribute": {} - } - }, - "output": { - "type": "structure", - "members": { - "SnapshotId": { - "locationName": "snapshotId" - }, - "CreateVolumePermissions": { - "shape": "Sfa", - "locationName": "createVolumePermission" - }, - "ProductCodes": { - "shape": "Sae", - "locationName": "productCodes" - } - } - } - }, - "DescribeSnapshots": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SnapshotIds": { - "locationName": "SnapshotId", - "type": "list", - "member": { - "locationName": "SnapshotId" - } - }, - "OwnerIds": { - "shape": "Sak", - "locationName": "Owner" - }, - "RestorableByUserIds": { - "locationName": "RestorableBy", - "type": "list", - "member": {} - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Snapshots": { - "locationName": "snapshotSet", - "type": "list", - "member": { - "shape": "S5m", - "locationName": "item" - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeSpotDatafeedSubscription": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "SpotDatafeedSubscription": { - "shape": "S5q", - "locationName": "spotDatafeedSubscription" - } - } - } - }, - "DescribeSpotFleetInstances": { - "input": { - "type": "structure", - "required": [ - "SpotFleetRequestId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SpotFleetRequestId": { - "locationName": "spotFleetRequestId" - }, - "NextToken": { - "locationName": "nextToken" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "SpotFleetRequestId", - "ActiveInstances" - ], - "members": { - "SpotFleetRequestId": { - "locationName": "spotFleetRequestId" - }, - "ActiveInstances": { - "locationName": "activeInstanceSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "InstanceType": { - "locationName": "instanceType" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "SpotInstanceRequestId": { - "locationName": "spotInstanceRequestId" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeSpotFleetRequestHistory": { - "input": { - "type": "structure", - "required": [ - "SpotFleetRequestId", - "StartTime" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SpotFleetRequestId": { - "locationName": "spotFleetRequestId" - }, - "EventType": { - "locationName": "eventType" - }, - "StartTime": { - "locationName": "startTime", - "type": "timestamp" - }, - "NextToken": { - "locationName": "nextToken" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "SpotFleetRequestId", - "StartTime", - "LastEvaluatedTime", - "HistoryRecords" - ], - "members": { - "SpotFleetRequestId": { - "locationName": "spotFleetRequestId" - }, - "StartTime": { - "locationName": "startTime", - "type": "timestamp" - }, - "LastEvaluatedTime": { - "locationName": "lastEvaluatedTime", - "type": "timestamp" - }, - "HistoryRecords": { - "locationName": "historyRecordSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "required": [ - "Timestamp", - "EventType", - "EventInformation" - ], - "members": { - "Timestamp": { - "locationName": "timestamp", - "type": "timestamp" - }, - "EventType": { - "locationName": "eventType" - }, - "EventInformation": { - "locationName": "eventInformation", - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "EventSubType": { - "locationName": "eventSubType" - }, - "EventDescription": { - "locationName": "eventDescription" - } - } - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeSpotFleetRequests": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SpotFleetRequestIds": { - "shape": "S2c", - "locationName": "spotFleetRequestId" - }, - "NextToken": { - "locationName": "nextToken" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "SpotFleetRequestConfigs" - ], - "members": { - "SpotFleetRequestConfigs": { - "locationName": "spotFleetRequestConfigSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "required": [ - "SpotFleetRequestId", - "SpotFleetRequestState", - "SpotFleetRequestConfig", - "CreateTime" - ], - "members": { - "SpotFleetRequestId": { - "locationName": "spotFleetRequestId" - }, - "SpotFleetRequestState": { - "locationName": "spotFleetRequestState" - }, - "SpotFleetRequestConfig": { - "shape": "Sfx", - "locationName": "spotFleetRequestConfig" - }, - "CreateTime": { - "locationName": "createTime", - "type": "timestamp" - }, - "ActivityStatus": { - "locationName": "activityStatus" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeSpotInstanceRequests": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SpotInstanceRequestIds": { - "shape": "S2m", - "locationName": "SpotInstanceRequestId" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "SpotInstanceRequests": { - "shape": "Sgb", - "locationName": "spotInstanceRequestSet" - } - } - } - }, - "DescribeSpotPriceHistory": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "StartTime": { - "locationName": "startTime", - "type": "timestamp" - }, - "EndTime": { - "locationName": "endTime", - "type": "timestamp" - }, - "InstanceTypes": { - "locationName": "InstanceType", - "type": "list", - "member": {} - }, - "ProductDescriptions": { - "locationName": "ProductDescription", - "type": "list", - "member": {} - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - }, - "NextToken": { - "locationName": "nextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "SpotPriceHistory": { - "locationName": "spotPriceHistorySet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "InstanceType": { - "locationName": "instanceType" - }, - "ProductDescription": { - "locationName": "productDescription" - }, - "SpotPrice": { - "locationName": "spotPrice" - }, - "Timestamp": { - "locationName": "timestamp", - "type": "timestamp" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeStaleSecurityGroups": { - "input": { - "type": "structure", - "required": [ - "VpcId" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "VpcId": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "StaleSecurityGroupSet": { - "locationName": "staleSecurityGroupSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "required": [ - "GroupId" - ], - "members": { - "GroupId": { - "locationName": "groupId" - }, - "GroupName": { - "locationName": "groupName" - }, - "Description": { - "locationName": "description" - }, - "VpcId": { - "locationName": "vpcId" - }, - "StaleIpPermissions": { - "shape": "Sgu", - "locationName": "staleIpPermissions" - }, - "StaleIpPermissionsEgress": { - "shape": "Sgu", - "locationName": "staleIpPermissionsEgress" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeSubnets": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SubnetIds": { - "locationName": "SubnetId", - "type": "list", - "member": { - "locationName": "SubnetId" - } - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "Subnets": { - "locationName": "subnetSet", - "type": "list", - "member": { - "shape": "S5v", - "locationName": "item" - } - } - } - } - }, - "DescribeTags": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - }, - "NextToken": { - "locationName": "nextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Tags": { - "locationName": "tagSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ResourceId": { - "locationName": "resourceId" - }, - "ResourceType": { - "locationName": "resourceType" - }, - "Key": { - "locationName": "key" - }, - "Value": { - "locationName": "value" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeVolumeAttribute": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VolumeId": {}, - "Attribute": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeId": { - "locationName": "volumeId" - }, - "AutoEnableIO": { - "shape": "Sbc", - "locationName": "autoEnableIO" - }, - "ProductCodes": { - "shape": "Sae", - "locationName": "productCodes" - } - } - } - }, - "DescribeVolumeStatus": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VolumeIds": { - "shape": "Shc", - "locationName": "VolumeId" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "VolumeStatuses": { - "locationName": "volumeStatusSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "VolumeId": { - "locationName": "volumeId" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "VolumeStatus": { - "locationName": "volumeStatus", - "type": "structure", - "members": { - "Status": { - "locationName": "status" - }, - "Details": { - "locationName": "details", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Name": { - "locationName": "name" - }, - "Status": { - "locationName": "status" - } - } - } - } - } - }, - "Events": { - "locationName": "eventsSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "EventType": { - "locationName": "eventType" - }, - "Description": { - "locationName": "description" - }, - "NotBefore": { - "locationName": "notBefore", - "type": "timestamp" - }, - "NotAfter": { - "locationName": "notAfter", - "type": "timestamp" - }, - "EventId": { - "locationName": "eventId" - } - } - } - }, - "Actions": { - "locationName": "actionsSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Code": { - "locationName": "code" - }, - "Description": { - "locationName": "description" - }, - "EventType": { - "locationName": "eventType" - }, - "EventId": { - "locationName": "eventId" - } - } - } - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeVolumes": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VolumeIds": { - "shape": "Shc", - "locationName": "VolumeId" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - }, - "NextToken": { - "locationName": "nextToken" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Volumes": { - "locationName": "volumeSet", - "type": "list", - "member": { - "shape": "S60", - "locationName": "item" - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeVpcAttribute": { - "input": { - "type": "structure", - "required": [ - "VpcId", - "Attribute" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcId": {}, - "Attribute": {} - } - }, - "output": { - "type": "structure", - "members": { - "VpcId": { - "locationName": "vpcId" - }, - "EnableDnsSupport": { - "shape": "Sbc", - "locationName": "enableDnsSupport" - }, - "EnableDnsHostnames": { - "shape": "Sbc", - "locationName": "enableDnsHostnames" - } - } - } - }, - "DescribeVpcClassicLink": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcIds": { - "shape": "Shw", - "locationName": "VpcId" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "Vpcs": { - "locationName": "vpcSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "VpcId": { - "locationName": "vpcId" - }, - "ClassicLinkEnabled": { - "locationName": "classicLinkEnabled", - "type": "boolean" - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - } - } - } - } - } - } - }, - "DescribeVpcClassicLinkDnsSupport": { - "input": { - "type": "structure", - "members": { - "VpcIds": { - "shape": "Shw" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - }, - "NextToken": { - "locationName": "nextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Vpcs": { - "locationName": "vpcs", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "VpcId": { - "locationName": "vpcId" - }, - "ClassicLinkDnsSupported": { - "locationName": "classicLinkDnsSupported", - "type": "boolean" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeVpcEndpointServices": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "type": "boolean" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ServiceNames": { - "shape": "S2c", - "locationName": "serviceNameSet" - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeVpcEndpoints": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "type": "boolean" - }, - "VpcEndpointIds": { - "shape": "S2c", - "locationName": "VpcEndpointId" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "VpcEndpoints": { - "locationName": "vpcEndpointSet", - "type": "list", - "member": { - "shape": "S6a", - "locationName": "item" - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeVpcPeeringConnections": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcPeeringConnectionIds": { - "shape": "S2c", - "locationName": "VpcPeeringConnectionId" - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "VpcPeeringConnections": { - "locationName": "vpcPeeringConnectionSet", - "type": "list", - "member": { - "shape": "Sb", - "locationName": "item" - } - } - } - } - }, - "DescribeVpcs": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcIds": { - "locationName": "VpcId", - "type": "list", - "member": { - "locationName": "VpcId" - } - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "Vpcs": { - "locationName": "vpcSet", - "type": "list", - "member": { - "shape": "S66", - "locationName": "item" - } - } - } - } - }, - "DescribeVpnConnections": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpnConnectionIds": { - "locationName": "VpnConnectionId", - "type": "list", - "member": { - "locationName": "VpnConnectionId" - } - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "VpnConnections": { - "locationName": "vpnConnectionSet", - "type": "list", - "member": { - "shape": "S6h", - "locationName": "item" - } - } - } - } - }, - "DescribeVpnGateways": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpnGatewayIds": { - "locationName": "VpnGatewayId", - "type": "list", - "member": { - "locationName": "VpnGatewayId" - } - }, - "Filters": { - "shape": "S7y", - "locationName": "Filter" - } - } - }, - "output": { - "type": "structure", - "members": { - "VpnGateways": { - "locationName": "vpnGatewaySet", - "type": "list", - "member": { - "shape": "S6t", - "locationName": "item" - } - } - } - } - }, - "DetachClassicLinkVpc": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "DetachInternetGateway": { - "input": { - "type": "structure", - "required": [ - "InternetGatewayId", - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InternetGatewayId": { - "locationName": "internetGatewayId" - }, - "VpcId": { - "locationName": "vpcId" - } - } - } - }, - "DetachNetworkInterface": { - "input": { - "type": "structure", - "required": [ - "AttachmentId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "AttachmentId": { - "locationName": "attachmentId" - }, - "Force": { - "locationName": "force", - "type": "boolean" - } - } - } - }, - "DetachVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VolumeId": {}, - "InstanceId": {}, - "Device": {}, - "Force": { - "type": "boolean" - } - } - }, - "output": { - "shape": "S14" - } - }, - "DetachVpnGateway": { - "input": { - "type": "structure", - "required": [ - "VpnGatewayId", - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpnGatewayId": {}, - "VpcId": {} - } - } - }, - "DisableVgwRoutePropagation": { - "input": { - "type": "structure", - "required": [ - "RouteTableId", - "GatewayId" - ], - "members": { - "RouteTableId": {}, - "GatewayId": {} - } - } - }, - "DisableVpcClassicLink": { - "input": { - "type": "structure", - "required": [ - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "DisableVpcClassicLinkDnsSupport": { - "input": { - "type": "structure", - "members": { - "VpcId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "DisassociateAddress": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "PublicIp": {}, - "AssociationId": {} - } - } - }, - "DisassociateRouteTable": { - "input": { - "type": "structure", - "required": [ - "AssociationId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "AssociationId": { - "locationName": "associationId" - } - } - } - }, - "EnableVgwRoutePropagation": { - "input": { - "type": "structure", - "required": [ - "RouteTableId", - "GatewayId" - ], - "members": { - "RouteTableId": {}, - "GatewayId": {} - } - } - }, - "EnableVolumeIO": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VolumeId": { - "locationName": "volumeId" - } - } - } - }, - "EnableVpcClassicLink": { - "input": { - "type": "structure", - "required": [ - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "EnableVpcClassicLinkDnsSupport": { - "input": { - "type": "structure", - "members": { - "VpcId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "GetConsoleOutput": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "Timestamp": { - "locationName": "timestamp", - "type": "timestamp" - }, - "Output": { - "locationName": "output" - } - } - } - }, - "GetConsoleScreenshot": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "InstanceId": {}, - "WakeUp": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "ImageData": { - "locationName": "imageData" - } - } - } - }, - "GetHostReservationPurchasePreview": { - "input": { - "type": "structure", - "required": [ - "OfferingId", - "HostIdSet" - ], - "members": { - "OfferingId": {}, - "HostIdSet": { - "shape": "Sjc" - } - } - }, - "output": { - "type": "structure", - "members": { - "Purchase": { - "shape": "Sje", - "locationName": "purchase" - }, - "TotalUpfrontPrice": { - "locationName": "totalUpfrontPrice" - }, - "TotalHourlyPrice": { - "locationName": "totalHourlyPrice" - }, - "CurrencyCode": { - "locationName": "currencyCode" - } - } - } - }, - "GetPasswordData": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "Timestamp": { - "locationName": "timestamp", - "type": "timestamp" - }, - "PasswordData": { - "locationName": "passwordData" - } - } - } - }, - "GetReservedInstancesExchangeQuote": { - "input": { - "type": "structure", - "required": [ - "ReservedInstanceIds" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "ReservedInstanceIds": { - "shape": "S3", - "locationName": "ReservedInstanceId" - }, - "TargetConfigurations": { - "shape": "S5", - "locationName": "TargetConfiguration" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReservedInstanceValueSet": { - "locationName": "reservedInstanceValueSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ReservedInstanceId": { - "locationName": "reservedInstanceId" - }, - "ReservationValue": { - "shape": "Sjm", - "locationName": "reservationValue" - } - } - } - }, - "ReservedInstanceValueRollup": { - "shape": "Sjm", - "locationName": "reservedInstanceValueRollup" - }, - "TargetConfigurationValueSet": { - "locationName": "targetConfigurationValueSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "TargetConfiguration": { - "locationName": "targetConfiguration", - "type": "structure", - "members": { - "OfferingId": { - "locationName": "offeringId" - }, - "InstanceCount": { - "locationName": "instanceCount", - "type": "integer" - } - } - }, - "ReservationValue": { - "shape": "Sjm", - "locationName": "reservationValue" - } - } - } - }, - "TargetConfigurationValueRollup": { - "shape": "Sjm", - "locationName": "targetConfigurationValueRollup" - }, - "PaymentDue": { - "locationName": "paymentDue" - }, - "CurrencyCode": { - "locationName": "currencyCode" - }, - "OutputReservedInstancesWillExpireAt": { - "locationName": "outputReservedInstancesWillExpireAt", - "type": "timestamp" - }, - "IsValidExchange": { - "locationName": "isValidExchange", - "type": "boolean" - }, - "ValidationFailureReason": { - "locationName": "validationFailureReason" - } - } - } - }, - "ImportImage": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "type": "boolean" - }, - "Description": {}, - "DiskContainers": { - "locationName": "DiskContainer", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Description": {}, - "Format": {}, - "Url": {}, - "UserBucket": { - "shape": "Sjt" - }, - "DeviceName": {}, - "SnapshotId": {} - } - } - }, - "LicenseType": {}, - "Hypervisor": {}, - "Architecture": {}, - "Platform": {}, - "ClientData": { - "shape": "Sju" - }, - "ClientToken": {}, - "RoleName": {} - } - }, - "output": { - "type": "structure", - "members": { - "ImportTaskId": { - "locationName": "importTaskId" - }, - "Architecture": { - "locationName": "architecture" - }, - "LicenseType": { - "locationName": "licenseType" - }, - "Platform": { - "locationName": "platform" - }, - "Hypervisor": { - "locationName": "hypervisor" - }, - "Description": { - "locationName": "description" - }, - "SnapshotDetails": { - "shape": "Sb1", - "locationName": "snapshotDetailSet" - }, - "ImageId": { - "locationName": "imageId" - }, - "Progress": { - "locationName": "progress" - }, - "StatusMessage": { - "locationName": "statusMessage" - }, - "Status": { - "locationName": "status" - } - } - } - }, - "ImportInstance": { - "input": { - "type": "structure", - "required": [ - "Platform" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Description": { - "locationName": "description" - }, - "LaunchSpecification": { - "locationName": "launchSpecification", - "type": "structure", - "members": { - "Architecture": { - "locationName": "architecture" - }, - "GroupNames": { - "shape": "Sjy", - "locationName": "GroupName" - }, - "GroupIds": { - "shape": "S4n", - "locationName": "GroupId" - }, - "AdditionalInfo": { - "locationName": "additionalInfo" - }, - "UserData": { - "locationName": "userData", - "type": "structure", - "members": { - "Data": { - "locationName": "data" - } - } - }, - "InstanceType": { - "locationName": "instanceType" - }, - "Placement": { - "shape": "Sc2", - "locationName": "placement" - }, - "Monitoring": { - "locationName": "monitoring", - "type": "boolean" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "InstanceInitiatedShutdownBehavior": { - "locationName": "instanceInitiatedShutdownBehavior" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - } - } - }, - "DiskImages": { - "locationName": "diskImage", - "type": "list", - "member": { - "type": "structure", - "members": { - "Image": { - "shape": "Sk3" - }, - "Description": {}, - "Volume": { - "shape": "Sk4" - } - } - } - }, - "Platform": { - "locationName": "platform" - } - } - }, - "output": { - "type": "structure", - "members": { - "ConversionTask": { - "shape": "S8p", - "locationName": "conversionTask" - } - } - } - }, - "ImportKeyPair": { - "input": { - "type": "structure", - "required": [ - "KeyName", - "PublicKeyMaterial" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "KeyName": { - "locationName": "keyName" - }, - "PublicKeyMaterial": { - "locationName": "publicKeyMaterial", - "type": "blob" - } - } - }, - "output": { - "type": "structure", - "members": { - "KeyName": { - "locationName": "keyName" - }, - "KeyFingerprint": { - "locationName": "keyFingerprint" - } - } - } - }, - "ImportSnapshot": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "type": "boolean" - }, - "Description": {}, - "DiskContainer": { - "type": "structure", - "members": { - "Description": {}, - "Format": {}, - "Url": {}, - "UserBucket": { - "shape": "Sjt" - } - } - }, - "ClientData": { - "shape": "Sju" - }, - "ClientToken": {}, - "RoleName": {} - } - }, - "output": { - "type": "structure", - "members": { - "ImportTaskId": { - "locationName": "importTaskId" - }, - "SnapshotTaskDetail": { - "shape": "Sb8", - "locationName": "snapshotTaskDetail" - }, - "Description": { - "locationName": "description" - } - } - } - }, - "ImportVolume": { - "input": { - "type": "structure", - "required": [ - "AvailabilityZone", - "Image", - "Volume" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "Image": { - "shape": "Sk3", - "locationName": "image" - }, - "Description": { - "locationName": "description" - }, - "Volume": { - "shape": "Sk4", - "locationName": "volume" - } - } - }, - "output": { - "type": "structure", - "members": { - "ConversionTask": { - "shape": "S8p", - "locationName": "conversionTask" - } - } - } - }, - "ModifyHosts": { - "input": { - "type": "structure", - "required": [ - "HostIds", - "AutoPlacement" - ], - "members": { - "HostIds": { - "shape": "S9r", - "locationName": "hostId" - }, - "AutoPlacement": { - "locationName": "autoPlacement" - } - } - }, - "output": { - "type": "structure", - "members": { - "Successful": { - "shape": "Sp", - "locationName": "successful" - }, - "Unsuccessful": { - "shape": "Skf", - "locationName": "unsuccessful" - } - } - } - }, - "ModifyIdFormat": { - "input": { - "type": "structure", - "required": [ - "Resource", - "UseLongIds" - ], - "members": { - "Resource": {}, - "UseLongIds": { - "type": "boolean" - } - } - } - }, - "ModifyIdentityIdFormat": { - "input": { - "type": "structure", - "required": [ - "Resource", - "UseLongIds", - "PrincipalArn" - ], - "members": { - "Resource": { - "locationName": "resource" - }, - "UseLongIds": { - "locationName": "useLongIds", - "type": "boolean" - }, - "PrincipalArn": { - "locationName": "principalArn" - } - } - } - }, - "ModifyImageAttribute": { - "input": { - "type": "structure", - "required": [ - "ImageId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "ImageId": {}, - "Attribute": {}, - "OperationType": {}, - "UserIds": { - "shape": "Skk", - "locationName": "UserId" - }, - "UserGroups": { - "locationName": "UserGroup", - "type": "list", - "member": { - "locationName": "UserGroup" - } - }, - "ProductCodes": { - "locationName": "ProductCode", - "type": "list", - "member": { - "locationName": "ProductCode" - } - }, - "Value": {}, - "LaunchPermission": { - "type": "structure", - "members": { - "Add": { - "shape": "Sab" - }, - "Remove": { - "shape": "Sab" - } - } - }, - "Description": { - "shape": "S39" - } - } - } - }, - "ModifyInstanceAttribute": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "Attribute": { - "locationName": "attribute" - }, - "Value": { - "locationName": "value" - }, - "BlockDeviceMappings": { - "locationName": "blockDeviceMapping", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "DeviceName": { - "locationName": "deviceName" - }, - "Ebs": { - "locationName": "ebs", - "type": "structure", - "members": { - "VolumeId": { - "locationName": "volumeId" - }, - "DeleteOnTermination": { - "locationName": "deleteOnTermination", - "type": "boolean" - } - } - }, - "VirtualName": { - "locationName": "virtualName" - }, - "NoDevice": { - "locationName": "noDevice" - } - } - } - }, - "SourceDestCheck": { - "shape": "Sbc" - }, - "DisableApiTermination": { - "shape": "Sbc", - "locationName": "disableApiTermination" - }, - "InstanceType": { - "shape": "S39", - "locationName": "instanceType" - }, - "Kernel": { - "shape": "S39", - "locationName": "kernel" - }, - "Ramdisk": { - "shape": "S39", - "locationName": "ramdisk" - }, - "UserData": { - "locationName": "userData", - "type": "structure", - "members": { - "Value": { - "locationName": "value", - "type": "blob" - } - } - }, - "InstanceInitiatedShutdownBehavior": { - "shape": "S39", - "locationName": "instanceInitiatedShutdownBehavior" - }, - "Groups": { - "shape": "Sy", - "locationName": "GroupId" - }, - "EbsOptimized": { - "shape": "Sbc", - "locationName": "ebsOptimized" - }, - "SriovNetSupport": { - "shape": "S39", - "locationName": "sriovNetSupport" - }, - "EnaSupport": { - "shape": "Sbc", - "locationName": "enaSupport" - } - } - } - }, - "ModifyInstancePlacement": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "Tenancy": { - "locationName": "tenancy" - }, - "Affinity": { - "locationName": "affinity" - }, - "HostId": { - "locationName": "hostId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "ModifyNetworkInterfaceAttribute": { - "input": { - "type": "structure", - "required": [ - "NetworkInterfaceId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "Description": { - "shape": "S39", - "locationName": "description" - }, - "SourceDestCheck": { - "shape": "Sbc", - "locationName": "sourceDestCheck" - }, - "Groups": { - "shape": "S4n", - "locationName": "SecurityGroupId" - }, - "Attachment": { - "locationName": "attachment", - "type": "structure", - "members": { - "AttachmentId": { - "locationName": "attachmentId" - }, - "DeleteOnTermination": { - "locationName": "deleteOnTermination", - "type": "boolean" - } - } - } - } - } - }, - "ModifyReservedInstances": { - "input": { - "type": "structure", - "required": [ - "ReservedInstancesIds", - "TargetConfigurations" - ], - "members": { - "ClientToken": { - "locationName": "clientToken" - }, - "ReservedInstancesIds": { - "shape": "Sdj", - "locationName": "ReservedInstancesId" - }, - "TargetConfigurations": { - "locationName": "ReservedInstancesConfigurationSetItemType", - "type": "list", - "member": { - "shape": "Se7", - "locationName": "item" - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ReservedInstancesModificationId": { - "locationName": "reservedInstancesModificationId" - } - } - } - }, - "ModifySnapshotAttribute": { - "input": { - "type": "structure", - "required": [ - "SnapshotId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SnapshotId": {}, - "Attribute": {}, - "OperationType": {}, - "UserIds": { - "shape": "Skk", - "locationName": "UserId" - }, - "GroupNames": { - "shape": "Sf3", - "locationName": "UserGroup" - }, - "CreateVolumePermission": { - "type": "structure", - "members": { - "Add": { - "shape": "Sfa" - }, - "Remove": { - "shape": "Sfa" - } - } - } - } - } - }, - "ModifySpotFleetRequest": { - "input": { - "type": "structure", - "required": [ - "SpotFleetRequestId" - ], - "members": { - "SpotFleetRequestId": { - "locationName": "spotFleetRequestId" - }, - "TargetCapacity": { - "locationName": "targetCapacity", - "type": "integer" - }, - "ExcessCapacityTerminationPolicy": { - "locationName": "excessCapacityTerminationPolicy" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "ModifySubnetAttribute": { - "input": { - "type": "structure", - "required": [ - "SubnetId" - ], - "members": { - "SubnetId": { - "locationName": "subnetId" - }, - "MapPublicIpOnLaunch": { - "shape": "Sbc" - } - } - } - }, - "ModifyVolumeAttribute": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VolumeId": {}, - "AutoEnableIO": { - "shape": "Sbc" - } - } - } - }, - "ModifyVpcAttribute": { - "input": { - "type": "structure", - "required": [ - "VpcId" - ], - "members": { - "VpcId": { - "locationName": "vpcId" - }, - "EnableDnsSupport": { - "shape": "Sbc" - }, - "EnableDnsHostnames": { - "shape": "Sbc" - } - } - } - }, - "ModifyVpcEndpoint": { - "input": { - "type": "structure", - "required": [ - "VpcEndpointId" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "VpcEndpointId": {}, - "ResetPolicy": { - "type": "boolean" - }, - "PolicyDocument": {}, - "AddRouteTableIds": { - "shape": "S2c", - "locationName": "AddRouteTableId" - }, - "RemoveRouteTableIds": { - "shape": "S2c", - "locationName": "RemoveRouteTableId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "ModifyVpcPeeringConnectionOptions": { - "input": { - "type": "structure", - "required": [ - "VpcPeeringConnectionId" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "VpcPeeringConnectionId": {}, - "RequesterPeeringConnectionOptions": { - "shape": "Slc" - }, - "AccepterPeeringConnectionOptions": { - "shape": "Slc" - } - } - }, - "output": { - "type": "structure", - "members": { - "RequesterPeeringConnectionOptions": { - "shape": "Sle", - "locationName": "requesterPeeringConnectionOptions" - }, - "AccepterPeeringConnectionOptions": { - "shape": "Sle", - "locationName": "accepterPeeringConnectionOptions" - } - } - } - }, - "MonitorInstances": { - "input": { - "type": "structure", - "required": [ - "InstanceIds" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceIds": { - "shape": "S8h", - "locationName": "InstanceId" - } - } - }, - "output": { - "type": "structure", - "members": { - "InstanceMonitorings": { - "shape": "Slh", - "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": [ - "OfferingId", - "HostIdSet" - ], - "members": { - "OfferingId": {}, - "HostIdSet": { - "shape": "Sjc" - }, - "LimitPrice": {}, - "CurrencyCode": {}, - "ClientToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Purchase": { - "shape": "Sje", - "locationName": "purchase" - }, - "TotalUpfrontPrice": { - "locationName": "totalUpfrontPrice" - }, - "TotalHourlyPrice": { - "locationName": "totalHourlyPrice" - }, - "CurrencyCode": { - "locationName": "currencyCode" - }, - "ClientToken": { - "locationName": "clientToken" - } - } - } - }, - "PurchaseReservedInstancesOffering": { - "input": { - "type": "structure", - "required": [ - "ReservedInstancesOfferingId", - "InstanceCount" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "ReservedInstancesOfferingId": {}, - "InstanceCount": { - "type": "integer" - }, - "LimitPrice": { - "locationName": "limitPrice", - "type": "structure", - "members": { - "Amount": { - "locationName": "amount", - "type": "double" - }, - "CurrencyCode": { - "locationName": "currencyCode" - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ReservedInstancesId": { - "locationName": "reservedInstancesId" - } - } - } - }, - "PurchaseScheduledInstances": { - "input": { - "type": "structure", - "required": [ - "PurchaseRequests" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "ClientToken": { - "idempotencyToken": true - }, - "PurchaseRequests": { - "locationName": "PurchaseRequest", - "type": "list", - "member": { - "locationName": "PurchaseRequest", - "type": "structure", - "required": [ - "PurchaseToken", - "InstanceCount" - ], - "members": { - "PurchaseToken": {}, - "InstanceCount": { - "type": "integer" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ScheduledInstanceSet": { - "locationName": "scheduledInstanceSet", - "type": "list", - "member": { - "shape": "Sew", - "locationName": "item" - } - } - } - } - }, - "RebootInstances": { - "input": { - "type": "structure", - "required": [ - "InstanceIds" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceIds": { - "shape": "S8h", - "locationName": "InstanceId" - } - } - } - }, - "RegisterImage": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "ImageLocation": {}, - "Name": { - "locationName": "name" - }, - "Description": { - "locationName": "description" - }, - "Architecture": { - "locationName": "architecture" - }, - "KernelId": { - "locationName": "kernelId" - }, - "RamdiskId": { - "locationName": "ramdiskId" - }, - "RootDeviceName": { - "locationName": "rootDeviceName" - }, - "BlockDeviceMappings": { - "shape": "S3i", - "locationName": "BlockDeviceMapping" - }, - "VirtualizationType": { - "locationName": "virtualizationType" - }, - "SriovNetSupport": { - "locationName": "sriovNetSupport" - }, - "EnaSupport": { - "locationName": "enaSupport", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "ImageId": { - "locationName": "imageId" - } - } - } - }, - "RejectVpcPeeringConnection": { - "input": { - "type": "structure", - "required": [ - "VpcPeeringConnectionId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcPeeringConnectionId": { - "locationName": "vpcPeeringConnectionId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "ReleaseAddress": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "PublicIp": {}, - "AllocationId": {} - } - } - }, - "ReleaseHosts": { - "input": { - "type": "structure", - "required": [ - "HostIds" - ], - "members": { - "HostIds": { - "shape": "S9r", - "locationName": "hostId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Successful": { - "shape": "Sp", - "locationName": "successful" - }, - "Unsuccessful": { - "shape": "Skf", - "locationName": "unsuccessful" - } - } - } - }, - "ReplaceNetworkAclAssociation": { - "input": { - "type": "structure", - "required": [ - "AssociationId", - "NetworkAclId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "AssociationId": { - "locationName": "associationId" - }, - "NetworkAclId": { - "locationName": "networkAclId" - } - } - }, - "output": { - "type": "structure", - "members": { - "NewAssociationId": { - "locationName": "newAssociationId" - } - } - } - }, - "ReplaceNetworkAclEntry": { - "input": { - "type": "structure", - "required": [ - "NetworkAclId", - "RuleNumber", - "Protocol", - "RuleAction", - "Egress", - "CidrBlock" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkAclId": { - "locationName": "networkAclId" - }, - "RuleNumber": { - "locationName": "ruleNumber", - "type": "integer" - }, - "Protocol": { - "locationName": "protocol" - }, - "RuleAction": { - "locationName": "ruleAction" - }, - "Egress": { - "locationName": "egress", - "type": "boolean" - }, - "CidrBlock": { - "locationName": "cidrBlock" - }, - "IcmpTypeCode": { - "shape": "S4h", - "locationName": "Icmp" - }, - "PortRange": { - "shape": "S4i", - "locationName": "portRange" - } - } - } - }, - "ReplaceRoute": { - "input": { - "type": "structure", - "required": [ - "RouteTableId", - "DestinationCidrBlock" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "RouteTableId": { - "locationName": "routeTableId" - }, - "DestinationCidrBlock": { - "locationName": "destinationCidrBlock" - }, - "GatewayId": { - "locationName": "gatewayId" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "VpcPeeringConnectionId": { - "locationName": "vpcPeeringConnectionId" - }, - "NatGatewayId": { - "locationName": "natGatewayId" - } - } - } - }, - "ReplaceRouteTableAssociation": { - "input": { - "type": "structure", - "required": [ - "AssociationId", - "RouteTableId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "AssociationId": { - "locationName": "associationId" - }, - "RouteTableId": { - "locationName": "routeTableId" - } - } - }, - "output": { - "type": "structure", - "members": { - "NewAssociationId": { - "locationName": "newAssociationId" - } - } - } - }, - "ReportInstanceStatus": { - "input": { - "type": "structure", - "required": [ - "Instances", - "Status", - "ReasonCodes" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Instances": { - "shape": "S8h", - "locationName": "instanceId" - }, - "Status": { - "locationName": "status" - }, - "StartTime": { - "locationName": "startTime", - "type": "timestamp" - }, - "EndTime": { - "locationName": "endTime", - "type": "timestamp" - }, - "ReasonCodes": { - "locationName": "reasonCode", - "type": "list", - "member": { - "locationName": "item" - } - }, - "Description": { - "locationName": "description" - } - } - } - }, - "RequestSpotFleet": { - "input": { - "type": "structure", - "required": [ - "SpotFleetRequestConfig" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SpotFleetRequestConfig": { - "shape": "Sfx", - "locationName": "spotFleetRequestConfig" - } - } - }, - "output": { - "type": "structure", - "required": [ - "SpotFleetRequestId" - ], - "members": { - "SpotFleetRequestId": { - "locationName": "spotFleetRequestId" - } - } - } - }, - "RequestSpotInstances": { - "input": { - "type": "structure", - "required": [ - "SpotPrice" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SpotPrice": { - "locationName": "spotPrice" - }, - "ClientToken": { - "locationName": "clientToken" - }, - "InstanceCount": { - "locationName": "instanceCount", - "type": "integer" - }, - "Type": { - "locationName": "type" - }, - "ValidFrom": { - "locationName": "validFrom", - "type": "timestamp" - }, - "ValidUntil": { - "locationName": "validUntil", - "type": "timestamp" - }, - "LaunchGroup": { - "locationName": "launchGroup" - }, - "AvailabilityZoneGroup": { - "locationName": "availabilityZoneGroup" - }, - "BlockDurationMinutes": { - "locationName": "blockDurationMinutes", - "type": "integer" - }, - "LaunchSpecification": { - "type": "structure", - "members": { - "ImageId": { - "locationName": "imageId" - }, - "KeyName": { - "locationName": "keyName" - }, - "SecurityGroups": { - "shape": "S2c", - "locationName": "SecurityGroup" - }, - "UserData": { - "locationName": "userData" - }, - "AddressingType": { - "locationName": "addressingType" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "Placement": { - "shape": "Sg0", - "locationName": "placement" - }, - "KernelId": { - "locationName": "kernelId" - }, - "RamdiskId": { - "locationName": "ramdiskId" - }, - "BlockDeviceMappings": { - "shape": "Sah", - "locationName": "blockDeviceMapping" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "NetworkInterfaces": { - "shape": "Sg2", - "locationName": "NetworkInterface" - }, - "IamInstanceProfile": { - "shape": "Sg4", - "locationName": "iamInstanceProfile" - }, - "EbsOptimized": { - "locationName": "ebsOptimized", - "type": "boolean" - }, - "Monitoring": { - "shape": "Sgh", - "locationName": "monitoring" - }, - "SecurityGroupIds": { - "shape": "S2c", - "locationName": "SecurityGroupId" - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "SpotInstanceRequests": { - "shape": "Sgb", - "locationName": "spotInstanceRequestSet" - } - } - } - }, - "ResetImageAttribute": { - "input": { - "type": "structure", - "required": [ - "ImageId", - "Attribute" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "ImageId": {}, - "Attribute": {} - } - } - }, - "ResetInstanceAttribute": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "Attribute" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "Attribute": { - "locationName": "attribute" - } - } - } - }, - "ResetNetworkInterfaceAttribute": { - "input": { - "type": "structure", - "required": [ - "NetworkInterfaceId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "SourceDestCheck": { - "locationName": "sourceDestCheck" - } - } - } - }, - "ResetSnapshotAttribute": { - "input": { - "type": "structure", - "required": [ - "SnapshotId", - "Attribute" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SnapshotId": {}, - "Attribute": {} - } - } - }, - "RestoreAddressToClassic": { - "input": { - "type": "structure", - "required": [ - "PublicIp" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "PublicIp": { - "locationName": "publicIp" - } - } - }, - "output": { - "type": "structure", - "members": { - "Status": { - "locationName": "status" - }, - "PublicIp": { - "locationName": "publicIp" - } - } - } - }, - "RevokeSecurityGroupEgress": { - "input": { - "type": "structure", - "required": [ - "GroupId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "GroupId": { - "locationName": "groupId" - }, - "SourceSecurityGroupName": { - "locationName": "sourceSecurityGroupName" - }, - "SourceSecurityGroupOwnerId": { - "locationName": "sourceSecurityGroupOwnerId" - }, - "IpProtocol": { - "locationName": "ipProtocol" - }, - "FromPort": { - "locationName": "fromPort", - "type": "integer" - }, - "ToPort": { - "locationName": "toPort", - "type": "integer" - }, - "CidrIp": { - "locationName": "cidrIp" - }, - "IpPermissions": { - "shape": "S1b", - "locationName": "ipPermissions" - } - } - } - }, - "RevokeSecurityGroupIngress": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "GroupName": {}, - "GroupId": {}, - "SourceSecurityGroupName": {}, - "SourceSecurityGroupOwnerId": {}, - "IpProtocol": {}, - "FromPort": { - "type": "integer" - }, - "ToPort": { - "type": "integer" - }, - "CidrIp": {}, - "IpPermissions": { - "shape": "S1b" - } - } - } - }, - "RunInstances": { - "input": { - "type": "structure", - "required": [ - "ImageId", - "MinCount", - "MaxCount" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "ImageId": {}, - "MinCount": { - "type": "integer" - }, - "MaxCount": { - "type": "integer" - }, - "KeyName": {}, - "SecurityGroups": { - "shape": "Sjy", - "locationName": "SecurityGroup" - }, - "SecurityGroupIds": { - "shape": "S4n", - "locationName": "SecurityGroupId" - }, - "UserData": {}, - "InstanceType": {}, - "Placement": { - "shape": "Sc2" - }, - "KernelId": {}, - "RamdiskId": {}, - "BlockDeviceMappings": { - "shape": "S3i", - "locationName": "BlockDeviceMapping" - }, - "Monitoring": { - "shape": "Sgh" - }, - "SubnetId": {}, - "DisableApiTermination": { - "locationName": "disableApiTermination", - "type": "boolean" - }, - "InstanceInitiatedShutdownBehavior": { - "locationName": "instanceInitiatedShutdownBehavior" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - }, - "ClientToken": { - "locationName": "clientToken" - }, - "AdditionalInfo": { - "locationName": "additionalInfo" - }, - "NetworkInterfaces": { - "shape": "Sg2", - "locationName": "networkInterface" - }, - "IamInstanceProfile": { - "shape": "Sg4", - "locationName": "iamInstanceProfile" - }, - "EbsOptimized": { - "locationName": "ebsOptimized", - "type": "boolean" - } - } - }, - "output": { - "shape": "Sby" - } - }, - "RunScheduledInstances": { - "input": { - "type": "structure", - "required": [ - "ScheduledInstanceId", - "LaunchSpecification" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "ClientToken": { - "idempotencyToken": true - }, - "InstanceCount": { - "type": "integer" - }, - "ScheduledInstanceId": {}, - "LaunchSpecification": { - "type": "structure", - "required": [ - "ImageId" - ], - "members": { - "ImageId": {}, - "KeyName": {}, - "SecurityGroupIds": { - "shape": "Smv", - "locationName": "SecurityGroupId" - }, - "UserData": {}, - "Placement": { - "type": "structure", - "members": { - "AvailabilityZone": {}, - "GroupName": {} - } - }, - "KernelId": {}, - "InstanceType": {}, - "RamdiskId": {}, - "BlockDeviceMappings": { - "locationName": "BlockDeviceMapping", - "type": "list", - "member": { - "locationName": "BlockDeviceMapping", - "type": "structure", - "members": { - "DeviceName": {}, - "NoDevice": {}, - "VirtualName": {}, - "Ebs": { - "type": "structure", - "members": { - "SnapshotId": {}, - "VolumeSize": { - "type": "integer" - }, - "DeleteOnTermination": { - "type": "boolean" - }, - "VolumeType": {}, - "Iops": { - "type": "integer" - }, - "Encrypted": { - "type": "boolean" - } - } - } - } - } - }, - "Monitoring": { - "type": "structure", - "members": { - "Enabled": { - "type": "boolean" - } - } - }, - "SubnetId": {}, - "NetworkInterfaces": { - "locationName": "NetworkInterface", - "type": "list", - "member": { - "locationName": "NetworkInterface", - "type": "structure", - "members": { - "NetworkInterfaceId": {}, - "DeviceIndex": { - "type": "integer" - }, - "SubnetId": {}, - "Description": {}, - "PrivateIpAddress": {}, - "PrivateIpAddressConfigs": { - "locationName": "PrivateIpAddressConfig", - "type": "list", - "member": { - "locationName": "PrivateIpAddressConfigSet", - "type": "structure", - "members": { - "PrivateIpAddress": {}, - "Primary": { - "type": "boolean" - } - } - } - }, - "SecondaryPrivateIpAddressCount": { - "type": "integer" - }, - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "Groups": { - "shape": "Smv", - "locationName": "Group" - }, - "DeleteOnTermination": { - "type": "boolean" - } - } - } - }, - "IamInstanceProfile": { - "type": "structure", - "members": { - "Arn": {}, - "Name": {} - } - }, - "EbsOptimized": { - "type": "boolean" - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "InstanceIdSet": { - "locationName": "instanceIdSet", - "type": "list", - "member": { - "locationName": "item" - } - } - } - } - }, - "StartInstances": { - "input": { - "type": "structure", - "required": [ - "InstanceIds" - ], - "members": { - "InstanceIds": { - "shape": "S8h", - "locationName": "InstanceId" - }, - "AdditionalInfo": { - "locationName": "additionalInfo" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "StartingInstances": { - "shape": "Sna", - "locationName": "instancesSet" - } - } - } - }, - "StopInstances": { - "input": { - "type": "structure", - "required": [ - "InstanceIds" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceIds": { - "shape": "S8h", - "locationName": "InstanceId" - }, - "Force": { - "locationName": "force", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "StoppingInstances": { - "shape": "Sna", - "locationName": "instancesSet" - } - } - } - }, - "TerminateInstances": { - "input": { - "type": "structure", - "required": [ - "InstanceIds" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceIds": { - "shape": "S8h", - "locationName": "InstanceId" - } - } - }, - "output": { - "type": "structure", - "members": { - "TerminatingInstances": { - "shape": "Sna", - "locationName": "instancesSet" - } - } - } - }, - "UnassignPrivateIpAddresses": { - "input": { - "type": "structure", - "required": [ - "NetworkInterfaceId", - "PrivateIpAddresses" - ], - "members": { - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "PrivateIpAddresses": { - "shape": "Sr", - "locationName": "privateIpAddress" - } - } - } - }, - "UnmonitorInstances": { - "input": { - "type": "structure", - "required": [ - "InstanceIds" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceIds": { - "shape": "S8h", - "locationName": "InstanceId" - } - } - }, - "output": { - "type": "structure", - "members": { - "InstanceMonitorings": { - "shape": "Slh", - "locationName": "instancesSet" - } - } - } - } - }, - "shapes": { - "S3": { - "type": "list", - "member": { - "locationName": "ReservedInstanceId" - } - }, - "S5": { - "type": "list", - "member": { - "locationName": "TargetConfigurationRequest", - "type": "structure", - "required": [ - "OfferingId" - ], - "members": { - "OfferingId": {}, - "InstanceCount": { - "type": "integer" - } - } - } - }, - "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": "Sh", - "locationName": "tagSet" - }, - "VpcPeeringConnectionId": { - "locationName": "vpcPeeringConnectionId" - } - } - }, - "Sc": { - "type": "structure", - "members": { - "CidrBlock": { - "locationName": "cidrBlock" - }, - "OwnerId": { - "locationName": "ownerId" - }, - "VpcId": { - "locationName": "vpcId" - }, - "PeeringOptions": { - "locationName": "peeringOptions", - "type": "structure", - "members": { - "AllowEgressFromLocalClassicLinkToRemoteVpc": { - "locationName": "allowEgressFromLocalClassicLinkToRemoteVpc", - "type": "boolean" - }, - "AllowEgressFromLocalVpcToRemoteClassicLink": { - "locationName": "allowEgressFromLocalVpcToRemoteClassicLink", - "type": "boolean" - }, - "AllowDnsResolutionFromRemoteVpc": { - "locationName": "allowDnsResolutionFromRemoteVpc", - "type": "boolean" - } - } - } - } - }, - "Sh": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Key": { - "locationName": "key" - }, - "Value": { - "locationName": "value" - } - } - } - }, - "Sp": { - "type": "list", - "member": { - "locationName": "item" - } - }, - "Sr": { - "type": "list", - "member": { - "locationName": "PrivateIpAddress" - } - }, - "Sy": { - "type": "list", - "member": { - "locationName": "groupId" - } - }, - "S14": { - "type": "structure", - "members": { - "VolumeId": { - "locationName": "volumeId" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "Device": { - "locationName": "device" - }, - "State": { - "locationName": "status" - }, - "AttachTime": { - "locationName": "attachTime", - "type": "timestamp" - }, - "DeleteOnTermination": { - "locationName": "deleteOnTermination", - "type": "boolean" - } - } - }, - "S18": { - "type": "structure", - "members": { - "VpcId": { - "locationName": "vpcId" - }, - "State": { - "locationName": "state" - } - } - }, - "S1b": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "IpProtocol": { - "locationName": "ipProtocol" - }, - "FromPort": { - "locationName": "fromPort", - "type": "integer" - }, - "ToPort": { - "locationName": "toPort", - "type": "integer" - }, - "UserIdGroupPairs": { - "locationName": "groups", - "type": "list", - "member": { - "shape": "S1e", - "locationName": "item" - } - }, - "IpRanges": { - "locationName": "ipRanges", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "CidrIp": { - "locationName": "cidrIp" - } - } - } - }, - "PrefixListIds": { - "locationName": "prefixListIds", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "PrefixListId": { - "locationName": "prefixListId" - } - } - } - } - } - } - }, - "S1e": { - "type": "structure", - "members": { - "UserId": { - "locationName": "userId" - }, - "GroupName": { - "locationName": "groupName" - }, - "GroupId": { - "locationName": "groupId" - }, - "VpcId": { - "locationName": "vpcId" - }, - "VpcPeeringConnectionId": { - "locationName": "vpcPeeringConnectionId" - }, - "PeeringStatus": { - "locationName": "peeringStatus" - } - } - }, - "S1l": { - "type": "structure", - "members": { - "S3": { - "type": "structure", - "members": { - "Bucket": { - "locationName": "bucket" - }, - "Prefix": { - "locationName": "prefix" - }, - "AWSAccessKeyId": {}, - "UploadPolicy": { - "locationName": "uploadPolicy", - "type": "blob" - }, - "UploadPolicySignature": { - "locationName": "uploadPolicySignature" - } - } - } - } - }, - "S1p": { - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "BundleId": { - "locationName": "bundleId" - }, - "State": { - "locationName": "state" - }, - "StartTime": { - "locationName": "startTime", - "type": "timestamp" - }, - "UpdateTime": { - "locationName": "updateTime", - "type": "timestamp" - }, - "Storage": { - "shape": "S1l", - "locationName": "storage" - }, - "Progress": { - "locationName": "progress" - }, - "BundleTaskError": { - "locationName": "error", - "type": "structure", - "members": { - "Code": { - "locationName": "code" - }, - "Message": { - "locationName": "message" - } - } - } - } - }, - "S20": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ReservedInstancesListingId": { - "locationName": "reservedInstancesListingId" - }, - "ReservedInstancesId": { - "locationName": "reservedInstancesId" - }, - "CreateDate": { - "locationName": "createDate", - "type": "timestamp" - }, - "UpdateDate": { - "locationName": "updateDate", - "type": "timestamp" - }, - "Status": { - "locationName": "status" - }, - "StatusMessage": { - "locationName": "statusMessage" - }, - "InstanceCounts": { - "locationName": "instanceCounts", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "State": { - "locationName": "state" - }, - "InstanceCount": { - "locationName": "instanceCount", - "type": "integer" - } - } - } - }, - "PriceSchedules": { - "locationName": "priceSchedules", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Term": { - "locationName": "term", - "type": "long" - }, - "Price": { - "locationName": "price", - "type": "double" - }, - "CurrencyCode": { - "locationName": "currencyCode" - }, - "Active": { - "locationName": "active", - "type": "boolean" - } - } - } - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - }, - "ClientToken": { - "locationName": "clientToken" - } - } - } - }, - "S2c": { - "type": "list", - "member": { - "locationName": "item" - } - }, - "S2m": { - "type": "list", - "member": { - "locationName": "SpotInstanceRequestId" - } - }, - "S30": { - "type": "structure", - "members": { - "CustomerGatewayId": { - "locationName": "customerGatewayId" - }, - "State": { - "locationName": "state" - }, - "Type": { - "locationName": "type" - }, - "IpAddress": { - "locationName": "ipAddress" - }, - "BgpAsn": { - "locationName": "bgpAsn" - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - } - } - }, - "S35": { - "type": "structure", - "members": { - "DhcpOptionsId": { - "locationName": "dhcpOptionsId" - }, - "DhcpConfigurations": { - "locationName": "dhcpConfigurationSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Key": { - "locationName": "key" - }, - "Values": { - "locationName": "valueSet", - "type": "list", - "member": { - "shape": "S39", - "locationName": "item" - } - } - } - } - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - } - } - }, - "S39": { - "type": "structure", - "members": { - "Value": { - "locationName": "value" - } - } - }, - "S3e": { - "type": "list", - "member": { - "shape": "S3f", - "locationName": "item" - } - }, - "S3f": { - "type": "structure", - "required": [ - "Error" - ], - "members": { - "Error": { - "locationName": "error", - "type": "structure", - "required": [ - "Code", - "Message" - ], - "members": { - "Code": { - "locationName": "code" - }, - "Message": { - "locationName": "message" - } - } - }, - "ResourceId": { - "locationName": "resourceId" - } - } - }, - "S3i": { - "type": "list", - "member": { - "shape": "S3j", - "locationName": "BlockDeviceMapping" - } - }, - "S3j": { - "type": "structure", - "members": { - "VirtualName": { - "locationName": "virtualName" - }, - "DeviceName": { - "locationName": "deviceName" - }, - "Ebs": { - "locationName": "ebs", - "type": "structure", - "members": { - "SnapshotId": { - "locationName": "snapshotId" - }, - "VolumeSize": { - "locationName": "volumeSize", - "type": "integer" - }, - "DeleteOnTermination": { - "locationName": "deleteOnTermination", - "type": "boolean" - }, - "VolumeType": { - "locationName": "volumeType" - }, - "Iops": { - "locationName": "iops", - "type": "integer" - }, - "Encrypted": { - "locationName": "encrypted", - "type": "boolean" - } - } - }, - "NoDevice": { - "locationName": "noDevice" - } - } - }, - "S3t": { - "type": "structure", - "members": { - "ExportTaskId": { - "locationName": "exportTaskId" - }, - "Description": { - "locationName": "description" - }, - "State": { - "locationName": "state" - }, - "StatusMessage": { - "locationName": "statusMessage" - }, - "InstanceExportDetails": { - "locationName": "instanceExport", - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "TargetEnvironment": { - "locationName": "targetEnvironment" - } - } - }, - "ExportToS3Task": { - "locationName": "exportToS3", - "type": "structure", - "members": { - "DiskImageFormat": { - "locationName": "diskImageFormat" - }, - "ContainerFormat": { - "locationName": "containerFormat" - }, - "S3Bucket": { - "locationName": "s3Bucket" - }, - "S3Key": { - "locationName": "s3Key" - } - } - } - } - }, - "S3z": { - "type": "structure", - "members": { - "InternetGatewayId": { - "locationName": "internetGatewayId" - }, - "Attachments": { - "locationName": "attachmentSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "VpcId": { - "locationName": "vpcId" - }, - "State": { - "locationName": "state" - } - } - } - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - } - } - }, - "S46": { - "type": "structure", - "members": { - "VpcId": { - "locationName": "vpcId" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "NatGatewayId": { - "locationName": "natGatewayId" - }, - "CreateTime": { - "locationName": "createTime", - "type": "timestamp" - }, - "DeleteTime": { - "locationName": "deleteTime", - "type": "timestamp" - }, - "NatGatewayAddresses": { - "locationName": "natGatewayAddressSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "PublicIp": { - "locationName": "publicIp" - }, - "AllocationId": { - "locationName": "allocationId" - }, - "PrivateIp": { - "locationName": "privateIp" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - } - } - } - }, - "State": { - "locationName": "state" - }, - "FailureCode": { - "locationName": "failureCode" - }, - "FailureMessage": { - "locationName": "failureMessage" - }, - "ProvisionedBandwidth": { - "locationName": "provisionedBandwidth", - "type": "structure", - "members": { - "Provisioned": { - "locationName": "provisioned" - }, - "Requested": { - "locationName": "requested" - }, - "RequestTime": { - "locationName": "requestTime", - "type": "timestamp" - }, - "ProvisionTime": { - "locationName": "provisionTime", - "type": "timestamp" - }, - "Status": { - "locationName": "status" - } - } - } - } - }, - "S4d": { - "type": "structure", - "members": { - "NetworkAclId": { - "locationName": "networkAclId" - }, - "VpcId": { - "locationName": "vpcId" - }, - "IsDefault": { - "locationName": "default", - "type": "boolean" - }, - "Entries": { - "locationName": "entrySet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "RuleNumber": { - "locationName": "ruleNumber", - "type": "integer" - }, - "Protocol": { - "locationName": "protocol" - }, - "RuleAction": { - "locationName": "ruleAction" - }, - "Egress": { - "locationName": "egress", - "type": "boolean" - }, - "CidrBlock": { - "locationName": "cidrBlock" - }, - "IcmpTypeCode": { - "shape": "S4h", - "locationName": "icmpTypeCode" - }, - "PortRange": { - "shape": "S4i", - "locationName": "portRange" - } - } - } - }, - "Associations": { - "locationName": "associationSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "NetworkAclAssociationId": { - "locationName": "networkAclAssociationId" - }, - "NetworkAclId": { - "locationName": "networkAclId" - }, - "SubnetId": { - "locationName": "subnetId" - } - } - } - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - } - } - }, - "S4h": { - "type": "structure", - "members": { - "Type": { - "locationName": "type", - "type": "integer" - }, - "Code": { - "locationName": "code", - "type": "integer" - } - } - }, - "S4i": { - "type": "structure", - "members": { - "From": { - "locationName": "from", - "type": "integer" - }, - "To": { - "locationName": "to", - "type": "integer" - } - } - }, - "S4n": { - "type": "list", - "member": { - "locationName": "SecurityGroupId" - } - }, - "S4o": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "required": [ - "PrivateIpAddress" - ], - "members": { - "PrivateIpAddress": { - "locationName": "privateIpAddress" - }, - "Primary": { - "locationName": "primary", - "type": "boolean" - } - } - } - }, - "S4r": { - "type": "structure", - "members": { - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "VpcId": { - "locationName": "vpcId" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "Description": { - "locationName": "description" - }, - "OwnerId": { - "locationName": "ownerId" - }, - "RequesterId": { - "locationName": "requesterId" - }, - "RequesterManaged": { - "locationName": "requesterManaged", - "type": "boolean" - }, - "Status": { - "locationName": "status" - }, - "MacAddress": { - "locationName": "macAddress" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - }, - "PrivateDnsName": { - "locationName": "privateDnsName" - }, - "SourceDestCheck": { - "locationName": "sourceDestCheck", - "type": "boolean" - }, - "Groups": { - "shape": "S4t", - "locationName": "groupSet" - }, - "Attachment": { - "shape": "S4v", - "locationName": "attachment" - }, - "Association": { - "shape": "S4w", - "locationName": "association" - }, - "TagSet": { - "shape": "Sh", - "locationName": "tagSet" - }, - "PrivateIpAddresses": { - "locationName": "privateIpAddressesSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "PrivateIpAddress": { - "locationName": "privateIpAddress" - }, - "PrivateDnsName": { - "locationName": "privateDnsName" - }, - "Primary": { - "locationName": "primary", - "type": "boolean" - }, - "Association": { - "shape": "S4w", - "locationName": "association" - } - } - } - }, - "InterfaceType": { - "locationName": "interfaceType" - } - } - }, - "S4t": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "GroupName": { - "locationName": "groupName" - }, - "GroupId": { - "locationName": "groupId" - } - } - } - }, - "S4v": { - "type": "structure", - "members": { - "AttachmentId": { - "locationName": "attachmentId" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "InstanceOwnerId": { - "locationName": "instanceOwnerId" - }, - "DeviceIndex": { - "locationName": "deviceIndex", - "type": "integer" - }, - "Status": { - "locationName": "status" - }, - "AttachTime": { - "locationName": "attachTime", - "type": "timestamp" - }, - "DeleteOnTermination": { - "locationName": "deleteOnTermination", - "type": "boolean" - } - } - }, - "S4w": { - "type": "structure", - "members": { - "PublicIp": { - "locationName": "publicIp" - }, - "PublicDnsName": { - "locationName": "publicDnsName" - }, - "IpOwnerId": { - "locationName": "ipOwnerId" - }, - "AllocationId": { - "locationName": "allocationId" - }, - "AssociationId": { - "locationName": "associationId" - } - } - }, - "S5a": { - "type": "structure", - "members": { - "RouteTableId": { - "locationName": "routeTableId" - }, - "VpcId": { - "locationName": "vpcId" - }, - "Routes": { - "locationName": "routeSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "DestinationCidrBlock": { - "locationName": "destinationCidrBlock" - }, - "DestinationPrefixListId": { - "locationName": "destinationPrefixListId" - }, - "GatewayId": { - "locationName": "gatewayId" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "InstanceOwnerId": { - "locationName": "instanceOwnerId" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "VpcPeeringConnectionId": { - "locationName": "vpcPeeringConnectionId" - }, - "NatGatewayId": { - "locationName": "natGatewayId" - }, - "State": { - "locationName": "state" - }, - "Origin": { - "locationName": "origin" - } - } - } - }, - "Associations": { - "locationName": "associationSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "RouteTableAssociationId": { - "locationName": "routeTableAssociationId" - }, - "RouteTableId": { - "locationName": "routeTableId" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "Main": { - "locationName": "main", - "type": "boolean" - } - } - } - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - }, - "PropagatingVgws": { - "locationName": "propagatingVgwSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "GatewayId": { - "locationName": "gatewayId" - } - } - } - } - } - }, - "S5m": { - "type": "structure", - "members": { - "SnapshotId": { - "locationName": "snapshotId" - }, - "VolumeId": { - "locationName": "volumeId" - }, - "State": { - "locationName": "status" - }, - "StateMessage": { - "locationName": "statusMessage" - }, - "StartTime": { - "locationName": "startTime", - "type": "timestamp" - }, - "Progress": { - "locationName": "progress" - }, - "OwnerId": { - "locationName": "ownerId" - }, - "Description": { - "locationName": "description" - }, - "VolumeSize": { - "locationName": "volumeSize", - "type": "integer" - }, - "OwnerAlias": { - "locationName": "ownerAlias" - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - }, - "Encrypted": { - "locationName": "encrypted", - "type": "boolean" - }, - "KmsKeyId": { - "locationName": "kmsKeyId" - }, - "DataEncryptionKeyId": { - "locationName": "dataEncryptionKeyId" - } - } - }, - "S5q": { - "type": "structure", - "members": { - "OwnerId": { - "locationName": "ownerId" - }, - "Bucket": { - "locationName": "bucket" - }, - "Prefix": { - "locationName": "prefix" - }, - "State": { - "locationName": "state" - }, - "Fault": { - "shape": "S5s", - "locationName": "fault" - } - } - }, - "S5s": { - "type": "structure", - "members": { - "Code": { - "locationName": "code" - }, - "Message": { - "locationName": "message" - } - } - }, - "S5v": { - "type": "structure", - "members": { - "SubnetId": { - "locationName": "subnetId" - }, - "State": { - "locationName": "state" - }, - "VpcId": { - "locationName": "vpcId" - }, - "CidrBlock": { - "locationName": "cidrBlock" - }, - "AvailableIpAddressCount": { - "locationName": "availableIpAddressCount", - "type": "integer" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "DefaultForAz": { - "locationName": "defaultForAz", - "type": "boolean" - }, - "MapPublicIpOnLaunch": { - "locationName": "mapPublicIpOnLaunch", - "type": "boolean" - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - } - } - }, - "S5y": { - "type": "list", - "member": {} - }, - "S60": { - "type": "structure", - "members": { - "VolumeId": { - "locationName": "volumeId" - }, - "Size": { - "locationName": "size", - "type": "integer" - }, - "SnapshotId": { - "locationName": "snapshotId" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "State": { - "locationName": "status" - }, - "CreateTime": { - "locationName": "createTime", - "type": "timestamp" - }, - "Attachments": { - "locationName": "attachmentSet", - "type": "list", - "member": { - "shape": "S14", - "locationName": "item" - } - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - }, - "VolumeType": { - "locationName": "volumeType" - }, - "Iops": { - "locationName": "iops", - "type": "integer" - }, - "Encrypted": { - "locationName": "encrypted", - "type": "boolean" - }, - "KmsKeyId": { - "locationName": "kmsKeyId" - } - } - }, - "S66": { - "type": "structure", - "members": { - "VpcId": { - "locationName": "vpcId" - }, - "State": { - "locationName": "state" - }, - "CidrBlock": { - "locationName": "cidrBlock" - }, - "DhcpOptionsId": { - "locationName": "dhcpOptionsId" - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - }, - "InstanceTenancy": { - "locationName": "instanceTenancy" - }, - "IsDefault": { - "locationName": "isDefault", - "type": "boolean" - } - } - }, - "S6a": { - "type": "structure", - "members": { - "VpcEndpointId": { - "locationName": "vpcEndpointId" - }, - "VpcId": { - "locationName": "vpcId" - }, - "ServiceName": { - "locationName": "serviceName" - }, - "State": { - "locationName": "state" - }, - "PolicyDocument": { - "locationName": "policyDocument" - }, - "RouteTableIds": { - "shape": "S2c", - "locationName": "routeTableIdSet" - }, - "CreationTimestamp": { - "locationName": "creationTimestamp", - "type": "timestamp" - } - } - }, - "S6h": { - "type": "structure", - "members": { - "VpnConnectionId": { - "locationName": "vpnConnectionId" - }, - "State": { - "locationName": "state" - }, - "CustomerGatewayConfiguration": { - "locationName": "customerGatewayConfiguration" - }, - "Type": { - "locationName": "type" - }, - "CustomerGatewayId": { - "locationName": "customerGatewayId" - }, - "VpnGatewayId": { - "locationName": "vpnGatewayId" - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - }, - "VgwTelemetry": { - "locationName": "vgwTelemetry", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "OutsideIpAddress": { - "locationName": "outsideIpAddress" - }, - "Status": { - "locationName": "status" - }, - "LastStatusChange": { - "locationName": "lastStatusChange", - "type": "timestamp" - }, - "StatusMessage": { - "locationName": "statusMessage" - }, - "AcceptedRouteCount": { - "locationName": "acceptedRouteCount", - "type": "integer" - } - } - } - }, - "Options": { - "locationName": "options", - "type": "structure", - "members": { - "StaticRoutesOnly": { - "locationName": "staticRoutesOnly", - "type": "boolean" - } - } - }, - "Routes": { - "locationName": "routes", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "DestinationCidrBlock": { - "locationName": "destinationCidrBlock" - }, - "Source": { - "locationName": "source" - }, - "State": { - "locationName": "state" - } - } - } - } - } - }, - "S6t": { - "type": "structure", - "members": { - "VpnGatewayId": { - "locationName": "vpnGatewayId" - }, - "State": { - "locationName": "state" - }, - "Type": { - "locationName": "type" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "VpcAttachments": { - "locationName": "attachments", - "type": "list", - "member": { - "shape": "S18", - "locationName": "item" - } - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - } - } - }, - "S7y": { - "type": "list", - "member": { - "locationName": "Filter", - "type": "structure", - "members": { - "Name": {}, - "Values": { - "shape": "S2c", - "locationName": "Value" - } - } - } - }, - "S8h": { - "type": "list", - "member": { - "locationName": "InstanceId" - } - }, - "S8p": { - "type": "structure", - "required": [ - "ConversionTaskId", - "State" - ], - "members": { - "ConversionTaskId": { - "locationName": "conversionTaskId" - }, - "ExpirationTime": { - "locationName": "expirationTime" - }, - "ImportInstance": { - "locationName": "importInstance", - "type": "structure", - "required": [ - "Volumes" - ], - "members": { - "Volumes": { - "locationName": "volumes", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "required": [ - "BytesConverted", - "AvailabilityZone", - "Image", - "Volume", - "Status" - ], - "members": { - "BytesConverted": { - "locationName": "bytesConverted", - "type": "long" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "Image": { - "shape": "S8t", - "locationName": "image" - }, - "Volume": { - "shape": "S8u", - "locationName": "volume" - }, - "Status": { - "locationName": "status" - }, - "StatusMessage": { - "locationName": "statusMessage" - }, - "Description": { - "locationName": "description" - } - } - } - }, - "InstanceId": { - "locationName": "instanceId" - }, - "Platform": { - "locationName": "platform" - }, - "Description": { - "locationName": "description" - } - } - }, - "ImportVolume": { - "locationName": "importVolume", - "type": "structure", - "required": [ - "BytesConverted", - "AvailabilityZone", - "Image", - "Volume" - ], - "members": { - "BytesConverted": { - "locationName": "bytesConverted", - "type": "long" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "Description": { - "locationName": "description" - }, - "Image": { - "shape": "S8t", - "locationName": "image" - }, - "Volume": { - "shape": "S8u", - "locationName": "volume" - } - } - }, - "State": { - "locationName": "state" - }, - "StatusMessage": { - "locationName": "statusMessage" - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - } - } - }, - "S8t": { - "type": "structure", - "required": [ - "Format", - "Size", - "ImportManifestUrl" - ], - "members": { - "Format": { - "locationName": "format" - }, - "Size": { - "locationName": "size", - "type": "long" - }, - "ImportManifestUrl": { - "locationName": "importManifestUrl" - }, - "Checksum": { - "locationName": "checksum" - } - } - }, - "S8u": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Size": { - "locationName": "size", - "type": "long" - }, - "Id": { - "locationName": "id" - } - } - }, - "S9o": { - "type": "list", - "member": { - "locationName": "item" - } - }, - "S9r": { - "type": "list", - "member": { - "locationName": "item" - } - }, - "Sa4": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Resource": { - "locationName": "resource" - }, - "UseLongIds": { - "locationName": "useLongIds", - "type": "boolean" - }, - "Deadline": { - "locationName": "deadline", - "type": "timestamp" - } - } - } - }, - "Sab": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "UserId": { - "locationName": "userId" - }, - "Group": { - "locationName": "group" - } - } - } - }, - "Sae": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ProductCodeId": { - "locationName": "productCode" - }, - "ProductCodeType": { - "locationName": "type" - } - } - } - }, - "Sah": { - "type": "list", - "member": { - "shape": "S3j", - "locationName": "item" - } - }, - "Sak": { - "type": "list", - "member": { - "locationName": "Owner" - } - }, - "Sas": { - "type": "structure", - "members": { - "Code": { - "locationName": "code" - }, - "Message": { - "locationName": "message" - } - } - }, - "Sax": { - "type": "list", - "member": { - "locationName": "ImportTaskId" - } - }, - "Sb1": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "DiskImageSize": { - "locationName": "diskImageSize", - "type": "double" - }, - "Description": { - "locationName": "description" - }, - "Format": { - "locationName": "format" - }, - "Url": { - "locationName": "url" - }, - "UserBucket": { - "shape": "Sb3", - "locationName": "userBucket" - }, - "DeviceName": { - "locationName": "deviceName" - }, - "SnapshotId": { - "locationName": "snapshotId" - }, - "Progress": { - "locationName": "progress" - }, - "StatusMessage": { - "locationName": "statusMessage" - }, - "Status": { - "locationName": "status" - } - } - } - }, - "Sb3": { - "type": "structure", - "members": { - "S3Bucket": { - "locationName": "s3Bucket" - }, - "S3Key": { - "locationName": "s3Key" - } - } - }, - "Sb8": { - "type": "structure", - "members": { - "DiskImageSize": { - "locationName": "diskImageSize", - "type": "double" - }, - "Description": { - "locationName": "description" - }, - "Format": { - "locationName": "format" - }, - "Url": { - "locationName": "url" - }, - "UserBucket": { - "shape": "Sb3", - "locationName": "userBucket" - }, - "SnapshotId": { - "locationName": "snapshotId" - }, - "Progress": { - "locationName": "progress" - }, - "StatusMessage": { - "locationName": "statusMessage" - }, - "Status": { - "locationName": "status" - } - } - }, - "Sbc": { - "type": "structure", - "members": { - "Value": { - "locationName": "value", - "type": "boolean" - } - } - }, - "Sbd": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "DeviceName": { - "locationName": "deviceName" - }, - "Ebs": { - "locationName": "ebs", - "type": "structure", - "members": { - "VolumeId": { - "locationName": "volumeId" - }, - "Status": { - "locationName": "status" - }, - "AttachTime": { - "locationName": "attachTime", - "type": "timestamp" - }, - "DeleteOnTermination": { - "locationName": "deleteOnTermination", - "type": "boolean" - } - } - } - } - } - }, - "Sbn": { - "type": "structure", - "members": { - "Code": { - "locationName": "code", - "type": "integer" - }, - "Name": { - "locationName": "name" - } - } - }, - "Sbp": { - "type": "structure", - "members": { - "Status": { - "locationName": "status" - }, - "Details": { - "locationName": "details", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Name": { - "locationName": "name" - }, - "Status": { - "locationName": "status" - }, - "ImpairedSince": { - "locationName": "impairedSince", - "type": "timestamp" - } - } - } - } - } - }, - "Sby": { - "type": "structure", - "members": { - "ReservationId": { - "locationName": "reservationId" - }, - "OwnerId": { - "locationName": "ownerId" - }, - "RequesterId": { - "locationName": "requesterId" - }, - "Groups": { - "shape": "S4t", - "locationName": "groupSet" - }, - "Instances": { - "locationName": "instancesSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "ImageId": { - "locationName": "imageId" - }, - "State": { - "shape": "Sbn", - "locationName": "instanceState" - }, - "PrivateDnsName": { - "locationName": "privateDnsName" - }, - "PublicDnsName": { - "locationName": "dnsName" - }, - "StateTransitionReason": { - "locationName": "reason" - }, - "KeyName": { - "locationName": "keyName" - }, - "AmiLaunchIndex": { - "locationName": "amiLaunchIndex", - "type": "integer" - }, - "ProductCodes": { - "shape": "Sae", - "locationName": "productCodes" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "LaunchTime": { - "locationName": "launchTime", - "type": "timestamp" - }, - "Placement": { - "shape": "Sc2", - "locationName": "placement" - }, - "KernelId": { - "locationName": "kernelId" - }, - "RamdiskId": { - "locationName": "ramdiskId" - }, - "Platform": { - "locationName": "platform" - }, - "Monitoring": { - "shape": "Sc3", - "locationName": "monitoring" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "VpcId": { - "locationName": "vpcId" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - }, - "PublicIpAddress": { - "locationName": "ipAddress" - }, - "StateReason": { - "shape": "Sas", - "locationName": "stateReason" - }, - "Architecture": { - "locationName": "architecture" - }, - "RootDeviceType": { - "locationName": "rootDeviceType" - }, - "RootDeviceName": { - "locationName": "rootDeviceName" - }, - "BlockDeviceMappings": { - "shape": "Sbd", - "locationName": "blockDeviceMapping" - }, - "VirtualizationType": { - "locationName": "virtualizationType" - }, - "InstanceLifecycle": { - "locationName": "instanceLifecycle" - }, - "SpotInstanceRequestId": { - "locationName": "spotInstanceRequestId" - }, - "ClientToken": { - "locationName": "clientToken" - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - }, - "SecurityGroups": { - "shape": "S4t", - "locationName": "groupSet" - }, - "SourceDestCheck": { - "locationName": "sourceDestCheck", - "type": "boolean" - }, - "Hypervisor": { - "locationName": "hypervisor" - }, - "NetworkInterfaces": { - "locationName": "networkInterfaceSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "VpcId": { - "locationName": "vpcId" - }, - "Description": { - "locationName": "description" - }, - "OwnerId": { - "locationName": "ownerId" - }, - "Status": { - "locationName": "status" - }, - "MacAddress": { - "locationName": "macAddress" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - }, - "PrivateDnsName": { - "locationName": "privateDnsName" - }, - "SourceDestCheck": { - "locationName": "sourceDestCheck", - "type": "boolean" - }, - "Groups": { - "shape": "S4t", - "locationName": "groupSet" - }, - "Attachment": { - "locationName": "attachment", - "type": "structure", - "members": { - "AttachmentId": { - "locationName": "attachmentId" - }, - "DeviceIndex": { - "locationName": "deviceIndex", - "type": "integer" - }, - "Status": { - "locationName": "status" - }, - "AttachTime": { - "locationName": "attachTime", - "type": "timestamp" - }, - "DeleteOnTermination": { - "locationName": "deleteOnTermination", - "type": "boolean" - } - } - }, - "Association": { - "shape": "Sc9", - "locationName": "association" - }, - "PrivateIpAddresses": { - "locationName": "privateIpAddressesSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "PrivateIpAddress": { - "locationName": "privateIpAddress" - }, - "PrivateDnsName": { - "locationName": "privateDnsName" - }, - "Primary": { - "locationName": "primary", - "type": "boolean" - }, - "Association": { - "shape": "Sc9", - "locationName": "association" - } - } - } - } - } - } - }, - "IamInstanceProfile": { - "locationName": "iamInstanceProfile", - "type": "structure", - "members": { - "Arn": { - "locationName": "arn" - }, - "Id": { - "locationName": "id" - } - } - }, - "EbsOptimized": { - "locationName": "ebsOptimized", - "type": "boolean" - }, - "SriovNetSupport": { - "locationName": "sriovNetSupport" - }, - "EnaSupport": { - "locationName": "enaSupport", - "type": "boolean" - } - } - } - } - } - }, - "Sc2": { - "type": "structure", - "members": { - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "GroupName": { - "locationName": "groupName" - }, - "Tenancy": { - "locationName": "tenancy" - }, - "HostId": { - "locationName": "hostId" - }, - "Affinity": { - "locationName": "affinity" - } - } - }, - "Sc3": { - "type": "structure", - "members": { - "State": { - "locationName": "state" - } - } - }, - "Sc9": { - "type": "structure", - "members": { - "PublicIp": { - "locationName": "publicIp" - }, - "PublicDnsName": { - "locationName": "publicDnsName" - }, - "IpOwnerId": { - "locationName": "ipOwnerId" - } - } - }, - "Sdj": { - "type": "list", - "member": { - "locationName": "ReservedInstancesId" - } - }, - "Sds": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Frequency": { - "locationName": "frequency" - }, - "Amount": { - "locationName": "amount", - "type": "double" - } - } - } - }, - "Se7": { - "type": "structure", - "members": { - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "Platform": { - "locationName": "platform" - }, - "InstanceCount": { - "locationName": "instanceCount", - "type": "integer" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "Scope": { - "locationName": "scope" - } - } - }, - "Sep": { - "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" - } - } - }, - "Sew": { - "type": "structure", - "members": { - "ScheduledInstanceId": { - "locationName": "scheduledInstanceId" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "Platform": { - "locationName": "platform" - }, - "NetworkPlatform": { - "locationName": "networkPlatform" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "SlotDurationInHours": { - "locationName": "slotDurationInHours", - "type": "integer" - }, - "Recurrence": { - "shape": "Sep", - "locationName": "recurrence" - }, - "PreviousSlotEndTime": { - "locationName": "previousSlotEndTime", - "type": "timestamp" - }, - "NextSlotStartTime": { - "locationName": "nextSlotStartTime", - "type": "timestamp" - }, - "HourlyPrice": { - "locationName": "hourlyPrice" - }, - "TotalScheduledInstanceHours": { - "locationName": "totalScheduledInstanceHours", - "type": "integer" - }, - "InstanceCount": { - "locationName": "instanceCount", - "type": "integer" - }, - "TermStartDate": { - "locationName": "termStartDate", - "type": "timestamp" - }, - "TermEndDate": { - "locationName": "termEndDate", - "type": "timestamp" - }, - "CreateDate": { - "locationName": "createDate", - "type": "timestamp" - } - } - }, - "Sf3": { - "type": "list", - "member": { - "locationName": "GroupName" - } - }, - "Sfa": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "UserId": { - "locationName": "userId" - }, - "Group": { - "locationName": "group" - } - } - } - }, - "Sfx": { - "type": "structure", - "required": [ - "SpotPrice", - "TargetCapacity", - "IamFleetRole", - "LaunchSpecifications" - ], - "members": { - "ClientToken": { - "locationName": "clientToken" - }, - "SpotPrice": { - "locationName": "spotPrice" - }, - "TargetCapacity": { - "locationName": "targetCapacity", - "type": "integer" - }, - "ValidFrom": { - "locationName": "validFrom", - "type": "timestamp" - }, - "ValidUntil": { - "locationName": "validUntil", - "type": "timestamp" - }, - "TerminateInstancesWithExpiration": { - "locationName": "terminateInstancesWithExpiration", - "type": "boolean" - }, - "IamFleetRole": { - "locationName": "iamFleetRole" - }, - "LaunchSpecifications": { - "locationName": "launchSpecifications", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ImageId": { - "locationName": "imageId" - }, - "KeyName": { - "locationName": "keyName" - }, - "SecurityGroups": { - "shape": "S4t", - "locationName": "groupSet" - }, - "UserData": { - "locationName": "userData" - }, - "AddressingType": { - "locationName": "addressingType" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "Placement": { - "shape": "Sg0", - "locationName": "placement" - }, - "KernelId": { - "locationName": "kernelId" - }, - "RamdiskId": { - "locationName": "ramdiskId" - }, - "BlockDeviceMappings": { - "shape": "Sah", - "locationName": "blockDeviceMapping" - }, - "Monitoring": { - "locationName": "monitoring", - "type": "structure", - "members": { - "Enabled": { - "locationName": "enabled", - "type": "boolean" - } - } - }, - "SubnetId": { - "locationName": "subnetId" - }, - "NetworkInterfaces": { - "shape": "Sg2", - "locationName": "networkInterfaceSet" - }, - "IamInstanceProfile": { - "shape": "Sg4", - "locationName": "iamInstanceProfile" - }, - "EbsOptimized": { - "locationName": "ebsOptimized", - "type": "boolean" - }, - "WeightedCapacity": { - "locationName": "weightedCapacity", - "type": "double" - }, - "SpotPrice": { - "locationName": "spotPrice" - } - } - } - }, - "ExcessCapacityTerminationPolicy": { - "locationName": "excessCapacityTerminationPolicy" - }, - "AllocationStrategy": { - "locationName": "allocationStrategy" - }, - "FulfilledCapacity": { - "locationName": "fulfilledCapacity", - "type": "double" - }, - "Type": { - "locationName": "type" - } - } - }, - "Sg0": { - "type": "structure", - "members": { - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "GroupName": { - "locationName": "groupName" - } - } - }, - "Sg2": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "DeviceIndex": { - "locationName": "deviceIndex", - "type": "integer" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "Description": { - "locationName": "description" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - }, - "Groups": { - "shape": "S4n", - "locationName": "SecurityGroupId" - }, - "DeleteOnTermination": { - "locationName": "deleteOnTermination", - "type": "boolean" - }, - "PrivateIpAddresses": { - "shape": "S4o", - "locationName": "privateIpAddressesSet", - "queryName": "PrivateIpAddresses" - }, - "SecondaryPrivateIpAddressCount": { - "locationName": "secondaryPrivateIpAddressCount", - "type": "integer" - }, - "AssociatePublicIpAddress": { - "locationName": "associatePublicIpAddress", - "type": "boolean" - } - } - } - }, - "Sg4": { - "type": "structure", - "members": { - "Arn": { - "locationName": "arn" - }, - "Name": { - "locationName": "name" - } - } - }, - "Sgb": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "SpotInstanceRequestId": { - "locationName": "spotInstanceRequestId" - }, - "SpotPrice": { - "locationName": "spotPrice" - }, - "Type": { - "locationName": "type" - }, - "State": { - "locationName": "state" - }, - "Fault": { - "shape": "S5s", - "locationName": "fault" - }, - "Status": { - "locationName": "status", - "type": "structure", - "members": { - "Code": { - "locationName": "code" - }, - "UpdateTime": { - "locationName": "updateTime", - "type": "timestamp" - }, - "Message": { - "locationName": "message" - } - } - }, - "ValidFrom": { - "locationName": "validFrom", - "type": "timestamp" - }, - "ValidUntil": { - "locationName": "validUntil", - "type": "timestamp" - }, - "LaunchGroup": { - "locationName": "launchGroup" - }, - "AvailabilityZoneGroup": { - "locationName": "availabilityZoneGroup" - }, - "LaunchSpecification": { - "locationName": "launchSpecification", - "type": "structure", - "members": { - "ImageId": { - "locationName": "imageId" - }, - "KeyName": { - "locationName": "keyName" - }, - "SecurityGroups": { - "shape": "S4t", - "locationName": "groupSet" - }, - "UserData": { - "locationName": "userData" - }, - "AddressingType": { - "locationName": "addressingType" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "Placement": { - "shape": "Sg0", - "locationName": "placement" - }, - "KernelId": { - "locationName": "kernelId" - }, - "RamdiskId": { - "locationName": "ramdiskId" - }, - "BlockDeviceMappings": { - "shape": "Sah", - "locationName": "blockDeviceMapping" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "NetworkInterfaces": { - "shape": "Sg2", - "locationName": "networkInterfaceSet" - }, - "IamInstanceProfile": { - "shape": "Sg4", - "locationName": "iamInstanceProfile" - }, - "EbsOptimized": { - "locationName": "ebsOptimized", - "type": "boolean" - }, - "Monitoring": { - "shape": "Sgh", - "locationName": "monitoring" - } - } - }, - "InstanceId": { - "locationName": "instanceId" - }, - "CreateTime": { - "locationName": "createTime", - "type": "timestamp" - }, - "ProductDescription": { - "locationName": "productDescription" - }, - "BlockDurationMinutes": { - "locationName": "blockDurationMinutes", - "type": "integer" - }, - "ActualBlockHourlyPrice": { - "locationName": "actualBlockHourlyPrice" - }, - "Tags": { - "shape": "Sh", - "locationName": "tagSet" - }, - "LaunchedAvailabilityZone": { - "locationName": "launchedAvailabilityZone" - } - } - } - }, - "Sgh": { - "type": "structure", - "required": [ - "Enabled" - ], - "members": { - "Enabled": { - "locationName": "enabled", - "type": "boolean" - } - } - }, - "Sgu": { - "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": "S1e", - "locationName": "item" - } - } - } - } - }, - "Shc": { - "type": "list", - "member": { - "locationName": "VolumeId" - } - }, - "Shw": { - "type": "list", - "member": { - "locationName": "VpcId" - } - }, - "Sjc": { - "type": "list", - "member": { - "locationName": "item" - } - }, - "Sje": { - "type": "list", - "member": { - "type": "structure", - "members": { - "HostReservationId": { - "locationName": "hostReservationId" - }, - "HostIdSet": { - "shape": "S9o", - "locationName": "hostIdSet" - }, - "InstanceFamily": { - "locationName": "instanceFamily" - }, - "PaymentOption": { - "locationName": "paymentOption" - }, - "UpfrontPrice": { - "locationName": "upfrontPrice" - }, - "HourlyPrice": { - "locationName": "hourlyPrice" - }, - "CurrencyCode": { - "locationName": "currencyCode" - }, - "Duration": { - "locationName": "duration", - "type": "integer" - } - } - } - }, - "Sjm": { - "type": "structure", - "members": { - "RemainingTotalValue": { - "locationName": "remainingTotalValue" - }, - "RemainingUpfrontValue": { - "locationName": "remainingUpfrontValue" - }, - "HourlyPrice": { - "locationName": "hourlyPrice" - } - } - }, - "Sjt": { - "type": "structure", - "members": { - "S3Bucket": {}, - "S3Key": {} - } - }, - "Sju": { - "type": "structure", - "members": { - "UploadStart": { - "type": "timestamp" - }, - "UploadEnd": { - "type": "timestamp" - }, - "UploadSize": { - "type": "double" - }, - "Comment": {} - } - }, - "Sjy": { - "type": "list", - "member": { - "locationName": "SecurityGroup" - } - }, - "Sk3": { - "type": "structure", - "required": [ - "Format", - "Bytes", - "ImportManifestUrl" - ], - "members": { - "Format": { - "locationName": "format" - }, - "Bytes": { - "locationName": "bytes", - "type": "long" - }, - "ImportManifestUrl": { - "locationName": "importManifestUrl" - } - } - }, - "Sk4": { - "type": "structure", - "required": [ - "Size" - ], - "members": { - "Size": { - "locationName": "size", - "type": "long" - } - } - }, - "Skf": { - "type": "list", - "member": { - "shape": "S3f", - "locationName": "item" - } - }, - "Skk": { - "type": "list", - "member": { - "locationName": "UserId" - } - }, - "Slc": { - "type": "structure", - "members": { - "AllowEgressFromLocalClassicLinkToRemoteVpc": { - "type": "boolean" - }, - "AllowEgressFromLocalVpcToRemoteClassicLink": { - "type": "boolean" - }, - "AllowDnsResolutionFromRemoteVpc": { - "type": "boolean" - } - } - }, - "Sle": { - "type": "structure", - "members": { - "AllowEgressFromLocalClassicLinkToRemoteVpc": { - "locationName": "allowEgressFromLocalClassicLinkToRemoteVpc", - "type": "boolean" - }, - "AllowEgressFromLocalVpcToRemoteClassicLink": { - "locationName": "allowEgressFromLocalVpcToRemoteClassicLink", - "type": "boolean" - }, - "AllowDnsResolutionFromRemoteVpc": { - "locationName": "allowDnsResolutionFromRemoteVpc", - "type": "boolean" - } - } - }, - "Slh": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "Monitoring": { - "shape": "Sc3", - "locationName": "monitoring" - } - } - } - }, - "Smv": { - "type": "list", - "member": { - "locationName": "SecurityGroupId" - } - }, - "Sna": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "CurrentState": { - "shape": "Sbn", - "locationName": "currentState" - }, - "PreviousState": { - "shape": "Sbn", - "locationName": "previousState" - } - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/ec2-2016-09-15.paginators.json b/node_modules/aws-sdk/apis/ec2-2016-09-15.paginators.json deleted file mode 100644 index 9d04d89..0000000 --- a/node_modules/aws-sdk/apis/ec2-2016-09-15.paginators.json +++ /dev/null @@ -1,138 +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", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "InstanceStatuses" - }, - "DescribeInstances": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "Reservations" - }, - "DescribeInternetGateways": { - "result_key": "InternetGateways" - }, - "DescribeKeyPairs": { - "result_key": "KeyPairs" - }, - "DescribeNetworkAcls": { - "result_key": "NetworkAcls" - }, - "DescribeNetworkInterfaces": { - "result_key": "NetworkInterfaces" - }, - "DescribePlacementGroups": { - "result_key": "PlacementGroups" - }, - "DescribeRegions": { - "result_key": "Regions" - }, - "DescribeReservedInstances": { - "result_key": "ReservedInstances" - }, - "DescribeReservedInstancesListings": { - "result_key": "ReservedInstancesListings" - }, - "DescribeReservedInstancesOfferings": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "ReservedInstancesOfferings" - }, - "DescribeReservedInstancesModifications": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "ReservedInstancesModifications" - }, - "DescribeRouteTables": { - "result_key": "RouteTables" - }, - "DescribeSecurityGroups": { - "result_key": "SecurityGroups" - }, - "DescribeSnapshots": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "Snapshots" - }, - "DescribeSpotInstanceRequests": { - "result_key": "SpotInstanceRequests" - }, - "DescribeSpotFleetRequests": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "SpotFleetRequestConfigs" - }, - "DescribeSpotPriceHistory": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "SpotPriceHistory" - }, - "DescribeSubnets": { - "result_key": "Subnets" - }, - "DescribeTags": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "Tags" - }, - "DescribeVolumeStatus": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "VolumeStatuses" - }, - "DescribeVolumes": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "Volumes" - }, - "DescribeVpcs": { - "result_key": "Vpcs" - }, - "DescribeVpcPeeringConnections": { - "result_key": "VpcPeeringConnections" - }, - "DescribeVpnConnections": { - "result_key": "VpnConnections" - }, - "DescribeVpnGateways": { - "result_key": "VpnGateways" - } - } -} diff --git a/node_modules/aws-sdk/apis/ec2-2016-09-15.waiters2.json b/node_modules/aws-sdk/apis/ec2-2016-09-15.waiters2.json deleted file mode 100644 index ecc9f1b..0000000 --- a/node_modules/aws-sdk/apis/ec2-2016-09-15.waiters2.json +++ /dev/null @@ -1,593 +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": "pathAll", - "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" - } - ] - } - } -} diff --git a/node_modules/aws-sdk/apis/ecr-2015-09-21.examples.json b/node_modules/aws-sdk/apis/ecr-2015-09-21.examples.json deleted file mode 100644 index d11aa8d..0000000 --- a/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/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json b/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json deleted file mode 100644 index 0f56b32..0000000 --- a/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json +++ /dev/null @@ -1,545 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-09-21", - "endpointPrefix": "ecr", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Amazon ECR", - "serviceFullName": "Amazon EC2 Container Registry", - "signatureVersion": "v4", - "targetPrefix": "AmazonEC2ContainerRegistry_V20150921" - }, - "operations": { - "BatchCheckLayerAvailability": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "layerDigests" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "layerDigests": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "layers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "layerDigest": {}, - "layerAvailability": {}, - "layerSize": { - "type": "long" - } - } - } - }, - "failures": { - "type": "list", - "member": { - "type": "structure", - "members": { - "layerDigest": {}, - "failureCode": {}, - "failureReason": {} - } - } - } - } - } - }, - "BatchDeleteImage": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "imageIds" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "imageIds": { - "shape": "Sh" - } - } - }, - "output": { - "type": "structure", - "members": { - "imageIds": { - "shape": "Sh" - }, - "failures": { - "shape": "Sm" - } - } - } - }, - "BatchGetImage": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "imageIds" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "imageIds": { - "shape": "Sh" - } - } - }, - "output": { - "type": "structure", - "members": { - "images": { - "type": "list", - "member": { - "shape": "St" - } - }, - "failures": { - "shape": "Sm" - } - } - } - }, - "CompleteLayerUpload": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "uploadId", - "layerDigests" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "uploadId": {}, - "layerDigests": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "uploadId": {}, - "layerDigest": {} - } - } - }, - "CreateRepository": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "repositoryName": {} - } - }, - "output": { - "type": "structure", - "members": { - "repository": { - "shape": "S11" - } - } - } - }, - "DeleteRepository": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "force": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "repository": { - "shape": "S11" - } - } - } - }, - "DeleteRepositoryPolicy": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "registryId": {}, - "repositoryName": {} - } - }, - "output": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "policyText": {} - } - } - }, - "DescribeImages": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "imageIds": { - "shape": "Sh" - }, - "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": "S11" - } - }, - "nextToken": {} - } - } - }, - "GetAuthorizationToken": { - "input": { - "type": "structure", - "members": { - "registryIds": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "authorizationData": { - "type": "list", - "member": { - "type": "structure", - "members": { - "authorizationToken": {}, - "expiresAt": { - "type": "timestamp" - }, - "proxyEndpoint": {} - } - } - } - } - } - }, - "GetDownloadUrlForLayer": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "layerDigest" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "layerDigest": {} - } - }, - "output": { - "type": "structure", - "members": { - "downloadUrl": {}, - "layerDigest": {} - } - } - }, - "GetRepositoryPolicy": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "registryId": {}, - "repositoryName": {} - } - }, - "output": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "policyText": {} - } - } - }, - "InitiateLayerUpload": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "registryId": {}, - "repositoryName": {} - } - }, - "output": { - "type": "structure", - "members": { - "uploadId": {}, - "partSize": { - "type": "long" - } - } - } - }, - "ListImages": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - }, - "filter": { - "type": "structure", - "members": { - "tagStatus": {} - } - } - } - }, - "output": { - "type": "structure", - "members": { - "imageIds": { - "shape": "Sh" - }, - "nextToken": {} - } - } - }, - "PutImage": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "imageManifest" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "imageManifest": {} - } - }, - "output": { - "type": "structure", - "members": { - "image": { - "shape": "St" - } - } - } - }, - "SetRepositoryPolicy": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "policyText" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "policyText": {}, - "force": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "policyText": {} - } - } - }, - "UploadLayerPart": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "uploadId", - "partFirstByte", - "partLastByte", - "layerPartBlob" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "uploadId": {}, - "partFirstByte": { - "type": "long" - }, - "partLastByte": { - "type": "long" - }, - "layerPartBlob": { - "type": "blob" - } - } - }, - "output": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "uploadId": {}, - "lastByteReceived": { - "type": "long" - } - } - } - } - }, - "shapes": { - "Sh": { - "type": "list", - "member": { - "shape": "Si" - } - }, - "Si": { - "type": "structure", - "members": { - "imageDigest": {}, - "imageTag": {} - } - }, - "Sm": { - "type": "list", - "member": { - "type": "structure", - "members": { - "imageId": { - "shape": "Si" - }, - "failureCode": {}, - "failureReason": {} - } - } - }, - "St": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "imageId": { - "shape": "Si" - }, - "imageManifest": {} - } - }, - "S11": { - "type": "structure", - "members": { - "repositoryArn": {}, - "registryId": {}, - "repositoryName": {}, - "repositoryUri": {}, - "createdAt": { - "type": "timestamp" - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/ecs-2014-11-13.examples.json b/node_modules/aws-sdk/apis/ecs-2014-11-13.examples.json deleted file mode 100644 index c14ba44..0000000 --- a/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/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json b/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json deleted file mode 100644 index 2cc784e..0000000 --- a/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +++ /dev/null @@ -1,1135 +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" - }, - "operations": { - "CreateCluster": { - "input": { - "type": "structure", - "members": { - "clusterName": {} - } - }, - "output": { - "type": "structure", - "members": { - "cluster": { - "shape": "S4" - } - } - } - }, - "CreateService": { - "input": { - "type": "structure", - "required": [ - "serviceName", - "taskDefinition", - "desiredCount" - ], - "members": { - "cluster": {}, - "serviceName": {}, - "taskDefinition": {}, - "loadBalancers": { - "shape": "S7" - }, - "desiredCount": { - "type": "integer" - }, - "clientToken": {}, - "role": {}, - "deploymentConfiguration": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "members": { - "service": { - "shape": "Sc" - } - } - } - }, - "DeleteCluster": { - "input": { - "type": "structure", - "required": [ - "cluster" - ], - "members": { - "cluster": {} - } - }, - "output": { - "type": "structure", - "members": { - "cluster": { - "shape": "S4" - } - } - } - }, - "DeleteService": { - "input": { - "type": "structure", - "required": [ - "service" - ], - "members": { - "cluster": {}, - "service": {} - } - }, - "output": { - "type": "structure", - "members": { - "service": { - "shape": "Sc" - } - } - } - }, - "DeregisterContainerInstance": { - "input": { - "type": "structure", - "required": [ - "containerInstance" - ], - "members": { - "cluster": {}, - "containerInstance": {}, - "force": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "containerInstance": { - "shape": "Sp" - } - } - } - }, - "DeregisterTaskDefinition": { - "input": { - "type": "structure", - "required": [ - "taskDefinition" - ], - "members": { - "taskDefinition": {} - } - }, - "output": { - "type": "structure", - "members": { - "taskDefinition": { - "shape": "S12" - } - } - } - }, - "DescribeClusters": { - "input": { - "type": "structure", - "members": { - "clusters": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": { - "clusters": { - "type": "list", - "member": { - "shape": "S4" - } - }, - "failures": { - "shape": "S1w" - } - } - } - }, - "DescribeContainerInstances": { - "input": { - "type": "structure", - "required": [ - "containerInstances" - ], - "members": { - "cluster": {}, - "containerInstances": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": { - "containerInstances": { - "type": "list", - "member": { - "shape": "Sp" - } - }, - "failures": { - "shape": "S1w" - } - } - } - }, - "DescribeServices": { - "input": { - "type": "structure", - "required": [ - "services" - ], - "members": { - "cluster": {}, - "services": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": { - "services": { - "type": "list", - "member": { - "shape": "Sc" - } - }, - "failures": { - "shape": "S1w" - } - } - } - }, - "DescribeTaskDefinition": { - "input": { - "type": "structure", - "required": [ - "taskDefinition" - ], - "members": { - "taskDefinition": {} - } - }, - "output": { - "type": "structure", - "members": { - "taskDefinition": { - "shape": "S12" - } - } - } - }, - "DescribeTasks": { - "input": { - "type": "structure", - "required": [ - "tasks" - ], - "members": { - "cluster": {}, - "tasks": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": { - "tasks": { - "shape": "S28" - }, - "failures": { - "shape": "S1w" - } - } - } - }, - "DiscoverPollEndpoint": { - "input": { - "type": "structure", - "members": { - "containerInstance": {}, - "cluster": {} - } - }, - "output": { - "type": "structure", - "members": { - "endpoint": {}, - "telemetryEndpoint": {} - } - } - }, - "ListClusters": { - "input": { - "type": "structure", - "members": { - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "clusterArns": { - "shape": "Sv" - }, - "nextToken": {} - } - } - }, - "ListContainerInstances": { - "input": { - "type": "structure", - "members": { - "cluster": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "containerInstanceArns": { - "shape": "Sv" - }, - "nextToken": {} - } - } - }, - "ListServices": { - "input": { - "type": "structure", - "members": { - "cluster": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "serviceArns": { - "shape": "Sv" - }, - "nextToken": {} - } - } - }, - "ListTaskDefinitionFamilies": { - "input": { - "type": "structure", - "members": { - "familyPrefix": {}, - "status": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "families": { - "shape": "Sv" - }, - "nextToken": {} - } - } - }, - "ListTaskDefinitions": { - "input": { - "type": "structure", - "members": { - "familyPrefix": {}, - "status": {}, - "sort": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "taskDefinitionArns": { - "shape": "Sv" - }, - "nextToken": {} - } - } - }, - "ListTasks": { - "input": { - "type": "structure", - "members": { - "cluster": {}, - "containerInstance": {}, - "family": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - }, - "startedBy": {}, - "serviceName": {}, - "desiredStatus": {} - } - }, - "output": { - "type": "structure", - "members": { - "taskArns": { - "shape": "Sv" - }, - "nextToken": {} - } - } - }, - "RegisterContainerInstance": { - "input": { - "type": "structure", - "members": { - "cluster": {}, - "instanceIdentityDocument": {}, - "instanceIdentityDocumentSignature": {}, - "totalResources": { - "shape": "Sr" - }, - "versionInfo": { - "shape": "Sq" - }, - "containerInstanceArn": {}, - "attributes": { - "shape": "Sy" - } - } - }, - "output": { - "type": "structure", - "members": { - "containerInstance": { - "shape": "Sp" - } - } - } - }, - "RegisterTaskDefinition": { - "input": { - "type": "structure", - "required": [ - "family", - "containerDefinitions" - ], - "members": { - "family": {}, - "taskRoleArn": {}, - "networkMode": {}, - "containerDefinitions": { - "shape": "S13" - }, - "volumes": { - "shape": "S1o" - } - } - }, - "output": { - "type": "structure", - "members": { - "taskDefinition": { - "shape": "S12" - } - } - } - }, - "RunTask": { - "input": { - "type": "structure", - "required": [ - "taskDefinition" - ], - "members": { - "cluster": {}, - "taskDefinition": {}, - "overrides": { - "shape": "S2a" - }, - "count": { - "type": "integer" - }, - "startedBy": {} - } - }, - "output": { - "type": "structure", - "members": { - "tasks": { - "shape": "S28" - }, - "failures": { - "shape": "S1w" - } - } - } - }, - "StartTask": { - "input": { - "type": "structure", - "required": [ - "taskDefinition", - "containerInstances" - ], - "members": { - "cluster": {}, - "taskDefinition": {}, - "overrides": { - "shape": "S2a" - }, - "containerInstances": { - "shape": "Sv" - }, - "startedBy": {} - } - }, - "output": { - "type": "structure", - "members": { - "tasks": { - "shape": "S28" - }, - "failures": { - "shape": "S1w" - } - } - } - }, - "StopTask": { - "input": { - "type": "structure", - "required": [ - "task" - ], - "members": { - "cluster": {}, - "task": {}, - "reason": {} - } - }, - "output": { - "type": "structure", - "members": { - "task": { - "shape": "S29" - } - } - } - }, - "SubmitContainerStateChange": { - "input": { - "type": "structure", - "members": { - "cluster": {}, - "task": {}, - "containerName": {}, - "status": {}, - "exitCode": { - "type": "integer" - }, - "reason": {}, - "networkBindings": { - "shape": "S2f" - } - } - }, - "output": { - "type": "structure", - "members": { - "acknowledgment": {} - } - } - }, - "SubmitTaskStateChange": { - "input": { - "type": "structure", - "members": { - "cluster": {}, - "task": {}, - "status": {}, - "reason": {} - } - }, - "output": { - "type": "structure", - "members": { - "acknowledgment": {} - } - } - }, - "UpdateContainerAgent": { - "input": { - "type": "structure", - "required": [ - "containerInstance" - ], - "members": { - "cluster": {}, - "containerInstance": {} - } - }, - "output": { - "type": "structure", - "members": { - "containerInstance": { - "shape": "Sp" - } - } - } - }, - "UpdateService": { - "input": { - "type": "structure", - "required": [ - "service" - ], - "members": { - "cluster": {}, - "service": {}, - "desiredCount": { - "type": "integer" - }, - "taskDefinition": {}, - "deploymentConfiguration": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "members": { - "service": { - "shape": "Sc" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "clusterArn": {}, - "clusterName": {}, - "status": {}, - "registeredContainerInstancesCount": { - "type": "integer" - }, - "runningTasksCount": { - "type": "integer" - }, - "pendingTasksCount": { - "type": "integer" - }, - "activeServicesCount": { - "type": "integer" - } - } - }, - "S7": { - "type": "list", - "member": { - "type": "structure", - "members": { - "targetGroupArn": {}, - "loadBalancerName": {}, - "containerName": {}, - "containerPort": { - "type": "integer" - } - } - } - }, - "Sa": { - "type": "structure", - "members": { - "maximumPercent": { - "type": "integer" - }, - "minimumHealthyPercent": { - "type": "integer" - } - } - }, - "Sc": { - "type": "structure", - "members": { - "serviceArn": {}, - "serviceName": {}, - "clusterArn": {}, - "loadBalancers": { - "shape": "S7" - }, - "status": {}, - "desiredCount": { - "type": "integer" - }, - "runningCount": { - "type": "integer" - }, - "pendingCount": { - "type": "integer" - }, - "taskDefinition": {}, - "deploymentConfiguration": { - "shape": "Sa" - }, - "deployments": { - "type": "list", - "member": { - "type": "structure", - "members": { - "id": {}, - "status": {}, - "taskDefinition": {}, - "desiredCount": { - "type": "integer" - }, - "pendingCount": { - "type": "integer" - }, - "runningCount": { - "type": "integer" - }, - "createdAt": { - "type": "timestamp" - }, - "updatedAt": { - "type": "timestamp" - } - } - } - }, - "roleArn": {}, - "events": { - "type": "list", - "member": { - "type": "structure", - "members": { - "id": {}, - "createdAt": { - "type": "timestamp" - }, - "message": {} - } - } - }, - "createdAt": { - "type": "timestamp" - } - } - }, - "Sp": { - "type": "structure", - "members": { - "containerInstanceArn": {}, - "ec2InstanceId": {}, - "versionInfo": { - "shape": "Sq" - }, - "remainingResources": { - "shape": "Sr" - }, - "registeredResources": { - "shape": "Sr" - }, - "status": {}, - "agentConnected": { - "type": "boolean" - }, - "runningTasksCount": { - "type": "integer" - }, - "pendingTasksCount": { - "type": "integer" - }, - "agentUpdateStatus": {}, - "attributes": { - "shape": "Sy" - } - } - }, - "Sq": { - "type": "structure", - "members": { - "agentVersion": {}, - "agentHash": {}, - "dockerVersion": {} - } - }, - "Sr": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "type": {}, - "doubleValue": { - "type": "double" - }, - "longValue": { - "type": "long" - }, - "integerValue": { - "type": "integer" - }, - "stringSetValue": { - "shape": "Sv" - } - } - } - }, - "Sv": { - "type": "list", - "member": {} - }, - "Sy": { - "type": "list", - "member": { - "shape": "Sz" - } - }, - "Sz": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {}, - "value": {} - } - }, - "S12": { - "type": "structure", - "members": { - "taskDefinitionArn": {}, - "containerDefinitions": { - "shape": "S13" - }, - "family": {}, - "taskRoleArn": {}, - "networkMode": {}, - "revision": { - "type": "integer" - }, - "volumes": { - "shape": "S1o" - }, - "status": {}, - "requiresAttributes": { - "type": "list", - "member": { - "shape": "Sz" - } - } - } - }, - "S13": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "image": {}, - "cpu": { - "type": "integer" - }, - "memory": { - "type": "integer" - }, - "memoryReservation": { - "type": "integer" - }, - "links": { - "shape": "Sv" - }, - "portMappings": { - "type": "list", - "member": { - "type": "structure", - "members": { - "containerPort": { - "type": "integer" - }, - "hostPort": { - "type": "integer" - }, - "protocol": {} - } - } - }, - "essential": { - "type": "boolean" - }, - "entryPoint": { - "shape": "Sv" - }, - "command": { - "shape": "Sv" - }, - "environment": { - "shape": "S18" - }, - "mountPoints": { - "type": "list", - "member": { - "type": "structure", - "members": { - "sourceVolume": {}, - "containerPath": {}, - "readOnly": { - "type": "boolean" - } - } - } - }, - "volumesFrom": { - "type": "list", - "member": { - "type": "structure", - "members": { - "sourceContainer": {}, - "readOnly": { - "type": "boolean" - } - } - } - }, - "hostname": {}, - "user": {}, - "workingDirectory": {}, - "disableNetworking": { - "type": "boolean" - }, - "privileged": { - "type": "boolean" - }, - "readonlyRootFilesystem": { - "type": "boolean" - }, - "dnsServers": { - "shape": "Sv" - }, - "dnsSearchDomains": { - "shape": "Sv" - }, - "extraHosts": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "hostname", - "ipAddress" - ], - "members": { - "hostname": {}, - "ipAddress": {} - } - } - }, - "dockerSecurityOptions": { - "shape": "Sv" - }, - "dockerLabels": { - "type": "map", - "key": {}, - "value": {} - }, - "ulimits": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "name", - "softLimit", - "hardLimit" - ], - "members": { - "name": {}, - "softLimit": { - "type": "integer" - }, - "hardLimit": { - "type": "integer" - } - } - } - }, - "logConfiguration": { - "type": "structure", - "required": [ - "logDriver" - ], - "members": { - "logDriver": {}, - "options": { - "type": "map", - "key": {}, - "value": {} - } - } - } - } - } - }, - "S18": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "value": {} - } - } - }, - "S1o": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "host": { - "type": "structure", - "members": { - "sourcePath": {} - } - } - } - } - }, - "S1w": { - "type": "list", - "member": { - "type": "structure", - "members": { - "arn": {}, - "reason": {} - } - } - }, - "S28": { - "type": "list", - "member": { - "shape": "S29" - } - }, - "S29": { - "type": "structure", - "members": { - "taskArn": {}, - "clusterArn": {}, - "taskDefinitionArn": {}, - "containerInstanceArn": {}, - "overrides": { - "shape": "S2a" - }, - "lastStatus": {}, - "desiredStatus": {}, - "containers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "containerArn": {}, - "taskArn": {}, - "name": {}, - "lastStatus": {}, - "exitCode": { - "type": "integer" - }, - "reason": {}, - "networkBindings": { - "shape": "S2f" - } - } - } - }, - "startedBy": {}, - "stoppedReason": {}, - "createdAt": { - "type": "timestamp" - }, - "startedAt": { - "type": "timestamp" - }, - "stoppedAt": { - "type": "timestamp" - } - } - }, - "S2a": { - "type": "structure", - "members": { - "containerOverrides": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "command": { - "shape": "Sv" - }, - "environment": { - "shape": "S18" - } - } - } - }, - "taskRoleArn": {} - } - }, - "S2f": { - "type": "list", - "member": { - "type": "structure", - "members": { - "bindIP": {}, - "containerPort": { - "type": "integer" - }, - "hostPort": { - "type": "integer" - }, - "protocol": {} - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/ecs-2014-11-13.paginators.json b/node_modules/aws-sdk/apis/ecs-2014-11-13.paginators.json deleted file mode 100644 index 081a2df..0000000 --- a/node_modules/aws-sdk/apis/ecs-2014-11-13.paginators.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "pagination": { - "ListClusters": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "clusterArns" - }, - "ListContainerInstances": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "containerInstanceArns" - }, - "ListTaskDefinitions": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "taskDefinitionArns" - }, - "ListTaskDefinitionFamilies": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "families" - }, - "ListTasks": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "taskArns" - }, - "ListServices": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "serviceArns" - } - } -} diff --git a/node_modules/aws-sdk/apis/ecs-2014-11-13.waiters2.json b/node_modules/aws-sdk/apis/ecs-2014-11-13.waiters2.json deleted file mode 100644 index 8a0b19d..0000000 --- a/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/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json b/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json deleted file mode 100644 index d973bb8..0000000 --- a/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json +++ /dev/null @@ -1,1567 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-02-02", - "endpointPrefix": "elasticache", - "protocol": "query", - "serviceFullName": "Amazon ElastiCache", - "signatureVersion": "v4", - "xmlNamespace": "http://elasticache.amazonaws.com/doc/2015-02-02/" - }, - "operations": { - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "Tags" - ], - "members": { - "ResourceName": {}, - "Tags": { - "shape": "S3" - } - } - }, - "output": { - "shape": "S5", - "resultWrapper": "AddTagsToResourceResult" - } - }, - "AuthorizeCacheSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "CacheSecurityGroupName", - "EC2SecurityGroupName", - "EC2SecurityGroupOwnerId" - ], - "members": { - "CacheSecurityGroupName": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeCacheSecurityGroupIngressResult", - "type": "structure", - "members": { - "CacheSecurityGroup": { - "shape": "S8" - } - } - } - }, - "CopySnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceSnapshotName", - "TargetSnapshotName" - ], - "members": { - "SourceSnapshotName": {}, - "TargetSnapshotName": {}, - "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": {} - } - }, - "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": {} - } - }, - "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" - } - } - }, - "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": {} - } - }, - "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" - } - } - } - } - }, - "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": {} - }, - "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/node_modules/aws-sdk/apis/elasticache-2015-02-02.paginators.json b/node_modules/aws-sdk/apis/elasticache-2015-02-02.paginators.json deleted file mode 100644 index 8724740..0000000 --- a/node_modules/aws-sdk/apis/elasticache-2015-02-02.paginators.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "pagination": { - "DescribeCacheClusters": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "CacheClusters" - }, - "DescribeCacheEngineVersions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "CacheEngineVersions" - }, - "DescribeCacheParameterGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "CacheParameterGroups" - }, - "DescribeCacheParameters": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Parameters" - }, - "DescribeCacheSecurityGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "CacheSecurityGroups" - }, - "DescribeCacheSubnetGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "CacheSubnetGroups" - }, - "DescribeEngineDefaultParameters": { - "input_token": "Marker", - "output_token": "EngineDefaults.Marker", - "limit_key": "MaxRecords", - "result_key": "EngineDefaults.Parameters" - }, - "DescribeEvents": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Events" - }, - "DescribeReservedCacheNodes": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedCacheNodes" - }, - "DescribeReservedCacheNodesOfferings": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedCacheNodesOfferings" - }, - "DescribeReplicationGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReplicationGroups" - }, - "DescribeSnapshots": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Snapshots" - } - } -} diff --git a/node_modules/aws-sdk/apis/elasticache-2015-02-02.waiters2.json b/node_modules/aws-sdk/apis/elasticache-2015-02-02.waiters2.json deleted file mode 100644 index c177d7b..0000000 --- a/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/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.examples.json b/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.examples.json deleted file mode 100644 index 0fded62..0000000 --- a/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/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.min.json b/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.min.json deleted file mode 100644 index 4c0bf0b..0000000 --- a/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.min.json +++ /dev/null @@ -1,1264 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2010-12-01", - "endpointPrefix": "elasticbeanstalk", - "protocol": "query", - "serviceAbbreviation": "Elastic Beanstalk", - "serviceFullName": "AWS Elastic Beanstalk", - "signatureVersion": "v4", - "xmlNamespace": "http://elasticbeanstalk.amazonaws.com/docs/2010-12-01/" - }, - "operations": { - "AbortEnvironmentUpdate": { - "input": { - "type": "structure", - "members": { - "EnvironmentId": {}, - "EnvironmentName": {} - } - } - }, - "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": {} - } - }, - "output": { - "shape": "S14", - "resultWrapper": "CreateApplicationResult" - } - }, - "CreateApplicationVersion": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "VersionLabel" - ], - "members": { - "ApplicationName": {}, - "VersionLabel": {}, - "Description": {}, - "SourceBundle": { - "shape": "S19" - }, - "AutoCreateApplication": { - "type": "boolean" - }, - "Process": { - "type": "boolean" - } - } - }, - "output": { - "shape": "S1e", - "resultWrapper": "CreateApplicationVersionResult" - } - }, - "CreateConfigurationTemplate": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "TemplateName" - ], - "members": { - "ApplicationName": {}, - "TemplateName": {}, - "SolutionStackName": {}, - "SourceConfiguration": { - "type": "structure", - "members": { - "ApplicationName": {}, - "TemplateName": {} - } - }, - "EnvironmentId": {}, - "Description": {}, - "OptionSettings": { - "shape": "S1j" - } - } - }, - "output": { - "shape": "S1p", - "resultWrapper": "CreateConfigurationTemplateResult" - } - }, - "CreateEnvironment": { - "input": { - "type": "structure", - "required": [ - "ApplicationName" - ], - "members": { - "ApplicationName": {}, - "EnvironmentName": {}, - "GroupName": {}, - "Description": {}, - "CNAMEPrefix": {}, - "Tier": { - "shape": "S10" - }, - "Tags": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "VersionLabel": {}, - "TemplateName": {}, - "SolutionStackName": {}, - "OptionSettings": { - "shape": "S1j" - }, - "OptionsToRemove": { - "shape": "S1w" - } - } - }, - "output": { - "shape": "Sk", - "resultWrapper": "CreateEnvironmentResult" - } - }, - "CreateStorageLocation": { - "output": { - "resultWrapper": "CreateStorageLocationResult", - "type": "structure", - "members": { - "S3Bucket": {} - } - } - }, - "DeleteApplication": { - "input": { - "type": "structure", - "required": [ - "ApplicationName" - ], - "members": { - "ApplicationName": {}, - "TerminateEnvByForce": { - "type": "boolean" - } - } - } - }, - "DeleteApplicationVersion": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "VersionLabel" - ], - "members": { - "ApplicationName": {}, - "VersionLabel": {}, - "DeleteSourceBundle": { - "type": "boolean" - } - } - } - }, - "DeleteConfigurationTemplate": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "TemplateName" - ], - "members": { - "ApplicationName": {}, - "TemplateName": {} - } - } - }, - "DeleteEnvironmentConfiguration": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "EnvironmentName" - ], - "members": { - "ApplicationName": {}, - "EnvironmentName": {} - } - } - }, - "DescribeApplicationVersions": { - "input": { - "type": "structure", - "members": { - "ApplicationName": {}, - "VersionLabels": { - "shape": "S16" - } - } - }, - "output": { - "resultWrapper": "DescribeApplicationVersionsResult", - "type": "structure", - "members": { - "ApplicationVersions": { - "type": "list", - "member": { - "shape": "S1f" - } - } - } - } - }, - "DescribeApplications": { - "input": { - "type": "structure", - "members": { - "ApplicationNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "DescribeApplicationsResult", - "type": "structure", - "members": { - "Applications": { - "type": "list", - "member": { - "shape": "S15" - } - } - } - } - }, - "DescribeConfigurationOptions": { - "input": { - "type": "structure", - "members": { - "ApplicationName": {}, - "TemplateName": {}, - "EnvironmentName": {}, - "SolutionStackName": {}, - "Options": { - "shape": "S1w" - } - } - }, - "output": { - "resultWrapper": "DescribeConfigurationOptionsResult", - "type": "structure", - "members": { - "SolutionStackName": {}, - "Options": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Namespace": {}, - "Name": {}, - "DefaultValue": {}, - "ChangeSeverity": {}, - "UserDefined": { - "type": "boolean" - }, - "ValueType": {}, - "ValueOptions": { - "type": "list", - "member": {} - }, - "MinValue": { - "type": "integer" - }, - "MaxValue": { - "type": "integer" - }, - "MaxLength": { - "type": "integer" - }, - "Regex": { - "type": "structure", - "members": { - "Pattern": {}, - "Label": {} - } - } - } - } - } - } - } - }, - "DescribeConfigurationSettings": { - "input": { - "type": "structure", - "required": [ - "ApplicationName" - ], - "members": { - "ApplicationName": {}, - "TemplateName": {}, - "EnvironmentName": {} - } - }, - "output": { - "resultWrapper": "DescribeConfigurationSettingsResult", - "type": "structure", - "members": { - "ConfigurationSettings": { - "type": "list", - "member": { - "shape": "S1p" - } - } - } - } - }, - "DescribeEnvironmentHealth": { - "input": { - "type": "structure", - "members": { - "EnvironmentName": {}, - "EnvironmentId": {}, - "AttributeNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "DescribeEnvironmentHealthResult", - "type": "structure", - "members": { - "EnvironmentName": {}, - "HealthStatus": {}, - "Status": {}, - "Color": {}, - "Causes": { - "shape": "S2z" - }, - "ApplicationMetrics": { - "shape": "S31" - }, - "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": {}, - "RequestId": {}, - "Severity": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "MaxRecords": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeEventsResult", - "type": "structure", - "members": { - "Events": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EventDate": { - "type": "timestamp" - }, - "Message": {}, - "ApplicationName": {}, - "VersionLabel": {}, - "TemplateName": {}, - "EnvironmentName": {}, - "RequestId": {}, - "Severity": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeInstancesHealth": { - "input": { - "type": "structure", - "members": { - "EnvironmentName": {}, - "EnvironmentId": {}, - "AttributeNames": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeInstancesHealthResult", - "type": "structure", - "members": { - "InstanceHealthList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InstanceId": {}, - "HealthStatus": {}, - "Color": {}, - "Causes": { - "shape": "S2z" - }, - "LaunchedAt": { - "type": "timestamp" - }, - "ApplicationMetrics": { - "shape": "S31" - }, - "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": {} - } - } - }, - "ListAvailableSolutionStacks": { - "output": { - "resultWrapper": "ListAvailableSolutionStacksResult", - "type": "structure", - "members": { - "SolutionStacks": { - "type": "list", - "member": {} - }, - "SolutionStackDetails": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SolutionStackName": {}, - "PermittedFileTypes": { - "type": "list", - "member": {} - } - } - } - } - } - } - }, - "RebuildEnvironment": { - "input": { - "type": "structure", - "members": { - "EnvironmentId": {}, - "EnvironmentName": {} - } - } - }, - "RequestEnvironmentInfo": { - "input": { - "type": "structure", - "required": [ - "InfoType" - ], - "members": { - "EnvironmentId": {}, - "EnvironmentName": {}, - "InfoType": {} - } - } - }, - "RestartAppServer": { - "input": { - "type": "structure", - "members": { - "EnvironmentId": {}, - "EnvironmentName": {} - } - } - }, - "RetrieveEnvironmentInfo": { - "input": { - "type": "structure", - "required": [ - "InfoType" - ], - "members": { - "EnvironmentId": {}, - "EnvironmentName": {}, - "InfoType": {} - } - }, - "output": { - "resultWrapper": "RetrieveEnvironmentInfoResult", - "type": "structure", - "members": { - "EnvironmentInfo": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InfoType": {}, - "Ec2InstanceId": {}, - "SampleTimestamp": { - "type": "timestamp" - }, - "Message": {} - } - } - } - } - } - }, - "SwapEnvironmentCNAMEs": { - "input": { - "type": "structure", - "members": { - "SourceEnvironmentId": {}, - "SourceEnvironmentName": {}, - "DestinationEnvironmentId": {}, - "DestinationEnvironmentName": {} - } - } - }, - "TerminateEnvironment": { - "input": { - "type": "structure", - "members": { - "EnvironmentId": {}, - "EnvironmentName": {}, - "TerminateResources": { - "type": "boolean" - }, - "ForceTerminate": { - "type": "boolean" - } - } - }, - "output": { - "shape": "Sk", - "resultWrapper": "TerminateEnvironmentResult" - } - }, - "UpdateApplication": { - "input": { - "type": "structure", - "required": [ - "ApplicationName" - ], - "members": { - "ApplicationName": {}, - "Description": {} - } - }, - "output": { - "shape": "S14", - "resultWrapper": "UpdateApplicationResult" - } - }, - "UpdateApplicationVersion": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "VersionLabel" - ], - "members": { - "ApplicationName": {}, - "VersionLabel": {}, - "Description": {} - } - }, - "output": { - "shape": "S1e", - "resultWrapper": "UpdateApplicationVersionResult" - } - }, - "UpdateConfigurationTemplate": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "TemplateName" - ], - "members": { - "ApplicationName": {}, - "TemplateName": {}, - "Description": {}, - "OptionSettings": { - "shape": "S1j" - }, - "OptionsToRemove": { - "shape": "S1w" - } - } - }, - "output": { - "shape": "S1p", - "resultWrapper": "UpdateConfigurationTemplateResult" - } - }, - "UpdateEnvironment": { - "input": { - "type": "structure", - "members": { - "ApplicationName": {}, - "EnvironmentId": {}, - "EnvironmentName": {}, - "GroupName": {}, - "Description": {}, - "Tier": { - "shape": "S10" - }, - "VersionLabel": {}, - "TemplateName": {}, - "SolutionStackName": {}, - "OptionSettings": { - "shape": "S1j" - }, - "OptionsToRemove": { - "shape": "S1w" - } - } - }, - "output": { - "shape": "Sk", - "resultWrapper": "UpdateEnvironmentResult" - } - }, - "ValidateConfigurationSettings": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "OptionSettings" - ], - "members": { - "ApplicationName": {}, - "TemplateName": {}, - "EnvironmentName": {}, - "OptionSettings": { - "shape": "S1j" - } - } - }, - "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": {}, - "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": "S10" - }, - "EnvironmentLinks": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LinkName": {}, - "EnvironmentName": {} - } - } - } - } - }, - "S10": { - "type": "structure", - "members": { - "Name": {}, - "Type": {}, - "Version": {} - } - }, - "S14": { - "type": "structure", - "members": { - "Application": { - "shape": "S15" - } - } - }, - "S15": { - "type": "structure", - "members": { - "ApplicationName": {}, - "Description": {}, - "DateCreated": { - "type": "timestamp" - }, - "DateUpdated": { - "type": "timestamp" - }, - "Versions": { - "shape": "S16" - }, - "ConfigurationTemplates": { - "type": "list", - "member": {} - } - } - }, - "S16": { - "type": "list", - "member": {} - }, - "S19": { - "type": "structure", - "members": { - "S3Bucket": {}, - "S3Key": {} - } - }, - "S1e": { - "type": "structure", - "members": { - "ApplicationVersion": { - "shape": "S1f" - } - } - }, - "S1f": { - "type": "structure", - "members": { - "ApplicationName": {}, - "Description": {}, - "VersionLabel": {}, - "SourceBundle": { - "shape": "S19" - }, - "DateCreated": { - "type": "timestamp" - }, - "DateUpdated": { - "type": "timestamp" - }, - "Status": {} - } - }, - "S1j": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ResourceName": {}, - "Namespace": {}, - "OptionName": {}, - "Value": {} - } - } - }, - "S1p": { - "type": "structure", - "members": { - "SolutionStackName": {}, - "ApplicationName": {}, - "TemplateName": {}, - "Description": {}, - "EnvironmentName": {}, - "DeploymentStatus": {}, - "DateCreated": { - "type": "timestamp" - }, - "DateUpdated": { - "type": "timestamp" - }, - "OptionSettings": { - "shape": "S1j" - } - } - }, - "S1w": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ResourceName": {}, - "Namespace": {}, - "OptionName": {} - } - } - }, - "S2z": { - "type": "list", - "member": {} - }, - "S31": { - "type": "structure", - "members": { - "Duration": { - "type": "integer" - }, - "RequestCount": { - "type": "integer" - }, - "StatusCodes": { - "type": "structure", - "members": { - "Status2xx": { - "type": "integer" - }, - "Status3xx": { - "type": "integer" - }, - "Status4xx": { - "type": "integer" - }, - "Status5xx": { - "type": "integer" - } - } - }, - "Latency": { - "type": "structure", - "members": { - "P999": { - "type": "double" - }, - "P99": { - "type": "double" - }, - "P95": { - "type": "double" - }, - "P90": { - "type": "double" - }, - "P85": { - "type": "double" - }, - "P75": { - "type": "double" - }, - "P50": { - "type": "double" - }, - "P10": { - "type": "double" - } - } - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.paginators.json b/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.paginators.json deleted file mode 100644 index 383ce8d..0000000 --- a/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", - "output_token": "NextToken", - "limit_key": "MaxRecords", - "result_key": "Events" - }, - "ListAvailableSolutionStacks": { - "result_key": "SolutionStacks" - } - } -} diff --git a/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json b/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json deleted file mode 100644 index 5e35d8f..0000000 --- a/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json +++ /dev/null @@ -1,395 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-02-01", - "endpointPrefix": "elasticfilesystem", - "protocol": "rest-json", - "serviceAbbreviation": "EFS", - "serviceFullName": "Amazon Elastic File System", - "signatureVersion": "v4" - }, - "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/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.examples.json b/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.examples.json deleted file mode 100644 index ce50fdd..0000000 --- a/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/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.min.json b/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.min.json deleted file mode 100644 index f2a39d3..0000000 --- a/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.min.json +++ /dev/null @@ -1,973 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2012-06-01", - "endpointPrefix": "elasticloadbalancing", - "protocol": "query", - "serviceFullName": "Elastic Load Balancing", - "signatureVersion": "v4", - "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" - } - } - } - }, - "DescribeInstanceHealth": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName" - ], - "members": { - "LoadBalancerName": {}, - "Instances": { - "shape": "S1p" - } - } - }, - "output": { - "resultWrapper": "DescribeInstanceHealthResult", - "type": "structure", - "members": { - "InstanceStates": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InstanceId": {}, - "State": {}, - "ReasonCode": {}, - "Description": {} - } - } - } - } - } - }, - "DescribeLoadBalancerAttributes": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName" - ], - "members": { - "LoadBalancerName": {} - } - }, - "output": { - "resultWrapper": "DescribeLoadBalancerAttributesResult", - "type": "structure", - "members": { - "LoadBalancerAttributes": { - "shape": "S22" - } - } - } - }, - "DescribeLoadBalancerPolicies": { - "input": { - "type": "structure", - "members": { - "LoadBalancerName": {}, - "PolicyNames": { - "shape": "S2k" - } - } - }, - "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": "S2k" - } - } - } - }, - "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": "S2k" - } - } - }, - "BackendServerDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InstancePort": { - "type": "integer" - }, - "PolicyNames": { - "shape": "S2k" - } - } - } - }, - "AvailabilityZones": { - "shape": "S13" - }, - "Subnets": { - "shape": "Se" - }, - "VPCId": {}, - "Instances": { - "shape": "S1p" - }, - "HealthCheck": { - "shape": "Si" - }, - "SourceSecurityGroup": { - "type": "structure", - "members": { - "OwnerAlias": {}, - "GroupName": {} - } - }, - "SecurityGroups": { - "shape": "Sa" - }, - "CreatedTime": { - "type": "timestamp" - }, - "Scheme": {} - } - } - }, - "NextMarker": {} - } - } - }, - "DescribeTags": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerNames" - ], - "members": { - "LoadBalancerNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "DescribeTagsResult", - "type": "structure", - "members": { - "TagDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LoadBalancerName": {}, - "Tags": { - "shape": "S4" - } - } - } - } - } - } - }, - "DetachLoadBalancerFromSubnets": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "Subnets" - ], - "members": { - "LoadBalancerName": {}, - "Subnets": { - "shape": "Se" - } - } - }, - "output": { - "resultWrapper": "DetachLoadBalancerFromSubnetsResult", - "type": "structure", - "members": { - "Subnets": { - "shape": "Se" - } - } - } - }, - "DisableAvailabilityZonesForLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "AvailabilityZones" - ], - "members": { - "LoadBalancerName": {}, - "AvailabilityZones": { - "shape": "S13" - } - } - }, - "output": { - "resultWrapper": "DisableAvailabilityZonesForLoadBalancerResult", - "type": "structure", - "members": { - "AvailabilityZones": { - "shape": "S13" - } - } - } - }, - "EnableAvailabilityZonesForLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "AvailabilityZones" - ], - "members": { - "LoadBalancerName": {}, - "AvailabilityZones": { - "shape": "S13" - } - } - }, - "output": { - "resultWrapper": "EnableAvailabilityZonesForLoadBalancerResult", - "type": "structure", - "members": { - "AvailabilityZones": { - "shape": "S13" - } - } - } - }, - "ModifyLoadBalancerAttributes": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "LoadBalancerAttributes" - ], - "members": { - "LoadBalancerName": {}, - "LoadBalancerAttributes": { - "shape": "S22" - } - } - }, - "output": { - "resultWrapper": "ModifyLoadBalancerAttributesResult", - "type": "structure", - "members": { - "LoadBalancerName": {}, - "LoadBalancerAttributes": { - "shape": "S22" - } - } - } - }, - "RegisterInstancesWithLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "Instances" - ], - "members": { - "LoadBalancerName": {}, - "Instances": { - "shape": "S1p" - } - } - }, - "output": { - "resultWrapper": "RegisterInstancesWithLoadBalancerResult", - "type": "structure", - "members": { - "Instances": { - "shape": "S1p" - } - } - } - }, - "RemoveTags": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerNames", - "Tags" - ], - "members": { - "LoadBalancerNames": { - "shape": "S2" - }, - "Tags": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {} - } - } - } - } - }, - "output": { - "resultWrapper": "RemoveTagsResult", - "type": "structure", - "members": {} - } - }, - "SetLoadBalancerListenerSSLCertificate": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "LoadBalancerPort", - "SSLCertificateId" - ], - "members": { - "LoadBalancerName": {}, - "LoadBalancerPort": { - "type": "integer" - }, - "SSLCertificateId": {} - } - }, - "output": { - "resultWrapper": "SetLoadBalancerListenerSSLCertificateResult", - "type": "structure", - "members": {} - } - }, - "SetLoadBalancerPoliciesForBackendServer": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "InstancePort", - "PolicyNames" - ], - "members": { - "LoadBalancerName": {}, - "InstancePort": { - "type": "integer" - }, - "PolicyNames": { - "shape": "S2k" - } - } - }, - "output": { - "resultWrapper": "SetLoadBalancerPoliciesForBackendServerResult", - "type": "structure", - "members": {} - } - }, - "SetLoadBalancerPoliciesOfListener": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "LoadBalancerPort", - "PolicyNames" - ], - "members": { - "LoadBalancerName": {}, - "LoadBalancerPort": { - "type": "integer" - }, - "PolicyNames": { - "shape": "S2k" - } - } - }, - "output": { - "resultWrapper": "SetLoadBalancerPoliciesOfListenerResult", - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": {} - }, - "S4": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sa": { - "type": "list", - "member": {} - }, - "Se": { - "type": "list", - "member": {} - }, - "Si": { - "type": "structure", - "required": [ - "Target", - "Interval", - "Timeout", - "UnhealthyThreshold", - "HealthyThreshold" - ], - "members": { - "Target": {}, - "Interval": { - "type": "integer" - }, - "Timeout": { - "type": "integer" - }, - "UnhealthyThreshold": { - "type": "integer" - }, - "HealthyThreshold": { - "type": "integer" - } - } - }, - "Sx": { - "type": "list", - "member": { - "shape": "Sy" - } - }, - "Sy": { - "type": "structure", - "required": [ - "Protocol", - "LoadBalancerPort", - "InstancePort" - ], - "members": { - "Protocol": {}, - "LoadBalancerPort": { - "type": "integer" - }, - "InstanceProtocol": {}, - "InstancePort": { - "type": "integer" - }, - "SSLCertificateId": {} - } - }, - "S13": { - "type": "list", - "member": {} - }, - "S1p": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InstanceId": {} - } - } - }, - "S22": { - "type": "structure", - "members": { - "CrossZoneLoadBalancing": { - "type": "structure", - "required": [ - "Enabled" - ], - "members": { - "Enabled": { - "type": "boolean" - } - } - }, - "AccessLog": { - "type": "structure", - "required": [ - "Enabled" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "S3BucketName": {}, - "EmitInterval": { - "type": "integer" - }, - "S3BucketPrefix": {} - } - }, - "ConnectionDraining": { - "type": "structure", - "required": [ - "Enabled" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "Timeout": { - "type": "integer" - } - } - }, - "ConnectionSettings": { - "type": "structure", - "required": [ - "IdleTimeout" - ], - "members": { - "IdleTimeout": { - "type": "integer" - } - } - }, - "AdditionalAttributes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - } - } - }, - "S2k": { - "type": "list", - "member": {} - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.paginators.json b/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.paginators.json deleted file mode 100644 index 82113a7..0000000 --- a/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" - } - } -} diff --git a/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.waiters2.json b/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.waiters2.json deleted file mode 100644 index f02573e..0000000 --- a/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.waiters2.json +++ /dev/null @@ -1,49 +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" - } - ], - "delay":15, - "maxAttempts":40, - "operation":"DescribeInstanceHealth" - } - } -} diff --git a/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.examples.json b/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.examples.json deleted file mode 100644 index 508b099..0000000 --- a/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/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json b/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json deleted file mode 100644 index a44cdfa..0000000 --- a/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json +++ /dev/null @@ -1,1022 +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", - "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" - } - } - }, - "output": { - "resultWrapper": "CreateLoadBalancerResult", - "type": "structure", - "members": { - "LoadBalancers": { - "shape": "Sx" - } - } - } - }, - "CreateRule": { - "input": { - "type": "structure", - "required": [ - "ListenerArn", - "Conditions", - "Priority", - "Actions" - ], - "members": { - "ListenerArn": {}, - "Conditions": { - "shape": "S1b" - }, - "Priority": { - "type": "integer" - }, - "Actions": { - "shape": "Sh" - } - } - }, - "output": { - "resultWrapper": "CreateRuleResult", - "type": "structure", - "members": { - "Rules": { - "shape": "S1i" - } - } - } - }, - "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": "S1u" - } - } - }, - "output": { - "resultWrapper": "CreateTargetGroupResult", - "type": "structure", - "members": { - "TargetGroups": { - "shape": "S1x" - } - } - } - }, - "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": "S29" - } - } - }, - "output": { - "resultWrapper": "DeregisterTargetsResult", - "type": "structure", - "members": {} - } - }, - "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": "S2k" - } - } - } - }, - "DescribeLoadBalancers": { - "input": { - "type": "structure", - "members": { - "LoadBalancerArns": { - "shape": "S1z" - }, - "Names": { - "type": "list", - "member": {} - }, - "Marker": {}, - "PageSize": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribeLoadBalancersResult", - "type": "structure", - "members": { - "LoadBalancers": { - "shape": "Sx" - }, - "NextMarker": {} - } - } - }, - "DescribeRules": { - "input": { - "type": "structure", - "members": { - "ListenerArn": {}, - "RuleArns": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "DescribeRulesResult", - "type": "structure", - "members": { - "Rules": { - "shape": "S1i" - } - } - } - }, - "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": "S3b" - } - } - } - }, - "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": "S1x" - }, - "NextMarker": {} - } - } - }, - "DescribeTargetHealth": { - "input": { - "type": "structure", - "required": [ - "TargetGroupArn" - ], - "members": { - "TargetGroupArn": {}, - "Targets": { - "shape": "S29" - } - } - }, - "output": { - "resultWrapper": "DescribeTargetHealthResult", - "type": "structure", - "members": { - "TargetHealthDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Target": { - "shape": "S2a" - }, - "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": "S2k" - } - } - }, - "output": { - "resultWrapper": "ModifyLoadBalancerAttributesResult", - "type": "structure", - "members": { - "Attributes": { - "shape": "S2k" - } - } - } - }, - "ModifyRule": { - "input": { - "type": "structure", - "required": [ - "RuleArn" - ], - "members": { - "RuleArn": {}, - "Conditions": { - "shape": "S1b" - }, - "Actions": { - "shape": "Sh" - } - } - }, - "output": { - "resultWrapper": "ModifyRuleResult", - "type": "structure", - "members": { - "Rules": { - "shape": "S1i" - } - } - } - }, - "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": "S1u" - } - } - }, - "output": { - "resultWrapper": "ModifyTargetGroupResult", - "type": "structure", - "members": { - "TargetGroups": { - "shape": "S1x" - } - } - } - }, - "ModifyTargetGroupAttributes": { - "input": { - "type": "structure", - "required": [ - "TargetGroupArn", - "Attributes" - ], - "members": { - "TargetGroupArn": {}, - "Attributes": { - "shape": "S3b" - } - } - }, - "output": { - "resultWrapper": "ModifyTargetGroupAttributesResult", - "type": "structure", - "members": { - "Attributes": { - "shape": "S3b" - } - } - } - }, - "RegisterTargets": { - "input": { - "type": "structure", - "required": [ - "TargetGroupArn", - "Targets" - ], - "members": { - "TargetGroupArn": {}, - "Targets": { - "shape": "S29" - } - } - }, - "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": {} - } - }, - "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": "S1i" - } - } - } - }, - "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": "S17" - } - } - } - } - }, - "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": {} - }, - "Sx": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LoadBalancerArn": {}, - "DNSName": {}, - "CanonicalHostedZoneId": {}, - "CreatedTime": { - "type": "timestamp" - }, - "LoadBalancerName": {}, - "Scheme": {}, - "VpcId": {}, - "State": { - "type": "structure", - "members": { - "Code": {}, - "Reason": {} - } - }, - "Type": {}, - "AvailabilityZones": { - "shape": "S17" - }, - "SecurityGroups": { - "shape": "St" - } - } - } - }, - "S17": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ZoneName": {}, - "SubnetId": {} - } - } - }, - "S1b": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Field": {}, - "Values": { - "type": "list", - "member": {} - } - } - } - }, - "S1i": { - "type": "list", - "member": { - "type": "structure", - "members": { - "RuleArn": {}, - "Priority": {}, - "Conditions": { - "shape": "S1b" - }, - "Actions": { - "shape": "Sh" - }, - "IsDefault": { - "type": "boolean" - } - } - } - }, - "S1u": { - "type": "structure", - "required": [ - "HttpCode" - ], - "members": { - "HttpCode": {} - } - }, - "S1x": { - "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": "S1u" - }, - "LoadBalancerArns": { - "shape": "S1z" - } - } - } - }, - "S1z": { - "type": "list", - "member": {} - }, - "S29": { - "type": "list", - "member": { - "shape": "S2a" - } - }, - "S2a": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": {}, - "Port": { - "type": "integer" - } - } - }, - "S2k": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S3b": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.paginators.json b/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.paginators.json deleted file mode 100644 index 5afd708..0000000 --- a/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.paginators.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "pagination": { - "DescribeTargetGroups": { - "input_token": "Marker", - "output_token": "NextMarker", - "result_key": "TargetGroups" - }, - "DescribeListeners": { - "input_token": "Marker", - "output_token": "NextMarker", - "result_key": "Listeners" - }, - "DescribeLoadBalancers": { - "input_token": "Marker", - "output_token": "NextMarker", - "result_key": "LoadBalancers" - } - } -} - diff --git a/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json b/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json deleted file mode 100644 index 94cab4e..0000000 --- a/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +++ /dev/null @@ -1,1241 +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" - }, - "operations": { - "AddInstanceGroups": { - "input": { - "type": "structure", - "required": [ - "InstanceGroups", - "JobFlowId" - ], - "members": { - "InstanceGroups": { - "shape": "S2" - }, - "JobFlowId": {} - } - }, - "output": { - "type": "structure", - "members": { - "JobFlowId": {}, - "InstanceGroupIds": { - "type": "list", - "member": {} - } - } - } - }, - "AddJobFlowSteps": { - "input": { - "type": "structure", - "required": [ - "JobFlowId", - "Steps" - ], - "members": { - "JobFlowId": {}, - "Steps": { - "shape": "Sl" - } - } - }, - "output": { - "type": "structure", - "members": { - "StepIds": { - "type": "list", - "member": {} - } - } - } - }, - "AddTags": { - "input": { - "type": "structure", - "required": [ - "ResourceId", - "Tags" - ], - "members": { - "ResourceId": {}, - "Tags": { - "shape": "Sx" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "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": "S19" - }, - "Ec2InstanceAttributes": { - "type": "structure", - "members": { - "Ec2KeyName": {}, - "Ec2SubnetId": {}, - "Ec2AvailabilityZone": {}, - "IamInstanceProfile": {}, - "EmrManagedMasterSecurityGroup": {}, - "EmrManagedSlaveSecurityGroup": {}, - "ServiceAccessSecurityGroup": {}, - "AdditionalMasterSecurityGroups": { - "shape": "S1f" - }, - "AdditionalSlaveSecurityGroups": { - "shape": "S1f" - } - } - }, - "LogUri": {}, - "RequestedAmiVersion": {}, - "RunningAmiVersion": {}, - "ReleaseLabel": {}, - "AutoTerminate": { - "type": "boolean" - }, - "TerminationProtected": { - "type": "boolean" - }, - "VisibleToAllUsers": { - "type": "boolean" - }, - "Applications": { - "shape": "S1h" - }, - "Tags": { - "shape": "Sx" - }, - "ServiceRole": {}, - "NormalizedInstanceHours": { - "type": "integer" - }, - "MasterPublicDnsName": {}, - "Configurations": { - "shape": "S9" - }, - "SecurityConfiguration": {} - } - } - } - } - }, - "DescribeJobFlows": { - "input": { - "type": "structure", - "members": { - "CreatedAfter": { - "type": "timestamp" - }, - "CreatedBefore": { - "type": "timestamp" - }, - "JobFlowIds": { - "shape": "Ss" - }, - "JobFlowStates": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "JobFlows": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "JobFlowId", - "Name", - "ExecutionStatusDetail", - "Instances" - ], - "members": { - "JobFlowId": {}, - "Name": {}, - "LogUri": {}, - "AmiVersion": {}, - "ExecutionStatusDetail": { - "type": "structure", - "required": [ - "State", - "CreationDateTime" - ], - "members": { - "State": {}, - "CreationDateTime": { - "type": "timestamp" - }, - "StartDateTime": { - "type": "timestamp" - }, - "ReadyDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - }, - "LastStateChangeReason": {} - } - }, - "Instances": { - "type": "structure", - "required": [ - "MasterInstanceType", - "SlaveInstanceType", - "InstanceCount" - ], - "members": { - "MasterInstanceType": {}, - "MasterPublicDnsName": {}, - "MasterInstanceId": {}, - "SlaveInstanceType": {}, - "InstanceCount": { - "type": "integer" - }, - "InstanceGroups": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Market", - "InstanceRole", - "InstanceType", - "InstanceRequestCount", - "InstanceRunningCount", - "State", - "CreationDateTime" - ], - "members": { - "InstanceGroupId": {}, - "Name": {}, - "Market": {}, - "InstanceRole": {}, - "BidPrice": {}, - "InstanceType": {}, - "InstanceRequestCount": { - "type": "integer" - }, - "InstanceRunningCount": { - "type": "integer" - }, - "State": {}, - "LastStateChangeReason": {}, - "CreationDateTime": { - "type": "timestamp" - }, - "StartDateTime": { - "type": "timestamp" - }, - "ReadyDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - } - } - } - }, - "NormalizedInstanceHours": { - "type": "integer" - }, - "Ec2KeyName": {}, - "Ec2SubnetId": {}, - "Placement": { - "shape": "S1u" - }, - "KeepJobFlowAliveWhenNoSteps": { - "type": "boolean" - }, - "TerminationProtected": { - "type": "boolean" - }, - "HadoopVersion": {} - } - }, - "Steps": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "StepConfig", - "ExecutionStatusDetail" - ], - "members": { - "StepConfig": { - "shape": "Sm" - }, - "ExecutionStatusDetail": { - "type": "structure", - "required": [ - "State", - "CreationDateTime" - ], - "members": { - "State": {}, - "CreationDateTime": { - "type": "timestamp" - }, - "StartDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - }, - "LastStateChangeReason": {} - } - } - } - } - }, - "BootstrapActions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "BootstrapActionConfig": { - "shape": "S21" - } - } - } - }, - "SupportedProducts": { - "shape": "S23" - }, - "VisibleToAllUsers": { - "type": "boolean" - }, - "JobFlowRole": {}, - "ServiceRole": {} - } - } - } - } - }, - "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": "S2a" - }, - "ActionOnFailure": {}, - "Status": { - "shape": "S2b" - } - } - } - } - } - }, - "ListBootstrapActions": { - "input": { - "type": "structure", - "required": [ - "ClusterId" - ], - "members": { - "ClusterId": {}, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "BootstrapActions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "ScriptPath": {}, - "Args": { - "shape": "S1f" - } - } - } - }, - "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": "S19" - }, - "NormalizedInstanceHours": { - "type": "integer" - } - } - } - }, - "Marker": {} - } - } - }, - "ListInstanceGroups": { - "input": { - "type": "structure", - "required": [ - "ClusterId" - ], - "members": { - "ClusterId": {}, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "InstanceGroups": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "Market": {}, - "InstanceGroupType": {}, - "BidPrice": {}, - "InstanceType": {}, - "RequestedInstanceCount": { - "type": "integer" - }, - "RunningInstanceCount": { - "type": "integer" - }, - "Status": { - "type": "structure", - "members": { - "State": {}, - "StateChangeReason": { - "type": "structure", - "members": { - "Code": {}, - "Message": {} - } - }, - "Timeline": { - "type": "structure", - "members": { - "CreationDateTime": { - "type": "timestamp" - }, - "ReadyDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - } - } - } - } - }, - "Configurations": { - "shape": "S9" - }, - "EbsBlockDevices": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VolumeSpecification": { - "shape": "Sg" - }, - "Device": {} - } - } - }, - "EbsOptimized": { - "type": "boolean" - }, - "ShrinkPolicy": { - "shape": "S33" - } - } - } - }, - "Marker": {} - } - } - }, - "ListInstances": { - "input": { - "type": "structure", - "required": [ - "ClusterId" - ], - "members": { - "ClusterId": {}, - "InstanceGroupId": {}, - "InstanceGroupTypes": { - "type": "list", - "member": {} - }, - "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": {}, - "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": "Ss" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Steps": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "Config": { - "shape": "S2a" - }, - "ActionOnFailure": {}, - "Status": { - "shape": "S2b" - } - } - } - }, - "Marker": {} - } - } - }, - "ModifyInstanceGroups": { - "input": { - "type": "structure", - "members": { - "InstanceGroups": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "InstanceGroupId" - ], - "members": { - "InstanceGroupId": {}, - "InstanceCount": { - "type": "integer" - }, - "EC2InstanceIdsToTerminate": { - "type": "list", - "member": {} - }, - "ShrinkPolicy": { - "shape": "S33" - } - } - } - } - } - } - }, - "RemoveTags": { - "input": { - "type": "structure", - "required": [ - "ResourceId", - "TagKeys" - ], - "members": { - "ResourceId": {}, - "TagKeys": { - "shape": "S1f" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "RunJobFlow": { - "input": { - "type": "structure", - "required": [ - "Name", - "Instances" - ], - "members": { - "Name": {}, - "LogUri": {}, - "AdditionalInfo": {}, - "AmiVersion": {}, - "ReleaseLabel": {}, - "Instances": { - "type": "structure", - "members": { - "MasterInstanceType": {}, - "SlaveInstanceType": {}, - "InstanceCount": { - "type": "integer" - }, - "InstanceGroups": { - "shape": "S2" - }, - "Ec2KeyName": {}, - "Placement": { - "shape": "S1u" - }, - "KeepJobFlowAliveWhenNoSteps": { - "type": "boolean" - }, - "TerminationProtected": { - "type": "boolean" - }, - "HadoopVersion": {}, - "Ec2SubnetId": {}, - "EmrManagedMasterSecurityGroup": {}, - "EmrManagedSlaveSecurityGroup": {}, - "ServiceAccessSecurityGroup": {}, - "AdditionalMasterSecurityGroups": { - "shape": "S41" - }, - "AdditionalSlaveSecurityGroups": { - "shape": "S41" - } - } - }, - "Steps": { - "shape": "Sl" - }, - "BootstrapActions": { - "type": "list", - "member": { - "shape": "S21" - } - }, - "SupportedProducts": { - "shape": "S23" - }, - "NewSupportedProducts": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Args": { - "shape": "Ss" - } - } - } - }, - "Applications": { - "shape": "S1h" - }, - "Configurations": { - "shape": "S9" - }, - "VisibleToAllUsers": { - "type": "boolean" - }, - "JobFlowRole": {}, - "ServiceRole": {}, - "Tags": { - "shape": "Sx" - }, - "SecurityConfiguration": {} - } - }, - "output": { - "type": "structure", - "members": { - "JobFlowId": {} - } - } - }, - "SetTerminationProtection": { - "input": { - "type": "structure", - "required": [ - "JobFlowIds", - "TerminationProtected" - ], - "members": { - "JobFlowIds": { - "shape": "Ss" - }, - "TerminationProtected": { - "type": "boolean" - } - } - } - }, - "SetVisibleToAllUsers": { - "input": { - "type": "structure", - "required": [ - "JobFlowIds", - "VisibleToAllUsers" - ], - "members": { - "JobFlowIds": { - "shape": "Ss" - }, - "VisibleToAllUsers": { - "type": "boolean" - } - } - } - }, - "TerminateJobFlows": { - "input": { - "type": "structure", - "required": [ - "JobFlowIds" - ], - "members": { - "JobFlowIds": { - "shape": "Ss" - } - } - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "InstanceRole", - "InstanceType", - "InstanceCount" - ], - "members": { - "Name": {}, - "Market": {}, - "InstanceRole": {}, - "BidPrice": {}, - "InstanceType": {}, - "InstanceCount": { - "type": "integer" - }, - "Configurations": { - "shape": "S9" - }, - "EbsConfiguration": { - "type": "structure", - "members": { - "EbsBlockDeviceConfigs": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "VolumeSpecification" - ], - "members": { - "VolumeSpecification": { - "shape": "Sg" - }, - "VolumesPerInstance": { - "type": "integer" - } - } - } - }, - "EbsOptimized": { - "type": "boolean" - } - } - } - } - } - }, - "S9": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Classification": {}, - "Configurations": { - "shape": "S9" - }, - "Properties": { - "shape": "Sc" - } - } - } - }, - "Sc": { - "type": "map", - "key": {}, - "value": {} - }, - "Sg": { - "type": "structure", - "required": [ - "VolumeType", - "SizeInGB" - ], - "members": { - "VolumeType": {}, - "Iops": { - "type": "integer" - }, - "SizeInGB": { - "type": "integer" - } - } - }, - "Sl": { - "type": "list", - "member": { - "shape": "Sm" - } - }, - "Sm": { - "type": "structure", - "required": [ - "Name", - "HadoopJarStep" - ], - "members": { - "Name": {}, - "ActionOnFailure": {}, - "HadoopJarStep": { - "type": "structure", - "required": [ - "Jar" - ], - "members": { - "Properties": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Jar": {}, - "MainClass": {}, - "Args": { - "shape": "Ss" - } - } - } - } - }, - "Ss": { - "type": "list", - "member": {} - }, - "Sx": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S19": { - "type": "structure", - "members": { - "State": {}, - "StateChangeReason": { - "type": "structure", - "members": { - "Code": {}, - "Message": {} - } - }, - "Timeline": { - "type": "structure", - "members": { - "CreationDateTime": { - "type": "timestamp" - }, - "ReadyDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - } - } - } - } - }, - "S1f": { - "type": "list", - "member": {} - }, - "S1h": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Version": {}, - "Args": { - "shape": "S1f" - }, - "AdditionalInfo": { - "shape": "Sc" - } - } - } - }, - "S1u": { - "type": "structure", - "required": [ - "AvailabilityZone" - ], - "members": { - "AvailabilityZone": {} - } - }, - "S21": { - "type": "structure", - "required": [ - "Name", - "ScriptBootstrapAction" - ], - "members": { - "Name": {}, - "ScriptBootstrapAction": { - "type": "structure", - "required": [ - "Path" - ], - "members": { - "Path": {}, - "Args": { - "shape": "Ss" - } - } - } - } - }, - "S23": { - "type": "list", - "member": {} - }, - "S2a": { - "type": "structure", - "members": { - "Jar": {}, - "Properties": { - "shape": "Sc" - }, - "MainClass": {}, - "Args": { - "shape": "S1f" - } - } - }, - "S2b": { - "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" - } - } - } - } - }, - "S33": { - "type": "structure", - "members": { - "DecommissionTimeout": { - "type": "integer" - }, - "InstanceResizePolicy": { - "type": "structure", - "members": { - "InstancesToTerminate": { - "shape": "S35" - }, - "InstancesToProtect": { - "shape": "S35" - }, - "InstanceTerminationTimeout": { - "type": "integer" - } - } - } - } - }, - "S35": { - "type": "list", - "member": {} - }, - "S41": { - "type": "list", - "member": {} - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.paginators.json b/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.paginators.json deleted file mode 100644 index 87f282d..0000000 --- a/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.paginators.json +++ /dev/null @@ -1,32 +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" - }, - "ListInstanceGroups": { - "input_token": "Marker", - "output_token": "Marker", - "result_key": "InstanceGroups" - }, - "ListInstances": { - "input_token": "Marker", - "output_token": "Marker", - "result_key": "Instances" - }, - "ListSteps": { - "input_token": "Marker", - "output_token": "Marker", - "result_key": "Steps" - } - } -} diff --git a/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.waiters2.json b/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.waiters2.json deleted file mode 100644 index 829f1b1..0000000 --- a/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.waiters2.json +++ /dev/null @@ -1,67 +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" - } - ] - } - } -} diff --git a/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.min.json b/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.min.json deleted file mode 100644 index 4f5454a..0000000 --- a/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.min.json +++ /dev/null @@ -1,1019 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "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", - "Input" - ], - "members": { - "PipelineId": {}, - "Input": { - "shape": "S5" - }, - "Output": { - "shape": "Sk" - }, - "Outputs": { - "type": "list", - "member": { - "shape": "Sk" - } - }, - "OutputKeyPrefix": {}, - "Playlists": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Format": {}, - "OutputKeys": { - "shape": "S1j" - }, - "HlsContentProtection": { - "shape": "S1k" - }, - "PlayReadyDrm": { - "shape": "S1o" - } - } - } - }, - "UserMetadata": { - "shape": "S1t" - } - } - }, - "output": { - "type": "structure", - "members": { - "Job": { - "shape": "S1w" - } - } - } - }, - "CreatePipeline": { - "http": { - "requestUri": "/2012-09-25/pipelines", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "Name", - "InputBucket", - "Role" - ], - "members": { - "Name": {}, - "InputBucket": {}, - "OutputBucket": {}, - "Role": {}, - "AwsKmsKeyArn": {}, - "Notifications": { - "shape": "S28" - }, - "ContentConfig": { - "shape": "S2a" - }, - "ThumbnailConfig": { - "shape": "S2a" - } - } - }, - "output": { - "type": "structure", - "members": { - "Pipeline": { - "shape": "S2j" - }, - "Warnings": { - "shape": "S2l" - } - } - } - }, - "CreatePreset": { - "http": { - "requestUri": "/2012-09-25/presets", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "Name", - "Container" - ], - "members": { - "Name": {}, - "Description": {}, - "Container": {}, - "Video": { - "shape": "S2p" - }, - "Audio": { - "shape": "S35" - }, - "Thumbnails": { - "shape": "S3g" - } - } - }, - "output": { - "type": "structure", - "members": { - "Preset": { - "shape": "S3k" - }, - "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": "S3t" - }, - "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": "S3t" - }, - "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": "S2j" - } - }, - "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": "S3k" - } - }, - "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": "S1w" - } - } - } - }, - "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": "S2j" - }, - "Warnings": { - "shape": "S2l" - } - } - } - }, - "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": "S3k" - } - } - } - }, - "TestRole": { - "http": { - "requestUri": "/2012-09-25/roleTests", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "Role", - "InputBucket", - "OutputBucket", - "Topics" - ], - "members": { - "Role": {}, - "InputBucket": {}, - "OutputBucket": {}, - "Topics": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "Success": {}, - "Messages": { - "type": "list", - "member": {} - } - } - } - }, - "UpdatePipeline": { - "http": { - "method": "PUT", - "requestUri": "/2012-09-25/pipelines/{Id}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "Name": {}, - "InputBucket": {}, - "Role": {}, - "AwsKmsKeyArn": {}, - "Notifications": { - "shape": "S28" - }, - "ContentConfig": { - "shape": "S2a" - }, - "ThumbnailConfig": { - "shape": "S2a" - } - } - }, - "output": { - "type": "structure", - "members": { - "Pipeline": { - "shape": "S2j" - }, - "Warnings": { - "shape": "S2l" - } - } - } - }, - "UpdatePipelineNotifications": { - "http": { - "requestUri": "/2012-09-25/pipelines/{Id}/notifications" - }, - "input": { - "type": "structure", - "required": [ - "Id", - "Notifications" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "Notifications": { - "shape": "S28" - } - } - }, - "output": { - "type": "structure", - "members": { - "Pipeline": { - "shape": "S2j" - } - } - } - }, - "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": "S2j" - } - } - } - } - }, - "shapes": { - "S5": { - "type": "structure", - "members": { - "Key": {}, - "FrameRate": {}, - "Resolution": {}, - "AspectRatio": {}, - "Interlaced": {}, - "Container": {}, - "Encryption": { - "shape": "Sc" - }, - "DetectedProperties": { - "type": "structure", - "members": { - "Width": { - "type": "integer" - }, - "Height": { - "type": "integer" - }, - "FrameRate": {}, - "FileSize": { - "type": "long" - }, - "DurationMillis": { - "type": "long" - } - } - } - } - }, - "Sc": { - "type": "structure", - "members": { - "Mode": {}, - "Key": {}, - "KeyMd5": {}, - "InitializationVector": {} - } - }, - "Sk": { - "type": "structure", - "members": { - "Key": {}, - "ThumbnailPattern": {}, - "ThumbnailEncryption": { - "shape": "Sc" - }, - "Rotate": {}, - "PresetId": {}, - "SegmentDuration": {}, - "Watermarks": { - "shape": "So" - }, - "AlbumArt": { - "shape": "Ss" - }, - "Composition": { - "shape": "S10" - }, - "Captions": { - "shape": "S14" - }, - "Encryption": { - "shape": "Sc" - } - } - }, - "So": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PresetWatermarkId": {}, - "InputKey": {}, - "Encryption": { - "shape": "Sc" - } - } - } - }, - "Ss": { - "type": "structure", - "members": { - "MergePolicy": {}, - "Artwork": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InputKey": {}, - "MaxWidth": {}, - "MaxHeight": {}, - "SizingPolicy": {}, - "PaddingPolicy": {}, - "AlbumArtFormat": {}, - "Encryption": { - "shape": "Sc" - } - } - } - } - } - }, - "S10": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TimeSpan": { - "type": "structure", - "members": { - "StartTime": {}, - "Duration": {} - } - } - } - } - }, - "S14": { - "type": "structure", - "members": { - "MergePolicy": {}, - "CaptionSources": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Language": {}, - "TimeOffset": {}, - "Label": {}, - "Encryption": { - "shape": "Sc" - } - } - } - }, - "CaptionFormats": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Format": {}, - "Pattern": {}, - "Encryption": { - "shape": "Sc" - } - } - } - } - } - }, - "S1j": { - "type": "list", - "member": {} - }, - "S1k": { - "type": "structure", - "members": { - "Method": {}, - "Key": {}, - "KeyMd5": {}, - "InitializationVector": {}, - "LicenseAcquisitionUrl": {}, - "KeyStoragePolicy": {} - } - }, - "S1o": { - "type": "structure", - "members": { - "Format": {}, - "Key": {}, - "KeyMd5": {}, - "KeyId": {}, - "InitializationVector": {}, - "LicenseAcquisitionUrl": {} - } - }, - "S1t": { - "type": "map", - "key": {}, - "value": {} - }, - "S1w": { - "type": "structure", - "members": { - "Id": {}, - "Arn": {}, - "PipelineId": {}, - "Input": { - "shape": "S5" - }, - "Output": { - "shape": "S1x" - }, - "Outputs": { - "type": "list", - "member": { - "shape": "S1x" - } - }, - "OutputKeyPrefix": {}, - "Playlists": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Format": {}, - "OutputKeys": { - "shape": "S1j" - }, - "HlsContentProtection": { - "shape": "S1k" - }, - "PlayReadyDrm": { - "shape": "S1o" - }, - "Status": {}, - "StatusDetail": {} - } - } - }, - "Status": {}, - "UserMetadata": { - "shape": "S1t" - }, - "Timing": { - "type": "structure", - "members": { - "SubmitTimeMillis": { - "type": "long" - }, - "StartTimeMillis": { - "type": "long" - }, - "FinishTimeMillis": { - "type": "long" - } - } - } - } - }, - "S1x": { - "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": "So" - }, - "AlbumArt": { - "shape": "Ss" - }, - "Composition": { - "shape": "S10" - }, - "Captions": { - "shape": "S14" - }, - "Encryption": { - "shape": "Sc" - }, - "AppliedColorSpaceConversion": {} - } - }, - "S28": { - "type": "structure", - "members": { - "Progressing": {}, - "Completed": {}, - "Warning": {}, - "Error": {} - } - }, - "S2a": { - "type": "structure", - "members": { - "Bucket": {}, - "StorageClass": {}, - "Permissions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "GranteeType": {}, - "Grantee": {}, - "Access": { - "type": "list", - "member": {} - } - } - } - } - } - }, - "S2j": { - "type": "structure", - "members": { - "Id": {}, - "Arn": {}, - "Name": {}, - "Status": {}, - "InputBucket": {}, - "OutputBucket": {}, - "Role": {}, - "AwsKmsKeyArn": {}, - "Notifications": { - "shape": "S28" - }, - "ContentConfig": { - "shape": "S2a" - }, - "ThumbnailConfig": { - "shape": "S2a" - } - } - }, - "S2l": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Code": {}, - "Message": {} - } - } - }, - "S2p": { - "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": {} - } - } - } - } - }, - "S35": { - "type": "structure", - "members": { - "Codec": {}, - "SampleRate": {}, - "BitRate": {}, - "Channels": {}, - "AudioPackingMode": {}, - "CodecOptions": { - "type": "structure", - "members": { - "Profile": {}, - "BitDepth": {}, - "BitOrder": {}, - "Signed": {} - } - } - } - }, - "S3g": { - "type": "structure", - "members": { - "Format": {}, - "Interval": {}, - "Resolution": {}, - "AspectRatio": {}, - "MaxWidth": {}, - "MaxHeight": {}, - "SizingPolicy": {}, - "PaddingPolicy": {} - } - }, - "S3k": { - "type": "structure", - "members": { - "Id": {}, - "Arn": {}, - "Name": {}, - "Description": {}, - "Container": {}, - "Audio": { - "shape": "S35" - }, - "Video": { - "shape": "S2p" - }, - "Thumbnails": { - "shape": "S3g" - }, - "Type": {} - } - }, - "S3t": { - "type": "list", - "member": { - "shape": "S1w" - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.paginators.json b/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.paginators.json deleted file mode 100644 index 5a145d3..0000000 --- a/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/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.waiters2.json b/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.waiters2.json deleted file mode 100644 index 55c3628..0000000 --- a/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/node_modules/aws-sdk/apis/email-2010-12-01.examples.json b/node_modules/aws-sdk/apis/email-2010-12-01.examples.json deleted file mode 100644 index 8855529..0000000 --- a/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/node_modules/aws-sdk/apis/email-2010-12-01.min.json b/node_modules/aws-sdk/apis/email-2010-12-01.min.json deleted file mode 100644 index 75a79ec..0000000 --- a/node_modules/aws-sdk/apis/email-2010-12-01.min.json +++ /dev/null @@ -1,1214 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2010-12-01", - "endpointPrefix": "email", - "protocol": "query", - "serviceAbbreviation": "Amazon SES", - "serviceFullName": "Amazon Simple Email Service", - "signatureVersion": "v4", - "signingName": "ses", - "xmlNamespace": "http://ses.amazonaws.com/doc/2010-12-01/" - }, - "operations": { - "CloneReceiptRuleSet": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "OriginalRuleSetName" - ], - "members": { - "RuleSetName": {}, - "OriginalRuleSetName": {} - } - }, - "output": { - "resultWrapper": "CloneReceiptRuleSetResult", - "type": "structure", - "members": {} - } - }, - "CreateReceiptFilter": { - "input": { - "type": "structure", - "required": [ - "Filter" - ], - "members": { - "Filter": { - "shape": "S5" - } - } - }, - "output": { - "resultWrapper": "CreateReceiptFilterResult", - "type": "structure", - "members": {} - } - }, - "CreateReceiptRule": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "Rule" - ], - "members": { - "RuleSetName": {}, - "After": {}, - "Rule": { - "shape": "Sd" - } - } - }, - "output": { - "resultWrapper": "CreateReceiptRuleResult", - "type": "structure", - "members": {} - } - }, - "CreateReceiptRuleSet": { - "input": { - "type": "structure", - "required": [ - "RuleSetName" - ], - "members": { - "RuleSetName": {} - } - }, - "output": { - "resultWrapper": "CreateReceiptRuleSetResult", - "type": "structure", - "members": {} - } - }, - "DeleteIdentity": { - "input": { - "type": "structure", - "required": [ - "Identity" - ], - "members": { - "Identity": {} - } - }, - "output": { - "resultWrapper": "DeleteIdentityResult", - "type": "structure", - "members": {} - } - }, - "DeleteIdentityPolicy": { - "input": { - "type": "structure", - "required": [ - "Identity", - "PolicyName" - ], - "members": { - "Identity": {}, - "PolicyName": {} - } - }, - "output": { - "resultWrapper": "DeleteIdentityPolicyResult", - "type": "structure", - "members": {} - } - }, - "DeleteReceiptFilter": { - "input": { - "type": "structure", - "required": [ - "FilterName" - ], - "members": { - "FilterName": {} - } - }, - "output": { - "resultWrapper": "DeleteReceiptFilterResult", - "type": "structure", - "members": {} - } - }, - "DeleteReceiptRule": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "RuleName" - ], - "members": { - "RuleSetName": {}, - "RuleName": {} - } - }, - "output": { - "resultWrapper": "DeleteReceiptRuleResult", - "type": "structure", - "members": {} - } - }, - "DeleteReceiptRuleSet": { - "input": { - "type": "structure", - "required": [ - "RuleSetName" - ], - "members": { - "RuleSetName": {} - } - }, - "output": { - "resultWrapper": "DeleteReceiptRuleSetResult", - "type": "structure", - "members": {} - } - }, - "DeleteVerifiedEmailAddress": { - "input": { - "type": "structure", - "required": [ - "EmailAddress" - ], - "members": { - "EmailAddress": {} - } - } - }, - "DescribeActiveReceiptRuleSet": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "resultWrapper": "DescribeActiveReceiptRuleSetResult", - "type": "structure", - "members": { - "Metadata": { - "shape": "S1l" - }, - "Rules": { - "shape": "S1n" - } - } - } - }, - "DescribeReceiptRule": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "RuleName" - ], - "members": { - "RuleSetName": {}, - "RuleName": {} - } - }, - "output": { - "resultWrapper": "DescribeReceiptRuleResult", - "type": "structure", - "members": { - "Rule": { - "shape": "Sd" - } - } - } - }, - "DescribeReceiptRuleSet": { - "input": { - "type": "structure", - "required": [ - "RuleSetName" - ], - "members": { - "RuleSetName": {} - } - }, - "output": { - "resultWrapper": "DescribeReceiptRuleSetResult", - "type": "structure", - "members": { - "Metadata": { - "shape": "S1l" - }, - "Rules": { - "shape": "S1n" - } - } - } - }, - "GetIdentityDkimAttributes": { - "input": { - "type": "structure", - "required": [ - "Identities" - ], - "members": { - "Identities": { - "shape": "S1t" - } - } - }, - "output": { - "resultWrapper": "GetIdentityDkimAttributesResult", - "type": "structure", - "required": [ - "DkimAttributes" - ], - "members": { - "DkimAttributes": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "DkimEnabled", - "DkimVerificationStatus" - ], - "members": { - "DkimEnabled": { - "type": "boolean" - }, - "DkimVerificationStatus": {}, - "DkimTokens": { - "shape": "S1y" - } - } - } - } - } - } - }, - "GetIdentityMailFromDomainAttributes": { - "input": { - "type": "structure", - "required": [ - "Identities" - ], - "members": { - "Identities": { - "shape": "S1t" - } - } - }, - "output": { - "resultWrapper": "GetIdentityMailFromDomainAttributesResult", - "type": "structure", - "required": [ - "MailFromDomainAttributes" - ], - "members": { - "MailFromDomainAttributes": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "MailFromDomain", - "MailFromDomainStatus", - "BehaviorOnMXFailure" - ], - "members": { - "MailFromDomain": {}, - "MailFromDomainStatus": {}, - "BehaviorOnMXFailure": {} - } - } - } - } - } - }, - "GetIdentityNotificationAttributes": { - "input": { - "type": "structure", - "required": [ - "Identities" - ], - "members": { - "Identities": { - "shape": "S1t" - } - } - }, - "output": { - "resultWrapper": "GetIdentityNotificationAttributesResult", - "type": "structure", - "required": [ - "NotificationAttributes" - ], - "members": { - "NotificationAttributes": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "BounceTopic", - "ComplaintTopic", - "DeliveryTopic", - "ForwardingEnabled" - ], - "members": { - "BounceTopic": {}, - "ComplaintTopic": {}, - "DeliveryTopic": {}, - "ForwardingEnabled": { - "type": "boolean" - }, - "HeadersInBounceNotificationsEnabled": { - "type": "boolean" - }, - "HeadersInComplaintNotificationsEnabled": { - "type": "boolean" - }, - "HeadersInDeliveryNotificationsEnabled": { - "type": "boolean" - } - } - } - } - } - } - }, - "GetIdentityPolicies": { - "input": { - "type": "structure", - "required": [ - "Identity", - "PolicyNames" - ], - "members": { - "Identity": {}, - "PolicyNames": { - "shape": "S2d" - } - } - }, - "output": { - "resultWrapper": "GetIdentityPoliciesResult", - "type": "structure", - "required": [ - "Policies" - ], - "members": { - "Policies": { - "type": "map", - "key": {}, - "value": {} - } - } - } - }, - "GetIdentityVerificationAttributes": { - "input": { - "type": "structure", - "required": [ - "Identities" - ], - "members": { - "Identities": { - "shape": "S1t" - } - } - }, - "output": { - "resultWrapper": "GetIdentityVerificationAttributesResult", - "type": "structure", - "required": [ - "VerificationAttributes" - ], - "members": { - "VerificationAttributes": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "VerificationStatus" - ], - "members": { - "VerificationStatus": {}, - "VerificationToken": {} - } - } - } - } - } - }, - "GetSendQuota": { - "output": { - "resultWrapper": "GetSendQuotaResult", - "type": "structure", - "members": { - "Max24HourSend": { - "type": "double" - }, - "MaxSendRate": { - "type": "double" - }, - "SentLast24Hours": { - "type": "double" - } - } - } - }, - "GetSendStatistics": { - "output": { - "resultWrapper": "GetSendStatisticsResult", - "type": "structure", - "members": { - "SendDataPoints": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Timestamp": { - "type": "timestamp" - }, - "DeliveryAttempts": { - "type": "long" - }, - "Bounces": { - "type": "long" - }, - "Complaints": { - "type": "long" - }, - "Rejects": { - "type": "long" - } - } - } - } - } - } - }, - "ListIdentities": { - "input": { - "type": "structure", - "members": { - "IdentityType": {}, - "NextToken": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListIdentitiesResult", - "type": "structure", - "required": [ - "Identities" - ], - "members": { - "Identities": { - "shape": "S1t" - }, - "NextToken": {} - } - } - }, - "ListIdentityPolicies": { - "input": { - "type": "structure", - "required": [ - "Identity" - ], - "members": { - "Identity": {} - } - }, - "output": { - "resultWrapper": "ListIdentityPoliciesResult", - "type": "structure", - "required": [ - "PolicyNames" - ], - "members": { - "PolicyNames": { - "shape": "S2d" - } - } - } - }, - "ListReceiptFilters": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "resultWrapper": "ListReceiptFiltersResult", - "type": "structure", - "members": { - "Filters": { - "type": "list", - "member": { - "shape": "S5" - } - } - } - } - }, - "ListReceiptRuleSets": { - "input": { - "type": "structure", - "members": { - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListReceiptRuleSetsResult", - "type": "structure", - "members": { - "RuleSets": { - "type": "list", - "member": { - "shape": "S1l" - } - }, - "NextToken": {} - } - } - }, - "ListVerifiedEmailAddresses": { - "output": { - "resultWrapper": "ListVerifiedEmailAddressesResult", - "type": "structure", - "members": { - "VerifiedEmailAddresses": { - "shape": "S37" - } - } - } - }, - "PutIdentityPolicy": { - "input": { - "type": "structure", - "required": [ - "Identity", - "PolicyName", - "Policy" - ], - "members": { - "Identity": {}, - "PolicyName": {}, - "Policy": {} - } - }, - "output": { - "resultWrapper": "PutIdentityPolicyResult", - "type": "structure", - "members": {} - } - }, - "ReorderReceiptRuleSet": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "RuleNames" - ], - "members": { - "RuleSetName": {}, - "RuleNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "ReorderReceiptRuleSetResult", - "type": "structure", - "members": {} - } - }, - "SendBounce": { - "input": { - "type": "structure", - "required": [ - "OriginalMessageId", - "BounceSender", - "BouncedRecipientInfoList" - ], - "members": { - "OriginalMessageId": {}, - "BounceSender": {}, - "Explanation": {}, - "MessageDsn": { - "type": "structure", - "required": [ - "ReportingMta" - ], - "members": { - "ReportingMta": {}, - "ArrivalDate": { - "type": "timestamp" - }, - "ExtensionFields": { - "shape": "S3j" - } - } - }, - "BouncedRecipientInfoList": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Recipient" - ], - "members": { - "Recipient": {}, - "RecipientArn": {}, - "BounceType": {}, - "RecipientDsnFields": { - "type": "structure", - "required": [ - "Action", - "Status" - ], - "members": { - "FinalRecipient": {}, - "Action": {}, - "RemoteMta": {}, - "Status": {}, - "DiagnosticCode": {}, - "LastAttemptDate": { - "type": "timestamp" - }, - "ExtensionFields": { - "shape": "S3j" - } - } - } - } - } - }, - "BounceSenderArn": {} - } - }, - "output": { - "resultWrapper": "SendBounceResult", - "type": "structure", - "members": { - "MessageId": {} - } - } - }, - "SendEmail": { - "input": { - "type": "structure", - "required": [ - "Source", - "Destination", - "Message" - ], - "members": { - "Source": {}, - "Destination": { - "type": "structure", - "members": { - "ToAddresses": { - "shape": "S37" - }, - "CcAddresses": { - "shape": "S37" - }, - "BccAddresses": { - "shape": "S37" - } - } - }, - "Message": { - "type": "structure", - "required": [ - "Subject", - "Body" - ], - "members": { - "Subject": { - "shape": "S40" - }, - "Body": { - "type": "structure", - "members": { - "Text": { - "shape": "S40" - }, - "Html": { - "shape": "S40" - } - } - } - } - }, - "ReplyToAddresses": { - "shape": "S37" - }, - "ReturnPath": {}, - "SourceArn": {}, - "ReturnPathArn": {} - } - }, - "output": { - "resultWrapper": "SendEmailResult", - "type": "structure", - "required": [ - "MessageId" - ], - "members": { - "MessageId": {} - } - } - }, - "SendRawEmail": { - "input": { - "type": "structure", - "required": [ - "RawMessage" - ], - "members": { - "Source": {}, - "Destinations": { - "shape": "S37" - }, - "RawMessage": { - "type": "structure", - "required": [ - "Data" - ], - "members": { - "Data": { - "type": "blob" - } - } - }, - "FromArn": {}, - "SourceArn": {}, - "ReturnPathArn": {} - } - }, - "output": { - "resultWrapper": "SendRawEmailResult", - "type": "structure", - "required": [ - "MessageId" - ], - "members": { - "MessageId": {} - } - } - }, - "SetActiveReceiptRuleSet": { - "input": { - "type": "structure", - "members": { - "RuleSetName": {} - } - }, - "output": { - "resultWrapper": "SetActiveReceiptRuleSetResult", - "type": "structure", - "members": {} - } - }, - "SetIdentityDkimEnabled": { - "input": { - "type": "structure", - "required": [ - "Identity", - "DkimEnabled" - ], - "members": { - "Identity": {}, - "DkimEnabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "SetIdentityDkimEnabledResult", - "type": "structure", - "members": {} - } - }, - "SetIdentityFeedbackForwardingEnabled": { - "input": { - "type": "structure", - "required": [ - "Identity", - "ForwardingEnabled" - ], - "members": { - "Identity": {}, - "ForwardingEnabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "SetIdentityFeedbackForwardingEnabledResult", - "type": "structure", - "members": {} - } - }, - "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": {} - } - }, - "UpdateReceiptRule": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "Rule" - ], - "members": { - "RuleSetName": {}, - "Rule": { - "shape": "Sd" - } - } - }, - "output": { - "resultWrapper": "UpdateReceiptRuleResult", - "type": "structure", - "members": {} - } - }, - "VerifyDomainDkim": { - "input": { - "type": "structure", - "required": [ - "Domain" - ], - "members": { - "Domain": {} - } - }, - "output": { - "resultWrapper": "VerifyDomainDkimResult", - "type": "structure", - "required": [ - "DkimTokens" - ], - "members": { - "DkimTokens": { - "shape": "S1y" - } - } - } - }, - "VerifyDomainIdentity": { - "input": { - "type": "structure", - "required": [ - "Domain" - ], - "members": { - "Domain": {} - } - }, - "output": { - "resultWrapper": "VerifyDomainIdentityResult", - "type": "structure", - "required": [ - "VerificationToken" - ], - "members": { - "VerificationToken": {} - } - } - }, - "VerifyEmailAddress": { - "input": { - "type": "structure", - "required": [ - "EmailAddress" - ], - "members": { - "EmailAddress": {} - } - } - }, - "VerifyEmailIdentity": { - "input": { - "type": "structure", - "required": [ - "EmailAddress" - ], - "members": { - "EmailAddress": {} - } - }, - "output": { - "resultWrapper": "VerifyEmailIdentityResult", - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "S5": { - "type": "structure", - "required": [ - "Name", - "IpFilter" - ], - "members": { - "Name": {}, - "IpFilter": { - "type": "structure", - "required": [ - "Policy", - "Cidr" - ], - "members": { - "Policy": {}, - "Cidr": {} - } - } - } - }, - "Sd": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "Enabled": { - "type": "boolean" - }, - "TlsPolicy": {}, - "Recipients": { - "type": "list", - "member": {} - }, - "Actions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "S3Action": { - "type": "structure", - "required": [ - "BucketName" - ], - "members": { - "TopicArn": {}, - "BucketName": {}, - "ObjectKeyPrefix": {}, - "KmsKeyArn": {} - } - }, - "BounceAction": { - "type": "structure", - "required": [ - "SmtpReplyCode", - "Message", - "Sender" - ], - "members": { - "TopicArn": {}, - "SmtpReplyCode": {}, - "StatusCode": {}, - "Message": {}, - "Sender": {} - } - }, - "WorkmailAction": { - "type": "structure", - "required": [ - "OrganizationArn" - ], - "members": { - "TopicArn": {}, - "OrganizationArn": {} - } - }, - "LambdaAction": { - "type": "structure", - "required": [ - "FunctionArn" - ], - "members": { - "TopicArn": {}, - "FunctionArn": {}, - "InvocationType": {} - } - }, - "StopAction": { - "type": "structure", - "required": [ - "Scope" - ], - "members": { - "Scope": {}, - "TopicArn": {} - } - }, - "AddHeaderAction": { - "type": "structure", - "required": [ - "HeaderName", - "HeaderValue" - ], - "members": { - "HeaderName": {}, - "HeaderValue": {} - } - }, - "SNSAction": { - "type": "structure", - "required": [ - "TopicArn" - ], - "members": { - "TopicArn": {}, - "Encoding": {} - } - } - } - } - }, - "ScanEnabled": { - "type": "boolean" - } - } - }, - "S1l": { - "type": "structure", - "members": { - "Name": {}, - "CreatedTimestamp": { - "type": "timestamp" - } - } - }, - "S1n": { - "type": "list", - "member": { - "shape": "Sd" - } - }, - "S1t": { - "type": "list", - "member": {} - }, - "S1y": { - "type": "list", - "member": {} - }, - "S2d": { - "type": "list", - "member": {} - }, - "S37": { - "type": "list", - "member": {} - }, - "S3j": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name", - "Value" - ], - "members": { - "Name": {}, - "Value": {} - } - } - }, - "S40": { - "type": "structure", - "required": [ - "Data" - ], - "members": { - "Data": {}, - "Charset": {} - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/email-2010-12-01.paginators.json b/node_modules/aws-sdk/apis/email-2010-12-01.paginators.json deleted file mode 100644 index e12811f..0000000 --- a/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/node_modules/aws-sdk/apis/email-2010-12-01.waiters2.json b/node_modules/aws-sdk/apis/email-2010-12-01.waiters2.json deleted file mode 100644 index b585d30..0000000 --- a/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/node_modules/aws-sdk/apis/es-2015-01-01.min.json b/node_modules/aws-sdk/apis/es-2015-01-01.min.json deleted file mode 100644 index 2877b2c..0000000 --- a/node_modules/aws-sdk/apis/es-2015-01-01.min.json +++ /dev/null @@ -1,502 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-01-01", - "endpointPrefix": "es", - "protocol": "rest-json", - "serviceFullName": "Amazon Elasticsearch Service", - "signatureVersion": "v4" - }, - "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" - } - } - } - } - }, - "ListDomainNames": { - "http": { - "method": "GET", - "requestUri": "/2015-01-01/domain" - }, - "output": { - "type": "structure", - "members": { - "DomainNames": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DomainName": {} - } - } - } - } - } - }, - "ListTags": { - "http": { - "method": "GET", - "requestUri": "/2015-01-01/tags/" - }, - "input": { - "type": "structure", - "required": [ - "ARN" - ], - "members": { - "ARN": { - "location": "querystring", - "locationName": "arn" - } - } - }, - "output": { - "type": "structure", - "members": { - "TagList": { - "shape": "S3" - } - } - } - }, - "RemoveTags": { - "http": { - "requestUri": "/2015-01-01/tags-removal" - }, - "input": { - "type": "structure", - "required": [ - "ARN", - "TagKeys" - ], - "members": { - "ARN": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "UpdateElasticsearchDomainConfig": { - "http": { - "requestUri": "/2015-01-01/es/domain/{DomainName}/config" - }, - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": { - "location": "uri", - "locationName": "DomainName" - }, - "ElasticsearchClusterConfig": { - "shape": "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" - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/events-2015-10-07.min.json b/node_modules/aws-sdk/apis/events-2015-10-07.min.json deleted file mode 100644 index bb4d59a..0000000 --- a/node_modules/aws-sdk/apis/events-2015-10-07.min.json +++ /dev/null @@ -1,330 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-10-07", - "endpointPrefix": "events", - "jsonVersion": "1.1", - "serviceFullName": "Amazon CloudWatch Events", - "signatureVersion": "v4", - "targetPrefix": "AWSEvents", - "protocol": "json" - }, - "operations": { - "DeleteRule": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - } - }, - "DescribeRule": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "Name": {}, - "Arn": {}, - "EventPattern": {}, - "ScheduleExpression": {}, - "State": {}, - "Description": {}, - "RoleArn": {} - } - } - }, - "DisableRule": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - } - }, - "EnableRule": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - } - }, - "ListRuleNamesByTarget": { - "input": { - "type": "structure", - "required": [ - "TargetArn" - ], - "members": { - "TargetArn": {}, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "RuleNames": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - } - }, - "ListRules": { - "input": { - "type": "structure", - "members": { - "NamePrefix": {}, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Rules": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Arn": {}, - "EventPattern": {}, - "State": {}, - "Description": {}, - "ScheduleExpression": {}, - "RoleArn": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListTargetsByRule": { - "input": { - "type": "structure", - "required": [ - "Rule" - ], - "members": { - "Rule": {}, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Targets": { - "shape": "Sp" - }, - "NextToken": {} - } - } - }, - "PutEvents": { - "input": { - "type": "structure", - "required": [ - "Entries" - ], - "members": { - "Entries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Time": { - "type": "timestamp" - }, - "Source": {}, - "Resources": { - "type": "list", - "member": {} - }, - "DetailType": {}, - "Detail": {} - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "FailedEntryCount": { - "type": "integer" - }, - "Entries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EventId": {}, - "ErrorCode": {}, - "ErrorMessage": {} - } - } - } - } - } - }, - "PutRule": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "ScheduleExpression": {}, - "EventPattern": {}, - "State": {}, - "Description": {}, - "RoleArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "RuleArn": {} - } - } - }, - "PutTargets": { - "input": { - "type": "structure", - "required": [ - "Rule", - "Targets" - ], - "members": { - "Rule": {}, - "Targets": { - "shape": "Sp" - } - } - }, - "output": { - "type": "structure", - "members": { - "FailedEntryCount": { - "type": "integer" - }, - "FailedEntries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TargetId": {}, - "ErrorCode": {}, - "ErrorMessage": {} - } - } - } - } - } - }, - "RemoveTargets": { - "input": { - "type": "structure", - "required": [ - "Rule", - "Ids" - ], - "members": { - "Rule": {}, - "Ids": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "FailedEntryCount": { - "type": "integer" - }, - "FailedEntries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TargetId": {}, - "ErrorCode": {}, - "ErrorMessage": {} - } - } - } - } - } - }, - "TestEventPattern": { - "input": { - "type": "structure", - "required": [ - "EventPattern", - "Event" - ], - "members": { - "EventPattern": {}, - "Event": {} - } - }, - "output": { - "type": "structure", - "members": { - "Result": { - "type": "boolean" - } - } - } - } - }, - "shapes": { - "Sp": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Id", - "Arn" - ], - "members": { - "Id": {}, - "Arn": {}, - "Input": {}, - "InputPath": {} - } - } - } - }, - "examples": {} -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json b/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json deleted file mode 100644 index d7d6bd5..0000000 --- a/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json +++ /dev/null @@ -1,550 +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" - }, - "operations": { - "CreateDeliveryStream": { - "input": { - "type": "structure", - "required": [ - "DeliveryStreamName" - ], - "members": { - "DeliveryStreamName": {}, - "S3DestinationConfiguration": { - "shape": "S3" - }, - "RedshiftDestinationConfiguration": { - "type": "structure", - "required": [ - "RoleARN", - "ClusterJDBCURL", - "CopyCommand", - "Username", - "Password", - "S3Configuration" - ], - "members": { - "RoleARN": {}, - "ClusterJDBCURL": {}, - "CopyCommand": { - "shape": "Sl" - }, - "Username": { - "shape": "Sp" - }, - "Password": { - "shape": "Sq" - }, - "RetryOptions": { - "shape": "Sr" - }, - "S3Configuration": { - "shape": "S3" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - } - } - }, - "ElasticsearchDestinationConfiguration": { - "type": "structure", - "required": [ - "RoleARN", - "DomainARN", - "IndexName", - "TypeName", - "S3Configuration" - ], - "members": { - "RoleARN": {}, - "DomainARN": {}, - "IndexName": {}, - "TypeName": {}, - "IndexRotationPeriod": {}, - "BufferingHints": { - "shape": "Sy" - }, - "RetryOptions": { - "shape": "S11" - }, - "S3BackupMode": {}, - "S3Configuration": { - "shape": "S3" - }, - "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": "S1i" - }, - "RedshiftDestinationDescription": { - "type": "structure", - "required": [ - "RoleARN", - "ClusterJDBCURL", - "CopyCommand", - "Username", - "S3DestinationDescription" - ], - "members": { - "RoleARN": {}, - "ClusterJDBCURL": {}, - "CopyCommand": { - "shape": "Sl" - }, - "Username": { - "shape": "Sp" - }, - "RetryOptions": { - "shape": "Sr" - }, - "S3DestinationDescription": { - "shape": "S1i" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - } - } - }, - "ElasticsearchDestinationDescription": { - "type": "structure", - "members": { - "RoleARN": {}, - "DomainARN": {}, - "IndexName": {}, - "TypeName": {}, - "IndexRotationPeriod": {}, - "BufferingHints": { - "shape": "Sy" - }, - "RetryOptions": { - "shape": "S11" - }, - "S3BackupMode": {}, - "S3DestinationDescription": { - "shape": "S1i" - }, - "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": "S1q" - } - } - }, - "output": { - "type": "structure", - "required": [ - "RecordId" - ], - "members": { - "RecordId": {} - } - } - }, - "PutRecordBatch": { - "input": { - "type": "structure", - "required": [ - "DeliveryStreamName", - "Records" - ], - "members": { - "DeliveryStreamName": {}, - "Records": { - "type": "list", - "member": { - "shape": "S1q" - } - } - } - }, - "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": "S23" - }, - "RedshiftDestinationUpdate": { - "type": "structure", - "members": { - "RoleARN": {}, - "ClusterJDBCURL": {}, - "CopyCommand": { - "shape": "Sl" - }, - "Username": { - "shape": "Sp" - }, - "Password": { - "shape": "Sq" - }, - "RetryOptions": { - "shape": "Sr" - }, - "S3Update": { - "shape": "S23" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - } - } - }, - "ElasticsearchDestinationUpdate": { - "type": "structure", - "members": { - "RoleARN": {}, - "DomainARN": {}, - "IndexName": {}, - "TypeName": {}, - "IndexRotationPeriod": {}, - "BufferingHints": { - "shape": "Sy" - }, - "RetryOptions": { - "shape": "S11" - }, - "S3Update": { - "shape": "S23" - }, - "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": {} - } - }, - "Sl": { - "type": "structure", - "required": [ - "DataTableName" - ], - "members": { - "DataTableName": {}, - "DataTableColumns": {}, - "CopyOptions": {} - } - }, - "Sp": { - "type": "string", - "sensitive": true - }, - "Sq": { - "type": "string", - "sensitive": true - }, - "Sr": { - "type": "structure", - "members": { - "DurationInSeconds": { - "type": "integer" - } - } - }, - "Sy": { - "type": "structure", - "members": { - "IntervalInSeconds": { - "type": "integer" - }, - "SizeInMBs": { - "type": "integer" - } - } - }, - "S11": { - "type": "structure", - "members": { - "DurationInSeconds": { - "type": "integer" - } - } - }, - "S1i": { - "type": "structure", - "required": [ - "RoleARN", - "BucketARN", - "BufferingHints", - "CompressionFormat", - "EncryptionConfiguration" - ], - "members": { - "RoleARN": {}, - "BucketARN": {}, - "Prefix": {}, - "BufferingHints": { - "shape": "S7" - }, - "CompressionFormat": {}, - "EncryptionConfiguration": { - "shape": "Sb" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - } - } - }, - "S1q": { - "type": "structure", - "required": [ - "Data" - ], - "members": { - "Data": { - "type": "blob" - } - } - }, - "S23": { - "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/node_modules/aws-sdk/apis/gamelift-2015-10-01.min.json b/node_modules/aws-sdk/apis/gamelift-2015-10-01.min.json deleted file mode 100644 index 21832f9..0000000 --- a/node_modules/aws-sdk/apis/gamelift-2015-10-01.min.json +++ /dev/null @@ -1,1174 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-10-01", - "endpointPrefix": "gamelift", - "jsonVersion": "1.1", - "serviceFullName": "Amazon GameLift", - "signatureVersion": "v4", - "targetPrefix": "GameLift", - "protocol": "json" - }, - "operations": { - "CreateAlias": { - "input": { - "type": "structure", - "required": [ - "Name", - "RoutingStrategy" - ], - "members": { - "Name": {}, - "Description": {}, - "RoutingStrategy": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Alias": { - "shape": "S8" - } - } - } - }, - "CreateBuild": { - "input": { - "type": "structure", - "members": { - "Name": {}, - "Version": {}, - "StorageLocation": { - "shape": "Sc" - }, - "OperatingSystem": {} - } - }, - "output": { - "type": "structure", - "members": { - "Build": { - "shape": "Sg" - }, - "UploadCredentials": { - "shape": "Sk" - }, - "StorageLocation": { - "shape": "Sc" - } - } - } - }, - "CreateFleet": { - "input": { - "type": "structure", - "required": [ - "Name", - "BuildId", - "EC2InstanceType" - ], - "members": { - "Name": {}, - "Description": {}, - "BuildId": {}, - "ServerLaunchPath": {}, - "ServerLaunchParameters": {}, - "LogPaths": { - "shape": "Sm" - }, - "EC2InstanceType": {}, - "EC2InboundPermissions": { - "shape": "So" - }, - "NewGameSessionProtectionPolicy": {}, - "RuntimeConfiguration": { - "shape": "Su" - } - } - }, - "output": { - "type": "structure", - "members": { - "FleetAttributes": { - "shape": "Sz" - } - } - } - }, - "CreateGameSession": { - "input": { - "type": "structure", - "required": [ - "MaximumPlayerSessionCount" - ], - "members": { - "FleetId": {}, - "AliasId": {}, - "MaximumPlayerSessionCount": { - "type": "integer" - }, - "Name": {}, - "GameProperties": { - "shape": "S13" - } - } - }, - "output": { - "type": "structure", - "members": { - "GameSession": { - "shape": "S18" - } - } - } - }, - "CreatePlayerSession": { - "input": { - "type": "structure", - "required": [ - "GameSessionId", - "PlayerId" - ], - "members": { - "GameSessionId": {}, - "PlayerId": {} - } - }, - "output": { - "type": "structure", - "members": { - "PlayerSession": { - "shape": "S1f" - } - } - } - }, - "CreatePlayerSessions": { - "input": { - "type": "structure", - "required": [ - "GameSessionId", - "PlayerIds" - ], - "members": { - "GameSessionId": {}, - "PlayerIds": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "PlayerSessions": { - "shape": "S1l" - } - } - } - }, - "DeleteAlias": { - "input": { - "type": "structure", - "required": [ - "AliasId" - ], - "members": { - "AliasId": {} - } - } - }, - "DeleteBuild": { - "input": { - "type": "structure", - "required": [ - "BuildId" - ], - "members": { - "BuildId": {} - } - } - }, - "DeleteFleet": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {} - } - } - }, - "DeleteScalingPolicy": { - "input": { - "type": "structure", - "required": [ - "Name", - "FleetId" - ], - "members": { - "Name": {}, - "FleetId": {} - } - } - }, - "DescribeAlias": { - "input": { - "type": "structure", - "required": [ - "AliasId" - ], - "members": { - "AliasId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Alias": { - "shape": "S8" - } - } - } - }, - "DescribeBuild": { - "input": { - "type": "structure", - "required": [ - "BuildId" - ], - "members": { - "BuildId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Build": { - "shape": "Sg" - } - } - } - }, - "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": "S1z" - }, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "FleetAttributes": { - "type": "list", - "member": { - "shape": "Sz" - } - }, - "NextToken": {} - } - } - }, - "DescribeFleetCapacity": { - "input": { - "type": "structure", - "members": { - "FleetIds": { - "shape": "S1z" - }, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "FleetCapacity": { - "type": "list", - "member": { - "type": "structure", - "members": { - "FleetId": {}, - "InstanceType": {}, - "InstanceCounts": { - "type": "structure", - "members": { - "DESIRED": { - "type": "integer" - }, - "MINIMUM": { - "type": "integer" - }, - "MAXIMUM": { - "type": "integer" - }, - "PENDING": { - "type": "integer" - }, - "ACTIVE": { - "type": "integer" - }, - "IDLE": { - "type": "integer" - }, - "TERMINATING": { - "type": "integer" - } - } - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeFleetEvents": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Events": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EventId": {}, - "ResourceId": {}, - "EventCode": {}, - "Message": {}, - "EventTime": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeFleetPortSettings": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "InboundPermissions": { - "shape": "So" - } - } - } - }, - "DescribeFleetUtilization": { - "input": { - "type": "structure", - "members": { - "FleetIds": { - "shape": "S1z" - }, - "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": "S18" - }, - "ProtectionPolicy": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeGameSessions": { - "input": { - "type": "structure", - "members": { - "FleetId": {}, - "GameSessionId": {}, - "AliasId": {}, - "StatusFilter": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "GameSessions": { - "shape": "S2o" - }, - "NextToken": {} - } - } - }, - "DescribePlayerSessions": { - "input": { - "type": "structure", - "members": { - "GameSessionId": {}, - "PlayerId": {}, - "PlayerSessionId": {}, - "PlayerSessionStatusFilter": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "PlayerSessions": { - "shape": "S1l" - }, - "NextToken": {} - } - } - }, - "DescribeRuntimeConfiguration": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "RuntimeConfiguration": { - "shape": "Su" - } - } - } - }, - "DescribeScalingPolicies": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {}, - "StatusFilter": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ScalingPolicies": { - "type": "list", - "member": { - "type": "structure", - "members": { - "FleetId": {}, - "Name": {}, - "Status": {}, - "ScalingAdjustment": { - "type": "integer" - }, - "ScalingAdjustmentType": {}, - "ComparisonOperator": {}, - "Threshold": { - "type": "double" - }, - "EvaluationPeriods": { - "type": "integer" - }, - "MetricName": {} - } - } - }, - "NextToken": {} - } - } - }, - "GetGameSessionLogUrl": { - "input": { - "type": "structure", - "required": [ - "GameSessionId" - ], - "members": { - "GameSessionId": {} - } - }, - "output": { - "type": "structure", - "members": { - "PreSignedUrl": {} - } - } - }, - "ListAliases": { - "input": { - "type": "structure", - "members": { - "RoutingStrategyType": {}, - "Name": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Aliases": { - "type": "list", - "member": { - "shape": "S8" - } - }, - "NextToken": {} - } - } - }, - "ListBuilds": { - "input": { - "type": "structure", - "members": { - "Status": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Builds": { - "type": "list", - "member": { - "shape": "Sg" - } - }, - "NextToken": {} - } - } - }, - "ListFleets": { - "input": { - "type": "structure", - "members": { - "BuildId": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "FleetIds": { - "shape": "S1z" - }, - "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": "Sk" - }, - "StorageLocation": { - "shape": "Sc" - } - } - } - }, - "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": "S2o" - }, - "NextToken": {} - } - } - }, - "UpdateAlias": { - "input": { - "type": "structure", - "required": [ - "AliasId" - ], - "members": { - "AliasId": {}, - "Name": {}, - "Description": {}, - "RoutingStrategy": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Alias": { - "shape": "S8" - } - } - } - }, - "UpdateBuild": { - "input": { - "type": "structure", - "required": [ - "BuildId" - ], - "members": { - "BuildId": {}, - "Name": {}, - "Version": {} - } - }, - "output": { - "type": "structure", - "members": { - "Build": { - "shape": "Sg" - } - } - } - }, - "UpdateFleetAttributes": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {}, - "Name": {}, - "Description": {}, - "NewGameSessionProtectionPolicy": {} - } - }, - "output": { - "type": "structure", - "members": { - "FleetId": {} - } - } - }, - "UpdateFleetCapacity": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {}, - "DesiredInstances": { - "type": "integer" - }, - "MinSize": { - "type": "integer" - }, - "MaxSize": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "FleetId": {} - } - } - }, - "UpdateFleetPortSettings": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {}, - "InboundPermissionAuthorizations": { - "shape": "So" - }, - "InboundPermissionRevocations": { - "shape": "So" - } - } - }, - "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": "S18" - } - } - } - }, - "UpdateRuntimeConfiguration": { - "input": { - "type": "structure", - "required": [ - "FleetId", - "RuntimeConfiguration" - ], - "members": { - "FleetId": {}, - "RuntimeConfiguration": { - "shape": "Su" - } - } - }, - "output": { - "type": "structure", - "members": { - "RuntimeConfiguration": { - "shape": "Su" - } - } - } - } - }, - "shapes": { - "S3": { - "type": "structure", - "members": { - "Type": {}, - "FleetId": {}, - "Message": {} - } - }, - "S8": { - "type": "structure", - "members": { - "AliasId": {}, - "Name": {}, - "Description": {}, - "RoutingStrategy": { - "shape": "S3" - }, - "CreationTime": { - "type": "timestamp" - }, - "LastUpdatedTime": { - "type": "timestamp" - } - } - }, - "Sc": { - "type": "structure", - "members": { - "Bucket": {}, - "Key": {}, - "RoleArn": {} - } - }, - "Sg": { - "type": "structure", - "members": { - "BuildId": {}, - "Name": {}, - "Version": {}, - "Status": {}, - "SizeOnDisk": { - "type": "long" - }, - "OperatingSystem": {}, - "CreationTime": { - "type": "timestamp" - } - } - }, - "Sk": { - "type": "structure", - "members": { - "AccessKeyId": {}, - "SecretAccessKey": {}, - "SessionToken": {} - }, - "sensitive": true - }, - "Sm": { - "type": "list", - "member": {} - }, - "So": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "FromPort", - "ToPort", - "IpRange", - "Protocol" - ], - "members": { - "FromPort": { - "type": "integer" - }, - "ToPort": { - "type": "integer" - }, - "IpRange": {}, - "Protocol": {} - } - } - }, - "Su": { - "type": "structure", - "members": { - "ServerProcesses": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "LaunchPath", - "ConcurrentExecutions" - ], - "members": { - "LaunchPath": {}, - "Parameters": {}, - "ConcurrentExecutions": { - "type": "integer" - } - } - } - } - } - }, - "Sz": { - "type": "structure", - "members": { - "FleetId": {}, - "Description": {}, - "Name": {}, - "CreationTime": { - "type": "timestamp" - }, - "TerminationTime": { - "type": "timestamp" - }, - "Status": {}, - "BuildId": {}, - "ServerLaunchPath": {}, - "ServerLaunchParameters": {}, - "LogPaths": { - "shape": "Sm" - }, - "NewGameSessionProtectionPolicy": {}, - "OperatingSystem": {} - } - }, - "S13": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S18": { - "type": "structure", - "members": { - "GameSessionId": {}, - "Name": {}, - "FleetId": {}, - "CreationTime": { - "type": "timestamp" - }, - "TerminationTime": { - "type": "timestamp" - }, - "CurrentPlayerSessionCount": { - "type": "integer" - }, - "MaximumPlayerSessionCount": { - "type": "integer" - }, - "Status": {}, - "GameProperties": { - "shape": "S13" - }, - "IpAddress": {}, - "Port": { - "type": "integer" - }, - "PlayerSessionCreationPolicy": {} - } - }, - "S1f": { - "type": "structure", - "members": { - "PlayerSessionId": {}, - "PlayerId": {}, - "GameSessionId": {}, - "FleetId": {}, - "CreationTime": { - "type": "timestamp" - }, - "TerminationTime": { - "type": "timestamp" - }, - "Status": {}, - "IpAddress": {}, - "Port": { - "type": "integer" - } - } - }, - "S1l": { - "type": "list", - "member": { - "shape": "S1f" - } - }, - "S1z": { - "type": "list", - "member": {} - }, - "S2o": { - "type": "list", - "member": { - "shape": "S18" - } - } - }, - "examples": {} -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/glacier-2012-06-01.min.json b/node_modules/aws-sdk/apis/glacier-2012-06-01.min.json deleted file mode 100644 index 6db1a30..0000000 --- a/node_modules/aws-sdk/apis/glacier-2012-06-01.min.json +++ /dev/null @@ -1,1215 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2012-06-01", - "checksumFormat": "sha256", - "endpointPrefix": "glacier", - "serviceFullName": "Amazon Glacier", - "signatureVersion": "v4", - "protocol": "rest-json" - }, - "operations": { - "AbortMultipartUpload": { - "http": { - "method": "DELETE", - "requestUri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "uploadId": { - "location": "uri", - "locationName": "uploadId" - } - }, - "required": [ - "accountId", - "vaultName", - "uploadId" - ] - } - }, - "AbortVaultLock": { - "http": { - "method": "DELETE", - "requestUri": "/{accountId}/vaults/{vaultName}/lock-policy", - "responseCode": 204 - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - }, - "required": [ - "accountId", - "vaultName" - ] - } - }, - "AddTagsToVault": { - "http": { - "requestUri": "/{accountId}/vaults/{vaultName}/tags?operation=add", - "responseCode": 204 - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "Tags": { - "shape": "S5" - } - }, - "required": [ - "accountId", - "vaultName" - ] - } - }, - "CompleteMultipartUpload": { - "http": { - "requestUri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", - "responseCode": 201 - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "uploadId": { - "location": "uri", - "locationName": "uploadId" - }, - "archiveSize": { - "location": "header", - "locationName": "x-amz-archive-size" - }, - "checksum": { - "location": "header", - "locationName": "x-amz-sha256-tree-hash" - } - }, - "required": [ - "accountId", - "vaultName", - "uploadId" - ] - }, - "output": { - "shape": "S9" - } - }, - "CompleteVaultLock": { - "http": { - "requestUri": "/{accountId}/vaults/{vaultName}/lock-policy/{lockId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "lockId": { - "location": "uri", - "locationName": "lockId" - } - }, - "required": [ - "accountId", - "vaultName", - "lockId" - ] - } - }, - "CreateVault": { - "http": { - "method": "PUT", - "requestUri": "/{accountId}/vaults/{vaultName}", - "responseCode": 201 - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - }, - "required": [ - "accountId", - "vaultName" - ] - }, - "output": { - "type": "structure", - "members": { - "location": { - "location": "header", - "locationName": "Location" - } - } - } - }, - "DeleteArchive": { - "http": { - "method": "DELETE", - "requestUri": "/{accountId}/vaults/{vaultName}/archives/{archiveId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "archiveId": { - "location": "uri", - "locationName": "archiveId" - } - }, - "required": [ - "accountId", - "vaultName", - "archiveId" - ] - } - }, - "DeleteVault": { - "http": { - "method": "DELETE", - "requestUri": "/{accountId}/vaults/{vaultName}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - }, - "required": [ - "accountId", - "vaultName" - ] - } - }, - "DeleteVaultAccessPolicy": { - "http": { - "method": "DELETE", - "requestUri": "/{accountId}/vaults/{vaultName}/access-policy", - "responseCode": 204 - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - }, - "required": [ - "accountId", - "vaultName" - ] - } - }, - "DeleteVaultNotifications": { - "http": { - "method": "DELETE", - "requestUri": "/{accountId}/vaults/{vaultName}/notification-configuration", - "responseCode": 204 - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - }, - "required": [ - "accountId", - "vaultName" - ] - } - }, - "DescribeJob": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}/jobs/{jobId}" - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "jobId": { - "location": "uri", - "locationName": "jobId" - } - }, - "required": [ - "accountId", - "vaultName", - "jobId" - ] - }, - "output": { - "shape": "Si" - } - }, - "DescribeVault": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}" - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - }, - "required": [ - "accountId", - "vaultName" - ] - }, - "output": { - "shape": "Sq" - } - }, - "GetDataRetrievalPolicy": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/policies/data-retrieval" - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - } - }, - "required": [ - "accountId" - ] - }, - "output": { - "type": "structure", - "members": { - "Policy": { - "shape": "Su" - } - } - } - }, - "GetJobOutput": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}/jobs/{jobId}/output" - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "jobId": { - "location": "uri", - "locationName": "jobId" - }, - "range": { - "location": "header", - "locationName": "Range" - } - }, - "required": [ - "accountId", - "vaultName", - "jobId" - ] - }, - "output": { - "type": "structure", - "members": { - "body": { - "shape": "S10" - }, - "checksum": { - "location": "header", - "locationName": "x-amz-sha256-tree-hash" - }, - "status": { - "location": "statusCode", - "type": "integer" - }, - "contentRange": { - "location": "header", - "locationName": "Content-Range" - }, - "acceptRanges": { - "location": "header", - "locationName": "Accept-Ranges" - }, - "contentType": { - "location": "header", - "locationName": "Content-Type" - }, - "archiveDescription": { - "location": "header", - "locationName": "x-amz-archive-description" - } - }, - "payload": "body" - } - }, - "GetVaultAccessPolicy": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}/access-policy" - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - }, - "required": [ - "accountId", - "vaultName" - ] - }, - "output": { - "type": "structure", - "members": { - "policy": { - "shape": "S14" - } - }, - "payload": "policy" - } - }, - "GetVaultLock": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}/lock-policy" - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - }, - "required": [ - "accountId", - "vaultName" - ] - }, - "output": { - "type": "structure", - "members": { - "Policy": {}, - "State": {}, - "ExpirationDate": {}, - "CreationDate": {} - } - } - }, - "GetVaultNotifications": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}/notification-configuration" - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - }, - "required": [ - "accountId", - "vaultName" - ] - }, - "output": { - "type": "structure", - "members": { - "vaultNotificationConfig": { - "shape": "S19" - } - }, - "payload": "vaultNotificationConfig" - } - }, - "InitiateJob": { - "http": { - "requestUri": "/{accountId}/vaults/{vaultName}/jobs", - "responseCode": 202 - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "jobParameters": { - "type": "structure", - "members": { - "Format": {}, - "Type": {}, - "ArchiveId": {}, - "Description": {}, - "SNSTopic": {}, - "RetrievalByteRange": {}, - "InventoryRetrievalParameters": { - "type": "structure", - "members": { - "StartDate": {}, - "EndDate": {}, - "Limit": {}, - "Marker": {} - } - } - } - } - }, - "required": [ - "accountId", - "vaultName" - ], - "payload": "jobParameters" - }, - "output": { - "type": "structure", - "members": { - "location": { - "location": "header", - "locationName": "Location" - }, - "jobId": { - "location": "header", - "locationName": "x-amz-job-id" - } - } - } - }, - "InitiateMultipartUpload": { - "http": { - "requestUri": "/{accountId}/vaults/{vaultName}/multipart-uploads", - "responseCode": 201 - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "archiveDescription": { - "location": "header", - "locationName": "x-amz-archive-description" - }, - "partSize": { - "location": "header", - "locationName": "x-amz-part-size" - } - }, - "required": [ - "accountId", - "vaultName" - ] - }, - "output": { - "type": "structure", - "members": { - "location": { - "location": "header", - "locationName": "Location" - }, - "uploadId": { - "location": "header", - "locationName": "x-amz-multipart-upload-id" - } - } - } - }, - "InitiateVaultLock": { - "http": { - "requestUri": "/{accountId}/vaults/{vaultName}/lock-policy", - "responseCode": 201 - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "policy": { - "type": "structure", - "members": { - "Policy": {} - } - } - }, - "required": [ - "accountId", - "vaultName" - ], - "payload": "policy" - }, - "output": { - "type": "structure", - "members": { - "lockId": { - "location": "header", - "locationName": "x-amz-lock-id" - } - } - } - }, - "ListJobs": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}/jobs" - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "limit": { - "location": "querystring", - "locationName": "limit" - }, - "marker": { - "location": "querystring", - "locationName": "marker" - }, - "statuscode": { - "location": "querystring", - "locationName": "statuscode" - }, - "completed": { - "location": "querystring", - "locationName": "completed" - } - }, - "required": [ - "accountId", - "vaultName" - ] - }, - "output": { - "type": "structure", - "members": { - "JobList": { - "type": "list", - "member": { - "shape": "Si" - } - }, - "Marker": {} - } - } - }, - "ListMultipartUploads": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}/multipart-uploads" - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "marker": { - "location": "querystring", - "locationName": "marker" - }, - "limit": { - "location": "querystring", - "locationName": "limit" - } - }, - "required": [ - "accountId", - "vaultName" - ] - }, - "output": { - "type": "structure", - "members": { - "UploadsList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "MultipartUploadId": {}, - "VaultARN": {}, - "ArchiveDescription": {}, - "PartSizeInBytes": { - "type": "long" - }, - "CreationDate": {} - } - } - }, - "Marker": {} - } - } - }, - "ListParts": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}" - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "uploadId": { - "location": "uri", - "locationName": "uploadId" - }, - "marker": { - "location": "querystring", - "locationName": "marker" - }, - "limit": { - "location": "querystring", - "locationName": "limit" - } - }, - "required": [ - "accountId", - "vaultName", - "uploadId" - ] - }, - "output": { - "type": "structure", - "members": { - "MultipartUploadId": {}, - "VaultARN": {}, - "ArchiveDescription": {}, - "PartSizeInBytes": { - "type": "long" - }, - "CreationDate": {}, - "Parts": { - "type": "list", - "member": { - "type": "structure", - "members": { - "RangeInBytes": {}, - "SHA256TreeHash": {} - } - } - }, - "Marker": {} - } - } - }, - "ListTagsForVault": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}/tags" - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - }, - "required": [ - "accountId", - "vaultName" - ] - }, - "output": { - "type": "structure", - "members": { - "Tags": { - "shape": "S5" - } - } - } - }, - "ListVaults": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults" - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "marker": { - "location": "querystring", - "locationName": "marker" - }, - "limit": { - "location": "querystring", - "locationName": "limit" - } - }, - "required": [ - "accountId" - ] - }, - "output": { - "type": "structure", - "members": { - "VaultList": { - "type": "list", - "member": { - "shape": "Sq" - } - }, - "Marker": {} - } - } - }, - "RemoveTagsFromVault": { - "http": { - "requestUri": "/{accountId}/vaults/{vaultName}/tags?operation=remove", - "responseCode": 204 - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "TagKeys": { - "type": "list", - "member": {} - } - }, - "required": [ - "accountId", - "vaultName" - ] - } - }, - "SetDataRetrievalPolicy": { - "http": { - "method": "PUT", - "requestUri": "/{accountId}/policies/data-retrieval", - "responseCode": 204 - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "Policy": { - "shape": "Su" - } - }, - "required": [ - "accountId" - ] - } - }, - "SetVaultAccessPolicy": { - "http": { - "method": "PUT", - "requestUri": "/{accountId}/vaults/{vaultName}/access-policy", - "responseCode": 204 - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "policy": { - "shape": "S14" - } - }, - "required": [ - "accountId", - "vaultName" - ], - "payload": "policy" - } - }, - "SetVaultNotifications": { - "http": { - "method": "PUT", - "requestUri": "/{accountId}/vaults/{vaultName}/notification-configuration", - "responseCode": 204 - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "vaultNotificationConfig": { - "shape": "S19" - } - }, - "required": [ - "accountId", - "vaultName" - ], - "payload": "vaultNotificationConfig" - } - }, - "UploadArchive": { - "http": { - "requestUri": "/{accountId}/vaults/{vaultName}/archives", - "responseCode": 201 - }, - "input": { - "type": "structure", - "members": { - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "archiveDescription": { - "location": "header", - "locationName": "x-amz-archive-description" - }, - "checksum": { - "location": "header", - "locationName": "x-amz-sha256-tree-hash" - }, - "body": { - "shape": "S10" - } - }, - "required": [ - "vaultName", - "accountId" - ], - "payload": "body" - }, - "output": { - "shape": "S9" - } - }, - "UploadMultipartPart": { - "http": { - "method": "PUT", - "requestUri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "uploadId": { - "location": "uri", - "locationName": "uploadId" - }, - "checksum": { - "location": "header", - "locationName": "x-amz-sha256-tree-hash" - }, - "range": { - "location": "header", - "locationName": "Content-Range" - }, - "body": { - "shape": "S10" - } - }, - "required": [ - "accountId", - "vaultName", - "uploadId" - ], - "payload": "body" - }, - "output": { - "type": "structure", - "members": { - "checksum": { - "location": "header", - "locationName": "x-amz-sha256-tree-hash" - } - } - } - } - }, - "shapes": { - "S5": { - "type": "map", - "key": {}, - "value": {} - }, - "S9": { - "type": "structure", - "members": { - "location": { - "location": "header", - "locationName": "Location" - }, - "checksum": { - "location": "header", - "locationName": "x-amz-sha256-tree-hash" - }, - "archiveId": { - "location": "header", - "locationName": "x-amz-archive-id" - } - } - }, - "Si": { - "type": "structure", - "members": { - "JobId": {}, - "JobDescription": {}, - "Action": {}, - "ArchiveId": {}, - "VaultARN": {}, - "CreationDate": {}, - "Completed": { - "type": "boolean" - }, - "StatusCode": {}, - "StatusMessage": {}, - "ArchiveSizeInBytes": { - "type": "long" - }, - "InventorySizeInBytes": { - "type": "long" - }, - "SNSTopic": {}, - "CompletionDate": {}, - "SHA256TreeHash": {}, - "ArchiveSHA256TreeHash": {}, - "RetrievalByteRange": {}, - "InventoryRetrievalParameters": { - "type": "structure", - "members": { - "Format": {}, - "StartDate": {}, - "EndDate": {}, - "Limit": {}, - "Marker": {} - } - } - } - }, - "Sq": { - "type": "structure", - "members": { - "VaultARN": {}, - "VaultName": {}, - "CreationDate": {}, - "LastInventoryDate": {}, - "NumberOfArchives": { - "type": "long" - }, - "SizeInBytes": { - "type": "long" - } - } - }, - "Su": { - "type": "structure", - "members": { - "Rules": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Strategy": {}, - "BytesPerHour": { - "type": "long" - } - } - } - } - } - }, - "S10": { - "type": "blob", - "streaming": true - }, - "S14": { - "type": "structure", - "members": { - "Policy": {} - } - }, - "S19": { - "type": "structure", - "members": { - "SNSTopic": {}, - "Events": { - "type": "list", - "member": {} - } - } - } - }, - "examples": {} -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/glacier-2012-06-01.paginators.json b/node_modules/aws-sdk/apis/glacier-2012-06-01.paginators.json deleted file mode 100644 index 6969143..0000000 --- a/node_modules/aws-sdk/apis/glacier-2012-06-01.paginators.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "pagination": { - "ListJobs": { - "input_token": "marker", - "output_token": "Marker", - "limit_key": "limit", - "result_key": "JobList" - }, - "ListMultipartUploads": { - "input_token": "marker", - "output_token": "Marker", - "limit_key": "limit", - "result_key": "UploadsList" - }, - "ListParts": { - "input_token": "marker", - "output_token": "Marker", - "limit_key": "limit", - "result_key": "Parts" - }, - "ListVaults": { - "input_token": "marker", - "output_token": "Marker", - "limit_key": "limit", - "result_key": "VaultList" - } - } -} diff --git a/node_modules/aws-sdk/apis/glacier-2012-06-01.waiters2.json b/node_modules/aws-sdk/apis/glacier-2012-06-01.waiters2.json deleted file mode 100644 index 07a64a0..0000000 --- a/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/node_modules/aws-sdk/apis/iam-2010-05-08.min.json b/node_modules/aws-sdk/apis/iam-2010-05-08.min.json deleted file mode 100644 index 36e74c3..0000000 --- a/node_modules/aws-sdk/apis/iam-2010-05-08.min.json +++ /dev/null @@ -1,2936 +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", - "xmlNamespace": "https://iam.amazonaws.com/doc/2010-05-08/" - }, - "operations": { - "AddClientIDToOpenIDConnectProvider": { - "input": { - "type": "structure", - "required": [ - "OpenIDConnectProviderArn", - "ClientID" - ], - "members": { - "OpenIDConnectProviderArn": {}, - "ClientID": {} - } - } - }, - "AddRoleToInstanceProfile": { - "input": { - "type": "structure", - "required": [ - "InstanceProfileName", - "RoleName" - ], - "members": { - "InstanceProfileName": {}, - "RoleName": {} - } - } - }, - "AddUserToGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "UserName" - ], - "members": { - "GroupName": {}, - "UserName": {} - } - } - }, - "AttachGroupPolicy": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "PolicyArn" - ], - "members": { - "GroupName": {}, - "PolicyArn": {} - } - } - }, - "AttachRolePolicy": { - "input": { - "type": "structure", - "required": [ - "RoleName", - "PolicyArn" - ], - "members": { - "RoleName": {}, - "PolicyArn": {} - } - } - }, - "AttachUserPolicy": { - "input": { - "type": "structure", - "required": [ - "UserName", - "PolicyArn" - ], - "members": { - "UserName": {}, - "PolicyArn": {} - } - } - }, - "ChangePassword": { - "input": { - "type": "structure", - "required": [ - "OldPassword", - "NewPassword" - ], - "members": { - "OldPassword": { - "shape": "Sf" - }, - "NewPassword": { - "shape": "Sf" - } - } - } - }, - "CreateAccessKey": { - "input": { - "type": "structure", - "members": { - "UserName": {} - } - }, - "output": { - "resultWrapper": "CreateAccessKeyResult", - "type": "structure", - "required": [ - "AccessKey" - ], - "members": { - "AccessKey": { - "type": "structure", - "required": [ - "UserName", - "AccessKeyId", - "Status", - "SecretAccessKey" - ], - "members": { - "UserName": {}, - "AccessKeyId": {}, - "Status": {}, - "SecretAccessKey": { - "type": "string", - "sensitive": true - }, - "CreateDate": { - "type": "timestamp" - } - } - } - } - } - }, - "CreateAccountAlias": { - "input": { - "type": "structure", - "required": [ - "AccountAlias" - ], - "members": { - "AccountAlias": {} - } - } - }, - "CreateGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName" - ], - "members": { - "Path": {}, - "GroupName": {} - } - }, - "output": { - "resultWrapper": "CreateGroupResult", - "type": "structure", - "required": [ - "Group" - ], - "members": { - "Group": { - "shape": "Ss" - } - } - } - }, - "CreateInstanceProfile": { - "input": { - "type": "structure", - "required": [ - "InstanceProfileName" - ], - "members": { - "InstanceProfileName": {}, - "Path": {} - } - }, - "output": { - "resultWrapper": "CreateInstanceProfileResult", - "type": "structure", - "required": [ - "InstanceProfile" - ], - "members": { - "InstanceProfile": { - "shape": "Sw" - } - } - } - }, - "CreateLoginProfile": { - "input": { - "type": "structure", - "required": [ - "UserName", - "Password" - ], - "members": { - "UserName": {}, - "Password": { - "shape": "Sf" - }, - "PasswordResetRequired": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateLoginProfileResult", - "type": "structure", - "required": [ - "LoginProfile" - ], - "members": { - "LoginProfile": { - "shape": "S13" - } - } - } - }, - "CreateOpenIDConnectProvider": { - "input": { - "type": "structure", - "required": [ - "Url", - "ThumbprintList" - ], - "members": { - "Url": {}, - "ClientIDList": { - "shape": "S16" - }, - "ThumbprintList": { - "shape": "S17" - } - } - }, - "output": { - "resultWrapper": "CreateOpenIDConnectProviderResult", - "type": "structure", - "members": { - "OpenIDConnectProviderArn": {} - } - } - }, - "CreatePolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyName", - "PolicyDocument" - ], - "members": { - "PolicyName": {}, - "Path": {}, - "PolicyDocument": {}, - "Description": {} - } - }, - "output": { - "resultWrapper": "CreatePolicyResult", - "type": "structure", - "members": { - "Policy": { - "shape": "S1f" - } - } - } - }, - "CreatePolicyVersion": { - "input": { - "type": "structure", - "required": [ - "PolicyArn", - "PolicyDocument" - ], - "members": { - "PolicyArn": {}, - "PolicyDocument": {}, - "SetAsDefault": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreatePolicyVersionResult", - "type": "structure", - "members": { - "PolicyVersion": { - "shape": "S1k" - } - } - } - }, - "CreateRole": { - "input": { - "type": "structure", - "required": [ - "RoleName", - "AssumeRolePolicyDocument" - ], - "members": { - "Path": {}, - "RoleName": {}, - "AssumeRolePolicyDocument": {} - } - }, - "output": { - "resultWrapper": "CreateRoleResult", - "type": "structure", - "required": [ - "Role" - ], - "members": { - "Role": { - "shape": "Sy" - } - } - } - }, - "CreateSAMLProvider": { - "input": { - "type": "structure", - "required": [ - "SAMLMetadataDocument", - "Name" - ], - "members": { - "SAMLMetadataDocument": {}, - "Name": {} - } - }, - "output": { - "resultWrapper": "CreateSAMLProviderResult", - "type": "structure", - "members": { - "SAMLProviderArn": {} - } - } - }, - "CreateUser": { - "input": { - "type": "structure", - "required": [ - "UserName" - ], - "members": { - "Path": {}, - "UserName": {} - } - }, - "output": { - "resultWrapper": "CreateUserResult", - "type": "structure", - "members": { - "User": { - "shape": "S1t" - } - } - } - }, - "CreateVirtualMFADevice": { - "input": { - "type": "structure", - "required": [ - "VirtualMFADeviceName" - ], - "members": { - "Path": {}, - "VirtualMFADeviceName": {} - } - }, - "output": { - "resultWrapper": "CreateVirtualMFADeviceResult", - "type": "structure", - "required": [ - "VirtualMFADevice" - ], - "members": { - "VirtualMFADevice": { - "shape": "S1x" - } - } - } - }, - "DeactivateMFADevice": { - "input": { - "type": "structure", - "required": [ - "UserName", - "SerialNumber" - ], - "members": { - "UserName": {}, - "SerialNumber": {} - } - } - }, - "DeleteAccessKey": { - "input": { - "type": "structure", - "required": [ - "AccessKeyId" - ], - "members": { - "UserName": {}, - "AccessKeyId": {} - } - } - }, - "DeleteAccountAlias": { - "input": { - "type": "structure", - "required": [ - "AccountAlias" - ], - "members": { - "AccountAlias": {} - } - } - }, - "DeleteAccountPasswordPolicy": {}, - "DeleteGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName" - ], - "members": { - "GroupName": {} - } - } - }, - "DeleteGroupPolicy": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "PolicyName" - ], - "members": { - "GroupName": {}, - "PolicyName": {} - } - } - }, - "DeleteInstanceProfile": { - "input": { - "type": "structure", - "required": [ - "InstanceProfileName" - ], - "members": { - "InstanceProfileName": {} - } - } - }, - "DeleteLoginProfile": { - "input": { - "type": "structure", - "required": [ - "UserName" - ], - "members": { - "UserName": {} - } - } - }, - "DeleteOpenIDConnectProvider": { - "input": { - "type": "structure", - "required": [ - "OpenIDConnectProviderArn" - ], - "members": { - "OpenIDConnectProviderArn": {} - } - } - }, - "DeletePolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyArn" - ], - "members": { - "PolicyArn": {} - } - } - }, - "DeletePolicyVersion": { - "input": { - "type": "structure", - "required": [ - "PolicyArn", - "VersionId" - ], - "members": { - "PolicyArn": {}, - "VersionId": {} - } - } - }, - "DeleteRole": { - "input": { - "type": "structure", - "required": [ - "RoleName" - ], - "members": { - "RoleName": {} - } - } - }, - "DeleteRolePolicy": { - "input": { - "type": "structure", - "required": [ - "RoleName", - "PolicyName" - ], - "members": { - "RoleName": {}, - "PolicyName": {} - } - } - }, - "DeleteSAMLProvider": { - "input": { - "type": "structure", - "required": [ - "SAMLProviderArn" - ], - "members": { - "SAMLProviderArn": {} - } - } - }, - "DeleteSSHPublicKey": { - "input": { - "type": "structure", - "required": [ - "UserName", - "SSHPublicKeyId" - ], - "members": { - "UserName": {}, - "SSHPublicKeyId": {} - } - } - }, - "DeleteServerCertificate": { - "input": { - "type": "structure", - "required": [ - "ServerCertificateName" - ], - "members": { - "ServerCertificateName": {} - } - } - }, - "DeleteSigningCertificate": { - "input": { - "type": "structure", - "required": [ - "CertificateId" - ], - "members": { - "UserName": {}, - "CertificateId": {} - } - } - }, - "DeleteUser": { - "input": { - "type": "structure", - "required": [ - "UserName" - ], - "members": { - "UserName": {} - } - } - }, - "DeleteUserPolicy": { - "input": { - "type": "structure", - "required": [ - "UserName", - "PolicyName" - ], - "members": { - "UserName": {}, - "PolicyName": {} - } - } - }, - "DeleteVirtualMFADevice": { - "input": { - "type": "structure", - "required": [ - "SerialNumber" - ], - "members": { - "SerialNumber": {} - } - } - }, - "DetachGroupPolicy": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "PolicyArn" - ], - "members": { - "GroupName": {}, - "PolicyArn": {} - } - } - }, - "DetachRolePolicy": { - "input": { - "type": "structure", - "required": [ - "RoleName", - "PolicyArn" - ], - "members": { - "RoleName": {}, - "PolicyArn": {} - } - } - }, - "DetachUserPolicy": { - "input": { - "type": "structure", - "required": [ - "UserName", - "PolicyArn" - ], - "members": { - "UserName": {}, - "PolicyArn": {} - } - } - }, - "EnableMFADevice": { - "input": { - "type": "structure", - "required": [ - "UserName", - "SerialNumber", - "AuthenticationCode1", - "AuthenticationCode2" - ], - "members": { - "UserName": {}, - "SerialNumber": {}, - "AuthenticationCode1": {}, - "AuthenticationCode2": {} - } - } - }, - "GenerateCredentialReport": { - "output": { - "resultWrapper": "GenerateCredentialReportResult", - "type": "structure", - "members": { - "State": {}, - "Description": {} - } - } - }, - "GetAccessKeyLastUsed": { - "input": { - "type": "structure", - "required": [ - "AccessKeyId" - ], - "members": { - "AccessKeyId": {} - } - }, - "output": { - "resultWrapper": "GetAccessKeyLastUsedResult", - "type": "structure", - "members": { - "UserName": {}, - "AccessKeyLastUsed": { - "type": "structure", - "required": [ - "LastUsedDate", - "ServiceName", - "Region" - ], - "members": { - "LastUsedDate": { - "type": "timestamp" - }, - "ServiceName": {}, - "Region": {} - } - } - } - } - }, - "GetAccountAuthorizationDetails": { - "input": { - "type": "structure", - "members": { - "Filter": { - "type": "list", - "member": {} - }, - "MaxItems": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "GetAccountAuthorizationDetailsResult", - "type": "structure", - "members": { - "UserDetailList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Path": {}, - "UserName": {}, - "UserId": {}, - "Arn": {}, - "CreateDate": { - "type": "timestamp" - }, - "UserPolicyList": { - "shape": "S36" - }, - "GroupList": { - "type": "list", - "member": {} - }, - "AttachedManagedPolicies": { - "shape": "S39" - } - } - } - }, - "GroupDetailList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Path": {}, - "GroupName": {}, - "GroupId": {}, - "Arn": {}, - "CreateDate": { - "type": "timestamp" - }, - "GroupPolicyList": { - "shape": "S36" - }, - "AttachedManagedPolicies": { - "shape": "S39" - } - } - } - }, - "RoleDetailList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Path": {}, - "RoleName": {}, - "RoleId": {}, - "Arn": {}, - "CreateDate": { - "type": "timestamp" - }, - "AssumeRolePolicyDocument": {}, - "InstanceProfileList": { - "shape": "S3f" - }, - "RolePolicyList": { - "shape": "S36" - }, - "AttachedManagedPolicies": { - "shape": "S39" - } - } - } - }, - "Policies": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PolicyName": {}, - "PolicyId": {}, - "Arn": {}, - "Path": {}, - "DefaultVersionId": {}, - "AttachmentCount": { - "type": "integer" - }, - "IsAttachable": { - "type": "boolean" - }, - "Description": {}, - "CreateDate": { - "type": "timestamp" - }, - "UpdateDate": { - "type": "timestamp" - }, - "PolicyVersionList": { - "shape": "S3i" - } - } - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "GetAccountPasswordPolicy": { - "output": { - "resultWrapper": "GetAccountPasswordPolicyResult", - "type": "structure", - "required": [ - "PasswordPolicy" - ], - "members": { - "PasswordPolicy": { - "type": "structure", - "members": { - "MinimumPasswordLength": { - "type": "integer" - }, - "RequireSymbols": { - "type": "boolean" - }, - "RequireNumbers": { - "type": "boolean" - }, - "RequireUppercaseCharacters": { - "type": "boolean" - }, - "RequireLowercaseCharacters": { - "type": "boolean" - }, - "AllowUsersToChangePassword": { - "type": "boolean" - }, - "ExpirePasswords": { - "type": "boolean" - }, - "MaxPasswordAge": { - "type": "integer" - }, - "PasswordReusePrevention": { - "type": "integer" - }, - "HardExpiry": { - "type": "boolean" - } - } - } - } - } - }, - "GetAccountSummary": { - "output": { - "resultWrapper": "GetAccountSummaryResult", - "type": "structure", - "members": { - "SummaryMap": { - "type": "map", - "key": {}, - "value": { - "type": "integer" - } - } - } - } - }, - "GetContextKeysForCustomPolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyInputList" - ], - "members": { - "PolicyInputList": { - "shape": "S3u" - } - } - }, - "output": { - "shape": "S3v", - "resultWrapper": "GetContextKeysForCustomPolicyResult" - } - }, - "GetContextKeysForPrincipalPolicy": { - "input": { - "type": "structure", - "required": [ - "PolicySourceArn" - ], - "members": { - "PolicySourceArn": {}, - "PolicyInputList": { - "shape": "S3u" - } - } - }, - "output": { - "shape": "S3v", - "resultWrapper": "GetContextKeysForPrincipalPolicyResult" - } - }, - "GetCredentialReport": { - "output": { - "resultWrapper": "GetCredentialReportResult", - "type": "structure", - "members": { - "Content": { - "type": "blob" - }, - "ReportFormat": {}, - "GeneratedTime": { - "type": "timestamp" - } - } - } - }, - "GetGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName" - ], - "members": { - "GroupName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "GetGroupResult", - "type": "structure", - "required": [ - "Group", - "Users" - ], - "members": { - "Group": { - "shape": "Ss" - }, - "Users": { - "shape": "S44" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "GetGroupPolicy": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "PolicyName" - ], - "members": { - "GroupName": {}, - "PolicyName": {} - } - }, - "output": { - "resultWrapper": "GetGroupPolicyResult", - "type": "structure", - "required": [ - "GroupName", - "PolicyName", - "PolicyDocument" - ], - "members": { - "GroupName": {}, - "PolicyName": {}, - "PolicyDocument": {} - } - } - }, - "GetInstanceProfile": { - "input": { - "type": "structure", - "required": [ - "InstanceProfileName" - ], - "members": { - "InstanceProfileName": {} - } - }, - "output": { - "resultWrapper": "GetInstanceProfileResult", - "type": "structure", - "required": [ - "InstanceProfile" - ], - "members": { - "InstanceProfile": { - "shape": "Sw" - } - } - } - }, - "GetLoginProfile": { - "input": { - "type": "structure", - "required": [ - "UserName" - ], - "members": { - "UserName": {} - } - }, - "output": { - "resultWrapper": "GetLoginProfileResult", - "type": "structure", - "required": [ - "LoginProfile" - ], - "members": { - "LoginProfile": { - "shape": "S13" - } - } - } - }, - "GetOpenIDConnectProvider": { - "input": { - "type": "structure", - "required": [ - "OpenIDConnectProviderArn" - ], - "members": { - "OpenIDConnectProviderArn": {} - } - }, - "output": { - "resultWrapper": "GetOpenIDConnectProviderResult", - "type": "structure", - "members": { - "Url": {}, - "ClientIDList": { - "shape": "S16" - }, - "ThumbprintList": { - "shape": "S17" - }, - "CreateDate": { - "type": "timestamp" - } - } - } - }, - "GetPolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyArn" - ], - "members": { - "PolicyArn": {} - } - }, - "output": { - "resultWrapper": "GetPolicyResult", - "type": "structure", - "members": { - "Policy": { - "shape": "S1f" - } - } - } - }, - "GetPolicyVersion": { - "input": { - "type": "structure", - "required": [ - "PolicyArn", - "VersionId" - ], - "members": { - "PolicyArn": {}, - "VersionId": {} - } - }, - "output": { - "resultWrapper": "GetPolicyVersionResult", - "type": "structure", - "members": { - "PolicyVersion": { - "shape": "S1k" - } - } - } - }, - "GetRole": { - "input": { - "type": "structure", - "required": [ - "RoleName" - ], - "members": { - "RoleName": {} - } - }, - "output": { - "resultWrapper": "GetRoleResult", - "type": "structure", - "required": [ - "Role" - ], - "members": { - "Role": { - "shape": "Sy" - } - } - } - }, - "GetRolePolicy": { - "input": { - "type": "structure", - "required": [ - "RoleName", - "PolicyName" - ], - "members": { - "RoleName": {}, - "PolicyName": {} - } - }, - "output": { - "resultWrapper": "GetRolePolicyResult", - "type": "structure", - "required": [ - "RoleName", - "PolicyName", - "PolicyDocument" - ], - "members": { - "RoleName": {}, - "PolicyName": {}, - "PolicyDocument": {} - } - } - }, - "GetSAMLProvider": { - "input": { - "type": "structure", - "required": [ - "SAMLProviderArn" - ], - "members": { - "SAMLProviderArn": {} - } - }, - "output": { - "resultWrapper": "GetSAMLProviderResult", - "type": "structure", - "members": { - "SAMLMetadataDocument": {}, - "CreateDate": { - "type": "timestamp" - }, - "ValidUntil": { - "type": "timestamp" - } - } - } - }, - "GetSSHPublicKey": { - "input": { - "type": "structure", - "required": [ - "UserName", - "SSHPublicKeyId", - "Encoding" - ], - "members": { - "UserName": {}, - "SSHPublicKeyId": {}, - "Encoding": {} - } - }, - "output": { - "resultWrapper": "GetSSHPublicKeyResult", - "type": "structure", - "members": { - "SSHPublicKey": { - "shape": "S4q" - } - } - } - }, - "GetServerCertificate": { - "input": { - "type": "structure", - "required": [ - "ServerCertificateName" - ], - "members": { - "ServerCertificateName": {} - } - }, - "output": { - "resultWrapper": "GetServerCertificateResult", - "type": "structure", - "required": [ - "ServerCertificate" - ], - "members": { - "ServerCertificate": { - "type": "structure", - "required": [ - "ServerCertificateMetadata", - "CertificateBody" - ], - "members": { - "ServerCertificateMetadata": { - "shape": "S4w" - }, - "CertificateBody": {}, - "CertificateChain": {} - } - } - } - } - }, - "GetUser": { - "input": { - "type": "structure", - "members": { - "UserName": {} - } - }, - "output": { - "resultWrapper": "GetUserResult", - "type": "structure", - "required": [ - "User" - ], - "members": { - "User": { - "shape": "S1t" - } - } - } - }, - "GetUserPolicy": { - "input": { - "type": "structure", - "required": [ - "UserName", - "PolicyName" - ], - "members": { - "UserName": {}, - "PolicyName": {} - } - }, - "output": { - "resultWrapper": "GetUserPolicyResult", - "type": "structure", - "required": [ - "UserName", - "PolicyName", - "PolicyDocument" - ], - "members": { - "UserName": {}, - "PolicyName": {}, - "PolicyDocument": {} - } - } - }, - "ListAccessKeys": { - "input": { - "type": "structure", - "members": { - "UserName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListAccessKeysResult", - "type": "structure", - "required": [ - "AccessKeyMetadata" - ], - "members": { - "AccessKeyMetadata": { - "type": "list", - "member": { - "type": "structure", - "members": { - "UserName": {}, - "AccessKeyId": {}, - "Status": {}, - "CreateDate": { - "type": "timestamp" - } - } - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListAccountAliases": { - "input": { - "type": "structure", - "members": { - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListAccountAliasesResult", - "type": "structure", - "required": [ - "AccountAliases" - ], - "members": { - "AccountAliases": { - "type": "list", - "member": {} - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListAttachedGroupPolicies": { - "input": { - "type": "structure", - "required": [ - "GroupName" - ], - "members": { - "GroupName": {}, - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListAttachedGroupPoliciesResult", - "type": "structure", - "members": { - "AttachedPolicies": { - "shape": "S39" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListAttachedRolePolicies": { - "input": { - "type": "structure", - "required": [ - "RoleName" - ], - "members": { - "RoleName": {}, - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListAttachedRolePoliciesResult", - "type": "structure", - "members": { - "AttachedPolicies": { - "shape": "S39" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListAttachedUserPolicies": { - "input": { - "type": "structure", - "required": [ - "UserName" - ], - "members": { - "UserName": {}, - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListAttachedUserPoliciesResult", - "type": "structure", - "members": { - "AttachedPolicies": { - "shape": "S39" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListEntitiesForPolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyArn" - ], - "members": { - "PolicyArn": {}, - "EntityFilter": {}, - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListEntitiesForPolicyResult", - "type": "structure", - "members": { - "PolicyGroups": { - "type": "list", - "member": { - "type": "structure", - "members": { - "GroupName": {}, - "GroupId": {} - } - } - }, - "PolicyUsers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "UserName": {}, - "UserId": {} - } - } - }, - "PolicyRoles": { - "type": "list", - "member": { - "type": "structure", - "members": { - "RoleName": {}, - "RoleId": {} - } - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListGroupPolicies": { - "input": { - "type": "structure", - "required": [ - "GroupName" - ], - "members": { - "GroupName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListGroupPoliciesResult", - "type": "structure", - "required": [ - "PolicyNames" - ], - "members": { - "PolicyNames": { - "shape": "S5q" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListGroups": { - "input": { - "type": "structure", - "members": { - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListGroupsResult", - "type": "structure", - "required": [ - "Groups" - ], - "members": { - "Groups": { - "shape": "S5u" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListGroupsForUser": { - "input": { - "type": "structure", - "required": [ - "UserName" - ], - "members": { - "UserName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListGroupsForUserResult", - "type": "structure", - "required": [ - "Groups" - ], - "members": { - "Groups": { - "shape": "S5u" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListInstanceProfiles": { - "input": { - "type": "structure", - "members": { - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListInstanceProfilesResult", - "type": "structure", - "required": [ - "InstanceProfiles" - ], - "members": { - "InstanceProfiles": { - "shape": "S3f" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListInstanceProfilesForRole": { - "input": { - "type": "structure", - "required": [ - "RoleName" - ], - "members": { - "RoleName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListInstanceProfilesForRoleResult", - "type": "structure", - "required": [ - "InstanceProfiles" - ], - "members": { - "InstanceProfiles": { - "shape": "S3f" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListMFADevices": { - "input": { - "type": "structure", - "members": { - "UserName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListMFADevicesResult", - "type": "structure", - "required": [ - "MFADevices" - ], - "members": { - "MFADevices": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "UserName", - "SerialNumber", - "EnableDate" - ], - "members": { - "UserName": {}, - "SerialNumber": {}, - "EnableDate": { - "type": "timestamp" - } - } - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListOpenIDConnectProviders": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "resultWrapper": "ListOpenIDConnectProvidersResult", - "type": "structure", - "members": { - "OpenIDConnectProviderList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Arn": {} - } - } - } - } - } - }, - "ListPolicies": { - "input": { - "type": "structure", - "members": { - "Scope": {}, - "OnlyAttached": { - "type": "boolean" - }, - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListPoliciesResult", - "type": "structure", - "members": { - "Policies": { - "type": "list", - "member": { - "shape": "S1f" - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListPolicyVersions": { - "input": { - "type": "structure", - "required": [ - "PolicyArn" - ], - "members": { - "PolicyArn": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListPolicyVersionsResult", - "type": "structure", - "members": { - "Versions": { - "shape": "S3i" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListRolePolicies": { - "input": { - "type": "structure", - "required": [ - "RoleName" - ], - "members": { - "RoleName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListRolePoliciesResult", - "type": "structure", - "required": [ - "PolicyNames" - ], - "members": { - "PolicyNames": { - "shape": "S5q" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListRoles": { - "input": { - "type": "structure", - "members": { - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListRolesResult", - "type": "structure", - "required": [ - "Roles" - ], - "members": { - "Roles": { - "shape": "Sx" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListSAMLProviders": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "resultWrapper": "ListSAMLProvidersResult", - "type": "structure", - "members": { - "SAMLProviderList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Arn": {}, - "ValidUntil": { - "type": "timestamp" - }, - "CreateDate": { - "type": "timestamp" - } - } - } - } - } - } - }, - "ListSSHPublicKeys": { - "input": { - "type": "structure", - "members": { - "UserName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListSSHPublicKeysResult", - "type": "structure", - "members": { - "SSHPublicKeys": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "UserName", - "SSHPublicKeyId", - "Status", - "UploadDate" - ], - "members": { - "UserName": {}, - "SSHPublicKeyId": {}, - "Status": {}, - "UploadDate": { - "type": "timestamp" - } - } - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListServerCertificates": { - "input": { - "type": "structure", - "members": { - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListServerCertificatesResult", - "type": "structure", - "required": [ - "ServerCertificateMetadataList" - ], - "members": { - "ServerCertificateMetadataList": { - "type": "list", - "member": { - "shape": "S4w" - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListSigningCertificates": { - "input": { - "type": "structure", - "members": { - "UserName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListSigningCertificatesResult", - "type": "structure", - "required": [ - "Certificates" - ], - "members": { - "Certificates": { - "type": "list", - "member": { - "shape": "S6x" - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListUserPolicies": { - "input": { - "type": "structure", - "required": [ - "UserName" - ], - "members": { - "UserName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListUserPoliciesResult", - "type": "structure", - "required": [ - "PolicyNames" - ], - "members": { - "PolicyNames": { - "shape": "S5q" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListUsers": { - "input": { - "type": "structure", - "members": { - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListUsersResult", - "type": "structure", - "required": [ - "Users" - ], - "members": { - "Users": { - "shape": "S44" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListVirtualMFADevices": { - "input": { - "type": "structure", - "members": { - "AssignmentStatus": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListVirtualMFADevicesResult", - "type": "structure", - "required": [ - "VirtualMFADevices" - ], - "members": { - "VirtualMFADevices": { - "type": "list", - "member": { - "shape": "S1x" - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "PutGroupPolicy": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "PolicyName", - "PolicyDocument" - ], - "members": { - "GroupName": {}, - "PolicyName": {}, - "PolicyDocument": {} - } - } - }, - "PutRolePolicy": { - "input": { - "type": "structure", - "required": [ - "RoleName", - "PolicyName", - "PolicyDocument" - ], - "members": { - "RoleName": {}, - "PolicyName": {}, - "PolicyDocument": {} - } - } - }, - "PutUserPolicy": { - "input": { - "type": "structure", - "required": [ - "UserName", - "PolicyName", - "PolicyDocument" - ], - "members": { - "UserName": {}, - "PolicyName": {}, - "PolicyDocument": {} - } - } - }, - "RemoveClientIDFromOpenIDConnectProvider": { - "input": { - "type": "structure", - "required": [ - "OpenIDConnectProviderArn", - "ClientID" - ], - "members": { - "OpenIDConnectProviderArn": {}, - "ClientID": {} - } - } - }, - "RemoveRoleFromInstanceProfile": { - "input": { - "type": "structure", - "required": [ - "InstanceProfileName", - "RoleName" - ], - "members": { - "InstanceProfileName": {}, - "RoleName": {} - } - } - }, - "RemoveUserFromGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "UserName" - ], - "members": { - "GroupName": {}, - "UserName": {} - } - } - }, - "ResyncMFADevice": { - "input": { - "type": "structure", - "required": [ - "UserName", - "SerialNumber", - "AuthenticationCode1", - "AuthenticationCode2" - ], - "members": { - "UserName": {}, - "SerialNumber": {}, - "AuthenticationCode1": {}, - "AuthenticationCode2": {} - } - } - }, - "SetDefaultPolicyVersion": { - "input": { - "type": "structure", - "required": [ - "PolicyArn", - "VersionId" - ], - "members": { - "PolicyArn": {}, - "VersionId": {} - } - } - }, - "SimulateCustomPolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyInputList", - "ActionNames" - ], - "members": { - "PolicyInputList": { - "shape": "S3u" - }, - "ActionNames": { - "shape": "S7f" - }, - "ResourceArns": { - "shape": "S7h" - }, - "ResourcePolicy": {}, - "ResourceOwner": {}, - "CallerArn": {}, - "ContextEntries": { - "shape": "S7j" - }, - "ResourceHandlingOption": {}, - "MaxItems": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "shape": "S7p", - "resultWrapper": "SimulateCustomPolicyResult" - } - }, - "SimulatePrincipalPolicy": { - "input": { - "type": "structure", - "required": [ - "PolicySourceArn", - "ActionNames" - ], - "members": { - "PolicySourceArn": {}, - "PolicyInputList": { - "shape": "S3u" - }, - "ActionNames": { - "shape": "S7f" - }, - "ResourceArns": { - "shape": "S7h" - }, - "ResourcePolicy": {}, - "ResourceOwner": {}, - "CallerArn": {}, - "ContextEntries": { - "shape": "S7j" - }, - "ResourceHandlingOption": {}, - "MaxItems": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "shape": "S7p", - "resultWrapper": "SimulatePrincipalPolicyResult" - } - }, - "UpdateAccessKey": { - "input": { - "type": "structure", - "required": [ - "AccessKeyId", - "Status" - ], - "members": { - "UserName": {}, - "AccessKeyId": {}, - "Status": {} - } - } - }, - "UpdateAccountPasswordPolicy": { - "input": { - "type": "structure", - "members": { - "MinimumPasswordLength": { - "type": "integer" - }, - "RequireSymbols": { - "type": "boolean" - }, - "RequireNumbers": { - "type": "boolean" - }, - "RequireUppercaseCharacters": { - "type": "boolean" - }, - "RequireLowercaseCharacters": { - "type": "boolean" - }, - "AllowUsersToChangePassword": { - "type": "boolean" - }, - "MaxPasswordAge": { - "type": "integer" - }, - "PasswordReusePrevention": { - "type": "integer" - }, - "HardExpiry": { - "type": "boolean" - } - } - } - }, - "UpdateAssumeRolePolicy": { - "input": { - "type": "structure", - "required": [ - "RoleName", - "PolicyDocument" - ], - "members": { - "RoleName": {}, - "PolicyDocument": {} - } - } - }, - "UpdateGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName" - ], - "members": { - "GroupName": {}, - "NewPath": {}, - "NewGroupName": {} - } - } - }, - "UpdateLoginProfile": { - "input": { - "type": "structure", - "required": [ - "UserName" - ], - "members": { - "UserName": {}, - "Password": { - "shape": "Sf" - }, - "PasswordResetRequired": { - "type": "boolean" - } - } - } - }, - "UpdateOpenIDConnectProviderThumbprint": { - "input": { - "type": "structure", - "required": [ - "OpenIDConnectProviderArn", - "ThumbprintList" - ], - "members": { - "OpenIDConnectProviderArn": {}, - "ThumbprintList": { - "shape": "S17" - } - } - } - }, - "UpdateSAMLProvider": { - "input": { - "type": "structure", - "required": [ - "SAMLMetadataDocument", - "SAMLProviderArn" - ], - "members": { - "SAMLMetadataDocument": {}, - "SAMLProviderArn": {} - } - }, - "output": { - "resultWrapper": "UpdateSAMLProviderResult", - "type": "structure", - "members": { - "SAMLProviderArn": {} - } - } - }, - "UpdateSSHPublicKey": { - "input": { - "type": "structure", - "required": [ - "UserName", - "SSHPublicKeyId", - "Status" - ], - "members": { - "UserName": {}, - "SSHPublicKeyId": {}, - "Status": {} - } - } - }, - "UpdateServerCertificate": { - "input": { - "type": "structure", - "required": [ - "ServerCertificateName" - ], - "members": { - "ServerCertificateName": {}, - "NewPath": {}, - "NewServerCertificateName": {} - } - } - }, - "UpdateSigningCertificate": { - "input": { - "type": "structure", - "required": [ - "CertificateId", - "Status" - ], - "members": { - "UserName": {}, - "CertificateId": {}, - "Status": {} - } - } - }, - "UpdateUser": { - "input": { - "type": "structure", - "required": [ - "UserName" - ], - "members": { - "UserName": {}, - "NewPath": {}, - "NewUserName": {} - } - } - }, - "UploadSSHPublicKey": { - "input": { - "type": "structure", - "required": [ - "UserName", - "SSHPublicKeyBody" - ], - "members": { - "UserName": {}, - "SSHPublicKeyBody": {} - } - }, - "output": { - "resultWrapper": "UploadSSHPublicKeyResult", - "type": "structure", - "members": { - "SSHPublicKey": { - "shape": "S4q" - } - } - } - }, - "UploadServerCertificate": { - "input": { - "type": "structure", - "required": [ - "ServerCertificateName", - "CertificateBody", - "PrivateKey" - ], - "members": { - "Path": {}, - "ServerCertificateName": {}, - "CertificateBody": {}, - "PrivateKey": { - "type": "string", - "sensitive": true - }, - "CertificateChain": {} - } - }, - "output": { - "resultWrapper": "UploadServerCertificateResult", - "type": "structure", - "members": { - "ServerCertificateMetadata": { - "shape": "S4w" - } - } - } - }, - "UploadSigningCertificate": { - "input": { - "type": "structure", - "required": [ - "CertificateBody" - ], - "members": { - "UserName": {}, - "CertificateBody": {} - } - }, - "output": { - "resultWrapper": "UploadSigningCertificateResult", - "type": "structure", - "required": [ - "Certificate" - ], - "members": { - "Certificate": { - "shape": "S6x" - } - } - } - } - }, - "shapes": { - "Sf": { - "type": "string", - "sensitive": true - }, - "Ss": { - "type": "structure", - "required": [ - "Path", - "GroupName", - "GroupId", - "Arn", - "CreateDate" - ], - "members": { - "Path": {}, - "GroupName": {}, - "GroupId": {}, - "Arn": {}, - "CreateDate": { - "type": "timestamp" - } - } - }, - "Sw": { - "type": "structure", - "required": [ - "Path", - "InstanceProfileName", - "InstanceProfileId", - "Arn", - "CreateDate", - "Roles" - ], - "members": { - "Path": {}, - "InstanceProfileName": {}, - "InstanceProfileId": {}, - "Arn": {}, - "CreateDate": { - "type": "timestamp" - }, - "Roles": { - "shape": "Sx" - } - } - }, - "Sx": { - "type": "list", - "member": { - "shape": "Sy" - } - }, - "Sy": { - "type": "structure", - "required": [ - "Path", - "RoleName", - "RoleId", - "Arn", - "CreateDate" - ], - "members": { - "Path": {}, - "RoleName": {}, - "RoleId": {}, - "Arn": {}, - "CreateDate": { - "type": "timestamp" - }, - "AssumeRolePolicyDocument": {} - } - }, - "S13": { - "type": "structure", - "required": [ - "UserName", - "CreateDate" - ], - "members": { - "UserName": {}, - "CreateDate": { - "type": "timestamp" - }, - "PasswordResetRequired": { - "type": "boolean" - } - } - }, - "S16": { - "type": "list", - "member": {} - }, - "S17": { - "type": "list", - "member": {} - }, - "S1f": { - "type": "structure", - "members": { - "PolicyName": {}, - "PolicyId": {}, - "Arn": {}, - "Path": {}, - "DefaultVersionId": {}, - "AttachmentCount": { - "type": "integer" - }, - "IsAttachable": { - "type": "boolean" - }, - "Description": {}, - "CreateDate": { - "type": "timestamp" - }, - "UpdateDate": { - "type": "timestamp" - } - } - }, - "S1k": { - "type": "structure", - "members": { - "Document": {}, - "VersionId": {}, - "IsDefaultVersion": { - "type": "boolean" - }, - "CreateDate": { - "type": "timestamp" - } - } - }, - "S1t": { - "type": "structure", - "required": [ - "Path", - "UserName", - "UserId", - "Arn", - "CreateDate" - ], - "members": { - "Path": {}, - "UserName": {}, - "UserId": {}, - "Arn": {}, - "CreateDate": { - "type": "timestamp" - }, - "PasswordLastUsed": { - "type": "timestamp" - } - } - }, - "S1x": { - "type": "structure", - "required": [ - "SerialNumber" - ], - "members": { - "SerialNumber": {}, - "Base32StringSeed": { - "shape": "S1z" - }, - "QRCodePNG": { - "shape": "S1z" - }, - "User": { - "shape": "S1t" - }, - "EnableDate": { - "type": "timestamp" - } - } - }, - "S1z": { - "type": "blob", - "sensitive": true - }, - "S36": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PolicyName": {}, - "PolicyDocument": {} - } - } - }, - "S39": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PolicyName": {}, - "PolicyArn": {} - } - } - }, - "S3f": { - "type": "list", - "member": { - "shape": "Sw" - } - }, - "S3i": { - "type": "list", - "member": { - "shape": "S1k" - } - }, - "S3u": { - "type": "list", - "member": {} - }, - "S3v": { - "type": "structure", - "members": { - "ContextKeyNames": { - "shape": "S3w" - } - } - }, - "S3w": { - "type": "list", - "member": {} - }, - "S44": { - "type": "list", - "member": { - "shape": "S1t" - } - }, - "S4q": { - "type": "structure", - "required": [ - "UserName", - "SSHPublicKeyId", - "Fingerprint", - "SSHPublicKeyBody", - "Status" - ], - "members": { - "UserName": {}, - "SSHPublicKeyId": {}, - "Fingerprint": {}, - "SSHPublicKeyBody": {}, - "Status": {}, - "UploadDate": { - "type": "timestamp" - } - } - }, - "S4w": { - "type": "structure", - "required": [ - "Path", - "ServerCertificateName", - "ServerCertificateId", - "Arn" - ], - "members": { - "Path": {}, - "ServerCertificateName": {}, - "ServerCertificateId": {}, - "Arn": {}, - "UploadDate": { - "type": "timestamp" - }, - "Expiration": { - "type": "timestamp" - } - } - }, - "S5q": { - "type": "list", - "member": {} - }, - "S5u": { - "type": "list", - "member": { - "shape": "Ss" - } - }, - "S6x": { - "type": "structure", - "required": [ - "UserName", - "CertificateId", - "CertificateBody", - "Status" - ], - "members": { - "UserName": {}, - "CertificateId": {}, - "CertificateBody": {}, - "Status": {}, - "UploadDate": { - "type": "timestamp" - } - } - }, - "S7f": { - "type": "list", - "member": {} - }, - "S7h": { - "type": "list", - "member": {} - }, - "S7j": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ContextKeyName": {}, - "ContextKeyValues": { - "type": "list", - "member": {} - }, - "ContextKeyType": {} - } - } - }, - "S7p": { - "type": "structure", - "members": { - "EvaluationResults": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "EvalActionName", - "EvalDecision" - ], - "members": { - "EvalActionName": {}, - "EvalResourceName": {}, - "EvalDecision": {}, - "MatchedStatements": { - "shape": "S7t" - }, - "MissingContextValues": { - "shape": "S3w" - }, - "EvalDecisionDetails": { - "shape": "S80" - }, - "ResourceSpecificResults": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "EvalResourceName", - "EvalResourceDecision" - ], - "members": { - "EvalResourceName": {}, - "EvalResourceDecision": {}, - "MatchedStatements": { - "shape": "S7t" - }, - "MissingContextValues": { - "shape": "S3w" - }, - "EvalDecisionDetails": { - "shape": "S80" - } - } - } - } - } - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - }, - "S7t": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SourcePolicyId": {}, - "SourcePolicyType": {}, - "StartPosition": { - "shape": "S7x" - }, - "EndPosition": { - "shape": "S7x" - } - } - } - }, - "S7x": { - "type": "structure", - "members": { - "Line": { - "type": "integer" - }, - "Column": { - "type": "integer" - } - } - }, - "S80": { - "type": "map", - "key": {}, - "value": {} - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/iam-2010-05-08.paginators.json b/node_modules/aws-sdk/apis/iam-2010-05-08.paginators.json deleted file mode 100644 index c476fe1..0000000 --- a/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" - }, - "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" - }, - "ListSSHPublicKeys": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "SSHPublicKeys" - }, - "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/node_modules/aws-sdk/apis/iam-2010-05-08.waiters2.json b/node_modules/aws-sdk/apis/iam-2010-05-08.waiters2.json deleted file mode 100644 index ba45382..0000000 --- a/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/node_modules/aws-sdk/apis/importexport-2010-06-01.min.json b/node_modules/aws-sdk/apis/importexport-2010-06-01.min.json deleted file mode 100644 index 429d4e6..0000000 --- a/node_modules/aws-sdk/apis/importexport-2010-06-01.min.json +++ /dev/null @@ -1,242 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2010-06-01", - "endpointPrefix": "importexport", - "globalEndpoint": "importexport.amazonaws.com", - "serviceFullName": "AWS Import/Export", - "signatureVersion": "v2", - "xmlNamespace": "http://importexport.amazonaws.com/doc/2010-06-01/", - "protocol": "query" - }, - "operations": { - "CancelJob": { - "http": { - "requestUri": "/?Operation=CancelJob" - }, - "input": { - "type": "structure", - "required": [ - "JobId" - ], - "members": { - "JobId": {}, - "APIVersion": {} - } - }, - "output": { - "resultWrapper": "CancelJobResult", - "type": "structure", - "members": { - "Success": { - "type": "boolean" - } - } - } - }, - "CreateJob": { - "http": { - "requestUri": "/?Operation=CreateJob" - }, - "input": { - "type": "structure", - "required": [ - "JobType", - "Manifest", - "ValidateOnly" - ], - "members": { - "JobType": {}, - "Manifest": {}, - "ManifestAddendum": {}, - "ValidateOnly": { - "type": "boolean" - }, - "APIVersion": {} - } - }, - "output": { - "resultWrapper": "CreateJobResult", - "type": "structure", - "members": { - "JobId": {}, - "JobType": {}, - "Signature": {}, - "SignatureFileContents": {}, - "WarningMessage": {}, - "ArtifactList": { - "shape": "Sf" - } - } - } - }, - "GetShippingLabel": { - "http": { - "requestUri": "/?Operation=GetShippingLabel" - }, - "input": { - "type": "structure", - "required": [ - "jobIds" - ], - "members": { - "jobIds": { - "type": "list", - "member": {} - }, - "name": {}, - "company": {}, - "phoneNumber": {}, - "country": {}, - "stateOrProvince": {}, - "city": {}, - "postalCode": {}, - "street1": {}, - "street2": {}, - "street3": {}, - "APIVersion": {} - } - }, - "output": { - "resultWrapper": "GetShippingLabelResult", - "type": "structure", - "members": { - "ShippingLabelURL": {}, - "Warning": {} - } - } - }, - "GetStatus": { - "http": { - "requestUri": "/?Operation=GetStatus" - }, - "input": { - "type": "structure", - "required": [ - "JobId" - ], - "members": { - "JobId": {}, - "APIVersion": {} - } - }, - "output": { - "resultWrapper": "GetStatusResult", - "type": "structure", - "members": { - "JobId": {}, - "JobType": {}, - "LocationCode": {}, - "LocationMessage": {}, - "ProgressCode": {}, - "ProgressMessage": {}, - "Carrier": {}, - "TrackingNumber": {}, - "LogBucket": {}, - "LogKey": {}, - "ErrorCount": { - "type": "integer" - }, - "Signature": {}, - "SignatureFileContents": {}, - "CurrentManifest": {}, - "CreationDate": { - "type": "timestamp" - }, - "ArtifactList": { - "shape": "Sf" - } - } - } - }, - "ListJobs": { - "http": { - "requestUri": "/?Operation=ListJobs" - }, - "input": { - "type": "structure", - "members": { - "MaxJobs": { - "type": "integer" - }, - "Marker": {}, - "APIVersion": {} - } - }, - "output": { - "resultWrapper": "ListJobsResult", - "type": "structure", - "members": { - "Jobs": { - "type": "list", - "member": { - "type": "structure", - "members": { - "JobId": {}, - "CreationDate": { - "type": "timestamp" - }, - "IsCanceled": { - "type": "boolean" - }, - "JobType": {} - } - } - }, - "IsTruncated": { - "type": "boolean" - } - } - } - }, - "UpdateJob": { - "http": { - "requestUri": "/?Operation=UpdateJob" - }, - "input": { - "type": "structure", - "required": [ - "JobId", - "Manifest", - "JobType", - "ValidateOnly" - ], - "members": { - "JobId": {}, - "Manifest": {}, - "JobType": {}, - "ValidateOnly": { - "type": "boolean" - }, - "APIVersion": {} - } - }, - "output": { - "resultWrapper": "UpdateJobResult", - "type": "structure", - "members": { - "Success": { - "type": "boolean" - }, - "WarningMessage": {}, - "ArtifactList": { - "shape": "Sf" - } - } - } - } - }, - "shapes": { - "Sf": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Description": {}, - "URL": {} - } - } - } - }, - "examples": {} -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/importexport-2010-06-01.paginators.json b/node_modules/aws-sdk/apis/importexport-2010-06-01.paginators.json deleted file mode 100644 index 702385e..0000000 --- a/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/node_modules/aws-sdk/apis/inspector-2016-02-16.min.json b/node_modules/aws-sdk/apis/inspector-2016-02-16.min.json deleted file mode 100644 index f7ca893..0000000 --- a/node_modules/aws-sdk/apis/inspector-2016-02-16.min.json +++ /dev/null @@ -1,1248 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-02-16", - "endpointPrefix": "inspector", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Amazon Inspector", - "signatureVersion": "v4", - "targetPrefix": "InspectorService" - }, - "operations": { - "AddAttributesToFindings": { - "input": { - "type": "structure", - "required": [ - "findingArns", - "attributes" - ], - "members": { - "findingArns": { - "shape": "S2" - }, - "attributes": { - "shape": "S4" - } - } - }, - "output": { - "type": "structure", - "required": [ - "failedItems" - ], - "members": { - "failedItems": { - "shape": "S9" - } - } - } - }, - "CreateAssessmentTarget": { - "input": { - "type": "structure", - "required": [ - "assessmentTargetName", - "resourceGroupArn" - ], - "members": { - "assessmentTargetName": {}, - "resourceGroupArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentTargetArn" - ], - "members": { - "assessmentTargetArn": {} - } - } - }, - "CreateAssessmentTemplate": { - "input": { - "type": "structure", - "required": [ - "assessmentTargetArn", - "assessmentTemplateName", - "durationInSeconds", - "rulesPackageArns" - ], - "members": { - "assessmentTargetArn": {}, - "assessmentTemplateName": {}, - "durationInSeconds": { - "type": "integer" - }, - "rulesPackageArns": { - "shape": "Sj" - }, - "userAttributesForFindings": { - "shape": "S4" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentTemplateArn" - ], - "members": { - "assessmentTemplateArn": {} - } - } - }, - "CreateResourceGroup": { - "input": { - "type": "structure", - "required": [ - "resourceGroupTags" - ], - "members": { - "resourceGroupTags": { - "shape": "Sm" - } - } - }, - "output": { - "type": "structure", - "required": [ - "resourceGroupArn" - ], - "members": { - "resourceGroupArn": {} - } - } - }, - "DeleteAssessmentRun": { - "input": { - "type": "structure", - "required": [ - "assessmentRunArn" - ], - "members": { - "assessmentRunArn": {} - } - } - }, - "DeleteAssessmentTarget": { - "input": { - "type": "structure", - "required": [ - "assessmentTargetArn" - ], - "members": { - "assessmentTargetArn": {} - } - } - }, - "DeleteAssessmentTemplate": { - "input": { - "type": "structure", - "required": [ - "assessmentTemplateArn" - ], - "members": { - "assessmentTemplateArn": {} - } - } - }, - "DescribeAssessmentRuns": { - "input": { - "type": "structure", - "required": [ - "assessmentRunArns" - ], - "members": { - "assessmentRunArns": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentRuns", - "failedItems" - ], - "members": { - "assessmentRuns": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "arn", - "name", - "assessmentTemplateArn", - "state", - "durationInSeconds", - "rulesPackageArns", - "userAttributesForFindings", - "createdAt", - "stateChangedAt", - "dataCollected", - "stateChanges", - "notifications" - ], - "members": { - "arn": {}, - "name": {}, - "assessmentTemplateArn": {}, - "state": {}, - "durationInSeconds": { - "type": "integer" - }, - "rulesPackageArns": { - "type": "list", - "member": {} - }, - "userAttributesForFindings": { - "shape": "S4" - }, - "createdAt": { - "type": "timestamp" - }, - "startedAt": { - "type": "timestamp" - }, - "completedAt": { - "type": "timestamp" - }, - "stateChangedAt": { - "type": "timestamp" - }, - "dataCollected": { - "type": "boolean" - }, - "stateChanges": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "stateChangedAt", - "state" - ], - "members": { - "stateChangedAt": { - "type": "timestamp" - }, - "state": {} - } - } - }, - "notifications": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "date", - "event", - "error" - ], - "members": { - "date": { - "type": "timestamp" - }, - "event": {}, - "message": {}, - "error": { - "type": "boolean" - }, - "snsTopicArn": {}, - "snsPublishStatusCode": {} - } - } - } - } - } - }, - "failedItems": { - "shape": "S9" - } - } - } - }, - "DescribeAssessmentTargets": { - "input": { - "type": "structure", - "required": [ - "assessmentTargetArns" - ], - "members": { - "assessmentTargetArns": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentTargets", - "failedItems" - ], - "members": { - "assessmentTargets": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "arn", - "name", - "resourceGroupArn", - "createdAt", - "updatedAt" - ], - "members": { - "arn": {}, - "name": {}, - "resourceGroupArn": {}, - "createdAt": { - "type": "timestamp" - }, - "updatedAt": { - "type": "timestamp" - } - } - } - }, - "failedItems": { - "shape": "S9" - } - } - } - }, - "DescribeAssessmentTemplates": { - "input": { - "type": "structure", - "required": [ - "assessmentTemplateArns" - ], - "members": { - "assessmentTemplateArns": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentTemplates", - "failedItems" - ], - "members": { - "assessmentTemplates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "arn", - "name", - "assessmentTargetArn", - "durationInSeconds", - "rulesPackageArns", - "userAttributesForFindings", - "createdAt" - ], - "members": { - "arn": {}, - "name": {}, - "assessmentTargetArn": {}, - "durationInSeconds": { - "type": "integer" - }, - "rulesPackageArns": { - "shape": "Sj" - }, - "userAttributesForFindings": { - "shape": "S4" - }, - "createdAt": { - "type": "timestamp" - } - } - } - }, - "failedItems": { - "shape": "S9" - } - } - } - }, - "DescribeCrossAccountAccessRole": { - "output": { - "type": "structure", - "required": [ - "roleArn", - "valid", - "registeredAt" - ], - "members": { - "roleArn": {}, - "valid": { - "type": "boolean" - }, - "registeredAt": { - "type": "timestamp" - } - } - } - }, - "DescribeFindings": { - "input": { - "type": "structure", - "required": [ - "findingArns" - ], - "members": { - "findingArns": { - "shape": "Sv" - }, - "locale": {} - } - }, - "output": { - "type": "structure", - "required": [ - "findings", - "failedItems" - ], - "members": { - "findings": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "arn", - "attributes", - "userAttributes", - "createdAt", - "updatedAt" - ], - "members": { - "arn": {}, - "schemaVersion": { - "type": "integer" - }, - "service": {}, - "serviceAttributes": { - "type": "structure", - "required": [ - "schemaVersion" - ], - "members": { - "schemaVersion": { - "type": "integer" - }, - "assessmentRunArn": {}, - "rulesPackageArn": {} - } - }, - "assetType": {}, - "assetAttributes": { - "type": "structure", - "required": [ - "schemaVersion" - ], - "members": { - "schemaVersion": { - "type": "integer" - }, - "agentId": {}, - "autoScalingGroup": {}, - "amiId": {}, - "hostname": {}, - "ipv4Addresses": { - "type": "list", - "member": {} - } - } - }, - "id": {}, - "title": {}, - "description": {}, - "recommendation": {}, - "severity": {}, - "numericSeverity": { - "type": "double" - }, - "confidence": { - "type": "integer" - }, - "indicatorOfCompromise": { - "type": "boolean" - }, - "attributes": { - "shape": "S24" - }, - "userAttributes": { - "shape": "S4" - }, - "createdAt": { - "type": "timestamp" - }, - "updatedAt": { - "type": "timestamp" - } - } - } - }, - "failedItems": { - "shape": "S9" - } - } - } - }, - "DescribeResourceGroups": { - "input": { - "type": "structure", - "required": [ - "resourceGroupArns" - ], - "members": { - "resourceGroupArns": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "required": [ - "resourceGroups", - "failedItems" - ], - "members": { - "resourceGroups": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "arn", - "tags", - "createdAt" - ], - "members": { - "arn": {}, - "tags": { - "shape": "Sm" - }, - "createdAt": { - "type": "timestamp" - } - } - } - }, - "failedItems": { - "shape": "S9" - } - } - } - }, - "DescribeRulesPackages": { - "input": { - "type": "structure", - "required": [ - "rulesPackageArns" - ], - "members": { - "rulesPackageArns": { - "shape": "Sv" - }, - "locale": {} - } - }, - "output": { - "type": "structure", - "required": [ - "rulesPackages", - "failedItems" - ], - "members": { - "rulesPackages": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "arn", - "name", - "version", - "provider" - ], - "members": { - "arn": {}, - "name": {}, - "version": {}, - "provider": {}, - "description": {} - } - } - }, - "failedItems": { - "shape": "S9" - } - } - } - }, - "GetTelemetryMetadata": { - "input": { - "type": "structure", - "required": [ - "assessmentRunArn" - ], - "members": { - "assessmentRunArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "telemetryMetadata" - ], - "members": { - "telemetryMetadata": { - "shape": "S2i" - } - } - } - }, - "ListAssessmentRunAgents": { - "input": { - "type": "structure", - "required": [ - "assessmentRunArn" - ], - "members": { - "assessmentRunArn": {}, - "filter": { - "type": "structure", - "required": [ - "agentHealths", - "agentHealthCodes" - ], - "members": { - "agentHealths": { - "type": "list", - "member": {} - }, - "agentHealthCodes": { - "type": "list", - "member": {} - } - } - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentRunAgents" - ], - "members": { - "assessmentRunAgents": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "agentId", - "assessmentRunArn", - "agentHealth", - "agentHealthCode", - "telemetryMetadata" - ], - "members": { - "agentId": {}, - "assessmentRunArn": {}, - "agentHealth": {}, - "agentHealthCode": {}, - "agentHealthDetails": {}, - "autoScalingGroup": {}, - "telemetryMetadata": { - "shape": "S2i" - } - } - } - }, - "nextToken": {} - } - } - }, - "ListAssessmentRuns": { - "input": { - "type": "structure", - "members": { - "assessmentTemplateArns": { - "shape": "S2y" - }, - "filter": { - "type": "structure", - "members": { - "namePattern": {}, - "states": { - "type": "list", - "member": {} - }, - "durationRange": { - "shape": "S32" - }, - "rulesPackageArns": { - "shape": "S33" - }, - "startTimeRange": { - "shape": "S34" - }, - "completionTimeRange": { - "shape": "S34" - }, - "stateChangeTimeRange": { - "shape": "S34" - } - } - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentRunArns" - ], - "members": { - "assessmentRunArns": { - "shape": "S36" - }, - "nextToken": {} - } - } - }, - "ListAssessmentTargets": { - "input": { - "type": "structure", - "members": { - "filter": { - "type": "structure", - "members": { - "assessmentTargetNamePattern": {} - } - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentTargetArns" - ], - "members": { - "assessmentTargetArns": { - "shape": "S36" - }, - "nextToken": {} - } - } - }, - "ListAssessmentTemplates": { - "input": { - "type": "structure", - "members": { - "assessmentTargetArns": { - "shape": "S2y" - }, - "filter": { - "type": "structure", - "members": { - "namePattern": {}, - "durationRange": { - "shape": "S32" - }, - "rulesPackageArns": { - "shape": "S33" - } - } - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentTemplateArns" - ], - "members": { - "assessmentTemplateArns": { - "shape": "S36" - }, - "nextToken": {} - } - } - }, - "ListEventSubscriptions": { - "input": { - "type": "structure", - "members": { - "resourceArn": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "subscriptions" - ], - "members": { - "subscriptions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "resourceArn", - "topicArn", - "eventSubscriptions" - ], - "members": { - "resourceArn": {}, - "topicArn": {}, - "eventSubscriptions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "event", - "subscribedAt" - ], - "members": { - "event": {}, - "subscribedAt": { - "type": "timestamp" - } - } - } - } - } - } - }, - "nextToken": {} - } - } - }, - "ListFindings": { - "input": { - "type": "structure", - "members": { - "assessmentRunArns": { - "shape": "S2y" - }, - "filter": { - "type": "structure", - "members": { - "agentIds": { - "type": "list", - "member": {} - }, - "autoScalingGroups": { - "type": "list", - "member": {} - }, - "ruleNames": { - "type": "list", - "member": {} - }, - "severities": { - "type": "list", - "member": {} - }, - "rulesPackageArns": { - "shape": "S33" - }, - "attributes": { - "shape": "S24" - }, - "userAttributes": { - "shape": "S24" - }, - "creationTimeRange": { - "shape": "S34" - } - } - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "findingArns" - ], - "members": { - "findingArns": { - "shape": "S36" - }, - "nextToken": {} - } - } - }, - "ListRulesPackages": { - "input": { - "type": "structure", - "members": { - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "rulesPackageArns" - ], - "members": { - "rulesPackageArns": { - "shape": "S36" - }, - "nextToken": {} - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "resourceArn" - ], - "members": { - "resourceArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "tags" - ], - "members": { - "tags": { - "shape": "S3w" - } - } - } - }, - "PreviewAgents": { - "input": { - "type": "structure", - "required": [ - "previewAgentsArn" - ], - "members": { - "previewAgentsArn": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "agentPreviews" - ], - "members": { - "agentPreviews": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "agentId" - ], - "members": { - "agentId": {}, - "autoScalingGroup": {} - } - } - }, - "nextToken": {} - } - } - }, - "RegisterCrossAccountAccessRole": { - "input": { - "type": "structure", - "required": [ - "roleArn" - ], - "members": { - "roleArn": {} - } - } - }, - "RemoveAttributesFromFindings": { - "input": { - "type": "structure", - "required": [ - "findingArns", - "attributeKeys" - ], - "members": { - "findingArns": { - "shape": "S2" - }, - "attributeKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "required": [ - "failedItems" - ], - "members": { - "failedItems": { - "shape": "S9" - } - } - } - }, - "SetTagsForResource": { - "input": { - "type": "structure", - "required": [ - "resourceArn" - ], - "members": { - "resourceArn": {}, - "tags": { - "shape": "S3w" - } - } - } - }, - "StartAssessmentRun": { - "input": { - "type": "structure", - "required": [ - "assessmentTemplateArn" - ], - "members": { - "assessmentTemplateArn": {}, - "assessmentRunName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentRunArn" - ], - "members": { - "assessmentRunArn": {} - } - } - }, - "StopAssessmentRun": { - "input": { - "type": "structure", - "required": [ - "assessmentRunArn" - ], - "members": { - "assessmentRunArn": {} - } - } - }, - "SubscribeToEvent": { - "input": { - "type": "structure", - "required": [ - "resourceArn", - "event", - "topicArn" - ], - "members": { - "resourceArn": {}, - "event": {}, - "topicArn": {} - } - } - }, - "UnsubscribeFromEvent": { - "input": { - "type": "structure", - "required": [ - "resourceArn", - "event", - "topicArn" - ], - "members": { - "resourceArn": {}, - "event": {}, - "topicArn": {} - } - } - }, - "UpdateAssessmentTarget": { - "input": { - "type": "structure", - "required": [ - "assessmentTargetArn", - "assessmentTargetName", - "resourceGroupArn" - ], - "members": { - "assessmentTargetArn": {}, - "assessmentTargetName": {}, - "resourceGroupArn": {} - } - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": {} - }, - "S4": { - "type": "list", - "member": { - "shape": "S5" - } - }, - "S5": { - "type": "structure", - "required": [ - "key" - ], - "members": { - "key": {}, - "value": {} - } - }, - "S9": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "failureCode", - "retryable" - ], - "members": { - "failureCode": {}, - "retryable": { - "type": "boolean" - } - } - } - }, - "Sj": { - "type": "list", - "member": {} - }, - "Sm": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "key" - ], - "members": { - "key": {}, - "value": {} - } - } - }, - "Sv": { - "type": "list", - "member": {} - }, - "S24": { - "type": "list", - "member": { - "shape": "S5" - } - }, - "S2i": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "messageType", - "count" - ], - "members": { - "messageType": {}, - "count": { - "type": "long" - }, - "dataSize": { - "type": "long" - } - } - } - }, - "S2y": { - "type": "list", - "member": {} - }, - "S32": { - "type": "structure", - "members": { - "minSeconds": { - "type": "integer" - }, - "maxSeconds": { - "type": "integer" - } - } - }, - "S33": { - "type": "list", - "member": {} - }, - "S34": { - "type": "structure", - "members": { - "beginDate": { - "type": "timestamp" - }, - "endDate": { - "type": "timestamp" - } - } - }, - "S36": { - "type": "list", - "member": {} - }, - "S3w": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "key" - ], - "members": { - "key": {}, - "value": {} - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/iot-2015-05-28.min.json b/node_modules/aws-sdk/apis/iot-2015-05-28.min.json deleted file mode 100644 index 56d4979..0000000 --- a/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +++ /dev/null @@ -1,1934 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-05-28", - "endpointPrefix": "iot", - "serviceFullName": "AWS IoT", - "signatureVersion": "v4", - "signingName": "execute-api", - "protocol": "rest-json" - }, - "operations": { - "AcceptCertificateTransfer": { - "http": { - "method": "PATCH", - "requestUri": "/accept-certificate-transfer/{certificateId}" - }, - "input": { - "type": "structure", - "required": [ - "certificateId" - ], - "members": { - "certificateId": { - "location": "uri", - "locationName": "certificateId" - }, - "setAsActive": { - "location": "querystring", - "locationName": "setAsActive", - "type": "boolean" - } - } - } - }, - "AttachPrincipalPolicy": { - "http": { - "method": "PUT", - "requestUri": "/principal-policies/{policyName}" - }, - "input": { - "type": "structure", - "required": [ - "policyName", - "principal" - ], - "members": { - "policyName": { - "location": "uri", - "locationName": "policyName" - }, - "principal": { - "location": "header", - "locationName": "x-amzn-iot-principal" - } - } - } - }, - "AttachThingPrincipal": { - "http": { - "method": "PUT", - "requestUri": "/things/{thingName}/principals" - }, - "input": { - "type": "structure", - "required": [ - "thingName", - "principal" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - }, - "principal": { - "location": "header", - "locationName": "x-amzn-principal" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CancelCertificateTransfer": { - "http": { - "method": "PATCH", - "requestUri": "/cancel-certificate-transfer/{certificateId}" - }, - "input": { - "type": "structure", - "required": [ - "certificateId" - ], - "members": { - "certificateId": { - "location": "uri", - "locationName": "certificateId" - } - } - } - }, - "CreateCertificateFromCsr": { - "http": { - "requestUri": "/certificates" - }, - "input": { - "type": "structure", - "required": [ - "certificateSigningRequest" - ], - "members": { - "certificateSigningRequest": {}, - "setAsActive": { - "location": "querystring", - "locationName": "setAsActive", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "certificateArn": {}, - "certificateId": {}, - "certificatePem": {} - } - } - }, - "CreateKeysAndCertificate": { - "http": { - "requestUri": "/keys-and-certificate" - }, - "input": { - "type": "structure", - "members": { - "setAsActive": { - "location": "querystring", - "locationName": "setAsActive", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "certificateArn": {}, - "certificateId": {}, - "certificatePem": {}, - "keyPair": { - "type": "structure", - "members": { - "PublicKey": {}, - "PrivateKey": { - "type": "string", - "sensitive": true - } - } - } - } - } - }, - "CreatePolicy": { - "http": { - "requestUri": "/policies/{policyName}" - }, - "input": { - "type": "structure", - "required": [ - "policyName", - "policyDocument" - ], - "members": { - "policyName": { - "location": "uri", - "locationName": "policyName" - }, - "policyDocument": {} - } - }, - "output": { - "type": "structure", - "members": { - "policyName": {}, - "policyArn": {}, - "policyDocument": {}, - "policyVersionId": {} - } - } - }, - "CreatePolicyVersion": { - "http": { - "requestUri": "/policies/{policyName}/version" - }, - "input": { - "type": "structure", - "required": [ - "policyName", - "policyDocument" - ], - "members": { - "policyName": { - "location": "uri", - "locationName": "policyName" - }, - "policyDocument": {}, - "setAsDefault": { - "location": "querystring", - "locationName": "setAsDefault", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "policyArn": {}, - "policyDocument": {}, - "policyVersionId": {}, - "isDefaultVersion": { - "type": "boolean" - } - } - } - }, - "CreateThing": { - "http": { - "requestUri": "/things/{thingName}" - }, - "input": { - "type": "structure", - "required": [ - "thingName" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - }, - "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", - "members": { - "ruleName": { - "location": "uri", - "locationName": "ruleName" - } - }, - "required": [ - "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": "S3s" - } - } - } - }, - "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": "S4p" - }, - "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": "S4p" - }, - "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": "S4z" - }, - "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": "S53" - }, - "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": "S4z" - }, - "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": "S53" - } - } - } - }, - "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": "S3s" - } - } - } - }, - "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": {} - } - }, - "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": {} - } - } - } - } - }, - "S3s": { - "type": "structure", - "members": { - "deprecated": { - "type": "boolean" - }, - "deprecationDate": { - "type": "timestamp" - }, - "creationDate": { - "type": "timestamp" - } - } - }, - "S4p": { - "type": "list", - "member": { - "type": "structure", - "members": { - "certificateArn": {}, - "certificateId": {}, - "status": {}, - "creationDate": { - "type": "timestamp" - } - } - } - }, - "S4z": { - "type": "list", - "member": { - "type": "structure", - "members": { - "policyName": {}, - "policyArn": {} - } - } - }, - "S53": { - "type": "list", - "member": {} - } - }, - "examples": {} -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json b/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json deleted file mode 100644 index da22373..0000000 --- a/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-05-28", - "endpointPrefix": "data.iot", - "protocol": "rest-json", - "serviceFullName": "AWS IoT Data Plane", - "signatureVersion": "v4", - "signingName": "iotdata" - }, - "operations": { - "DeleteThingShadow": { - "http": { - "method": "DELETE", - "requestUri": "/things/{thingName}/shadow" - }, - "input": { - "type": "structure", - "required": [ - "thingName" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - } - } - }, - "output": { - "type": "structure", - "required": [ - "payload" - ], - "members": { - "payload": { - "type": "blob" - } - }, - "payload": "payload" - } - }, - "GetThingShadow": { - "http": { - "method": "GET", - "requestUri": "/things/{thingName}/shadow" - }, - "input": { - "type": "structure", - "required": [ - "thingName" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - } - } - }, - "output": { - "type": "structure", - "members": { - "payload": { - "type": "blob" - } - }, - "payload": "payload" - } - }, - "Publish": { - "http": { - "requestUri": "/topics/{topic}" - }, - "input": { - "type": "structure", - "required": [ - "topic" - ], - "members": { - "topic": { - "location": "uri", - "locationName": "topic" - }, - "qos": { - "location": "querystring", - "locationName": "qos", - "type": "integer" - }, - "payload": { - "type": "blob" - } - }, - "payload": "payload" - } - }, - "UpdateThingShadow": { - "http": { - "requestUri": "/things/{thingName}/shadow" - }, - "input": { - "type": "structure", - "required": [ - "thingName", - "payload" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - }, - "payload": { - "type": "blob" - } - }, - "payload": "payload" - }, - "output": { - "type": "structure", - "members": { - "payload": { - "type": "blob" - } - }, - "payload": "payload" - } - } - }, - "shapes": {} -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/kinesis-2013-12-02.min.json b/node_modules/aws-sdk/apis/kinesis-2013-12-02.min.json deleted file mode 100644 index 2b1f22e..0000000 --- a/node_modules/aws-sdk/apis/kinesis-2013-12-02.min.json +++ /dev/null @@ -1,503 +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" - }, - "operations": { - "AddTagsToStream": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "Tags" - ], - "members": { - "StreamName": {}, - "Tags": { - "type": "map", - "key": {}, - "value": {} - } - } - } - }, - "CreateStream": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "ShardCount" - ], - "members": { - "StreamName": {}, - "ShardCount": { - "type": "integer" - } - } - } - }, - "DecreaseStreamRetentionPeriod": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "RetentionPeriodHours" - ], - "members": { - "StreamName": {}, - "RetentionPeriodHours": { - "type": "integer" - } - } - } - }, - "DeleteStream": { - "input": { - "type": "structure", - "required": [ - "StreamName" - ], - "members": { - "StreamName": {} - } - } - }, - "DescribeStream": { - "input": { - "type": "structure", - "required": [ - "StreamName" - ], - "members": { - "StreamName": {}, - "Limit": { - "type": "integer" - }, - "ExclusiveStartShardId": {} - } - }, - "output": { - "type": "structure", - "required": [ - "StreamDescription" - ], - "members": { - "StreamDescription": { - "type": "structure", - "required": [ - "StreamName", - "StreamARN", - "StreamStatus", - "Shards", - "HasMoreShards", - "RetentionPeriodHours", - "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" - }, - "EnhancedMonitoring": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ShardLevelMetrics": { - "shape": "Sr" - } - } - } - } - } - } - } - } - }, - "DisableEnhancedMonitoring": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "ShardLevelMetrics" - ], - "members": { - "StreamName": {}, - "ShardLevelMetrics": { - "shape": "Sr" - } - } - }, - "output": { - "shape": "Su" - } - }, - "EnableEnhancedMonitoring": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "ShardLevelMetrics" - ], - "members": { - "StreamName": {}, - "ShardLevelMetrics": { - "shape": "Sr" - } - } - }, - "output": { - "shape": "Su" - } - }, - "GetRecords": { - "input": { - "type": "structure", - "required": [ - "ShardIterator" - ], - "members": { - "ShardIterator": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Records" - ], - "members": { - "Records": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "SequenceNumber", - "Data", - "PartitionKey" - ], - "members": { - "SequenceNumber": {}, - "ApproximateArrivalTimestamp": { - "type": "timestamp" - }, - "Data": { - "type": "blob" - }, - "PartitionKey": {} - } - } - }, - "NextShardIterator": {}, - "MillisBehindLatest": { - "type": "long" - } - } - } - }, - "GetShardIterator": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "ShardId", - "ShardIteratorType" - ], - "members": { - "StreamName": {}, - "ShardId": {}, - "ShardIteratorType": {}, - "StartingSequenceNumber": {}, - "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": {} - } - } - }, - "PutRecords": { - "input": { - "type": "structure", - "required": [ - "Records", - "StreamName" - ], - "members": { - "Records": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Data", - "PartitionKey" - ], - "members": { - "Data": { - "type": "blob" - }, - "ExplicitHashKey": {}, - "PartitionKey": {} - } - } - }, - "StreamName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "Records" - ], - "members": { - "FailedRecordCount": { - "type": "integer" - }, - "Records": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SequenceNumber": {}, - "ShardId": {}, - "ErrorCode": {}, - "ErrorMessage": {} - } - } - } - } - } - }, - "RemoveTagsFromStream": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "TagKeys" - ], - "members": { - "StreamName": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "SplitShard": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "ShardToSplit", - "NewStartingHashKey" - ], - "members": { - "StreamName": {}, - "ShardToSplit": {}, - "NewStartingHashKey": {} - } - } - } - }, - "shapes": { - "Sr": { - "type": "list", - "member": {} - }, - "Su": { - "type": "structure", - "members": { - "StreamName": {}, - "CurrentShardLevelMetrics": { - "shape": "Sr" - }, - "DesiredShardLevelMetrics": { - "shape": "Sr" - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/kinesis-2013-12-02.paginators.json b/node_modules/aws-sdk/apis/kinesis-2013-12-02.paginators.json deleted file mode 100644 index 007f563..0000000 --- a/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" - } - } -} diff --git a/node_modules/aws-sdk/apis/kinesis-2013-12-02.waiters2.json b/node_modules/aws-sdk/apis/kinesis-2013-12-02.waiters2.json deleted file mode 100644 index 8e3162f..0000000 --- a/node_modules/aws-sdk/apis/kinesis-2013-12-02.waiters2.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 2, - "waiters": { - "StreamExists": { - "delay": 10, - "operation": "DescribeStream", - "maxAttempts": 18, - "acceptors": [ - { - "expected": "ACTIVE", - "matcher": "path", - "state": "success", - "argument": "StreamDescription.StreamStatus" - } - ] - } - } -} diff --git a/node_modules/aws-sdk/apis/kinesisanalytics-2015-08-14.min.json b/node_modules/aws-sdk/apis/kinesisanalytics-2015-08-14.min.json deleted file mode 100644 index 4af38ed..0000000 --- a/node_modules/aws-sdk/apis/kinesisanalytics-2015-08-14.min.json +++ /dev/null @@ -1,755 +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" - }, - "operations": { - "AddApplicationInput": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "CurrentApplicationVersionId", - "Input" - ], - "members": { - "ApplicationName": {}, - "CurrentApplicationVersionId": { - "type": "long" - }, - "Input": { - "shape": "S4" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AddApplicationOutput": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "CurrentApplicationVersionId", - "Output" - ], - "members": { - "ApplicationName": {}, - "CurrentApplicationVersionId": { - "type": "long" - }, - "Output": { - "shape": "St" - } - } - }, - "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": "Sc" - } - } - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateApplication": { - "input": { - "type": "structure", - "required": [ - "ApplicationName" - ], - "members": { - "ApplicationName": {}, - "ApplicationDescription": {}, - "Inputs": { - "type": "list", - "member": { - "shape": "S4" - } - }, - "Outputs": { - "type": "list", - "member": { - "shape": "St" - } - }, - "ApplicationCode": {} - } - }, - "output": { - "type": "structure", - "required": [ - "ApplicationSummary" - ], - "members": { - "ApplicationSummary": { - "shape": "S1b" - } - } - } - }, - "DeleteApplication": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "CreateTimestamp" - ], - "members": { - "ApplicationName": {}, - "CreateTimestamp": { - "type": "timestamp" - } - } - }, - "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": "Sc" - }, - "InputParallelism": { - "shape": "Sa" - }, - "InputStartingPositionConfiguration": { - "shape": "S1t" - } - } - } - }, - "OutputDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "OutputId": {}, - "Name": {}, - "KinesisStreamsOutputDescription": { - "type": "structure", - "members": { - "ResourceARN": {}, - "RoleARN": {} - } - }, - "KinesisFirehoseOutputDescription": { - "type": "structure", - "members": { - "ResourceARN": {}, - "RoleARN": {} - } - }, - "DestinationSchema": { - "shape": "Sw" - } - } - } - }, - "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": "Sc" - } - } - } - }, - "ApplicationCode": {}, - "ApplicationVersionId": { - "type": "long" - } - } - } - } - } - }, - "DiscoverInputSchema": { - "input": { - "type": "structure", - "required": [ - "ResourceARN", - "RoleARN", - "InputStartingPositionConfiguration" - ], - "members": { - "ResourceARN": {}, - "RoleARN": {}, - "InputStartingPositionConfiguration": { - "shape": "S1t" - } - } - }, - "output": { - "type": "structure", - "members": { - "InputSchema": { - "shape": "Sc" - }, - "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": "S1b" - } - }, - "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": "S1t" - } - } - } - } - } - }, - "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": "Sd" - }, - "RecordEncodingUpdate": {}, - "RecordColumnUpdates": { - "shape": "Sm" - } - } - }, - "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": "Sw" - } - } - } - }, - "ReferenceDataSourceUpdates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "ReferenceId" - ], - "members": { - "ReferenceId": {}, - "TableNameUpdate": {}, - "S3ReferenceDataSourceUpdate": { - "type": "structure", - "members": { - "BucketARNUpdate": {}, - "FileKeyUpdate": {}, - "ReferenceRoleARNUpdate": {} - } - }, - "ReferenceSchemaUpdate": { - "shape": "Sc" - } - } - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "required": [ - "NamePrefix" - ], - "members": { - "NamePrefix": {}, - "KinesisStreamsInput": { - "type": "structure", - "required": [ - "ResourceARN", - "RoleARN" - ], - "members": { - "ResourceARN": {}, - "RoleARN": {} - } - }, - "KinesisFirehoseInput": { - "type": "structure", - "required": [ - "ResourceARN", - "RoleARN" - ], - "members": { - "ResourceARN": {}, - "RoleARN": {} - } - }, - "InputParallelism": { - "shape": "Sa" - }, - "InputSchema": { - "shape": "Sc" - } - } - }, - "Sa": { - "type": "structure", - "members": { - "Count": { - "type": "integer" - } - } - }, - "Sc": { - "type": "structure", - "required": [ - "RecordFormat", - "RecordColumns" - ], - "members": { - "RecordFormat": { - "shape": "Sd" - }, - "RecordEncoding": {}, - "RecordColumns": { - "shape": "Sm" - } - } - }, - "Sd": { - "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": {} - } - } - } - } - } - }, - "Sm": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name", - "SqlType" - ], - "members": { - "Name": {}, - "Mapping": {}, - "SqlType": {} - } - } - }, - "St": { - "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": "Sw" - } - } - }, - "Sw": { - "type": "structure", - "members": { - "RecordFormatType": {} - } - }, - "S1b": { - "type": "structure", - "required": [ - "ApplicationName", - "ApplicationARN", - "ApplicationStatus" - ], - "members": { - "ApplicationName": {}, - "ApplicationARN": {}, - "ApplicationStatus": {} - } - }, - "S1t": { - "type": "structure", - "members": { - "InputStartingPosition": {} - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/kms-2014-11-01.min.json b/node_modules/aws-sdk/apis/kms-2014-11-01.min.json deleted file mode 100644 index 99de686..0000000 --- a/node_modules/aws-sdk/apis/kms-2014-11-01.min.json +++ /dev/null @@ -1,759 +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" - }, - "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" - } - } - }, - "output": { - "type": "structure", - "members": { - "KeyMetadata": { - "shape": "Sq" - } - } - } - }, - "Decrypt": { - "input": { - "type": "structure", - "required": [ - "CiphertextBlob" - ], - "members": { - "CiphertextBlob": { - "type": "blob" - }, - "EncryptionContext": { - "shape": "Sb" - }, - "GrantTokens": { - "shape": "Se" - } - } - }, - "output": { - "type": "structure", - "members": { - "KeyId": {}, - "Plaintext": { - "shape": "Sz" - } - } - } - }, - "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": "Sq" - } - } - } - }, - "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": "Sz" - }, - "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": "Sz" - }, - "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": "Sz" - } - } - } - }, - "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": "Sz" - }, - "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": "S20" - } - }, - "ListKeyPolicies": { - "input": { - "type": "structure", - "required": [ - "KeyId" - ], - "members": { - "KeyId": {}, - "Limit": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "PolicyNames": { - "type": "list", - "member": {} - }, - "NextMarker": {}, - "Truncated": { - "type": "boolean" - } - } - } - }, - "ListKeys": { - "input": { - "type": "structure", - "members": { - "Limit": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Keys": { - "type": "list", - "member": { - "type": "structure", - "members": { - "KeyId": {}, - "KeyArn": {} - } - } - }, - "NextMarker": {}, - "Truncated": { - "type": "boolean" - } - } - } - }, - "ListRetirableGrants": { - "input": { - "type": "structure", - "required": [ - "RetiringPrincipal" - ], - "members": { - "Limit": { - "type": "integer" - }, - "Marker": {}, - "RetiringPrincipal": {} - } - }, - "output": { - "shape": "S20" - } - }, - "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" - } - } - } - }, - "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": {} - }, - "Sq": { - "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": {} - } - }, - "Sz": { - "type": "blob", - "sensitive": true - }, - "S20": { - "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/node_modules/aws-sdk/apis/kms-2014-11-01.paginators.json b/node_modules/aws-sdk/apis/kms-2014-11-01.paginators.json deleted file mode 100644 index 522d171..0000000 --- a/node_modules/aws-sdk/apis/kms-2014-11-01.paginators.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "pagination": { - "ListAliases": { - "limit_key": "Limit", - "input_token": "Marker", - "output_token": "NextMarker", - "more_results": "Truncated", - "result_key": "Aliases" - }, - "ListGrants": { - "limit_key": "Limit", - "input_token": "Marker", - "output_token": "NextMarker", - "more_results": "Truncated", - "result_key": "Grants" - }, - "ListKeyPolicies": { - "limit_key": "Limit", - "input_token": "Marker", - "output_token": "NextMarker", - "more_results": "Truncated", - "result_key": "PolicyNames" - }, - "ListKeys": { - "limit_key": "Limit", - "input_token": "Marker", - "output_token": "NextMarker", - "more_results": "Truncated", - "result_key": "Keys" - } - } -} diff --git a/node_modules/aws-sdk/apis/lambda-2014-11-11.min.json b/node_modules/aws-sdk/apis/lambda-2014-11-11.min.json deleted file mode 100644 index fc006a8..0000000 --- a/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/node_modules/aws-sdk/apis/lambda-2014-11-11.paginators.json b/node_modules/aws-sdk/apis/lambda-2014-11-11.paginators.json deleted file mode 100644 index deaf07d..0000000 --- a/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/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json b/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json deleted file mode 100644 index acc8b76..0000000 --- a/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +++ /dev/null @@ -1,872 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-03-31", - "endpointPrefix": "lambda", - "protocol": "rest-json", - "serviceFullName": "AWS Lambda", - "signatureVersion": "v4" - }, - "operations": { - "AddPermission": { - "http": { - "requestUri": "/2015-03-31/functions/{FunctionName}/policy", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "StatementId", - "Action", - "Principal" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "StatementId": {}, - "Action": {}, - "Principal": {}, - "SourceArn": {}, - "SourceAccount": {}, - "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": {} - } - }, - "output": { - "shape": "Sm" - } - }, - "CreateFunction": { - "http": { - "requestUri": "/2015-03-31/functions", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "Runtime", - "Role", - "Handler", - "Code" - ], - "members": { - "FunctionName": {}, - "Runtime": {}, - "Role": {}, - "Handler": {}, - "Code": { - "type": "structure", - "members": { - "ZipFile": { - "type": "blob" - }, - "S3Bucket": {}, - "S3Key": {}, - "S3ObjectVersion": {} - } - }, - "Description": {}, - "Timeout": { - "type": "integer" - }, - "MemorySize": { - "type": "integer" - }, - "Publish": { - "type": "boolean" - }, - "VpcConfig": { - "shape": "S10" - } - } - }, - "output": { - "shape": "S15" - } - }, - "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": "Sm" - } - }, - "DeleteFunction": { - "http": { - "method": "DELETE", - "requestUri": "/2015-03-31/functions/{FunctionName}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Qualifier": { - "location": "querystring", - "locationName": "Qualifier" - } - } - } - }, - "GetAlias": { - "http": { - "method": "GET", - "requestUri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "Name" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Name": { - "location": "uri", - "locationName": "Name" - } - } - }, - "output": { - "shape": "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": "Sm" - } - }, - "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": "S15" - }, - "Code": { - "type": "structure", - "members": { - "RepositoryType": {}, - "Location": {} - } - } - } - } - }, - "GetFunctionConfiguration": { - "http": { - "method": "GET", - "requestUri": "/2015-03-31/functions/{FunctionName}/configuration", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Qualifier": { - "location": "querystring", - "locationName": "Qualifier" - } - } - }, - "output": { - "shape": "S15" - } - }, - "GetPolicy": { - "http": { - "method": "GET", - "requestUri": "/2015-03-31/functions/{FunctionName}/policy", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Qualifier": { - "location": "querystring", - "locationName": "Qualifier" - } - } - }, - "output": { - "type": "structure", - "members": { - "Policy": {} - } - } - }, - "Invoke": { - "http": { - "requestUri": "/2015-03-31/functions/{FunctionName}/invocations" - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "InvocationType": { - "location": "header", - "locationName": "X-Amz-Invocation-Type" - }, - "LogType": { - "location": "header", - "locationName": "X-Amz-Log-Type" - }, - "ClientContext": { - "location": "header", - "locationName": "X-Amz-Client-Context" - }, - "Payload": { - "type": "blob" - }, - "Qualifier": { - "location": "querystring", - "locationName": "Qualifier" - } - }, - "payload": "Payload" - }, - "output": { - "type": "structure", - "members": { - "StatusCode": { - "location": "statusCode", - "type": "integer" - }, - "FunctionError": { - "location": "header", - "locationName": "X-Amz-Function-Error" - }, - "LogResult": { - "location": "header", - "locationName": "X-Amz-Log-Result" - }, - "Payload": { - "type": "blob" - } - }, - "payload": "Payload" - } - }, - "InvokeAsync": { - "http": { - "requestUri": "/2014-11-13/functions/{FunctionName}/invoke-async/", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "InvokeArgs" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "InvokeArgs": { - "type": "blob", - "streaming": true - } - }, - "deprecated": true, - "payload": "InvokeArgs" - }, - "output": { - "type": "structure", - "members": { - "Status": { - "location": "statusCode", - "type": "integer" - } - }, - "deprecated": true - }, - "deprecated": true - }, - "ListAliases": { - "http": { - "method": "GET", - "requestUri": "/2015-03-31/functions/{FunctionName}/aliases", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "FunctionVersion": { - "location": "querystring", - "locationName": "FunctionVersion" - }, - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "Aliases": { - "type": "list", - "member": { - "shape": "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": "Sm" - } - } - } - } - }, - "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": "S23" - } - } - } - }, - "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": "S23" - } - } - } - }, - "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": "S15" - } - }, - "RemovePermission": { - "http": { - "method": "DELETE", - "requestUri": "/2015-03-31/functions/{FunctionName}/policy/{StatementId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "StatementId" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "StatementId": { - "location": "uri", - "locationName": "StatementId" - }, - "Qualifier": { - "location": "querystring", - "locationName": "Qualifier" - } - } - } - }, - "UpdateAlias": { - "http": { - "method": "PUT", - "requestUri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "Name" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Name": { - "location": "uri", - "locationName": "Name" - }, - "FunctionVersion": {}, - "Description": {} - } - }, - "output": { - "shape": "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": "Sm" - } - }, - "UpdateFunctionCode": { - "http": { - "method": "PUT", - "requestUri": "/2015-03-31/functions/{FunctionName}/code", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "ZipFile": { - "type": "blob" - }, - "S3Bucket": {}, - "S3Key": {}, - "S3ObjectVersion": {}, - "Publish": { - "type": "boolean" - } - } - }, - "output": { - "shape": "S15" - } - }, - "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" - }, - "Runtime": {} - } - }, - "output": { - "shape": "S15" - } - } - }, - "shapes": { - "Sg": { - "type": "structure", - "members": { - "AliasArn": {}, - "Name": {}, - "FunctionVersion": {}, - "Description": {} - } - }, - "Sm": { - "type": "structure", - "members": { - "UUID": {}, - "BatchSize": { - "type": "integer" - }, - "EventSourceArn": {}, - "FunctionArn": {}, - "LastModified": { - "type": "timestamp" - }, - "LastProcessingResult": {}, - "State": {}, - "StateTransitionReason": {} - } - }, - "S10": { - "type": "structure", - "members": { - "SubnetIds": { - "shape": "S11" - }, - "SecurityGroupIds": { - "shape": "S13" - } - } - }, - "S11": { - "type": "list", - "member": {} - }, - "S13": { - "type": "list", - "member": {} - }, - "S15": { - "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": {} - } - } - } - }, - "S23": { - "type": "list", - "member": { - "shape": "S15" - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/lambda-2015-03-31.paginators.json b/node_modules/aws-sdk/apis/lambda-2015-03-31.paginators.json deleted file mode 100644 index da00fb7..0000000 --- a/node_modules/aws-sdk/apis/lambda-2015-03-31.paginators.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "pagination": { - "ListEventSourceMappings": { - "input_token": "Marker", - "output_token": "NextMarker", - "limit_key": "MaxItems", - "result_key": "EventSourceMappings" - }, - "ListFunctions": { - "input_token": "Marker", - "output_token": "NextMarker", - "limit_key": "MaxItems", - "result_key": "Functions" - } - } -} diff --git a/node_modules/aws-sdk/apis/logs-2014-03-28.min.json b/node_modules/aws-sdk/apis/logs-2014-03-28.min.json deleted file mode 100644 index 31b2690..0000000 --- a/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +++ /dev/null @@ -1,722 +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" - }, - "operations": { - "CancelExportTask": { - "input": { - "type": "structure", - "required": [ - "taskId" - ], - "members": { - "taskId": {} - } - } - }, - "CreateExportTask": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "from", - "to", - "destination" - ], - "members": { - "taskName": {}, - "logGroupName": {}, - "logStreamNamePrefix": {}, - "from": { - "type": "long" - }, - "to": { - "type": "long" - }, - "destination": {}, - "destinationPrefix": {} - } - }, - "output": { - "type": "structure", - "members": { - "taskId": {} - } - } - }, - "CreateLogGroup": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {} - } - } - }, - "CreateLogStream": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "logStreamName" - ], - "members": { - "logGroupName": {}, - "logStreamName": {} - } - } - }, - "DeleteDestination": { - "input": { - "type": "structure", - "required": [ - "destinationName" - ], - "members": { - "destinationName": {} - } - } - }, - "DeleteLogGroup": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {} - } - } - }, - "DeleteLogStream": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "logStreamName" - ], - "members": { - "logGroupName": {}, - "logStreamName": {} - } - } - }, - "DeleteMetricFilter": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "filterName" - ], - "members": { - "logGroupName": {}, - "filterName": {} - } - } - }, - "DeleteRetentionPolicy": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {} - } - } - }, - "DeleteSubscriptionFilter": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "filterName" - ], - "members": { - "logGroupName": {}, - "filterName": {} - } - } - }, - "DescribeDestinations": { - "input": { - "type": "structure", - "members": { - "DestinationNamePrefix": {}, - "nextToken": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "destinations": { - "type": "list", - "member": { - "shape": "Sq" - } - }, - "nextToken": {} - } - } - }, - "DescribeExportTasks": { - "input": { - "type": "structure", - "members": { - "taskId": {}, - "statusCode": {}, - "nextToken": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "exportTasks": { - "type": "list", - "member": { - "type": "structure", - "members": { - "taskId": {}, - "taskName": {}, - "logGroupName": {}, - "from": { - "type": "long" - }, - "to": { - "type": "long" - }, - "destination": {}, - "destinationPrefix": {}, - "status": { - "type": "structure", - "members": { - "code": {}, - "message": {} - } - }, - "executionInfo": { - "type": "structure", - "members": { - "creationTime": { - "type": "long" - }, - "completionTime": { - "type": "long" - } - } - } - } - } - }, - "nextToken": {} - } - } - }, - "DescribeLogGroups": { - "input": { - "type": "structure", - "members": { - "logGroupNamePrefix": {}, - "nextToken": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "logGroups": { - "type": "list", - "member": { - "type": "structure", - "members": { - "logGroupName": {}, - "creationTime": { - "type": "long" - }, - "retentionInDays": { - "type": "integer" - }, - "metricFilterCount": { - "type": "integer" - }, - "arn": {}, - "storedBytes": { - "type": "long" - } - } - } - }, - "nextToken": {} - } - } - }, - "DescribeLogStreams": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {}, - "logStreamNamePrefix": {}, - "orderBy": {}, - "descending": { - "type": "boolean" - }, - "nextToken": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "logStreams": { - "type": "list", - "member": { - "type": "structure", - "members": { - "logStreamName": {}, - "creationTime": { - "type": "long" - }, - "firstEventTimestamp": { - "type": "long" - }, - "lastEventTimestamp": { - "type": "long" - }, - "lastIngestionTime": { - "type": "long" - }, - "uploadSequenceToken": {}, - "arn": {}, - "storedBytes": { - "type": "long" - } - } - } - }, - "nextToken": {} - } - } - }, - "DescribeMetricFilters": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {}, - "filterNamePrefix": {}, - "nextToken": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "metricFilters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "filterName": {}, - "filterPattern": {}, - "metricTransformations": { - "shape": "S1m" - }, - "creationTime": { - "type": "long" - } - } - } - }, - "nextToken": {} - } - } - }, - "DescribeSubscriptionFilters": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {}, - "filterNamePrefix": {}, - "nextToken": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "subscriptionFilters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "filterName": {}, - "logGroupName": {}, - "filterPattern": {}, - "destinationArn": {}, - "roleArn": {}, - "creationTime": { - "type": "long" - } - } - } - }, - "nextToken": {} - } - } - }, - "FilterLogEvents": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {}, - "logStreamNames": { - "type": "list", - "member": {} - }, - "startTime": { - "type": "long" - }, - "endTime": { - "type": "long" - }, - "filterPattern": {}, - "nextToken": {}, - "limit": { - "type": "integer" - }, - "interleaved": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "events": { - "type": "list", - "member": { - "type": "structure", - "members": { - "logStreamName": {}, - "timestamp": { - "type": "long" - }, - "message": {}, - "ingestionTime": { - "type": "long" - }, - "eventId": {} - } - } - }, - "searchedLogStreams": { - "type": "list", - "member": { - "type": "structure", - "members": { - "logStreamName": {}, - "searchedCompletely": { - "type": "boolean" - } - } - } - }, - "nextToken": {} - } - } - }, - "GetLogEvents": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "logStreamName" - ], - "members": { - "logGroupName": {}, - "logStreamName": {}, - "startTime": { - "type": "long" - }, - "endTime": { - "type": "long" - }, - "nextToken": {}, - "limit": { - "type": "integer" - }, - "startFromHead": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "events": { - "type": "list", - "member": { - "type": "structure", - "members": { - "timestamp": { - "type": "long" - }, - "message": {}, - "ingestionTime": { - "type": "long" - } - } - } - }, - "nextForwardToken": {}, - "nextBackwardToken": {} - } - } - }, - "PutDestination": { - "input": { - "type": "structure", - "required": [ - "destinationName", - "targetArn", - "roleArn" - ], - "members": { - "destinationName": {}, - "targetArn": {}, - "roleArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "destination": { - "shape": "Sq" - } - } - } - }, - "PutDestinationPolicy": { - "input": { - "type": "structure", - "required": [ - "destinationName", - "accessPolicy" - ], - "members": { - "destinationName": {}, - "accessPolicy": {} - } - } - }, - "PutLogEvents": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "logStreamName", - "logEvents" - ], - "members": { - "logGroupName": {}, - "logStreamName": {}, - "logEvents": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "timestamp", - "message" - ], - "members": { - "timestamp": { - "type": "long" - }, - "message": {} - } - } - }, - "sequenceToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "nextSequenceToken": {}, - "rejectedLogEventsInfo": { - "type": "structure", - "members": { - "tooNewLogEventStartIndex": { - "type": "integer" - }, - "tooOldLogEventEndIndex": { - "type": "integer" - }, - "expiredLogEventEndIndex": { - "type": "integer" - } - } - } - } - } - }, - "PutMetricFilter": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "filterName", - "filterPattern", - "metricTransformations" - ], - "members": { - "logGroupName": {}, - "filterName": {}, - "filterPattern": {}, - "metricTransformations": { - "shape": "S1m" - } - } - } - }, - "PutRetentionPolicy": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "retentionInDays" - ], - "members": { - "logGroupName": {}, - "retentionInDays": { - "type": "integer" - } - } - } - }, - "PutSubscriptionFilter": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "filterName", - "filterPattern", - "destinationArn" - ], - "members": { - "logGroupName": {}, - "filterName": {}, - "filterPattern": {}, - "destinationArn": {}, - "roleArn": {} - } - } - }, - "TestMetricFilter": { - "input": { - "type": "structure", - "required": [ - "filterPattern", - "logEventMessages" - ], - "members": { - "filterPattern": {}, - "logEventMessages": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "matches": { - "type": "list", - "member": { - "type": "structure", - "members": { - "eventNumber": { - "type": "long" - }, - "eventMessage": {}, - "extractedValues": { - "type": "map", - "key": {}, - "value": {} - } - } - } - } - } - } - } - }, - "shapes": { - "Sq": { - "type": "structure", - "members": { - "destinationName": {}, - "targetArn": {}, - "roleArn": {}, - "accessPolicy": {}, - "arn": {}, - "creationTime": { - "type": "long" - } - } - }, - "S1m": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "metricName", - "metricNamespace", - "metricValue" - ], - "members": { - "metricName": {}, - "metricNamespace": {}, - "metricValue": {}, - "defaultValue": { - "type": "double" - } - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json b/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json deleted file mode 100644 index f689324..0000000 --- a/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "pagination": { - "DescribeDestinations": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "limit", - "result_key": "destinations" - }, - "DescribeLogGroups": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "limit", - "result_key": "logGroups" - }, - "DescribeLogStreams": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "limit", - "result_key": "logStreams" - }, - "DescribeMetricFilters": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "limit", - "result_key": "metricFilters" - }, - "DescribeSubscriptionFilters": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "limit", - "result_key": "subscriptionFilters" - }, - "FilterLogEvents": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "limit", - "result_key": [ - "events", - "searchedLogStreams" - ] - }, - "GetLogEvents": { - "input_token": "nextToken", - "output_token": "nextForwardToken", - "limit_key": "limit", - "result_key": "events" - } - } -} diff --git a/node_modules/aws-sdk/apis/machinelearning-2014-12-12.min.json b/node_modules/aws-sdk/apis/machinelearning-2014-12-12.min.json deleted file mode 100644 index 232fafc..0000000 --- a/node_modules/aws-sdk/apis/machinelearning-2014-12-12.min.json +++ /dev/null @@ -1,1107 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2014-12-12", - "endpointPrefix": "machinelearning", - "jsonVersion": "1.1", - "serviceFullName": "Amazon Machine Learning", - "signatureVersion": "v4", - "targetPrefix": "AmazonML_20141212", - "protocol": "json" - }, - "operations": { - "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/node_modules/aws-sdk/apis/machinelearning-2014-12-12.paginators.json b/node_modules/aws-sdk/apis/machinelearning-2014-12-12.paginators.json deleted file mode 100644 index c13ce65..0000000 --- a/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/node_modules/aws-sdk/apis/machinelearning-2014-12-12.waiters2.json b/node_modules/aws-sdk/apis/machinelearning-2014-12-12.waiters2.json deleted file mode 100644 index da6b1c9..0000000 --- a/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/node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.min.json b/node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.min.json deleted file mode 100644 index 352a4d5..0000000 --- a/node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.min.json +++ /dev/null @@ -1,84 +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" - }, - "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/node_modules/aws-sdk/apis/metadata.json b/node_modules/aws-sdk/apis/metadata.json deleted file mode 100644 index f625e66..0000000 --- a/node_modules/aws-sdk/apis/metadata.json +++ /dev/null @@ -1,305 +0,0 @@ -{ - "acm": { - "name": "ACM", - "cors": true - }, - "apigateway": { - "name": "APIGateway", - "cors": true - }, - "applicationautoscaling": { - "prefix": "application-autoscaling", - "name": "ApplicationAutoScaling", - "cors": true - }, - "autoscaling": { - "name": "AutoScaling", - "cors": true - }, - "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*"], - "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 - }, - "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 - }, - "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*"], - "cors": true - }, - "ecr": { - "name": "ECR", - "cors": true - }, - "ecs": { - "name": "ECS", - "cors": true - }, - "efs": { - "prefix": "elasticfilesystem", - "name": "EFS" - }, - "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" - }, - "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 - }, - "machinelearning": { - "name": "MachineLearning", - "cors": true - }, - "marketplacecommerceanalytics": { - "name": "MarketplaceCommerceAnalytics", - "cors": true - }, - "marketplacemetering": { - "prefix": "meteringmarketplace", - "name": "MarketplaceMetering" - }, - "mobileanalytics": { - "name": "MobileAnalytics", - "cors": true - }, - "opsworks": { - "name": "OpsWorks", - "cors": true - }, - "rds": { - "name": "RDS", - "versions": ["2014-09-01*"], - "cors": true - }, - "redshift": { - "name": "Redshift", - "cors": true - }, - "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 - }, - "simpledb": { - "prefix": "sdb", - "name": "SimpleDB" - }, - "snowball": { - "name": "Snowball" - }, - "sns": { - "name": "SNS", - "cors": true - }, - "sqs": { - "name": "SQS", - "cors": true - }, - "ssm": { - "name": "SSM", - "cors": true - }, - "storagegateway": { - "name": "StorageGateway", - "cors": true - }, - "sts": { - "name": "STS", - "cors": true - }, - "support": { - "name": "Support" - }, - "swf": { - "name": "SWF" - }, - "waf": { - "name": "WAF", - "cors": true - }, - "workspaces": { - "name": "WorkSpaces" - } -} diff --git a/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json b/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json deleted file mode 100644 index ed7d5bd..0000000 --- a/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-01-14", - "endpointPrefix": "metering.marketplace", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWSMarketplace Metering", - "signatureVersion": "v4", - "signingName": "aws-marketplace", - "targetPrefix": "AWSMPMeteringService" - }, - "operations": { - "MeterUsage": { - "input": { - "type": "structure", - "required": [ - "ProductCode", - "Timestamp", - "UsageDimension", - "UsageQuantity", - "DryRun" - ], - "members": { - "ProductCode": {}, - "Timestamp": { - "type": "timestamp" - }, - "UsageDimension": {}, - "UsageQuantity": { - "type": "integer" - }, - "DryRun": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "MeteringRecordId": {} - } - } - } - }, - "shapes": {} -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/mobileanalytics-2014-06-05.min.json b/node_modules/aws-sdk/apis/mobileanalytics-2014-06-05.min.json deleted file mode 100644 index a327cb1..0000000 --- a/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/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json b/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json deleted file mode 100644 index d4696fa..0000000 --- a/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json +++ /dev/null @@ -1,501 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2010-08-01", - "endpointPrefix": "monitoring", - "protocol": "query", - "serviceAbbreviation": "CloudWatch", - "serviceFullName": "Amazon CloudWatch", - "signatureVersion": "v4", - "xmlNamespace": "http://monitoring.amazonaws.com/doc/2010-08-01/" - }, - "operations": { - "DeleteAlarms": { - "input": { - "type": "structure", - "required": [ - "AlarmNames" - ], - "members": { - "AlarmNames": { - "shape": "S2" - } - } - } - }, - "DescribeAlarmHistory": { - "input": { - "type": "structure", - "members": { - "AlarmName": {}, - "HistoryItemType": {}, - "StartDate": { - "type": "timestamp" - }, - "EndDate": { - "type": "timestamp" - }, - "MaxRecords": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeAlarmHistoryResult", - "type": "structure", - "members": { - "AlarmHistoryItems": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AlarmName": {}, - "Timestamp": { - "type": "timestamp" - }, - "HistoryItemType": {}, - "HistorySummary": {}, - "HistoryData": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeAlarms": { - "input": { - "type": "structure", - "members": { - "AlarmNames": { - "shape": "S2" - }, - "AlarmNamePrefix": {}, - "StateValue": {}, - "ActionPrefix": {}, - "MaxRecords": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeAlarmsResult", - "type": "structure", - "members": { - "MetricAlarms": { - "shape": "Sj" - }, - "NextToken": {} - } - } - }, - "DescribeAlarmsForMetric": { - "input": { - "type": "structure", - "required": [ - "MetricName", - "Namespace" - ], - "members": { - "MetricName": {}, - "Namespace": {}, - "Statistic": {}, - "Dimensions": { - "shape": "Sv" - }, - "Period": { - "type": "integer" - }, - "Unit": {} - } - }, - "output": { - "resultWrapper": "DescribeAlarmsForMetricResult", - "type": "structure", - "members": { - "MetricAlarms": { - "shape": "Sj" - } - } - } - }, - "DisableAlarmActions": { - "input": { - "type": "structure", - "required": [ - "AlarmNames" - ], - "members": { - "AlarmNames": { - "shape": "S2" - } - } - } - }, - "EnableAlarmActions": { - "input": { - "type": "structure", - "required": [ - "AlarmNames" - ], - "members": { - "AlarmNames": { - "shape": "S2" - } - } - } - }, - "GetMetricStatistics": { - "input": { - "type": "structure", - "required": [ - "Namespace", - "MetricName", - "StartTime", - "EndTime", - "Period", - "Statistics" - ], - "members": { - "Namespace": {}, - "MetricName": {}, - "Dimensions": { - "shape": "Sv" - }, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Period": { - "type": "integer" - }, - "Statistics": { - "type": "list", - "member": {} - }, - "Unit": {} - } - }, - "output": { - "resultWrapper": "GetMetricStatisticsResult", - "type": "structure", - "members": { - "Label": {}, - "Datapoints": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Timestamp": { - "type": "timestamp" - }, - "SampleCount": { - "type": "double" - }, - "Average": { - "type": "double" - }, - "Sum": { - "type": "double" - }, - "Minimum": { - "type": "double" - }, - "Maximum": { - "type": "double" - }, - "Unit": {} - }, - "xmlOrder": [ - "Timestamp", - "SampleCount", - "Average", - "Sum", - "Minimum", - "Maximum", - "Unit" - ] - } - } - } - } - }, - "ListMetrics": { - "input": { - "type": "structure", - "members": { - "Namespace": {}, - "MetricName": {}, - "Dimensions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "Value": {} - } - } - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListMetricsResult", - "type": "structure", - "members": { - "Metrics": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Namespace": {}, - "MetricName": {}, - "Dimensions": { - "shape": "Sv" - } - }, - "xmlOrder": [ - "Namespace", - "MetricName", - "Dimensions" - ] - } - }, - "NextToken": {} - }, - "xmlOrder": [ - "Metrics", - "NextToken" - ] - } - }, - "PutMetricAlarm": { - "input": { - "type": "structure", - "required": [ - "AlarmName", - "MetricName", - "Namespace", - "Statistic", - "Period", - "EvaluationPeriods", - "Threshold", - "ComparisonOperator" - ], - "members": { - "AlarmName": {}, - "AlarmDescription": {}, - "ActionsEnabled": { - "type": "boolean" - }, - "OKActions": { - "shape": "So" - }, - "AlarmActions": { - "shape": "So" - }, - "InsufficientDataActions": { - "shape": "So" - }, - "MetricName": {}, - "Namespace": {}, - "Statistic": {}, - "Dimensions": { - "shape": "Sv" - }, - "Period": { - "type": "integer" - }, - "Unit": {}, - "EvaluationPeriods": { - "type": "integer" - }, - "Threshold": { - "type": "double" - }, - "ComparisonOperator": {} - } - } - }, - "PutMetricData": { - "input": { - "type": "structure", - "required": [ - "Namespace", - "MetricData" - ], - "members": { - "Namespace": {}, - "MetricData": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "MetricName" - ], - "members": { - "MetricName": {}, - "Dimensions": { - "shape": "Sv" - }, - "Timestamp": { - "type": "timestamp" - }, - "Value": { - "type": "double" - }, - "StatisticValues": { - "type": "structure", - "required": [ - "SampleCount", - "Sum", - "Minimum", - "Maximum" - ], - "members": { - "SampleCount": { - "type": "double" - }, - "Sum": { - "type": "double" - }, - "Minimum": { - "type": "double" - }, - "Maximum": { - "type": "double" - } - } - }, - "Unit": {} - } - } - } - } - } - }, - "SetAlarmState": { - "input": { - "type": "structure", - "required": [ - "AlarmName", - "StateValue", - "StateReason" - ], - "members": { - "AlarmName": {}, - "StateValue": {}, - "StateReason": {}, - "StateReasonData": {} - } - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": {} - }, - "Sj": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AlarmName": {}, - "AlarmArn": {}, - "AlarmDescription": {}, - "AlarmConfigurationUpdatedTimestamp": { - "type": "timestamp" - }, - "ActionsEnabled": { - "type": "boolean" - }, - "OKActions": { - "shape": "So" - }, - "AlarmActions": { - "shape": "So" - }, - "InsufficientDataActions": { - "shape": "So" - }, - "StateValue": {}, - "StateReason": {}, - "StateReasonData": {}, - "StateUpdatedTimestamp": { - "type": "timestamp" - }, - "MetricName": {}, - "Namespace": {}, - "Statistic": {}, - "Dimensions": { - "shape": "Sv" - }, - "Period": { - "type": "integer" - }, - "Unit": {}, - "EvaluationPeriods": { - "type": "integer" - }, - "Threshold": { - "type": "double" - }, - "ComparisonOperator": {} - }, - "xmlOrder": [ - "AlarmName", - "AlarmArn", - "AlarmDescription", - "AlarmConfigurationUpdatedTimestamp", - "ActionsEnabled", - "OKActions", - "AlarmActions", - "InsufficientDataActions", - "StateValue", - "StateReason", - "StateReasonData", - "StateUpdatedTimestamp", - "MetricName", - "Namespace", - "Statistic", - "Dimensions", - "Period", - "Unit", - "EvaluationPeriods", - "Threshold", - "ComparisonOperator" - ] - } - }, - "So": { - "type": "list", - "member": {} - }, - "Sv": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name", - "Value" - ], - "members": { - "Name": {}, - "Value": {} - }, - "xmlOrder": [ - "Name", - "Value" - ] - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json b/node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json deleted file mode 100644 index 7bee28c..0000000 --- a/node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "pagination": { - "DescribeAlarmHistory": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxRecords", - "result_key": "AlarmHistoryItems" - }, - "DescribeAlarms": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxRecords", - "result_key": "MetricAlarms" - }, - "DescribeAlarmsForMetric": { - "result_key": "MetricAlarms" - }, - "ListMetrics": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "Metrics" - } - } -} diff --git a/node_modules/aws-sdk/apis/monitoring-2010-08-01.waiters2.json b/node_modules/aws-sdk/apis/monitoring-2010-08-01.waiters2.json deleted file mode 100644 index cb0cf0b..0000000 --- a/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/node_modules/aws-sdk/apis/opsworks-2013-02-18.min.json b/node_modules/aws-sdk/apis/opsworks-2013-02-18.min.json deleted file mode 100644 index fb2c0f8..0000000 --- a/node_modules/aws-sdk/apis/opsworks-2013-02-18.min.json +++ /dev/null @@ -1,2141 +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" - }, - "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" - }, - "CustomInstanceProfileArn": {}, - "CustomJson": {}, - "CustomSecurityGroupIds": { - "shape": "S3" - }, - "Packages": { - "shape": "S3" - }, - "VolumeConfigurations": { - "shape": "S19" - }, - "EnableAutoHealing": { - "type": "boolean" - }, - "AutoAssignElasticIps": { - "type": "boolean" - }, - "AutoAssignPublicIps": { - "type": "boolean" - }, - "CustomRecipes": { - "shape": "S1b" - }, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "UseEbsOptimizedInstances": { - "type": "boolean" - }, - "LifecycleEventConfiguration": { - "shape": "S1c" - } - } - }, - "output": { - "type": "structure", - "members": { - "LayerId": {} - } - } - }, - "CreateStack": { - "input": { - "type": "structure", - "required": [ - "Name", - "Region", - "ServiceRoleArn", - "DefaultInstanceProfileArn" - ], - "members": { - "Name": {}, - "Region": {}, - "VpcId": {}, - "Attributes": { - "shape": "S8" - }, - "ServiceRoleArn": {}, - "DefaultInstanceProfileArn": {}, - "DefaultOs": {}, - "HostnameTheme": {}, - "DefaultAvailabilityZone": {}, - "DefaultSubnetId": {}, - "CustomJson": {}, - "ConfigurationManager": { - "shape": "Sa" - }, - "ChefConfiguration": { - "shape": "Sb" - }, - "UseCustomCookbooks": { - "type": "boolean" - }, - "UseOpsworksSecurityGroups": { - "type": "boolean" - }, - "CustomCookbooksSource": { - "shape": "Sd" - }, - "DefaultSshKeyName": {}, - "DefaultRootDeviceType": {}, - "AgentVersion": {} - } - }, - "output": { - "type": "structure", - "members": { - "StackId": {} - } - } - }, - "CreateUserProfile": { - "input": { - "type": "structure", - "required": [ - "IamUserArn" - ], - "members": { - "IamUserArn": {}, - "SshUsername": {}, - "SshPublicKey": {}, - "AllowSelfManagement": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "IamUserArn": {} - } - } - }, - "DeleteApp": { - "input": { - "type": "structure", - "required": [ - "AppId" - ], - "members": { - "AppId": {} - } - } - }, - "DeleteInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {}, - "DeleteElasticIp": { - "type": "boolean" - }, - "DeleteVolumes": { - "type": "boolean" - } - } - } - }, - "DeleteLayer": { - "input": { - "type": "structure", - "required": [ - "LayerId" - ], - "members": { - "LayerId": {} - } - } - }, - "DeleteStack": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {} - } - } - }, - "DeleteUserProfile": { - "input": { - "type": "structure", - "required": [ - "IamUserArn" - ], - "members": { - "IamUserArn": {} - } - } - }, - "DeregisterEcsCluster": { - "input": { - "type": "structure", - "required": [ - "EcsClusterArn" - ], - "members": { - "EcsClusterArn": {} - } - } - }, - "DeregisterElasticIp": { - "input": { - "type": "structure", - "required": [ - "ElasticIp" - ], - "members": { - "ElasticIp": {} - } - } - }, - "DeregisterInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {} - } - } - }, - "DeregisterRdsDbInstance": { - "input": { - "type": "structure", - "required": [ - "RdsDbInstanceArn" - ], - "members": { - "RdsDbInstanceArn": {} - } - } - }, - "DeregisterVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "VolumeId": {} - } - } - }, - "DescribeAgentVersions": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "ConfigurationManager": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "members": { - "AgentVersions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Version": {}, - "ConfigurationManager": { - "shape": "Sa" - } - } - } - } - } - } - }, - "DescribeApps": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "AppIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Apps": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AppId": {}, - "StackId": {}, - "Shortname": {}, - "Name": {}, - "Description": {}, - "DataSources": { - "shape": "Si" - }, - "Type": {}, - "AppSource": { - "shape": "Sd" - }, - "Domains": { - "shape": "S3" - }, - "EnableSsl": { - "type": "boolean" - }, - "SslConfiguration": { - "shape": "Sl" - }, - "Attributes": { - "shape": "Sm" - }, - "CreatedAt": {}, - "Environment": { - "shape": "So" - } - } - } - } - } - } - }, - "DescribeCommands": { - "input": { - "type": "structure", - "members": { - "DeploymentId": {}, - "InstanceId": {}, - "CommandIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Commands": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CommandId": {}, - "InstanceId": {}, - "DeploymentId": {}, - "CreatedAt": {}, - "AcknowledgedAt": {}, - "CompletedAt": {}, - "Status": {}, - "ExitCode": { - "type": "integer" - }, - "LogUrl": {}, - "Type": {} - } - } - } - } - } - }, - "DescribeDeployments": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "AppId": {}, - "DeploymentIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Deployments": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DeploymentId": {}, - "StackId": {}, - "AppId": {}, - "CreatedAt": {}, - "CompletedAt": {}, - "Duration": { - "type": "integer" - }, - "IamUserArn": {}, - "Comment": {}, - "Command": { - "shape": "Ss" - }, - "Status": {}, - "CustomJson": {}, - "InstanceIds": { - "shape": "S3" - } - } - } - } - } - } - }, - "DescribeEcsClusters": { - "input": { - "type": "structure", - "members": { - "EcsClusterArns": { - "shape": "S3" - }, - "StackId": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "EcsClusters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EcsClusterArn": {}, - "EcsClusterName": {}, - "StackId": {}, - "RegisteredAt": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeElasticIps": { - "input": { - "type": "structure", - "members": { - "InstanceId": {}, - "StackId": {}, - "Ips": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "ElasticIps": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Ip": {}, - "Name": {}, - "Domain": {}, - "Region": {}, - "InstanceId": {} - } - } - } - } - } - }, - "DescribeElasticLoadBalancers": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "LayerIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "ElasticLoadBalancers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ElasticLoadBalancerName": {}, - "Region": {}, - "DnsName": {}, - "StackId": {}, - "LayerId": {}, - "VpcId": {}, - "AvailabilityZones": { - "shape": "S3" - }, - "SubnetIds": { - "shape": "S3" - }, - "Ec2InstanceIds": { - "shape": "S3" - } - } - } - } - } - } - }, - "DescribeInstances": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "LayerId": {}, - "InstanceIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Instances": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AgentVersion": {}, - "AmiId": {}, - "Architecture": {}, - "AutoScalingType": {}, - "AvailabilityZone": {}, - "BlockDeviceMappings": { - "shape": "Sz" - }, - "CreatedAt": {}, - "EbsOptimized": { - "type": "boolean" - }, - "Ec2InstanceId": {}, - "EcsClusterArn": {}, - "EcsContainerInstanceArn": {}, - "ElasticIp": {}, - "Hostname": {}, - "InfrastructureClass": {}, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "InstanceId": {}, - "InstanceProfileArn": {}, - "InstanceType": {}, - "LastServiceErrorId": {}, - "LayerIds": { - "shape": "S3" - }, - "Os": {}, - "Platform": {}, - "PrivateDns": {}, - "PrivateIp": {}, - "PublicDns": {}, - "PublicIp": {}, - "RegisteredBy": {}, - "ReportedAgentVersion": {}, - "ReportedOs": { - "type": "structure", - "members": { - "Family": {}, - "Name": {}, - "Version": {} - } - }, - "RootDeviceType": {}, - "RootDeviceVolumeId": {}, - "SecurityGroupIds": { - "shape": "S3" - }, - "SshHostDsaKeyFingerprint": {}, - "SshHostRsaKeyFingerprint": {}, - "SshKeyName": {}, - "StackId": {}, - "Status": {}, - "SubnetId": {}, - "Tenancy": {}, - "VirtualizationType": {} - } - } - } - } - } - }, - "DescribeLayers": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "LayerIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Layers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "StackId": {}, - "LayerId": {}, - "Type": {}, - "Name": {}, - "Shortname": {}, - "Attributes": { - "shape": "S17" - }, - "CustomInstanceProfileArn": {}, - "CustomJson": {}, - "CustomSecurityGroupIds": { - "shape": "S3" - }, - "DefaultSecurityGroupNames": { - "shape": "S3" - }, - "Packages": { - "shape": "S3" - }, - "VolumeConfigurations": { - "shape": "S19" - }, - "EnableAutoHealing": { - "type": "boolean" - }, - "AutoAssignElasticIps": { - "type": "boolean" - }, - "AutoAssignPublicIps": { - "type": "boolean" - }, - "DefaultRecipes": { - "shape": "S1b" - }, - "CustomRecipes": { - "shape": "S1b" - }, - "CreatedAt": {}, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "UseEbsOptimizedInstances": { - "type": "boolean" - }, - "LifecycleEventConfiguration": { - "shape": "S1c" - } - } - } - } - } - } - }, - "DescribeLoadBasedAutoScaling": { - "input": { - "type": "structure", - "required": [ - "LayerIds" - ], - "members": { - "LayerIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "LoadBasedAutoScalingConfigurations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LayerId": {}, - "Enable": { - "type": "boolean" - }, - "UpScaling": { - "shape": "S30" - }, - "DownScaling": { - "shape": "S30" - } - } - } - } - } - } - }, - "DescribeMyUserProfile": { - "output": { - "type": "structure", - "members": { - "UserProfile": { - "type": "structure", - "members": { - "IamUserArn": {}, - "Name": {}, - "SshUsername": {}, - "SshPublicKey": {} - } - } - } - } - }, - "DescribePermissions": { - "input": { - "type": "structure", - "members": { - "IamUserArn": {}, - "StackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Permissions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "StackId": {}, - "IamUserArn": {}, - "AllowSsh": { - "type": "boolean" - }, - "AllowSudo": { - "type": "boolean" - }, - "Level": {} - } - } - } - } - } - }, - "DescribeRaidArrays": { - "input": { - "type": "structure", - "members": { - "InstanceId": {}, - "StackId": {}, - "RaidArrayIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "RaidArrays": { - "type": "list", - "member": { - "type": "structure", - "members": { - "RaidArrayId": {}, - "InstanceId": {}, - "Name": {}, - "RaidLevel": { - "type": "integer" - }, - "NumberOfDisks": { - "type": "integer" - }, - "Size": { - "type": "integer" - }, - "Device": {}, - "MountPoint": {}, - "AvailabilityZone": {}, - "CreatedAt": {}, - "StackId": {}, - "VolumeType": {}, - "Iops": { - "type": "integer" - } - } - } - } - } - } - }, - "DescribeRdsDbInstances": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {}, - "RdsDbInstanceArns": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "RdsDbInstances": { - "type": "list", - "member": { - "type": "structure", - "members": { - "RdsDbInstanceArn": {}, - "DbInstanceIdentifier": {}, - "DbUser": {}, - "DbPassword": {}, - "Region": {}, - "Address": {}, - "Engine": {}, - "StackId": {}, - "MissingOnRds": { - "type": "boolean" - } - } - } - } - } - } - }, - "DescribeServiceErrors": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "InstanceId": {}, - "ServiceErrorIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "ServiceErrors": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ServiceErrorId": {}, - "StackId": {}, - "InstanceId": {}, - "Type": {}, - "Message": {}, - "CreatedAt": {} - } - } - } - } - } - }, - "DescribeStackProvisioningParameters": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "AgentInstallerUrl": {}, - "Parameters": { - "type": "map", - "key": {}, - "value": {} - } - } - } - }, - "DescribeStackSummary": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "StackSummary": { - "type": "structure", - "members": { - "StackId": {}, - "Name": {}, - "Arn": {}, - "LayersCount": { - "type": "integer" - }, - "AppsCount": { - "type": "integer" - }, - "InstancesCount": { - "type": "structure", - "members": { - "Assigning": { - "type": "integer" - }, - "Booting": { - "type": "integer" - }, - "ConnectionLost": { - "type": "integer" - }, - "Deregistering": { - "type": "integer" - }, - "Online": { - "type": "integer" - }, - "Pending": { - "type": "integer" - }, - "Rebooting": { - "type": "integer" - }, - "Registered": { - "type": "integer" - }, - "Registering": { - "type": "integer" - }, - "Requested": { - "type": "integer" - }, - "RunningSetup": { - "type": "integer" - }, - "SetupFailed": { - "type": "integer" - }, - "ShuttingDown": { - "type": "integer" - }, - "StartFailed": { - "type": "integer" - }, - "Stopped": { - "type": "integer" - }, - "Stopping": { - "type": "integer" - }, - "Terminated": { - "type": "integer" - }, - "Terminating": { - "type": "integer" - }, - "Unassigning": { - "type": "integer" - } - } - } - } - } - } - } - }, - "DescribeStacks": { - "input": { - "type": "structure", - "members": { - "StackIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Stacks": { - "type": "list", - "member": { - "type": "structure", - "members": { - "StackId": {}, - "Name": {}, - "Arn": {}, - "Region": {}, - "VpcId": {}, - "Attributes": { - "shape": "S8" - }, - "ServiceRoleArn": {}, - "DefaultInstanceProfileArn": {}, - "DefaultOs": {}, - "HostnameTheme": {}, - "DefaultAvailabilityZone": {}, - "DefaultSubnetId": {}, - "CustomJson": {}, - "ConfigurationManager": { - "shape": "Sa" - }, - "ChefConfiguration": { - "shape": "Sb" - }, - "UseCustomCookbooks": { - "type": "boolean" - }, - "UseOpsworksSecurityGroups": { - "type": "boolean" - }, - "CustomCookbooksSource": { - "shape": "Sd" - }, - "DefaultSshKeyName": {}, - "CreatedAt": {}, - "DefaultRootDeviceType": {}, - "AgentVersion": {} - } - } - } - } - } - }, - "DescribeTimeBasedAutoScaling": { - "input": { - "type": "structure", - "required": [ - "InstanceIds" - ], - "members": { - "InstanceIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "TimeBasedAutoScalingConfigurations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InstanceId": {}, - "AutoScalingSchedule": { - "shape": "S40" - } - } - } - } - } - } - }, - "DescribeUserProfiles": { - "input": { - "type": "structure", - "members": { - "IamUserArns": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "UserProfiles": { - "type": "list", - "member": { - "type": "structure", - "members": { - "IamUserArn": {}, - "Name": {}, - "SshUsername": {}, - "SshPublicKey": {}, - "AllowSelfManagement": { - "type": "boolean" - } - } - } - } - } - } - }, - "DescribeVolumes": { - "input": { - "type": "structure", - "members": { - "InstanceId": {}, - "StackId": {}, - "RaidArrayId": {}, - "VolumeIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Volumes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VolumeId": {}, - "Ec2VolumeId": {}, - "Name": {}, - "RaidArrayId": {}, - "InstanceId": {}, - "Status": {}, - "Size": { - "type": "integer" - }, - "Device": {}, - "MountPoint": {}, - "Region": {}, - "AvailabilityZone": {}, - "VolumeType": {}, - "Iops": { - "type": "integer" - } - } - } - } - } - } - }, - "DetachElasticLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "ElasticLoadBalancerName", - "LayerId" - ], - "members": { - "ElasticLoadBalancerName": {}, - "LayerId": {} - } - } - }, - "DisassociateElasticIp": { - "input": { - "type": "structure", - "required": [ - "ElasticIp" - ], - "members": { - "ElasticIp": {} - } - } - }, - "GetHostnameSuggestion": { - "input": { - "type": "structure", - "required": [ - "LayerId" - ], - "members": { - "LayerId": {} - } - }, - "output": { - "type": "structure", - "members": { - "LayerId": {}, - "Hostname": {} - } - } - }, - "GrantAccess": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {}, - "ValidForInMinutes": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "TemporaryCredential": { - "type": "structure", - "members": { - "Username": {}, - "Password": {}, - "ValidForInMinutes": { - "type": "integer" - }, - "InstanceId": {} - } - } - } - } - }, - "RebootInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {} - } - } - }, - "RegisterEcsCluster": { - "input": { - "type": "structure", - "required": [ - "EcsClusterArn", - "StackId" - ], - "members": { - "EcsClusterArn": {}, - "StackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "EcsClusterArn": {} - } - } - }, - "RegisterElasticIp": { - "input": { - "type": "structure", - "required": [ - "ElasticIp", - "StackId" - ], - "members": { - "ElasticIp": {}, - "StackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ElasticIp": {} - } - } - }, - "RegisterInstance": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {}, - "Hostname": {}, - "PublicIp": {}, - "PrivateIp": {}, - "RsaPublicKey": {}, - "RsaPublicKeyFingerprint": {}, - "InstanceIdentity": { - "type": "structure", - "members": { - "Document": {}, - "Signature": {} - } - } - } - }, - "output": { - "type": "structure", - "members": { - "InstanceId": {} - } - } - }, - "RegisterRdsDbInstance": { - "input": { - "type": "structure", - "required": [ - "StackId", - "RdsDbInstanceArn", - "DbUser", - "DbPassword" - ], - "members": { - "StackId": {}, - "RdsDbInstanceArn": {}, - "DbUser": {}, - "DbPassword": {} - } - } - }, - "RegisterVolume": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "Ec2VolumeId": {}, - "StackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeId": {} - } - } - }, - "SetLoadBasedAutoScaling": { - "input": { - "type": "structure", - "required": [ - "LayerId" - ], - "members": { - "LayerId": {}, - "Enable": { - "type": "boolean" - }, - "UpScaling": { - "shape": "S30" - }, - "DownScaling": { - "shape": "S30" - } - } - } - }, - "SetPermission": { - "input": { - "type": "structure", - "required": [ - "StackId", - "IamUserArn" - ], - "members": { - "StackId": {}, - "IamUserArn": {}, - "AllowSsh": { - "type": "boolean" - }, - "AllowSudo": { - "type": "boolean" - }, - "Level": {} - } - } - }, - "SetTimeBasedAutoScaling": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {}, - "AutoScalingSchedule": { - "shape": "S40" - } - } - } - }, - "StartInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {} - } - } - }, - "StartStack": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {} - } - } - }, - "StopInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {} - } - } - }, - "StopStack": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {} - } - } - }, - "UnassignInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {} - } - } - }, - "UnassignVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "VolumeId": {} - } - } - }, - "UpdateApp": { - "input": { - "type": "structure", - "required": [ - "AppId" - ], - "members": { - "AppId": {}, - "Name": {}, - "Description": {}, - "DataSources": { - "shape": "Si" - }, - "Type": {}, - "AppSource": { - "shape": "Sd" - }, - "Domains": { - "shape": "S3" - }, - "EnableSsl": { - "type": "boolean" - }, - "SslConfiguration": { - "shape": "Sl" - }, - "Attributes": { - "shape": "Sm" - }, - "Environment": { - "shape": "So" - } - } - } - }, - "UpdateElasticIp": { - "input": { - "type": "structure", - "required": [ - "ElasticIp" - ], - "members": { - "ElasticIp": {}, - "Name": {} - } - } - }, - "UpdateInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {}, - "LayerIds": { - "shape": "S3" - }, - "InstanceType": {}, - "AutoScalingType": {}, - "Hostname": {}, - "Os": {}, - "AmiId": {}, - "SshKeyName": {}, - "Architecture": {}, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "EbsOptimized": { - "type": "boolean" - }, - "AgentVersion": {} - } - } - }, - "UpdateLayer": { - "input": { - "type": "structure", - "required": [ - "LayerId" - ], - "members": { - "LayerId": {}, - "Name": {}, - "Shortname": {}, - "Attributes": { - "shape": "S17" - }, - "CustomInstanceProfileArn": {}, - "CustomJson": {}, - "CustomSecurityGroupIds": { - "shape": "S3" - }, - "Packages": { - "shape": "S3" - }, - "VolumeConfigurations": { - "shape": "S19" - }, - "EnableAutoHealing": { - "type": "boolean" - }, - "AutoAssignElasticIps": { - "type": "boolean" - }, - "AutoAssignPublicIps": { - "type": "boolean" - }, - "CustomRecipes": { - "shape": "S1b" - }, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "UseEbsOptimizedInstances": { - "type": "boolean" - }, - "LifecycleEventConfiguration": { - "shape": "S1c" - } - } - } - }, - "UpdateMyUserProfile": { - "input": { - "type": "structure", - "members": { - "SshPublicKey": {} - } - } - }, - "UpdateRdsDbInstance": { - "input": { - "type": "structure", - "required": [ - "RdsDbInstanceArn" - ], - "members": { - "RdsDbInstanceArn": {}, - "DbUser": {}, - "DbPassword": {} - } - } - }, - "UpdateStack": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {}, - "Name": {}, - "Attributes": { - "shape": "S8" - }, - "ServiceRoleArn": {}, - "DefaultInstanceProfileArn": {}, - "DefaultOs": {}, - "HostnameTheme": {}, - "DefaultAvailabilityZone": {}, - "DefaultSubnetId": {}, - "CustomJson": {}, - "ConfigurationManager": { - "shape": "Sa" - }, - "ChefConfiguration": { - "shape": "Sb" - }, - "UseCustomCookbooks": { - "type": "boolean" - }, - "CustomCookbooksSource": { - "shape": "Sd" - }, - "DefaultSshKeyName": {}, - "DefaultRootDeviceType": {}, - "UseOpsworksSecurityGroups": { - "type": "boolean" - }, - "AgentVersion": {} - } - } - }, - "UpdateUserProfile": { - "input": { - "type": "structure", - "required": [ - "IamUserArn" - ], - "members": { - "IamUserArn": {}, - "SshUsername": {}, - "SshPublicKey": {}, - "AllowSelfManagement": { - "type": "boolean" - } - } - } - }, - "UpdateVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "VolumeId": {}, - "Name": {}, - "MountPoint": {} - } - } - } - }, - "shapes": { - "S3": { - "type": "list", - "member": {} - }, - "S8": { - "type": "map", - "key": {}, - "value": {} - }, - "Sa": { - "type": "structure", - "members": { - "Name": {}, - "Version": {} - } - }, - "Sb": { - "type": "structure", - "members": { - "ManageBerkshelf": { - "type": "boolean" - }, - "BerkshelfVersion": {} - } - }, - "Sd": { - "type": "structure", - "members": { - "Type": {}, - "Url": {}, - "Username": {}, - "Password": {}, - "SshKey": {}, - "Revision": {} - } - }, - "Si": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Type": {}, - "Arn": {}, - "DatabaseName": {} - } - } - }, - "Sl": { - "type": "structure", - "required": [ - "Certificate", - "PrivateKey" - ], - "members": { - "Certificate": {}, - "PrivateKey": {}, - "Chain": {} - } - }, - "Sm": { - "type": "map", - "key": {}, - "value": {} - }, - "So": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {}, - "Secure": { - "type": "boolean" - } - } - } - }, - "Ss": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "Args": { - "type": "map", - "key": {}, - "value": { - "shape": "S3" - } - } - } - }, - "Sz": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DeviceName": {}, - "NoDevice": {}, - "VirtualName": {}, - "Ebs": { - "type": "structure", - "members": { - "SnapshotId": {}, - "Iops": { - "type": "integer" - }, - "VolumeSize": { - "type": "integer" - }, - "VolumeType": {}, - "DeleteOnTermination": { - "type": "boolean" - } - } - } - } - } - }, - "S17": { - "type": "map", - "key": {}, - "value": {} - }, - "S19": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "MountPoint", - "NumberOfDisks", - "Size" - ], - "members": { - "MountPoint": {}, - "RaidLevel": { - "type": "integer" - }, - "NumberOfDisks": { - "type": "integer" - }, - "Size": { - "type": "integer" - }, - "VolumeType": {}, - "Iops": { - "type": "integer" - } - } - } - }, - "S1b": { - "type": "structure", - "members": { - "Setup": { - "shape": "S3" - }, - "Configure": { - "shape": "S3" - }, - "Deploy": { - "shape": "S3" - }, - "Undeploy": { - "shape": "S3" - }, - "Shutdown": { - "shape": "S3" - } - } - }, - "S1c": { - "type": "structure", - "members": { - "Shutdown": { - "type": "structure", - "members": { - "ExecutionTimeout": { - "type": "integer" - }, - "DelayUntilElbConnectionsDrained": { - "type": "boolean" - } - } - } - } - }, - "S30": { - "type": "structure", - "members": { - "InstanceCount": { - "type": "integer" - }, - "ThresholdsWaitTime": { - "type": "integer" - }, - "IgnoreMetricsTime": { - "type": "integer" - }, - "CpuThreshold": { - "type": "double" - }, - "MemoryThreshold": { - "type": "double" - }, - "LoadThreshold": { - "type": "double" - }, - "Alarms": { - "shape": "S3" - } - } - }, - "S40": { - "type": "structure", - "members": { - "Monday": { - "shape": "S41" - }, - "Tuesday": { - "shape": "S41" - }, - "Wednesday": { - "shape": "S41" - }, - "Thursday": { - "shape": "S41" - }, - "Friday": { - "shape": "S41" - }, - "Saturday": { - "shape": "S41" - }, - "Sunday": { - "shape": "S41" - } - } - }, - "S41": { - "type": "map", - "key": {}, - "value": {} - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/opsworks-2013-02-18.paginators.json b/node_modules/aws-sdk/apis/opsworks-2013-02-18.paginators.json deleted file mode 100644 index 3825e7d..0000000 --- a/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", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "EcsClusters" - }, - "DescribeElasticIps": { - "result_key": "ElasticIps" - }, - "DescribeElasticLoadBalancers": { - "result_key": "ElasticLoadBalancers" - }, - "DescribeInstances": { - "result_key": "Instances" - }, - "DescribeLayers": { - "result_key": "Layers" - }, - "DescribeLoadBasedAutoScaling": { - "result_key": "LoadBasedAutoScalingConfigurations" - }, - "DescribePermissions": { - "result_key": "Permissions" - }, - "DescribeRaidArrays": { - "result_key": "RaidArrays" - }, - "DescribeServiceErrors": { - "result_key": "ServiceErrors" - }, - "DescribeStacks": { - "result_key": "Stacks" - }, - "DescribeTimeBasedAutoScaling": { - "result_key": "TimeBasedAutoScalingConfigurations" - }, - "DescribeUserProfiles": { - "result_key": "UserProfiles" - }, - "DescribeVolumes": { - "result_key": "Volumes" - } - } -} diff --git a/node_modules/aws-sdk/apis/opsworks-2013-02-18.waiters2.json b/node_modules/aws-sdk/apis/opsworks-2013-02-18.waiters2.json deleted file mode 100644 index 8daa084..0000000 --- a/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/node_modules/aws-sdk/apis/rds-2013-01-10.min.json b/node_modules/aws-sdk/apis/rds-2013-01-10.min.json deleted file mode 100644 index 7de129f..0000000 --- a/node_modules/aws-sdk/apis/rds-2013-01-10.min.json +++ /dev/null @@ -1,1895 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2013-01-10", - "endpointPrefix": "rds", - "protocol": "query", - "serviceAbbreviation": "Amazon RDS", - "serviceFullName": "Amazon Relational Database Service", - "signatureVersion": "v4", - "xmlNamespace": "http://rds.amazonaws.com/doc/2013-01-10/" - }, - "operations": { - "AddSourceIdentifierToSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "AddSourceIdentifierToSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "Tags" - ], - "members": { - "ResourceName": {}, - "Tags": { - "shape": "S9" - } - } - } - }, - "AuthorizeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CopyDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceDBSnapshotIdentifier", - "TargetDBSnapshotIdentifier" - ], - "members": { - "SourceDBSnapshotIdentifier": {}, - "TargetDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "CopyDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "CreateDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "AllocatedStorage", - "DBInstanceClass", - "Engine", - "MasterUsername", - "MasterUserPassword" - ], - "members": { - "DBName": {}, - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "Engine": {}, - "MasterUsername": {}, - "MasterUserPassword": {}, - "DBSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "PreferredMaintenanceWindow": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "Port": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "CharacterSetName": {}, - "PubliclyAccessible": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "CreateDBInstanceReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "SourceDBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SourceDBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "AvailabilityZone": {}, - "Port": { - "type": "integer" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "PubliclyAccessible": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateDBInstanceReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "CreateDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "DBParameterGroupFamily", - "Description" - ], - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {} - } - }, - "output": { - "resultWrapper": "CreateDBParameterGroupResult", - "type": "structure", - "members": { - "DBParameterGroup": { - "shape": "S1c" - } - } - } - }, - "CreateDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName", - "DBSecurityGroupDescription" - ], - "members": { - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {} - } - }, - "output": { - "resultWrapper": "CreateDBSecurityGroupResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CreateDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier", - "DBInstanceIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {} - } - }, - "output": { - "resultWrapper": "CreateDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "CreateDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "DBSubnetGroupDescription", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1i" - } - } - }, - "output": { - "resultWrapper": "CreateDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S11" - } - } - } - }, - "CreateEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SnsTopicArn" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "SourceIds": { - "shape": "S5" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "CreateOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName", - "EngineName", - "MajorEngineVersion", - "OptionGroupDescription" - ], - "members": { - "OptionGroupName": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "OptionGroupDescription": {} - } - }, - "output": { - "resultWrapper": "CreateOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S1o" - } - } - } - }, - "DeleteDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SkipFinalSnapshot": { - "type": "boolean" - }, - "FinalDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "DeleteDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {} - } - } - }, - "DeleteDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {} - } - } - }, - "DeleteDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "DeleteDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName" - ], - "members": { - "DBSubnetGroupName": {} - } - } - }, - "DeleteEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {} - } - }, - "output": { - "resultWrapper": "DeleteEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "DeleteOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {} - } - } - }, - "DescribeDBEngineVersions": { - "input": { - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "DefaultOnly": { - "type": "boolean" - }, - "ListSupportedCharacterSets": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeDBEngineVersionsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBEngineVersions": { - "type": "list", - "member": { - "locationName": "DBEngineVersion", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "DBEngineDescription": {}, - "DBEngineVersionDescription": {}, - "DefaultCharacterSet": { - "shape": "S25" - }, - "SupportedCharacterSets": { - "type": "list", - "member": { - "shape": "S25", - "locationName": "CharacterSet" - } - } - } - } - } - } - } - }, - "DescribeDBInstances": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "DBInstances": { - "type": "list", - "member": { - "shape": "St", - "locationName": "DBInstance" - } - } - } - } - }, - "DescribeDBParameterGroups": { - "input": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParameterGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBParameterGroups": { - "type": "list", - "member": { - "shape": "S1c", - "locationName": "DBParameterGroup" - } - } - } - } - }, - "DescribeDBParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "Source": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParametersResult", - "type": "structure", - "members": { - "Parameters": { - "shape": "S2f" - }, - "Marker": {} - } - } - }, - "DescribeDBSecurityGroups": { - "input": { - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSecurityGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSecurityGroups": { - "type": "list", - "member": { - "shape": "Sd", - "locationName": "DBSecurityGroup" - } - } - } - } - }, - "DescribeDBSnapshots": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "SnapshotType": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSnapshotsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSnapshots": { - "type": "list", - "member": { - "shape": "Sk", - "locationName": "DBSnapshot" - } - } - } - } - }, - "DescribeDBSubnetGroups": { - "input": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSubnetGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSubnetGroups": { - "type": "list", - "member": { - "shape": "S11", - "locationName": "DBSubnetGroup" - } - } - } - } - }, - "DescribeEngineDefaultParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupFamily" - ], - "members": { - "DBParameterGroupFamily": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEngineDefaultParametersResult", - "type": "structure", - "members": { - "EngineDefaults": { - "type": "structure", - "members": { - "DBParameterGroupFamily": {}, - "Marker": {}, - "Parameters": { - "shape": "S2f" - } - }, - "wrapper": true - } - } - } - }, - "DescribeEventCategories": { - "input": { - "type": "structure", - "members": { - "SourceType": {} - } - }, - "output": { - "resultWrapper": "DescribeEventCategoriesResult", - "type": "structure", - "members": { - "EventCategoriesMapList": { - "type": "list", - "member": { - "locationName": "EventCategoriesMap", - "type": "structure", - "members": { - "SourceType": {}, - "EventCategories": { - "shape": "S6" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeEventSubscriptions": { - "input": { - "type": "structure", - "members": { - "SubscriptionName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventSubscriptionsResult", - "type": "structure", - "members": { - "Marker": {}, - "EventSubscriptionsList": { - "type": "list", - "member": { - "shape": "S4", - "locationName": "EventSubscription" - } - } - } - } - }, - "DescribeEvents": { - "input": { - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "EventCategories": { - "shape": "S6" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventsResult", - "type": "structure", - "members": { - "Marker": {}, - "Events": { - "type": "list", - "member": { - "locationName": "Event", - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "Message": {}, - "EventCategories": { - "shape": "S6" - }, - "Date": { - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeOptionGroupOptions": { - "input": { - "type": "structure", - "required": [ - "EngineName" - ], - "members": { - "EngineName": {}, - "MajorEngineVersion": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupOptionsResult", - "type": "structure", - "members": { - "OptionGroupOptions": { - "type": "list", - "member": { - "locationName": "OptionGroupOption", - "type": "structure", - "members": { - "Name": {}, - "Description": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "MinimumRequiredMinorEngineVersion": {}, - "PortRequired": { - "type": "boolean" - }, - "DefaultPort": { - "type": "integer" - }, - "OptionsDependedOn": { - "type": "list", - "member": { - "locationName": "OptionName" - } - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeOptionGroups": { - "input": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "Marker": {}, - "MaxRecords": { - "type": "integer" - }, - "EngineName": {}, - "MajorEngineVersion": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupsResult", - "type": "structure", - "members": { - "OptionGroupsList": { - "type": "list", - "member": { - "shape": "S1o", - "locationName": "OptionGroup" - } - }, - "Marker": {} - } - } - }, - "DescribeOrderableDBInstanceOptions": { - "input": { - "type": "structure", - "required": [ - "Engine" - ], - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "Vpc": { - "type": "boolean" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOrderableDBInstanceOptionsResult", - "type": "structure", - "members": { - "OrderableDBInstanceOptions": { - "type": "list", - "member": { - "locationName": "OrderableDBInstanceOption", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "AvailabilityZones": { - "type": "list", - "member": { - "shape": "S14", - "locationName": "AvailabilityZone" - } - }, - "MultiAZCapable": { - "type": "boolean" - }, - "ReadReplicaCapable": { - "type": "boolean" - }, - "Vpc": { - "type": "boolean" - } - }, - "wrapper": true - } - }, - "Marker": {} - } - } - }, - "DescribeReservedDBInstances": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstances": { - "type": "list", - "member": { - "shape": "S3m", - "locationName": "ReservedDBInstance" - } - } - } - } - }, - "DescribeReservedDBInstancesOfferings": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesOfferingsResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstancesOfferings": { - "type": "list", - "member": { - "locationName": "ReservedDBInstancesOffering", - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "RecurringCharges": { - "shape": "S3o" - } - }, - "wrapper": true - } - } - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName" - ], - "members": { - "ResourceName": {} - } - }, - "output": { - "resultWrapper": "ListTagsForResourceResult", - "type": "structure", - "members": { - "TagList": { - "shape": "S9" - } - } - } - }, - "ModifyDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "DBSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "ApplyImmediately": { - "type": "boolean" - }, - "MasterUserPassword": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "NewDBInstanceIdentifier": {} - } - }, - "output": { - "resultWrapper": "ModifyDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "ModifyDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "Parameters" - ], - "members": { - "DBParameterGroupName": {}, - "Parameters": { - "shape": "S2f" - } - } - }, - "output": { - "shape": "S3z", - "resultWrapper": "ModifyDBParameterGroupResult" - } - }, - "ModifyDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1i" - } - } - }, - "output": { - "resultWrapper": "ModifyDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S11" - } - } - } - }, - "ModifyEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "ModifyOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {}, - "OptionsToInclude": { - "type": "list", - "member": { - "locationName": "OptionConfiguration", - "type": "structure", - "required": [ - "OptionName" - ], - "members": { - "OptionName": {}, - "Port": { - "type": "integer" - }, - "DBSecurityGroupMemberships": { - "shape": "Sp" - }, - "VpcSecurityGroupMemberships": { - "shape": "Sq" - } - } - } - }, - "OptionsToRemove": { - "type": "list", - "member": {} - }, - "ApplyImmediately": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S1o" - } - } - } - }, - "PromoteReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {} - } - }, - "output": { - "resultWrapper": "PromoteReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "PurchaseReservedDBInstancesOffering": { - "input": { - "type": "structure", - "required": [ - "ReservedDBInstancesOfferingId" - ], - "members": { - "ReservedDBInstancesOfferingId": {}, - "ReservedDBInstanceId": {}, - "DBInstanceCount": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "PurchaseReservedDBInstancesOfferingResult", - "type": "structure", - "members": { - "ReservedDBInstance": { - "shape": "S3m" - } - } - } - }, - "RebootDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "ForceFailover": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "RebootDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RemoveSourceIdentifierFromSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "TagKeys" - ], - "members": { - "ResourceName": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "ResetDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S2f" - } - } - }, - "output": { - "shape": "S3z", - "resultWrapper": "ResetDBParameterGroupResult" - } - }, - "RestoreDBInstanceFromDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "DBSnapshotIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {} - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RestoreDBInstanceToPointInTime": { - "input": { - "type": "structure", - "required": [ - "SourceDBInstanceIdentifier", - "TargetDBInstanceIdentifier" - ], - "members": { - "SourceDBInstanceIdentifier": {}, - "TargetDBInstanceIdentifier": {}, - "RestoreTime": { - "type": "timestamp" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {} - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceToPointInTimeResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RevokeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "RevokeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "Id": {}, - "CustomerAwsId": {}, - "CustSubscriptionId": {}, - "SnsTopicArn": {}, - "Status": {}, - "SubscriptionCreationTime": {}, - "SourceType": {}, - "SourceIdsList": { - "shape": "S5" - }, - "EventCategoriesList": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S5": { - "type": "list", - "member": { - "locationName": "SourceId" - } - }, - "S6": { - "type": "list", - "member": { - "locationName": "EventCategory" - } - }, - "S9": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sd": { - "type": "structure", - "members": { - "OwnerId": {}, - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "VpcId": {}, - "EC2SecurityGroups": { - "type": "list", - "member": { - "locationName": "EC2SecurityGroup", - "type": "structure", - "members": { - "Status": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - } - }, - "IPRanges": { - "type": "list", - "member": { - "locationName": "IPRange", - "type": "structure", - "members": { - "Status": {}, - "CIDRIP": {} - } - } - } - }, - "wrapper": true - }, - "Sk": { - "type": "structure", - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {}, - "SnapshotCreateTime": { - "type": "timestamp" - }, - "Engine": {}, - "AllocatedStorage": { - "type": "integer" - }, - "Status": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "VpcId": {}, - "InstanceCreateTime": { - "type": "timestamp" - }, - "MasterUsername": {}, - "EngineVersion": {}, - "LicenseModel": {}, - "SnapshotType": {}, - "Iops": { - "type": "integer" - } - }, - "wrapper": true - }, - "Sp": { - "type": "list", - "member": { - "locationName": "DBSecurityGroupName" - } - }, - "Sq": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupId" - } - }, - "St": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "Engine": {}, - "DBInstanceStatus": {}, - "MasterUsername": {}, - "DBName": {}, - "Endpoint": { - "type": "structure", - "members": { - "Address": {}, - "Port": { - "type": "integer" - } - } - }, - "AllocatedStorage": { - "type": "integer" - }, - "InstanceCreateTime": { - "type": "timestamp" - }, - "PreferredBackupWindow": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "DBSecurityGroups": { - "shape": "Sv" - }, - "VpcSecurityGroups": { - "shape": "Sx" - }, - "DBParameterGroups": { - "type": "list", - "member": { - "locationName": "DBParameterGroup", - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "ParameterApplyStatus": {} - } - } - }, - "AvailabilityZone": {}, - "DBSubnetGroup": { - "shape": "S11" - }, - "PreferredMaintenanceWindow": {}, - "PendingModifiedValues": { - "type": "structure", - "members": { - "DBInstanceClass": {}, - "AllocatedStorage": { - "type": "integer" - }, - "MasterUserPassword": {}, - "Port": { - "type": "integer" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "Iops": { - "type": "integer" - }, - "DBInstanceIdentifier": {} - } - }, - "LatestRestorableTime": { - "type": "timestamp" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "ReadReplicaSourceDBInstanceIdentifier": {}, - "ReadReplicaDBInstanceIdentifiers": { - "type": "list", - "member": { - "locationName": "ReadReplicaDBInstanceIdentifier" - } - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupMembership": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "Status": {} - } - }, - "CharacterSetName": {}, - "SecondaryAvailabilityZone": {}, - "PubliclyAccessible": { - "type": "boolean" - } - }, - "wrapper": true - }, - "Sv": { - "type": "list", - "member": { - "locationName": "DBSecurityGroup", - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Status": {} - } - } - }, - "Sx": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupMembership", - "type": "structure", - "members": { - "VpcSecurityGroupId": {}, - "Status": {} - } - } - }, - "S11": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "VpcId": {}, - "SubnetGroupStatus": {}, - "Subnets": { - "type": "list", - "member": { - "locationName": "Subnet", - "type": "structure", - "members": { - "SubnetIdentifier": {}, - "SubnetAvailabilityZone": { - "shape": "S14" - }, - "SubnetStatus": {} - } - } - } - }, - "wrapper": true - }, - "S14": { - "type": "structure", - "members": { - "Name": {}, - "ProvisionedIopsCapable": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S1c": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {} - }, - "wrapper": true - }, - "S1i": { - "type": "list", - "member": { - "locationName": "SubnetIdentifier" - } - }, - "S1o": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "OptionGroupDescription": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "Options": { - "type": "list", - "member": { - "locationName": "Option", - "type": "structure", - "members": { - "OptionName": {}, - "OptionDescription": {}, - "Port": { - "type": "integer" - }, - "DBSecurityGroupMemberships": { - "shape": "Sv" - }, - "VpcSecurityGroupMemberships": { - "shape": "Sx" - } - } - } - }, - "AllowsVpcAndNonVpcInstanceMemberships": { - "type": "boolean" - }, - "VpcId": {} - }, - "wrapper": true - }, - "S25": { - "type": "structure", - "members": { - "CharacterSetName": {}, - "CharacterSetDescription": {} - } - }, - "S2f": { - "type": "list", - "member": { - "locationName": "Parameter", - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterValue": {}, - "Description": {}, - "Source": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "MinimumEngineVersion": {}, - "ApplyMethod": {} - } - } - }, - "S3m": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "StartTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "DBInstanceCount": { - "type": "integer" - }, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "State": {}, - "RecurringCharges": { - "shape": "S3o" - } - }, - "wrapper": true - }, - "S3o": { - "type": "list", - "member": { - "locationName": "RecurringCharge", - "type": "structure", - "members": { - "RecurringChargeAmount": { - "type": "double" - }, - "RecurringChargeFrequency": {} - }, - "wrapper": true - } - }, - "S3z": { - "type": "structure", - "members": { - "DBParameterGroupName": {} - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/rds-2013-01-10.paginators.json b/node_modules/aws-sdk/apis/rds-2013-01-10.paginators.json deleted file mode 100644 index e70d762..0000000 --- a/node_modules/aws-sdk/apis/rds-2013-01-10.paginators.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "pagination": { - "DescribeDBEngineVersions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBEngineVersions" - }, - "DescribeDBInstances": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBInstances" - }, - "DescribeDBParameterGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBParameterGroups" - }, - "DescribeDBParameters": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Parameters" - }, - "DescribeDBSecurityGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBSecurityGroups" - }, - "DescribeDBSnapshots": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBSnapshots" - }, - "DescribeDBSubnetGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBSubnetGroups" - }, - "DescribeEngineDefaultParameters": { - "input_token": "Marker", - "output_token": "EngineDefaults.Marker", - "limit_key": "MaxRecords", - "result_key": "EngineDefaults.Parameters" - }, - "DescribeEventSubscriptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "EventSubscriptionsList" - }, - "DescribeEvents": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Events" - }, - "DescribeOptionGroupOptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OptionGroupOptions" - }, - "DescribeOptionGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OptionGroupsList" - }, - "DescribeOrderableDBInstanceOptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OrderableDBInstanceOptions" - }, - "DescribeReservedDBInstances": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedDBInstances" - }, - "DescribeReservedDBInstancesOfferings": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedDBInstancesOfferings" - }, - "ListTagsForResource": { - "result_key": "TagList" - } - } -} diff --git a/node_modules/aws-sdk/apis/rds-2013-02-12.min.json b/node_modules/aws-sdk/apis/rds-2013-02-12.min.json deleted file mode 100644 index c4d5920..0000000 --- a/node_modules/aws-sdk/apis/rds-2013-02-12.min.json +++ /dev/null @@ -1,2027 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2013-02-12", - "endpointPrefix": "rds", - "protocol": "query", - "serviceAbbreviation": "Amazon RDS", - "serviceFullName": "Amazon Relational Database Service", - "signatureVersion": "v4", - "xmlNamespace": "http://rds.amazonaws.com/doc/2013-02-12/" - }, - "operations": { - "AddSourceIdentifierToSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "AddSourceIdentifierToSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "Tags" - ], - "members": { - "ResourceName": {}, - "Tags": { - "shape": "S9" - } - } - } - }, - "AuthorizeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CopyDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceDBSnapshotIdentifier", - "TargetDBSnapshotIdentifier" - ], - "members": { - "SourceDBSnapshotIdentifier": {}, - "TargetDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "CopyDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "CreateDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "AllocatedStorage", - "DBInstanceClass", - "Engine", - "MasterUsername", - "MasterUserPassword" - ], - "members": { - "DBName": {}, - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "Engine": {}, - "MasterUsername": {}, - "MasterUserPassword": {}, - "DBSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "PreferredMaintenanceWindow": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "Port": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "CharacterSetName": {}, - "PubliclyAccessible": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "CreateDBInstanceReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "SourceDBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SourceDBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "AvailabilityZone": {}, - "Port": { - "type": "integer" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "PubliclyAccessible": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateDBInstanceReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "CreateDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "DBParameterGroupFamily", - "Description" - ], - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {} - } - }, - "output": { - "resultWrapper": "CreateDBParameterGroupResult", - "type": "structure", - "members": { - "DBParameterGroup": { - "shape": "S1d" - } - } - } - }, - "CreateDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName", - "DBSecurityGroupDescription" - ], - "members": { - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {} - } - }, - "output": { - "resultWrapper": "CreateDBSecurityGroupResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CreateDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier", - "DBInstanceIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {} - } - }, - "output": { - "resultWrapper": "CreateDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "CreateDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "DBSubnetGroupDescription", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1j" - } - } - }, - "output": { - "resultWrapper": "CreateDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S11" - } - } - } - }, - "CreateEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SnsTopicArn" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "SourceIds": { - "shape": "S5" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "CreateOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName", - "EngineName", - "MajorEngineVersion", - "OptionGroupDescription" - ], - "members": { - "OptionGroupName": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "OptionGroupDescription": {} - } - }, - "output": { - "resultWrapper": "CreateOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S1p" - } - } - } - }, - "DeleteDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SkipFinalSnapshot": { - "type": "boolean" - }, - "FinalDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "DeleteDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {} - } - } - }, - "DeleteDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {} - } - } - }, - "DeleteDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "DeleteDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName" - ], - "members": { - "DBSubnetGroupName": {} - } - } - }, - "DeleteEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {} - } - }, - "output": { - "resultWrapper": "DeleteEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "DeleteOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {} - } - } - }, - "DescribeDBEngineVersions": { - "input": { - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "DefaultOnly": { - "type": "boolean" - }, - "ListSupportedCharacterSets": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeDBEngineVersionsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBEngineVersions": { - "type": "list", - "member": { - "locationName": "DBEngineVersion", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "DBEngineDescription": {}, - "DBEngineVersionDescription": {}, - "DefaultCharacterSet": { - "shape": "S28" - }, - "SupportedCharacterSets": { - "type": "list", - "member": { - "shape": "S28", - "locationName": "CharacterSet" - } - } - } - } - } - } - } - }, - "DescribeDBInstances": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "DBInstances": { - "type": "list", - "member": { - "shape": "St", - "locationName": "DBInstance" - } - } - } - } - }, - "DescribeDBLogFiles": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "FilenameContains": {}, - "FileLastWritten": { - "type": "long" - }, - "FileSize": { - "type": "long" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBLogFilesResult", - "type": "structure", - "members": { - "DescribeDBLogFiles": { - "type": "list", - "member": { - "locationName": "DescribeDBLogFilesDetails", - "type": "structure", - "members": { - "LogFileName": {}, - "LastWritten": { - "type": "long" - }, - "Size": { - "type": "long" - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeDBParameterGroups": { - "input": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParameterGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBParameterGroups": { - "type": "list", - "member": { - "shape": "S1d", - "locationName": "DBParameterGroup" - } - } - } - } - }, - "DescribeDBParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "Source": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParametersResult", - "type": "structure", - "members": { - "Parameters": { - "shape": "S2n" - }, - "Marker": {} - } - } - }, - "DescribeDBSecurityGroups": { - "input": { - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSecurityGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSecurityGroups": { - "type": "list", - "member": { - "shape": "Sd", - "locationName": "DBSecurityGroup" - } - } - } - } - }, - "DescribeDBSnapshots": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "SnapshotType": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSnapshotsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSnapshots": { - "type": "list", - "member": { - "shape": "Sk", - "locationName": "DBSnapshot" - } - } - } - } - }, - "DescribeDBSubnetGroups": { - "input": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSubnetGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSubnetGroups": { - "type": "list", - "member": { - "shape": "S11", - "locationName": "DBSubnetGroup" - } - } - } - } - }, - "DescribeEngineDefaultParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupFamily" - ], - "members": { - "DBParameterGroupFamily": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEngineDefaultParametersResult", - "type": "structure", - "members": { - "EngineDefaults": { - "type": "structure", - "members": { - "DBParameterGroupFamily": {}, - "Marker": {}, - "Parameters": { - "shape": "S2n" - } - }, - "wrapper": true - } - } - } - }, - "DescribeEventCategories": { - "input": { - "type": "structure", - "members": { - "SourceType": {} - } - }, - "output": { - "resultWrapper": "DescribeEventCategoriesResult", - "type": "structure", - "members": { - "EventCategoriesMapList": { - "type": "list", - "member": { - "locationName": "EventCategoriesMap", - "type": "structure", - "members": { - "SourceType": {}, - "EventCategories": { - "shape": "S6" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeEventSubscriptions": { - "input": { - "type": "structure", - "members": { - "SubscriptionName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventSubscriptionsResult", - "type": "structure", - "members": { - "Marker": {}, - "EventSubscriptionsList": { - "type": "list", - "member": { - "shape": "S4", - "locationName": "EventSubscription" - } - } - } - } - }, - "DescribeEvents": { - "input": { - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "EventCategories": { - "shape": "S6" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventsResult", - "type": "structure", - "members": { - "Marker": {}, - "Events": { - "type": "list", - "member": { - "locationName": "Event", - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "Message": {}, - "EventCategories": { - "shape": "S6" - }, - "Date": { - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeOptionGroupOptions": { - "input": { - "type": "structure", - "required": [ - "EngineName" - ], - "members": { - "EngineName": {}, - "MajorEngineVersion": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupOptionsResult", - "type": "structure", - "members": { - "OptionGroupOptions": { - "type": "list", - "member": { - "locationName": "OptionGroupOption", - "type": "structure", - "members": { - "Name": {}, - "Description": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "MinimumRequiredMinorEngineVersion": {}, - "PortRequired": { - "type": "boolean" - }, - "DefaultPort": { - "type": "integer" - }, - "OptionsDependedOn": { - "type": "list", - "member": { - "locationName": "OptionName" - } - }, - "Persistent": { - "type": "boolean" - }, - "OptionGroupOptionSettings": { - "type": "list", - "member": { - "locationName": "OptionGroupOptionSetting", - "type": "structure", - "members": { - "SettingName": {}, - "SettingDescription": {}, - "DefaultValue": {}, - "ApplyType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - } - } - } - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeOptionGroups": { - "input": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "Marker": {}, - "MaxRecords": { - "type": "integer" - }, - "EngineName": {}, - "MajorEngineVersion": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupsResult", - "type": "structure", - "members": { - "OptionGroupsList": { - "type": "list", - "member": { - "shape": "S1p", - "locationName": "OptionGroup" - } - }, - "Marker": {} - } - } - }, - "DescribeOrderableDBInstanceOptions": { - "input": { - "type": "structure", - "required": [ - "Engine" - ], - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "Vpc": { - "type": "boolean" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOrderableDBInstanceOptionsResult", - "type": "structure", - "members": { - "OrderableDBInstanceOptions": { - "type": "list", - "member": { - "locationName": "OrderableDBInstanceOption", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "AvailabilityZones": { - "type": "list", - "member": { - "shape": "S14", - "locationName": "AvailabilityZone" - } - }, - "MultiAZCapable": { - "type": "boolean" - }, - "ReadReplicaCapable": { - "type": "boolean" - }, - "Vpc": { - "type": "boolean" - } - }, - "wrapper": true - } - }, - "Marker": {} - } - } - }, - "DescribeReservedDBInstances": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstances": { - "type": "list", - "member": { - "shape": "S3w", - "locationName": "ReservedDBInstance" - } - } - } - } - }, - "DescribeReservedDBInstancesOfferings": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesOfferingsResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstancesOfferings": { - "type": "list", - "member": { - "locationName": "ReservedDBInstancesOffering", - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "RecurringCharges": { - "shape": "S3y" - } - }, - "wrapper": true - } - } - } - } - }, - "DownloadDBLogFilePortion": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "LogFileName" - ], - "members": { - "DBInstanceIdentifier": {}, - "LogFileName": {}, - "Marker": {}, - "NumberOfLines": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DownloadDBLogFilePortionResult", - "type": "structure", - "members": { - "LogFileData": {}, - "Marker": {}, - "AdditionalDataPending": { - "type": "boolean" - } - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName" - ], - "members": { - "ResourceName": {} - } - }, - "output": { - "resultWrapper": "ListTagsForResourceResult", - "type": "structure", - "members": { - "TagList": { - "shape": "S9" - } - } - } - }, - "ModifyDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "DBSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "ApplyImmediately": { - "type": "boolean" - }, - "MasterUserPassword": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "NewDBInstanceIdentifier": {} - } - }, - "output": { - "resultWrapper": "ModifyDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "ModifyDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "Parameters" - ], - "members": { - "DBParameterGroupName": {}, - "Parameters": { - "shape": "S2n" - } - } - }, - "output": { - "shape": "S4b", - "resultWrapper": "ModifyDBParameterGroupResult" - } - }, - "ModifyDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1j" - } - } - }, - "output": { - "resultWrapper": "ModifyDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S11" - } - } - } - }, - "ModifyEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "ModifyOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {}, - "OptionsToInclude": { - "type": "list", - "member": { - "locationName": "OptionConfiguration", - "type": "structure", - "required": [ - "OptionName" - ], - "members": { - "OptionName": {}, - "Port": { - "type": "integer" - }, - "DBSecurityGroupMemberships": { - "shape": "Sp" - }, - "VpcSecurityGroupMemberships": { - "shape": "Sq" - }, - "OptionSettings": { - "type": "list", - "member": { - "shape": "S1t", - "locationName": "OptionSetting" - } - } - } - } - }, - "OptionsToRemove": { - "type": "list", - "member": {} - }, - "ApplyImmediately": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S1p" - } - } - } - }, - "PromoteReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {} - } - }, - "output": { - "resultWrapper": "PromoteReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "PurchaseReservedDBInstancesOffering": { - "input": { - "type": "structure", - "required": [ - "ReservedDBInstancesOfferingId" - ], - "members": { - "ReservedDBInstancesOfferingId": {}, - "ReservedDBInstanceId": {}, - "DBInstanceCount": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "PurchaseReservedDBInstancesOfferingResult", - "type": "structure", - "members": { - "ReservedDBInstance": { - "shape": "S3w" - } - } - } - }, - "RebootDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "ForceFailover": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "RebootDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RemoveSourceIdentifierFromSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "TagKeys" - ], - "members": { - "ResourceName": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "ResetDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S2n" - } - } - }, - "output": { - "shape": "S4b", - "resultWrapper": "ResetDBParameterGroupResult" - } - }, - "RestoreDBInstanceFromDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "DBSnapshotIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {} - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RestoreDBInstanceToPointInTime": { - "input": { - "type": "structure", - "required": [ - "SourceDBInstanceIdentifier", - "TargetDBInstanceIdentifier" - ], - "members": { - "SourceDBInstanceIdentifier": {}, - "TargetDBInstanceIdentifier": {}, - "RestoreTime": { - "type": "timestamp" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {} - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceToPointInTimeResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RevokeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "RevokeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "CustomerAwsId": {}, - "CustSubscriptionId": {}, - "SnsTopicArn": {}, - "Status": {}, - "SubscriptionCreationTime": {}, - "SourceType": {}, - "SourceIdsList": { - "shape": "S5" - }, - "EventCategoriesList": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S5": { - "type": "list", - "member": { - "locationName": "SourceId" - } - }, - "S6": { - "type": "list", - "member": { - "locationName": "EventCategory" - } - }, - "S9": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sd": { - "type": "structure", - "members": { - "OwnerId": {}, - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "VpcId": {}, - "EC2SecurityGroups": { - "type": "list", - "member": { - "locationName": "EC2SecurityGroup", - "type": "structure", - "members": { - "Status": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - } - }, - "IPRanges": { - "type": "list", - "member": { - "locationName": "IPRange", - "type": "structure", - "members": { - "Status": {}, - "CIDRIP": {} - } - } - } - }, - "wrapper": true - }, - "Sk": { - "type": "structure", - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {}, - "SnapshotCreateTime": { - "type": "timestamp" - }, - "Engine": {}, - "AllocatedStorage": { - "type": "integer" - }, - "Status": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "VpcId": {}, - "InstanceCreateTime": { - "type": "timestamp" - }, - "MasterUsername": {}, - "EngineVersion": {}, - "LicenseModel": {}, - "SnapshotType": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {} - }, - "wrapper": true - }, - "Sp": { - "type": "list", - "member": { - "locationName": "DBSecurityGroupName" - } - }, - "Sq": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupId" - } - }, - "St": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "Engine": {}, - "DBInstanceStatus": {}, - "MasterUsername": {}, - "DBName": {}, - "Endpoint": { - "type": "structure", - "members": { - "Address": {}, - "Port": { - "type": "integer" - } - } - }, - "AllocatedStorage": { - "type": "integer" - }, - "InstanceCreateTime": { - "type": "timestamp" - }, - "PreferredBackupWindow": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "DBSecurityGroups": { - "shape": "Sv" - }, - "VpcSecurityGroups": { - "shape": "Sx" - }, - "DBParameterGroups": { - "type": "list", - "member": { - "locationName": "DBParameterGroup", - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "ParameterApplyStatus": {} - } - } - }, - "AvailabilityZone": {}, - "DBSubnetGroup": { - "shape": "S11" - }, - "PreferredMaintenanceWindow": {}, - "PendingModifiedValues": { - "type": "structure", - "members": { - "DBInstanceClass": {}, - "AllocatedStorage": { - "type": "integer" - }, - "MasterUserPassword": {}, - "Port": { - "type": "integer" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "Iops": { - "type": "integer" - }, - "DBInstanceIdentifier": {} - } - }, - "LatestRestorableTime": { - "type": "timestamp" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "ReadReplicaSourceDBInstanceIdentifier": {}, - "ReadReplicaDBInstanceIdentifiers": { - "type": "list", - "member": { - "locationName": "ReadReplicaDBInstanceIdentifier" - } - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupMemberships": { - "type": "list", - "member": { - "locationName": "OptionGroupMembership", - "type": "structure", - "members": { - "OptionGroupName": {}, - "Status": {} - } - } - }, - "CharacterSetName": {}, - "SecondaryAvailabilityZone": {}, - "PubliclyAccessible": { - "type": "boolean" - } - }, - "wrapper": true - }, - "Sv": { - "type": "list", - "member": { - "locationName": "DBSecurityGroup", - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Status": {} - } - } - }, - "Sx": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupMembership", - "type": "structure", - "members": { - "VpcSecurityGroupId": {}, - "Status": {} - } - } - }, - "S11": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "VpcId": {}, - "SubnetGroupStatus": {}, - "Subnets": { - "type": "list", - "member": { - "locationName": "Subnet", - "type": "structure", - "members": { - "SubnetIdentifier": {}, - "SubnetAvailabilityZone": { - "shape": "S14" - }, - "SubnetStatus": {} - } - } - } - }, - "wrapper": true - }, - "S14": { - "type": "structure", - "members": { - "Name": {}, - "ProvisionedIopsCapable": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S1d": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {} - }, - "wrapper": true - }, - "S1j": { - "type": "list", - "member": { - "locationName": "SubnetIdentifier" - } - }, - "S1p": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "OptionGroupDescription": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "Options": { - "type": "list", - "member": { - "locationName": "Option", - "type": "structure", - "members": { - "OptionName": {}, - "OptionDescription": {}, - "Persistent": { - "type": "boolean" - }, - "Port": { - "type": "integer" - }, - "OptionSettings": { - "type": "list", - "member": { - "shape": "S1t", - "locationName": "OptionSetting" - } - }, - "DBSecurityGroupMemberships": { - "shape": "Sv" - }, - "VpcSecurityGroupMemberships": { - "shape": "Sx" - } - } - } - }, - "AllowsVpcAndNonVpcInstanceMemberships": { - "type": "boolean" - }, - "VpcId": {} - }, - "wrapper": true - }, - "S1t": { - "type": "structure", - "members": { - "Name": {}, - "Value": {}, - "DefaultValue": {}, - "Description": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "IsCollection": { - "type": "boolean" - } - } - }, - "S28": { - "type": "structure", - "members": { - "CharacterSetName": {}, - "CharacterSetDescription": {} - } - }, - "S2n": { - "type": "list", - "member": { - "locationName": "Parameter", - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterValue": {}, - "Description": {}, - "Source": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "MinimumEngineVersion": {}, - "ApplyMethod": {} - } - } - }, - "S3w": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "StartTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "DBInstanceCount": { - "type": "integer" - }, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "State": {}, - "RecurringCharges": { - "shape": "S3y" - } - }, - "wrapper": true - }, - "S3y": { - "type": "list", - "member": { - "locationName": "RecurringCharge", - "type": "structure", - "members": { - "RecurringChargeAmount": { - "type": "double" - }, - "RecurringChargeFrequency": {} - }, - "wrapper": true - } - }, - "S4b": { - "type": "structure", - "members": { - "DBParameterGroupName": {} - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/rds-2013-02-12.paginators.json b/node_modules/aws-sdk/apis/rds-2013-02-12.paginators.json deleted file mode 100644 index 662845c..0000000 --- a/node_modules/aws-sdk/apis/rds-2013-02-12.paginators.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "pagination": { - "DescribeDBEngineVersions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBEngineVersions" - }, - "DescribeDBInstances": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBInstances" - }, - "DescribeDBLogFiles": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DescribeDBLogFiles" - }, - "DescribeDBParameterGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBParameterGroups" - }, - "DescribeDBParameters": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Parameters" - }, - "DescribeDBSecurityGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBSecurityGroups" - }, - "DescribeDBSnapshots": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBSnapshots" - }, - "DescribeDBSubnetGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBSubnetGroups" - }, - "DescribeEngineDefaultParameters": { - "input_token": "Marker", - "output_token": "EngineDefaults.Marker", - "limit_key": "MaxRecords", - "result_key": "EngineDefaults.Parameters" - }, - "DescribeEventSubscriptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "EventSubscriptionsList" - }, - "DescribeEvents": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Events" - }, - "DescribeOptionGroupOptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OptionGroupOptions" - }, - "DescribeOptionGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OptionGroupsList" - }, - "DescribeOrderableDBInstanceOptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OrderableDBInstanceOptions" - }, - "DescribeReservedDBInstances": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedDBInstances" - }, - "DescribeReservedDBInstancesOfferings": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedDBInstancesOfferings" - }, - "DownloadDBLogFilePortion": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "NumberOfLines", - "more_results": "AdditionalDataPending", - "result_key": "LogFileData" - }, - "ListTagsForResource": { - "result_key": "TagList" - } - } -} diff --git a/node_modules/aws-sdk/apis/rds-2013-09-09.min.json b/node_modules/aws-sdk/apis/rds-2013-09-09.min.json deleted file mode 100644 index 69fec9a..0000000 --- a/node_modules/aws-sdk/apis/rds-2013-09-09.min.json +++ /dev/null @@ -1,2163 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2013-09-09", - "endpointPrefix": "rds", - "protocol": "query", - "serviceAbbreviation": "Amazon RDS", - "serviceFullName": "Amazon Relational Database Service", - "signatureVersion": "v4", - "xmlNamespace": "http://rds.amazonaws.com/doc/2013-09-09/" - }, - "operations": { - "AddSourceIdentifierToSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "AddSourceIdentifierToSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "Tags" - ], - "members": { - "ResourceName": {}, - "Tags": { - "shape": "S9" - } - } - } - }, - "AuthorizeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CopyDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceDBSnapshotIdentifier", - "TargetDBSnapshotIdentifier" - ], - "members": { - "SourceDBSnapshotIdentifier": {}, - "TargetDBSnapshotIdentifier": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CopyDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "CreateDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "AllocatedStorage", - "DBInstanceClass", - "Engine", - "MasterUsername", - "MasterUserPassword" - ], - "members": { - "DBName": {}, - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "Engine": {}, - "MasterUsername": {}, - "MasterUserPassword": {}, - "DBSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "PreferredMaintenanceWindow": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "Port": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "CharacterSetName": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "CreateDBInstanceReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "SourceDBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SourceDBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "AvailabilityZone": {}, - "Port": { - "type": "integer" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "Tags": { - "shape": "S9" - }, - "DBSubnetGroupName": {} - } - }, - "output": { - "resultWrapper": "CreateDBInstanceReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "CreateDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "DBParameterGroupFamily", - "Description" - ], - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBParameterGroupResult", - "type": "structure", - "members": { - "DBParameterGroup": { - "shape": "S1f" - } - } - } - }, - "CreateDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName", - "DBSecurityGroupDescription" - ], - "members": { - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBSecurityGroupResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CreateDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier", - "DBInstanceIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "CreateDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "DBSubnetGroupDescription", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1l" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S11" - } - } - } - }, - "CreateEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SnsTopicArn" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "SourceIds": { - "shape": "S5" - }, - "Enabled": { - "type": "boolean" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "CreateOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName", - "EngineName", - "MajorEngineVersion", - "OptionGroupDescription" - ], - "members": { - "OptionGroupName": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "OptionGroupDescription": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S1r" - } - } - } - }, - "DeleteDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SkipFinalSnapshot": { - "type": "boolean" - }, - "FinalDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "DeleteDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {} - } - } - }, - "DeleteDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {} - } - } - }, - "DeleteDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "DeleteDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName" - ], - "members": { - "DBSubnetGroupName": {} - } - } - }, - "DeleteEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {} - } - }, - "output": { - "resultWrapper": "DeleteEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "DeleteOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {} - } - } - }, - "DescribeDBEngineVersions": { - "input": { - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "DefaultOnly": { - "type": "boolean" - }, - "ListSupportedCharacterSets": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeDBEngineVersionsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBEngineVersions": { - "type": "list", - "member": { - "locationName": "DBEngineVersion", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "DBEngineDescription": {}, - "DBEngineVersionDescription": {}, - "DefaultCharacterSet": { - "shape": "S2d" - }, - "SupportedCharacterSets": { - "type": "list", - "member": { - "shape": "S2d", - "locationName": "CharacterSet" - } - } - } - } - } - } - } - }, - "DescribeDBInstances": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "DBInstances": { - "type": "list", - "member": { - "shape": "St", - "locationName": "DBInstance" - } - } - } - } - }, - "DescribeDBLogFiles": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "FilenameContains": {}, - "FileLastWritten": { - "type": "long" - }, - "FileSize": { - "type": "long" - }, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBLogFilesResult", - "type": "structure", - "members": { - "DescribeDBLogFiles": { - "type": "list", - "member": { - "locationName": "DescribeDBLogFilesDetails", - "type": "structure", - "members": { - "LogFileName": {}, - "LastWritten": { - "type": "long" - }, - "Size": { - "type": "long" - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeDBParameterGroups": { - "input": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParameterGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBParameterGroups": { - "type": "list", - "member": { - "shape": "S1f", - "locationName": "DBParameterGroup" - } - } - } - } - }, - "DescribeDBParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "Source": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParametersResult", - "type": "structure", - "members": { - "Parameters": { - "shape": "S2s" - }, - "Marker": {} - } - } - }, - "DescribeDBSecurityGroups": { - "input": { - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSecurityGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSecurityGroups": { - "type": "list", - "member": { - "shape": "Sd", - "locationName": "DBSecurityGroup" - } - } - } - } - }, - "DescribeDBSnapshots": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "SnapshotType": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSnapshotsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSnapshots": { - "type": "list", - "member": { - "shape": "Sk", - "locationName": "DBSnapshot" - } - } - } - } - }, - "DescribeDBSubnetGroups": { - "input": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSubnetGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSubnetGroups": { - "type": "list", - "member": { - "shape": "S11", - "locationName": "DBSubnetGroup" - } - } - } - } - }, - "DescribeEngineDefaultParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupFamily" - ], - "members": { - "DBParameterGroupFamily": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEngineDefaultParametersResult", - "type": "structure", - "members": { - "EngineDefaults": { - "type": "structure", - "members": { - "DBParameterGroupFamily": {}, - "Marker": {}, - "Parameters": { - "shape": "S2s" - } - }, - "wrapper": true - } - } - } - }, - "DescribeEventCategories": { - "input": { - "type": "structure", - "members": { - "SourceType": {}, - "Filters": { - "shape": "S27" - } - } - }, - "output": { - "resultWrapper": "DescribeEventCategoriesResult", - "type": "structure", - "members": { - "EventCategoriesMapList": { - "type": "list", - "member": { - "locationName": "EventCategoriesMap", - "type": "structure", - "members": { - "SourceType": {}, - "EventCategories": { - "shape": "S6" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeEventSubscriptions": { - "input": { - "type": "structure", - "members": { - "SubscriptionName": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventSubscriptionsResult", - "type": "structure", - "members": { - "Marker": {}, - "EventSubscriptionsList": { - "type": "list", - "member": { - "shape": "S4", - "locationName": "EventSubscription" - } - } - } - } - }, - "DescribeEvents": { - "input": { - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "EventCategories": { - "shape": "S6" - }, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventsResult", - "type": "structure", - "members": { - "Marker": {}, - "Events": { - "type": "list", - "member": { - "locationName": "Event", - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "Message": {}, - "EventCategories": { - "shape": "S6" - }, - "Date": { - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeOptionGroupOptions": { - "input": { - "type": "structure", - "required": [ - "EngineName" - ], - "members": { - "EngineName": {}, - "MajorEngineVersion": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupOptionsResult", - "type": "structure", - "members": { - "OptionGroupOptions": { - "type": "list", - "member": { - "locationName": "OptionGroupOption", - "type": "structure", - "members": { - "Name": {}, - "Description": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "MinimumRequiredMinorEngineVersion": {}, - "PortRequired": { - "type": "boolean" - }, - "DefaultPort": { - "type": "integer" - }, - "OptionsDependedOn": { - "type": "list", - "member": { - "locationName": "OptionName" - } - }, - "Persistent": { - "type": "boolean" - }, - "Permanent": { - "type": "boolean" - }, - "OptionGroupOptionSettings": { - "type": "list", - "member": { - "locationName": "OptionGroupOptionSetting", - "type": "structure", - "members": { - "SettingName": {}, - "SettingDescription": {}, - "DefaultValue": {}, - "ApplyType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - } - } - } - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeOptionGroups": { - "input": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "Filters": { - "shape": "S27" - }, - "Marker": {}, - "MaxRecords": { - "type": "integer" - }, - "EngineName": {}, - "MajorEngineVersion": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupsResult", - "type": "structure", - "members": { - "OptionGroupsList": { - "type": "list", - "member": { - "shape": "S1r", - "locationName": "OptionGroup" - } - }, - "Marker": {} - } - } - }, - "DescribeOrderableDBInstanceOptions": { - "input": { - "type": "structure", - "required": [ - "Engine" - ], - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "Vpc": { - "type": "boolean" - }, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOrderableDBInstanceOptionsResult", - "type": "structure", - "members": { - "OrderableDBInstanceOptions": { - "type": "list", - "member": { - "locationName": "OrderableDBInstanceOption", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "AvailabilityZones": { - "type": "list", - "member": { - "shape": "S14", - "locationName": "AvailabilityZone" - } - }, - "MultiAZCapable": { - "type": "boolean" - }, - "ReadReplicaCapable": { - "type": "boolean" - }, - "Vpc": { - "type": "boolean" - } - }, - "wrapper": true - } - }, - "Marker": {} - } - } - }, - "DescribeReservedDBInstances": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstances": { - "type": "list", - "member": { - "shape": "S41", - "locationName": "ReservedDBInstance" - } - } - } - } - }, - "DescribeReservedDBInstancesOfferings": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesOfferingsResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstancesOfferings": { - "type": "list", - "member": { - "locationName": "ReservedDBInstancesOffering", - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "RecurringCharges": { - "shape": "S43" - } - }, - "wrapper": true - } - } - } - } - }, - "DownloadDBLogFilePortion": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "LogFileName" - ], - "members": { - "DBInstanceIdentifier": {}, - "LogFileName": {}, - "Marker": {}, - "NumberOfLines": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DownloadDBLogFilePortionResult", - "type": "structure", - "members": { - "LogFileData": {}, - "Marker": {}, - "AdditionalDataPending": { - "type": "boolean" - } - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName" - ], - "members": { - "ResourceName": {}, - "Filters": { - "shape": "S27" - } - } - }, - "output": { - "resultWrapper": "ListTagsForResourceResult", - "type": "structure", - "members": { - "TagList": { - "shape": "S9" - } - } - } - }, - "ModifyDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "DBSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "ApplyImmediately": { - "type": "boolean" - }, - "MasterUserPassword": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "NewDBInstanceIdentifier": {} - } - }, - "output": { - "resultWrapper": "ModifyDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "ModifyDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "Parameters" - ], - "members": { - "DBParameterGroupName": {}, - "Parameters": { - "shape": "S2s" - } - } - }, - "output": { - "shape": "S4g", - "resultWrapper": "ModifyDBParameterGroupResult" - } - }, - "ModifyDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1l" - } - } - }, - "output": { - "resultWrapper": "ModifyDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S11" - } - } - } - }, - "ModifyEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "ModifyOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {}, - "OptionsToInclude": { - "type": "list", - "member": { - "locationName": "OptionConfiguration", - "type": "structure", - "required": [ - "OptionName" - ], - "members": { - "OptionName": {}, - "Port": { - "type": "integer" - }, - "DBSecurityGroupMemberships": { - "shape": "Sp" - }, - "VpcSecurityGroupMemberships": { - "shape": "Sq" - }, - "OptionSettings": { - "type": "list", - "member": { - "shape": "S1v", - "locationName": "OptionSetting" - } - } - } - } - }, - "OptionsToRemove": { - "type": "list", - "member": {} - }, - "ApplyImmediately": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S1r" - } - } - } - }, - "PromoteReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {} - } - }, - "output": { - "resultWrapper": "PromoteReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "PurchaseReservedDBInstancesOffering": { - "input": { - "type": "structure", - "required": [ - "ReservedDBInstancesOfferingId" - ], - "members": { - "ReservedDBInstancesOfferingId": {}, - "ReservedDBInstanceId": {}, - "DBInstanceCount": { - "type": "integer" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "PurchaseReservedDBInstancesOfferingResult", - "type": "structure", - "members": { - "ReservedDBInstance": { - "shape": "S41" - } - } - } - }, - "RebootDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "ForceFailover": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "RebootDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RemoveSourceIdentifierFromSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "TagKeys" - ], - "members": { - "ResourceName": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "ResetDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S2s" - } - } - }, - "output": { - "shape": "S4g", - "resultWrapper": "ResetDBParameterGroupResult" - } - }, - "RestoreDBInstanceFromDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "DBSnapshotIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RestoreDBInstanceToPointInTime": { - "input": { - "type": "structure", - "required": [ - "SourceDBInstanceIdentifier", - "TargetDBInstanceIdentifier" - ], - "members": { - "SourceDBInstanceIdentifier": {}, - "TargetDBInstanceIdentifier": {}, - "RestoreTime": { - "type": "timestamp" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceToPointInTimeResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RevokeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "RevokeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "CustomerAwsId": {}, - "CustSubscriptionId": {}, - "SnsTopicArn": {}, - "Status": {}, - "SubscriptionCreationTime": {}, - "SourceType": {}, - "SourceIdsList": { - "shape": "S5" - }, - "EventCategoriesList": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S5": { - "type": "list", - "member": { - "locationName": "SourceId" - } - }, - "S6": { - "type": "list", - "member": { - "locationName": "EventCategory" - } - }, - "S9": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sd": { - "type": "structure", - "members": { - "OwnerId": {}, - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "VpcId": {}, - "EC2SecurityGroups": { - "type": "list", - "member": { - "locationName": "EC2SecurityGroup", - "type": "structure", - "members": { - "Status": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - } - }, - "IPRanges": { - "type": "list", - "member": { - "locationName": "IPRange", - "type": "structure", - "members": { - "Status": {}, - "CIDRIP": {} - } - } - } - }, - "wrapper": true - }, - "Sk": { - "type": "structure", - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {}, - "SnapshotCreateTime": { - "type": "timestamp" - }, - "Engine": {}, - "AllocatedStorage": { - "type": "integer" - }, - "Status": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "VpcId": {}, - "InstanceCreateTime": { - "type": "timestamp" - }, - "MasterUsername": {}, - "EngineVersion": {}, - "LicenseModel": {}, - "SnapshotType": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "PercentProgress": { - "type": "integer" - }, - "SourceRegion": {} - }, - "wrapper": true - }, - "Sp": { - "type": "list", - "member": { - "locationName": "DBSecurityGroupName" - } - }, - "Sq": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupId" - } - }, - "St": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "Engine": {}, - "DBInstanceStatus": {}, - "MasterUsername": {}, - "DBName": {}, - "Endpoint": { - "type": "structure", - "members": { - "Address": {}, - "Port": { - "type": "integer" - } - } - }, - "AllocatedStorage": { - "type": "integer" - }, - "InstanceCreateTime": { - "type": "timestamp" - }, - "PreferredBackupWindow": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "DBSecurityGroups": { - "shape": "Sv" - }, - "VpcSecurityGroups": { - "shape": "Sx" - }, - "DBParameterGroups": { - "type": "list", - "member": { - "locationName": "DBParameterGroup", - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "ParameterApplyStatus": {} - } - } - }, - "AvailabilityZone": {}, - "DBSubnetGroup": { - "shape": "S11" - }, - "PreferredMaintenanceWindow": {}, - "PendingModifiedValues": { - "type": "structure", - "members": { - "DBInstanceClass": {}, - "AllocatedStorage": { - "type": "integer" - }, - "MasterUserPassword": {}, - "Port": { - "type": "integer" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "Iops": { - "type": "integer" - }, - "DBInstanceIdentifier": {} - } - }, - "LatestRestorableTime": { - "type": "timestamp" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "ReadReplicaSourceDBInstanceIdentifier": {}, - "ReadReplicaDBInstanceIdentifiers": { - "type": "list", - "member": { - "locationName": "ReadReplicaDBInstanceIdentifier" - } - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupMemberships": { - "type": "list", - "member": { - "locationName": "OptionGroupMembership", - "type": "structure", - "members": { - "OptionGroupName": {}, - "Status": {} - } - } - }, - "CharacterSetName": {}, - "SecondaryAvailabilityZone": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "StatusInfos": { - "type": "list", - "member": { - "locationName": "DBInstanceStatusInfo", - "type": "structure", - "members": { - "StatusType": {}, - "Normal": { - "type": "boolean" - }, - "Status": {}, - "Message": {} - } - } - } - }, - "wrapper": true - }, - "Sv": { - "type": "list", - "member": { - "locationName": "DBSecurityGroup", - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Status": {} - } - } - }, - "Sx": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupMembership", - "type": "structure", - "members": { - "VpcSecurityGroupId": {}, - "Status": {} - } - } - }, - "S11": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "VpcId": {}, - "SubnetGroupStatus": {}, - "Subnets": { - "type": "list", - "member": { - "locationName": "Subnet", - "type": "structure", - "members": { - "SubnetIdentifier": {}, - "SubnetAvailabilityZone": { - "shape": "S14" - }, - "SubnetStatus": {} - } - } - } - }, - "wrapper": true - }, - "S14": { - "type": "structure", - "members": { - "Name": {}, - "ProvisionedIopsCapable": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S1f": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {} - }, - "wrapper": true - }, - "S1l": { - "type": "list", - "member": { - "locationName": "SubnetIdentifier" - } - }, - "S1r": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "OptionGroupDescription": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "Options": { - "type": "list", - "member": { - "locationName": "Option", - "type": "structure", - "members": { - "OptionName": {}, - "OptionDescription": {}, - "Persistent": { - "type": "boolean" - }, - "Permanent": { - "type": "boolean" - }, - "Port": { - "type": "integer" - }, - "OptionSettings": { - "type": "list", - "member": { - "shape": "S1v", - "locationName": "OptionSetting" - } - }, - "DBSecurityGroupMemberships": { - "shape": "Sv" - }, - "VpcSecurityGroupMemberships": { - "shape": "Sx" - } - } - } - }, - "AllowsVpcAndNonVpcInstanceMemberships": { - "type": "boolean" - }, - "VpcId": {} - }, - "wrapper": true - }, - "S1v": { - "type": "structure", - "members": { - "Name": {}, - "Value": {}, - "DefaultValue": {}, - "Description": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "IsCollection": { - "type": "boolean" - } - } - }, - "S27": { - "type": "list", - "member": { - "locationName": "Filter", - "type": "structure", - "required": [ - "Name", - "Values" - ], - "members": { - "Name": {}, - "Values": { - "type": "list", - "member": { - "locationName": "Value" - } - } - } - } - }, - "S2d": { - "type": "structure", - "members": { - "CharacterSetName": {}, - "CharacterSetDescription": {} - } - }, - "S2s": { - "type": "list", - "member": { - "locationName": "Parameter", - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterValue": {}, - "Description": {}, - "Source": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "MinimumEngineVersion": {}, - "ApplyMethod": {} - } - } - }, - "S41": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "StartTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "DBInstanceCount": { - "type": "integer" - }, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "State": {}, - "RecurringCharges": { - "shape": "S43" - } - }, - "wrapper": true - }, - "S43": { - "type": "list", - "member": { - "locationName": "RecurringCharge", - "type": "structure", - "members": { - "RecurringChargeAmount": { - "type": "double" - }, - "RecurringChargeFrequency": {} - }, - "wrapper": true - } - }, - "S4g": { - "type": "structure", - "members": { - "DBParameterGroupName": {} - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/rds-2013-09-09.paginators.json b/node_modules/aws-sdk/apis/rds-2013-09-09.paginators.json deleted file mode 100644 index 662845c..0000000 --- a/node_modules/aws-sdk/apis/rds-2013-09-09.paginators.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "pagination": { - "DescribeDBEngineVersions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBEngineVersions" - }, - "DescribeDBInstances": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBInstances" - }, - "DescribeDBLogFiles": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DescribeDBLogFiles" - }, - "DescribeDBParameterGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBParameterGroups" - }, - "DescribeDBParameters": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Parameters" - }, - "DescribeDBSecurityGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBSecurityGroups" - }, - "DescribeDBSnapshots": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBSnapshots" - }, - "DescribeDBSubnetGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBSubnetGroups" - }, - "DescribeEngineDefaultParameters": { - "input_token": "Marker", - "output_token": "EngineDefaults.Marker", - "limit_key": "MaxRecords", - "result_key": "EngineDefaults.Parameters" - }, - "DescribeEventSubscriptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "EventSubscriptionsList" - }, - "DescribeEvents": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Events" - }, - "DescribeOptionGroupOptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OptionGroupOptions" - }, - "DescribeOptionGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OptionGroupsList" - }, - "DescribeOrderableDBInstanceOptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OrderableDBInstanceOptions" - }, - "DescribeReservedDBInstances": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedDBInstances" - }, - "DescribeReservedDBInstancesOfferings": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedDBInstancesOfferings" - }, - "DownloadDBLogFilePortion": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "NumberOfLines", - "more_results": "AdditionalDataPending", - "result_key": "LogFileData" - }, - "ListTagsForResource": { - "result_key": "TagList" - } - } -} diff --git a/node_modules/aws-sdk/apis/rds-2013-09-09.waiters2.json b/node_modules/aws-sdk/apis/rds-2013-09-09.waiters2.json deleted file mode 100644 index b015007..0000000 --- a/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/node_modules/aws-sdk/apis/rds-2014-10-31.min.json b/node_modules/aws-sdk/apis/rds-2014-10-31.min.json deleted file mode 100644 index da91c93..0000000 --- a/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +++ /dev/null @@ -1,3508 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2014-10-31", - "endpointPrefix": "rds", - "protocol": "query", - "serviceAbbreviation": "Amazon RDS", - "serviceFullName": "Amazon Relational Database Service", - "signatureVersion": "v4", - "xmlNamespace": "http://rds.amazonaws.com/doc/2014-10-31/" - }, - "operations": { - "AddSourceIdentifierToSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "AddSourceIdentifierToSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "Tags" - ], - "members": { - "ResourceName": {}, - "Tags": { - "shape": "S9" - } - } - } - }, - "ApplyPendingMaintenanceAction": { - "input": { - "type": "structure", - "required": [ - "ResourceIdentifier", - "ApplyAction", - "OptInType" - ], - "members": { - "ResourceIdentifier": {}, - "ApplyAction": {}, - "OptInType": {} - } - }, - "output": { - "resultWrapper": "ApplyPendingMaintenanceActionResult", - "type": "structure", - "members": { - "ResourcePendingMaintenanceActions": { - "shape": "Sd" - } - } - } - }, - "AuthorizeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sj" - } - } - } - }, - "CopyDBClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "SourceDBClusterParameterGroupIdentifier", - "TargetDBClusterParameterGroupIdentifier", - "TargetDBClusterParameterGroupDescription" - ], - "members": { - "SourceDBClusterParameterGroupIdentifier": {}, - "TargetDBClusterParameterGroupIdentifier": {}, - "TargetDBClusterParameterGroupDescription": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CopyDBClusterParameterGroupResult", - "type": "structure", - "members": { - "DBClusterParameterGroup": { - "shape": "Sq" - } - } - } - }, - "CopyDBClusterSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceDBClusterSnapshotIdentifier", - "TargetDBClusterSnapshotIdentifier" - ], - "members": { - "SourceDBClusterSnapshotIdentifier": {}, - "TargetDBClusterSnapshotIdentifier": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CopyDBClusterSnapshotResult", - "type": "structure", - "members": { - "DBClusterSnapshot": { - "shape": "St" - } - } - } - }, - "CopyDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "SourceDBParameterGroupIdentifier", - "TargetDBParameterGroupIdentifier", - "TargetDBParameterGroupDescription" - ], - "members": { - "SourceDBParameterGroupIdentifier": {}, - "TargetDBParameterGroupIdentifier": {}, - "TargetDBParameterGroupDescription": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CopyDBParameterGroupResult", - "type": "structure", - "members": { - "DBParameterGroup": { - "shape": "Sy" - } - } - } - }, - "CopyDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceDBSnapshotIdentifier", - "TargetDBSnapshotIdentifier" - ], - "members": { - "SourceDBSnapshotIdentifier": {}, - "TargetDBSnapshotIdentifier": {}, - "KmsKeyId": {}, - "Tags": { - "shape": "S9" - }, - "CopyTags": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CopyDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "S12" - } - } - } - }, - "CopyOptionGroup": { - "input": { - "type": "structure", - "required": [ - "SourceOptionGroupIdentifier", - "TargetOptionGroupIdentifier", - "TargetOptionGroupDescription" - ], - "members": { - "SourceOptionGroupIdentifier": {}, - "TargetOptionGroupIdentifier": {}, - "TargetOptionGroupDescription": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CopyOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S16" - } - } - } - }, - "CreateDBCluster": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier", - "Engine" - ], - "members": { - "AvailabilityZones": { - "shape": "Su" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "CharacterSetName": {}, - "DatabaseName": {}, - "DBClusterIdentifier": {}, - "DBClusterParameterGroupName": {}, - "VpcSecurityGroupIds": { - "shape": "S1g" - }, - "DBSubnetGroupName": {}, - "Engine": {}, - "EngineVersion": {}, - "Port": { - "type": "integer" - }, - "MasterUsername": {}, - "MasterUserPassword": {}, - "OptionGroupName": {}, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "ReplicationSourceIdentifier": {}, - "Tags": { - "shape": "S9" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "KmsKeyId": {} - } - }, - "output": { - "resultWrapper": "CreateDBClusterResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1i" - } - } - } - }, - "CreateDBClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBClusterParameterGroupName", - "DBParameterGroupFamily", - "Description" - ], - "members": { - "DBClusterParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBClusterParameterGroupResult", - "type": "structure", - "members": { - "DBClusterParameterGroup": { - "shape": "Sq" - } - } - } - }, - "CreateDBClusterSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBClusterSnapshotIdentifier", - "DBClusterIdentifier" - ], - "members": { - "DBClusterSnapshotIdentifier": {}, - "DBClusterIdentifier": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBClusterSnapshotResult", - "type": "structure", - "members": { - "DBClusterSnapshot": { - "shape": "St" - } - } - } - }, - "CreateDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "DBInstanceClass", - "Engine" - ], - "members": { - "DBName": {}, - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "Engine": {}, - "MasterUsername": {}, - "MasterUserPassword": {}, - "DBSecurityGroups": { - "shape": "S1t" - }, - "VpcSecurityGroupIds": { - "shape": "S1g" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "PreferredMaintenanceWindow": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "Port": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "CharacterSetName": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "Tags": { - "shape": "S9" - }, - "DBClusterIdentifier": {}, - "StorageType": {}, - "TdeCredentialArn": {}, - "TdeCredentialPassword": {}, - "StorageEncrypted": { - "type": "boolean" - }, - "KmsKeyId": {}, - "Domain": {}, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": {}, - "DomainIAMRoleName": {}, - "PromotionTier": { - "type": "integer" - }, - "Timezone": {} - } - }, - "output": { - "resultWrapper": "CreateDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1v" - } - } - } - }, - "CreateDBInstanceReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "SourceDBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SourceDBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "AvailabilityZone": {}, - "Port": { - "type": "integer" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "Tags": { - "shape": "S9" - }, - "DBSubnetGroupName": {}, - "StorageType": {}, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": {} - } - }, - "output": { - "resultWrapper": "CreateDBInstanceReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1v" - } - } - } - }, - "CreateDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "DBParameterGroupFamily", - "Description" - ], - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBParameterGroupResult", - "type": "structure", - "members": { - "DBParameterGroup": { - "shape": "Sy" - } - } - } - }, - "CreateDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName", - "DBSecurityGroupDescription" - ], - "members": { - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBSecurityGroupResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sj" - } - } - } - }, - "CreateDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier", - "DBInstanceIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "S12" - } - } - } - }, - "CreateDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "DBSubnetGroupDescription", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S2k" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S1z" - } - } - } - }, - "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": "S16" - } - } - } - }, - "DeleteDBCluster": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier" - ], - "members": { - "DBClusterIdentifier": {}, - "SkipFinalSnapshot": { - "type": "boolean" - }, - "FinalDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBClusterResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1i" - } - } - } - }, - "DeleteDBClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBClusterParameterGroupName" - ], - "members": { - "DBClusterParameterGroupName": {} - } - } - }, - "DeleteDBClusterSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBClusterSnapshotIdentifier" - ], - "members": { - "DBClusterSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBClusterSnapshotResult", - "type": "structure", - "members": { - "DBClusterSnapshot": { - "shape": "St" - } - } - } - }, - "DeleteDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SkipFinalSnapshot": { - "type": "boolean" - }, - "FinalDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1v" - } - } - } - }, - "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": "S12" - } - } - } - }, - "DeleteDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName" - ], - "members": { - "DBSubnetGroupName": {} - } - } - }, - "DeleteEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {} - } - }, - "output": { - "resultWrapper": "DeleteEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "DeleteOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {} - } - } - }, - "DescribeAccountAttributes": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "resultWrapper": "DescribeAccountAttributesResult", - "type": "structure", - "members": { - "AccountQuotas": { - "type": "list", - "member": { - "locationName": "AccountQuota", - "type": "structure", - "members": { - "AccountQuotaName": {}, - "Used": { - "type": "long" - }, - "Max": { - "type": "long" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeCertificates": { - "input": { - "type": "structure", - "members": { - "CertificateIdentifier": {}, - "Filters": { - "shape": "S3b" - }, - "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": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBClusterParameterGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBClusterParameterGroups": { - "type": "list", - "member": { - "shape": "Sq", - "locationName": "DBClusterParameterGroup" - } - } - } - } - }, - "DescribeDBClusterParameters": { - "input": { - "type": "structure", - "required": [ - "DBClusterParameterGroupName" - ], - "members": { - "DBClusterParameterGroupName": {}, - "Source": {}, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBClusterParametersResult", - "type": "structure", - "members": { - "Parameters": { - "shape": "S3m" - }, - "Marker": {} - } - } - }, - "DescribeDBClusterSnapshotAttributes": { - "input": { - "type": "structure", - "required": [ - "DBClusterSnapshotIdentifier" - ], - "members": { - "DBClusterSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DescribeDBClusterSnapshotAttributesResult", - "type": "structure", - "members": { - "DBClusterSnapshotAttributesResult": { - "shape": "S3r" - } - } - } - }, - "DescribeDBClusterSnapshots": { - "input": { - "type": "structure", - "members": { - "DBClusterIdentifier": {}, - "DBClusterSnapshotIdentifier": {}, - "SnapshotType": {}, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "IncludeShared": { - "type": "boolean" - }, - "IncludePublic": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeDBClusterSnapshotsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBClusterSnapshots": { - "type": "list", - "member": { - "shape": "St", - "locationName": "DBClusterSnapshot" - } - } - } - } - }, - "DescribeDBClusters": { - "input": { - "type": "structure", - "members": { - "DBClusterIdentifier": {}, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBClustersResult", - "type": "structure", - "members": { - "Marker": {}, - "DBClusters": { - "type": "list", - "member": { - "shape": "S1i", - "locationName": "DBCluster" - } - } - } - } - }, - "DescribeDBEngineVersions": { - "input": { - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "Filters": { - "shape": "S3b" - }, - "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": "S45" - }, - "SupportedCharacterSets": { - "type": "list", - "member": { - "shape": "S45", - "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": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "DBInstances": { - "type": "list", - "member": { - "shape": "S1v", - "locationName": "DBInstance" - } - } - } - } - }, - "DescribeDBLogFiles": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "FilenameContains": {}, - "FileLastWritten": { - "type": "long" - }, - "FileSize": { - "type": "long" - }, - "Filters": { - "shape": "S3b" - }, - "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": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParameterGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBParameterGroups": { - "type": "list", - "member": { - "shape": "Sy", - "locationName": "DBParameterGroup" - } - } - } - } - }, - "DescribeDBParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "Source": {}, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParametersResult", - "type": "structure", - "members": { - "Parameters": { - "shape": "S3m" - }, - "Marker": {} - } - } - }, - "DescribeDBSecurityGroups": { - "input": { - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSecurityGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSecurityGroups": { - "type": "list", - "member": { - "shape": "Sj", - "locationName": "DBSecurityGroup" - } - } - } - } - }, - "DescribeDBSnapshotAttributes": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSnapshotAttributesResult", - "type": "structure", - "members": { - "DBSnapshotAttributesResult": { - "shape": "S4s" - } - } - } - }, - "DescribeDBSnapshots": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "SnapshotType": {}, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "IncludeShared": { - "type": "boolean" - }, - "IncludePublic": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeDBSnapshotsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSnapshots": { - "type": "list", - "member": { - "shape": "S12", - "locationName": "DBSnapshot" - } - } - } - } - }, - "DescribeDBSubnetGroups": { - "input": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSubnetGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSubnetGroups": { - "type": "list", - "member": { - "shape": "S1z", - "locationName": "DBSubnetGroup" - } - } - } - } - }, - "DescribeEngineDefaultClusterParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupFamily" - ], - "members": { - "DBParameterGroupFamily": {}, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEngineDefaultClusterParametersResult", - "type": "structure", - "members": { - "EngineDefaults": { - "shape": "S53" - } - } - } - }, - "DescribeEngineDefaultParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupFamily" - ], - "members": { - "DBParameterGroupFamily": {}, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEngineDefaultParametersResult", - "type": "structure", - "members": { - "EngineDefaults": { - "shape": "S53" - } - } - } - }, - "DescribeEventCategories": { - "input": { - "type": "structure", - "members": { - "SourceType": {}, - "Filters": { - "shape": "S3b" - } - } - }, - "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": "S3b" - }, - "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": "S3b" - }, - "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" - }, - "SourceArn": {} - } - } - } - } - } - }, - "DescribeOptionGroupOptions": { - "input": { - "type": "structure", - "required": [ - "EngineName" - ], - "members": { - "EngineName": {}, - "MajorEngineVersion": {}, - "Filters": { - "shape": "S3b" - }, - "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": "S3b" - }, - "Marker": {}, - "MaxRecords": { - "type": "integer" - }, - "EngineName": {}, - "MajorEngineVersion": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupsResult", - "type": "structure", - "members": { - "OptionGroupsList": { - "type": "list", - "member": { - "shape": "S16", - "locationName": "OptionGroup" - } - }, - "Marker": {} - } - } - }, - "DescribeOrderableDBInstanceOptions": { - "input": { - "type": "structure", - "required": [ - "Engine" - ], - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "Vpc": { - "type": "boolean" - }, - "Filters": { - "shape": "S3b" - }, - "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": "S22", - "locationName": "AvailabilityZone" - } - }, - "MultiAZCapable": { - "type": "boolean" - }, - "ReadReplicaCapable": { - "type": "boolean" - }, - "Vpc": { - "type": "boolean" - }, - "SupportsStorageEncryption": { - "type": "boolean" - }, - "StorageType": {}, - "SupportsIops": { - "type": "boolean" - }, - "SupportsEnhancedMonitoring": { - "type": "boolean" - } - }, - "wrapper": true - } - }, - "Marker": {} - } - } - }, - "DescribePendingMaintenanceActions": { - "input": { - "type": "structure", - "members": { - "ResourceIdentifier": {}, - "Filters": { - "shape": "S3b" - }, - "Marker": {}, - "MaxRecords": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribePendingMaintenanceActionsResult", - "type": "structure", - "members": { - "PendingMaintenanceActions": { - "type": "list", - "member": { - "shape": "Sd", - "locationName": "ResourcePendingMaintenanceActions" - } - }, - "Marker": {} - } - } - }, - "DescribeReservedDBInstances": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstances": { - "type": "list", - "member": { - "shape": "S66", - "locationName": "ReservedDBInstance" - } - } - } - } - }, - "DescribeReservedDBInstancesOfferings": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "Filters": { - "shape": "S3b" - }, - "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": "S68" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeSourceRegions": { - "input": { - "type": "structure", - "members": { - "RegionName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "Filters": { - "shape": "S3b" - } - } - }, - "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": "S1i" - } - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName" - ], - "members": { - "ResourceName": {}, - "Filters": { - "shape": "S3b" - } - } - }, - "output": { - "resultWrapper": "ListTagsForResourceResult", - "type": "structure", - "members": { - "TagList": { - "shape": "S9" - } - } - } - }, - "ModifyDBCluster": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier" - ], - "members": { - "DBClusterIdentifier": {}, - "NewDBClusterIdentifier": {}, - "ApplyImmediately": { - "type": "boolean" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "DBClusterParameterGroupName": {}, - "VpcSecurityGroupIds": { - "shape": "S1g" - }, - "Port": { - "type": "integer" - }, - "MasterUserPassword": {}, - "OptionGroupName": {}, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {} - } - }, - "output": { - "resultWrapper": "ModifyDBClusterResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1i" - } - } - } - }, - "ModifyDBClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBClusterParameterGroupName", - "Parameters" - ], - "members": { - "DBClusterParameterGroupName": {}, - "Parameters": { - "shape": "S3m" - } - } - }, - "output": { - "shape": "S6r", - "resultWrapper": "ModifyDBClusterParameterGroupResult" - } - }, - "ModifyDBClusterSnapshotAttribute": { - "input": { - "type": "structure", - "required": [ - "DBClusterSnapshotIdentifier", - "AttributeName" - ], - "members": { - "DBClusterSnapshotIdentifier": {}, - "AttributeName": {}, - "ValuesToAdd": { - "shape": "S3u" - }, - "ValuesToRemove": { - "shape": "S3u" - } - } - }, - "output": { - "resultWrapper": "ModifyDBClusterSnapshotAttributeResult", - "type": "structure", - "members": { - "DBClusterSnapshotAttributesResult": { - "shape": "S3r" - } - } - } - }, - "ModifyDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "DBSubnetGroupName": {}, - "DBSecurityGroups": { - "shape": "S1t" - }, - "VpcSecurityGroupIds": { - "shape": "S1g" - }, - "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" - } - } - }, - "output": { - "resultWrapper": "ModifyDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1v" - } - } - } - }, - "ModifyDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "Parameters" - ], - "members": { - "DBParameterGroupName": {}, - "Parameters": { - "shape": "S3m" - } - } - }, - "output": { - "shape": "S6x", - "resultWrapper": "ModifyDBParameterGroupResult" - } - }, - "ModifyDBSnapshotAttribute": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier", - "AttributeName" - ], - "members": { - "DBSnapshotIdentifier": {}, - "AttributeName": {}, - "ValuesToAdd": { - "shape": "S3u" - }, - "ValuesToRemove": { - "shape": "S3u" - } - } - }, - "output": { - "resultWrapper": "ModifyDBSnapshotAttributeResult", - "type": "structure", - "members": { - "DBSnapshotAttributesResult": { - "shape": "S4s" - } - } - } - }, - "ModifyDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S2k" - } - } - }, - "output": { - "resultWrapper": "ModifyDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S1z" - } - } - } - }, - "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" - }, - "OptionVersion": {}, - "DBSecurityGroupMemberships": { - "shape": "S1t" - }, - "VpcSecurityGroupMemberships": { - "shape": "S1g" - }, - "OptionSettings": { - "type": "list", - "member": { - "shape": "S1a", - "locationName": "OptionSetting" - } - } - } - } - }, - "OptionsToRemove": { - "type": "list", - "member": {} - }, - "ApplyImmediately": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S16" - } - } - } - }, - "PromoteReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {} - } - }, - "output": { - "resultWrapper": "PromoteReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1v" - } - } - } - }, - "PromoteReadReplicaDBCluster": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier" - ], - "members": { - "DBClusterIdentifier": {} - } - }, - "output": { - "resultWrapper": "PromoteReadReplicaDBClusterResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1i" - } - } - } - }, - "PurchaseReservedDBInstancesOffering": { - "input": { - "type": "structure", - "required": [ - "ReservedDBInstancesOfferingId" - ], - "members": { - "ReservedDBInstancesOfferingId": {}, - "ReservedDBInstanceId": {}, - "DBInstanceCount": { - "type": "integer" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "PurchaseReservedDBInstancesOfferingResult", - "type": "structure", - "members": { - "ReservedDBInstance": { - "shape": "S66" - } - } - } - }, - "RebootDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "ForceFailover": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "RebootDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1v" - } - } - } - }, - "RemoveSourceIdentifierFromSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "TagKeys" - ], - "members": { - "ResourceName": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "ResetDBClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBClusterParameterGroupName" - ], - "members": { - "DBClusterParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S3m" - } - } - }, - "output": { - "shape": "S6r", - "resultWrapper": "ResetDBClusterParameterGroupResult" - } - }, - "ResetDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S3m" - } - } - }, - "output": { - "shape": "S6x", - "resultWrapper": "ResetDBParameterGroupResult" - } - }, - "RestoreDBClusterFromS3": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier", - "Engine", - "MasterUsername", - "MasterUserPassword", - "SourceEngine", - "SourceEngineVersion", - "S3BucketName", - "S3IngestionRoleArn" - ], - "members": { - "AvailabilityZones": { - "shape": "Su" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "CharacterSetName": {}, - "DatabaseName": {}, - "DBClusterIdentifier": {}, - "DBClusterParameterGroupName": {}, - "VpcSecurityGroupIds": { - "shape": "S1g" - }, - "DBSubnetGroupName": {}, - "Engine": {}, - "EngineVersion": {}, - "Port": { - "type": "integer" - }, - "MasterUsername": {}, - "MasterUserPassword": {}, - "OptionGroupName": {}, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "Tags": { - "shape": "S9" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "KmsKeyId": {}, - "SourceEngine": {}, - "SourceEngineVersion": {}, - "S3BucketName": {}, - "S3Prefix": {}, - "S3IngestionRoleArn": {} - } - }, - "output": { - "resultWrapper": "RestoreDBClusterFromS3Result", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1i" - } - } - } - }, - "RestoreDBClusterFromSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier", - "SnapshotIdentifier", - "Engine" - ], - "members": { - "AvailabilityZones": { - "shape": "Su" - }, - "DBClusterIdentifier": {}, - "SnapshotIdentifier": {}, - "Engine": {}, - "EngineVersion": {}, - "Port": { - "type": "integer" - }, - "DBSubnetGroupName": {}, - "DatabaseName": {}, - "OptionGroupName": {}, - "VpcSecurityGroupIds": { - "shape": "S1g" - }, - "Tags": { - "shape": "S9" - }, - "KmsKeyId": {} - } - }, - "output": { - "resultWrapper": "RestoreDBClusterFromSnapshotResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1i" - } - } - } - }, - "RestoreDBClusterToPointInTime": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier", - "SourceDBClusterIdentifier" - ], - "members": { - "DBClusterIdentifier": {}, - "SourceDBClusterIdentifier": {}, - "RestoreToTime": { - "type": "timestamp" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "Port": { - "type": "integer" - }, - "DBSubnetGroupName": {}, - "OptionGroupName": {}, - "VpcSecurityGroupIds": { - "shape": "S1g" - }, - "Tags": { - "shape": "S9" - }, - "KmsKeyId": {} - } - }, - "output": { - "resultWrapper": "RestoreDBClusterToPointInTimeResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1i" - } - } - } - }, - "RestoreDBInstanceFromDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "DBSnapshotIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "Tags": { - "shape": "S9" - }, - "StorageType": {}, - "TdeCredentialArn": {}, - "TdeCredentialPassword": {}, - "Domain": {}, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DomainIAMRoleName": {} - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1v" - } - } - } - }, - "RestoreDBInstanceToPointInTime": { - "input": { - "type": "structure", - "required": [ - "SourceDBInstanceIdentifier", - "TargetDBInstanceIdentifier" - ], - "members": { - "SourceDBInstanceIdentifier": {}, - "TargetDBInstanceIdentifier": {}, - "RestoreTime": { - "type": "timestamp" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "Tags": { - "shape": "S9" - }, - "StorageType": {}, - "TdeCredentialArn": {}, - "TdeCredentialPassword": {}, - "Domain": {}, - "DomainIAMRoleName": {} - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceToPointInTimeResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1v" - } - } - } - }, - "RevokeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "RevokeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sj" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "CustomerAwsId": {}, - "CustSubscriptionId": {}, - "SnsTopicArn": {}, - "Status": {}, - "SubscriptionCreationTime": {}, - "SourceType": {}, - "SourceIdsList": { - "shape": "S5" - }, - "EventCategoriesList": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - }, - "EventSubscriptionArn": {} - }, - "wrapper": true - }, - "S5": { - "type": "list", - "member": { - "locationName": "SourceId" - } - }, - "S6": { - "type": "list", - "member": { - "locationName": "EventCategory" - } - }, - "S9": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sd": { - "type": "structure", - "members": { - "ResourceIdentifier": {}, - "PendingMaintenanceActionDetails": { - "type": "list", - "member": { - "locationName": "PendingMaintenanceAction", - "type": "structure", - "members": { - "Action": {}, - "AutoAppliedAfterDate": { - "type": "timestamp" - }, - "ForcedApplyDate": { - "type": "timestamp" - }, - "OptInStatus": {}, - "CurrentApplyDate": { - "type": "timestamp" - }, - "Description": {} - } - } - } - }, - "wrapper": true - }, - "Sj": { - "type": "structure", - "members": { - "OwnerId": {}, - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "VpcId": {}, - "EC2SecurityGroups": { - "type": "list", - "member": { - "locationName": "EC2SecurityGroup", - "type": "structure", - "members": { - "Status": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - } - }, - "IPRanges": { - "type": "list", - "member": { - "locationName": "IPRange", - "type": "structure", - "members": { - "Status": {}, - "CIDRIP": {} - } - } - }, - "DBSecurityGroupArn": {} - }, - "wrapper": true - }, - "Sq": { - "type": "structure", - "members": { - "DBClusterParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {}, - "DBClusterParameterGroupArn": {} - }, - "wrapper": true - }, - "St": { - "type": "structure", - "members": { - "AvailabilityZones": { - "shape": "Su" - }, - "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": {} - }, - "wrapper": true - }, - "Su": { - "type": "list", - "member": { - "locationName": "AvailabilityZone" - } - }, - "Sy": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {}, - "DBParameterGroupArn": {} - }, - "wrapper": true - }, - "S12": { - "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": {} - }, - "wrapper": true - }, - "S16": { - "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": "S1a", - "locationName": "OptionSetting" - } - }, - "DBSecurityGroupMemberships": { - "shape": "S1b" - }, - "VpcSecurityGroupMemberships": { - "shape": "S1d" - } - } - } - }, - "AllowsVpcAndNonVpcInstanceMemberships": { - "type": "boolean" - }, - "VpcId": {}, - "OptionGroupArn": {} - }, - "wrapper": true - }, - "S1a": { - "type": "structure", - "members": { - "Name": {}, - "Value": {}, - "DefaultValue": {}, - "Description": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "IsCollection": { - "type": "boolean" - } - } - }, - "S1b": { - "type": "list", - "member": { - "locationName": "DBSecurityGroup", - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Status": {} - } - } - }, - "S1d": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupMembership", - "type": "structure", - "members": { - "VpcSecurityGroupId": {}, - "Status": {} - } - } - }, - "S1g": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupId" - } - }, - "S1i": { - "type": "structure", - "members": { - "AllocatedStorage": { - "type": "integer" - }, - "AvailabilityZones": { - "shape": "Su" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "CharacterSetName": {}, - "DatabaseName": {}, - "DBClusterIdentifier": {}, - "DBClusterParameterGroup": {}, - "DBSubnetGroup": {}, - "Status": {}, - "PercentProgress": {}, - "EarliestRestorableTime": { - "type": "timestamp" - }, - "Endpoint": {}, - "ReaderEndpoint": {}, - "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": "S1d" - }, - "HostedZoneId": {}, - "StorageEncrypted": { - "type": "boolean" - }, - "KmsKeyId": {}, - "DbClusterResourceId": {}, - "DBClusterArn": {} - }, - "wrapper": true - }, - "S1t": { - "type": "list", - "member": { - "locationName": "DBSecurityGroupName" - } - }, - "S1v": { - "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": "S1b" - }, - "VpcSecurityGroups": { - "shape": "S1d" - }, - "DBParameterGroups": { - "type": "list", - "member": { - "locationName": "DBParameterGroup", - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "ParameterApplyStatus": {} - } - } - }, - "AvailabilityZone": {}, - "DBSubnetGroup": { - "shape": "S1z" - }, - "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" - } - }, - "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": {} - }, - "wrapper": true - }, - "S1z": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "VpcId": {}, - "SubnetGroupStatus": {}, - "Subnets": { - "type": "list", - "member": { - "locationName": "Subnet", - "type": "structure", - "members": { - "SubnetIdentifier": {}, - "SubnetAvailabilityZone": { - "shape": "S22" - }, - "SubnetStatus": {} - } - } - }, - "DBSubnetGroupArn": {} - }, - "wrapper": true - }, - "S22": { - "type": "structure", - "members": { - "Name": {} - }, - "wrapper": true - }, - "S2k": { - "type": "list", - "member": { - "locationName": "SubnetIdentifier" - } - }, - "S3b": { - "type": "list", - "member": { - "locationName": "Filter", - "type": "structure", - "required": [ - "Name", - "Values" - ], - "members": { - "Name": {}, - "Values": { - "type": "list", - "member": { - "locationName": "Value" - } - } - } - } - }, - "S3m": { - "type": "list", - "member": { - "locationName": "Parameter", - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterValue": {}, - "Description": {}, - "Source": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "MinimumEngineVersion": {}, - "ApplyMethod": {} - } - } - }, - "S3r": { - "type": "structure", - "members": { - "DBClusterSnapshotIdentifier": {}, - "DBClusterSnapshotAttributes": { - "type": "list", - "member": { - "locationName": "DBClusterSnapshotAttribute", - "type": "structure", - "members": { - "AttributeName": {}, - "AttributeValues": { - "shape": "S3u" - } - } - } - } - }, - "wrapper": true - }, - "S3u": { - "type": "list", - "member": { - "locationName": "AttributeValue" - } - }, - "S45": { - "type": "structure", - "members": { - "CharacterSetName": {}, - "CharacterSetDescription": {} - } - }, - "S4s": { - "type": "structure", - "members": { - "DBSnapshotIdentifier": {}, - "DBSnapshotAttributes": { - "type": "list", - "member": { - "locationName": "DBSnapshotAttribute", - "type": "structure", - "members": { - "AttributeName": {}, - "AttributeValues": { - "shape": "S3u" - } - }, - "wrapper": true - } - } - }, - "wrapper": true - }, - "S53": { - "type": "structure", - "members": { - "DBParameterGroupFamily": {}, - "Marker": {}, - "Parameters": { - "shape": "S3m" - } - }, - "wrapper": true - }, - "S66": { - "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": "S68" - }, - "ReservedDBInstanceArn": {} - }, - "wrapper": true - }, - "S68": { - "type": "list", - "member": { - "locationName": "RecurringCharge", - "type": "structure", - "members": { - "RecurringChargeAmount": { - "type": "double" - }, - "RecurringChargeFrequency": {} - }, - "wrapper": true - } - }, - "S6r": { - "type": "structure", - "members": { - "DBClusterParameterGroupName": {} - } - }, - "S6x": { - "type": "structure", - "members": { - "DBParameterGroupName": {} - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json b/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json deleted file mode 100644 index 662845c..0000000 --- a/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "pagination": { - "DescribeDBEngineVersions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBEngineVersions" - }, - "DescribeDBInstances": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBInstances" - }, - "DescribeDBLogFiles": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DescribeDBLogFiles" - }, - "DescribeDBParameterGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBParameterGroups" - }, - "DescribeDBParameters": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Parameters" - }, - "DescribeDBSecurityGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBSecurityGroups" - }, - "DescribeDBSnapshots": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBSnapshots" - }, - "DescribeDBSubnetGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBSubnetGroups" - }, - "DescribeEngineDefaultParameters": { - "input_token": "Marker", - "output_token": "EngineDefaults.Marker", - "limit_key": "MaxRecords", - "result_key": "EngineDefaults.Parameters" - }, - "DescribeEventSubscriptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "EventSubscriptionsList" - }, - "DescribeEvents": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Events" - }, - "DescribeOptionGroupOptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OptionGroupOptions" - }, - "DescribeOptionGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OptionGroupsList" - }, - "DescribeOrderableDBInstanceOptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OrderableDBInstanceOptions" - }, - "DescribeReservedDBInstances": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedDBInstances" - }, - "DescribeReservedDBInstancesOfferings": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedDBInstancesOfferings" - }, - "DownloadDBLogFilePortion": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "NumberOfLines", - "more_results": "AdditionalDataPending", - "result_key": "LogFileData" - }, - "ListTagsForResource": { - "result_key": "TagList" - } - } -} diff --git a/node_modules/aws-sdk/apis/rds-2014-10-31.waiters2.json b/node_modules/aws-sdk/apis/rds-2014-10-31.waiters2.json deleted file mode 100644 index e75f03b..0000000 --- a/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/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json b/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json deleted file mode 100644 index c4b5123..0000000 --- a/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +++ /dev/null @@ -1,2306 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2012-12-01", - "endpointPrefix": "redshift", - "protocol": "query", - "serviceFullName": "Amazon Redshift", - "signatureVersion": "v4", - "xmlNamespace": "http://redshift.amazonaws.com/doc/2012-12-01/" - }, - "operations": { - "AuthorizeClusterSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "ClusterSecurityGroupName" - ], - "members": { - "ClusterSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeClusterSecurityGroupIngressResult", - "type": "structure", - "members": { - "ClusterSecurityGroup": { - "shape": "S4" - } - } - } - }, - "AuthorizeSnapshotAccess": { - "input": { - "type": "structure", - "required": [ - "SnapshotIdentifier", - "AccountWithRestoreAccess" - ], - "members": { - "SnapshotIdentifier": {}, - "SnapshotClusterIdentifier": {}, - "AccountWithRestoreAccess": {} - } - }, - "output": { - "resultWrapper": "AuthorizeSnapshotAccessResult", - "type": "structure", - "members": { - "Snapshot": { - "shape": "Sd" - } - } - } - }, - "CopyClusterSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceSnapshotIdentifier", - "TargetSnapshotIdentifier" - ], - "members": { - "SourceSnapshotIdentifier": {}, - "SourceSnapshotClusterIdentifier": {}, - "TargetSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "CopyClusterSnapshotResult", - "type": "structure", - "members": { - "Snapshot": { - "shape": "Sd" - } - } - } - }, - "CreateCluster": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier", - "NodeType", - "MasterUsername", - "MasterUserPassword" - ], - "members": { - "DBName": {}, - "ClusterIdentifier": {}, - "ClusterType": {}, - "NodeType": {}, - "MasterUsername": {}, - "MasterUserPassword": {}, - "ClusterSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "ClusterSubnetGroupName": {}, - "AvailabilityZone": {}, - "PreferredMaintenanceWindow": {}, - "ClusterParameterGroupName": {}, - "AutomatedSnapshotRetentionPeriod": { - "type": "integer" - }, - "Port": { - "type": "integer" - }, - "ClusterVersion": {}, - "AllowVersionUpgrade": { - "type": "boolean" - }, - "NumberOfNodes": { - "type": "integer" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "HsmClientCertificateIdentifier": {}, - "HsmConfigurationIdentifier": {}, - "ElasticIp": {}, - "Tags": { - "shape": "S7" - }, - "KmsKeyId": {}, - "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" - } - } - } - }, - "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": "S57", - "resultWrapper": "ModifyClusterParameterGroupResult" - } - }, - "ModifyClusterSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "ClusterSubnetGroupName", - "SubnetIds" - ], - "members": { - "ClusterSubnetGroupName": {}, - "Description": {}, - "SubnetIds": { - "shape": "S1m" - } - } - }, - "output": { - "resultWrapper": "ModifyClusterSubnetGroupResult", - "type": "structure", - "members": { - "ClusterSubnetGroup": { - "shape": "S1o" - } - } - } - }, - "ModifyEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "SourceIds": { - "shape": "S1t" - }, - "EventCategories": { - "shape": "S1u" - }, - "Severity": {}, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S1w" - } - } - } - }, - "ModifySnapshotCopyRetentionPeriod": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier", - "RetentionPeriod" - ], - "members": { - "ClusterIdentifier": {}, - "RetentionPeriod": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ModifySnapshotCopyRetentionPeriodResult", - "type": "structure", - "members": { - "Cluster": { - "shape": "Sv" - } - } - } - }, - "PurchaseReservedNodeOffering": { - "input": { - "type": "structure", - "required": [ - "ReservedNodeOfferingId" - ], - "members": { - "ReservedNodeOfferingId": {}, - "NodeCount": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "PurchaseReservedNodeOfferingResult", - "type": "structure", - "members": { - "ReservedNode": { - "shape": "S4c" - } - } - } - }, - "RebootCluster": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier" - ], - "members": { - "ClusterIdentifier": {} - } - }, - "output": { - "resultWrapper": "RebootClusterResult", - "type": "structure", - "members": { - "Cluster": { - "shape": "Sv" - } - } - } - }, - "ResetClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "ParameterGroupName" - ], - "members": { - "ParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S2q" - } - } - }, - "output": { - "shape": "S57", - "resultWrapper": "ResetClusterParameterGroupResult" - } - }, - "RestoreFromClusterSnapshot": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier", - "SnapshotIdentifier" - ], - "members": { - "ClusterIdentifier": {}, - "SnapshotIdentifier": {}, - "SnapshotClusterIdentifier": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "AllowVersionUpgrade": { - "type": "boolean" - }, - "ClusterSubnetGroupName": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "OwnerAccount": {}, - "HsmClientCertificateIdentifier": {}, - "HsmConfigurationIdentifier": {}, - "ElasticIp": {}, - "ClusterParameterGroupName": {}, - "ClusterSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "PreferredMaintenanceWindow": {}, - "AutomatedSnapshotRetentionPeriod": { - "type": "integer" - }, - "KmsKeyId": {}, - "NodeType": {}, - "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": {} - } - } - }, - "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 - }, - "S57": { - "type": "structure", - "members": { - "ParameterGroupName": {}, - "ParameterGroupStatus": {} - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/redshift-2012-12-01.paginators.json b/node_modules/aws-sdk/apis/redshift-2012-12-01.paginators.json deleted file mode 100644 index 03027de..0000000 --- a/node_modules/aws-sdk/apis/redshift-2012-12-01.paginators.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "pagination": { - "DescribeClusterParameterGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ParameterGroups" - }, - "DescribeClusterParameters": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Parameters" - }, - "DescribeClusterSecurityGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ClusterSecurityGroups" - }, - "DescribeClusterSnapshots": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Snapshots" - }, - "DescribeClusterSubnetGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ClusterSubnetGroups" - }, - "DescribeClusterVersions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ClusterVersions" - }, - "DescribeClusters": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Clusters" - }, - "DescribeDefaultClusterParameters": { - "input_token": "Marker", - "output_token": "DefaultClusterParameters.Marker", - "limit_key": "MaxRecords", - "result_key": "DefaultClusterParameters.Parameters" - }, - "DescribeEventSubscriptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "EventSubscriptionsList" - }, - "DescribeEvents": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Events" - }, - "DescribeHsmClientCertificates": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "HsmClientCertificates" - }, - "DescribeHsmConfigurations": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "HsmConfigurations" - }, - "DescribeOrderableClusterOptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OrderableClusterOptions" - }, - "DescribeReservedNodeOfferings": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedNodeOfferings" - }, - "DescribeReservedNodes": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedNodes" - } - } -} diff --git a/node_modules/aws-sdk/apis/redshift-2012-12-01.waiters2.json b/node_modules/aws-sdk/apis/redshift-2012-12-01.waiters2.json deleted file mode 100644 index 164e9b0..0000000 --- a/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/node_modules/aws-sdk/apis/route53-2013-04-01.min.json b/node_modules/aws-sdk/apis/route53-2013-04-01.min.json deleted file mode 100644 index 790c031..0000000 --- a/node_modules/aws-sdk/apis/route53-2013-04-01.min.json +++ /dev/null @@ -1,2370 +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" - }, - "operations": { - "AssociateVPCWithHostedZone": { - "http": { - "requestUri": "/2013-04-01/hostedzone/{Id}/associatevpc" - }, - "input": { - "locationName": "AssociateVPCWithHostedZoneRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "HostedZoneId", - "VPC" - ], - "members": { - "HostedZoneId": { - "location": "uri", - "locationName": "Id" - }, - "VPC": { - "shape": "S3" - }, - "Comment": {} - } - }, - "output": { - "type": "structure", - "required": [ - "ChangeInfo" - ], - "members": { - "ChangeInfo": { - "shape": "S8" - } - } - } - }, - "ChangeResourceRecordSets": { - "http": { - "requestUri": "/2013-04-01/hostedzone/{Id}/rrset/" - }, - "input": { - "locationName": "ChangeResourceRecordSetsRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "HostedZoneId", - "ChangeBatch" - ], - "members": { - "HostedZoneId": { - "location": "uri", - "locationName": "Id" - }, - "ChangeBatch": { - "type": "structure", - "required": [ - "Changes" - ], - "members": { - "Comment": {}, - "Changes": { - "shape": "Se" - } - } - } - } - }, - "output": { - "type": "structure", - "required": [ - "ChangeInfo" - ], - "members": { - "ChangeInfo": { - "shape": "S8" - } - } - } - }, - "ChangeTagsForResource": { - "http": { - "requestUri": "/2013-04-01/tags/{ResourceType}/{ResourceId}" - }, - "input": { - "locationName": "ChangeTagsForResourceRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "ResourceType", - "ResourceId" - ], - "members": { - "ResourceType": { - "location": "uri", - "locationName": "ResourceType" - }, - "ResourceId": { - "location": "uri", - "locationName": "ResourceId" - }, - "AddTags": { - "shape": "S14" - }, - "RemoveTagKeys": { - "type": "list", - "member": { - "locationName": "Key" - } - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateHealthCheck": { - "http": { - "requestUri": "/2013-04-01/healthcheck", - "responseCode": 201 - }, - "input": { - "locationName": "CreateHealthCheckRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "CallerReference", - "HealthCheckConfig" - ], - "members": { - "CallerReference": {}, - "HealthCheckConfig": { - "shape": "S1c" - } - } - }, - "output": { - "type": "structure", - "required": [ - "HealthCheck", - "Location" - ], - "members": { - "HealthCheck": { - "shape": "S1x" - }, - "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": "S2d" - }, - "DelegationSetId": {} - } - }, - "output": { - "type": "structure", - "required": [ - "HostedZone", - "ChangeInfo", - "DelegationSet", - "Location" - ], - "members": { - "HostedZone": { - "shape": "S2g" - }, - "ChangeInfo": { - "shape": "S8" - }, - "DelegationSet": { - "shape": "S2i" - }, - "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": "S2i" - }, - "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": "S2r" - }, - "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": "S2w" - }, - "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": "S2r" - }, - "Location": { - "location": "header", - "locationName": "Location" - } - } - } - }, - "DeleteHealthCheck": { - "http": { - "method": "DELETE", - "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}" - }, - "input": { - "type": "structure", - "required": [ - "HealthCheckId" - ], - "members": { - "HealthCheckId": { - "location": "uri", - "locationName": "HealthCheckId" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteHostedZone": { - "http": { - "method": "DELETE", - "requestUri": "/2013-04-01/hostedzone/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "required": [ - "ChangeInfo" - ], - "members": { - "ChangeInfo": { - "shape": "S8" - } - } - } - }, - "DeleteReusableDelegationSet": { - "http": { - "method": "DELETE", - "requestUri": "/2013-04-01/delegationset/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteTrafficPolicy": { - "http": { - "method": "DELETE", - "requestUri": "/2013-04-01/trafficpolicy/{Id}/{Version}" - }, - "input": { - "type": "structure", - "required": [ - "Id", - "Version" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "Version": { - "location": "uri", - "locationName": "Version", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteTrafficPolicyInstance": { - "http": { - "method": "DELETE", - "requestUri": "/2013-04-01/trafficpolicyinstance/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DisassociateVPCFromHostedZone": { - "http": { - "requestUri": "/2013-04-01/hostedzone/{Id}/disassociatevpc" - }, - "input": { - "locationName": "DisassociateVPCFromHostedZoneRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "HostedZoneId", - "VPC" - ], - "members": { - "HostedZoneId": { - "location": "uri", - "locationName": "Id" - }, - "VPC": { - "shape": "S3" - }, - "Comment": {} - } - }, - "output": { - "type": "structure", - "required": [ - "ChangeInfo" - ], - "members": { - "ChangeInfo": { - "shape": "S8" - } - } - } - }, - "GetChange": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/change/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "required": [ - "ChangeInfo" - ], - "members": { - "ChangeInfo": { - "shape": "S8" - } - } - } - }, - "GetChangeDetails": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/changedetails/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - }, - "deprecated": true - }, - "output": { - "type": "structure", - "required": [ - "ChangeBatchRecord" - ], - "members": { - "ChangeBatchRecord": { - "shape": "S3i" - } - }, - "deprecated": true - }, - "deprecated": true - }, - "GetCheckerIpRanges": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/checkeripranges" - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "required": [ - "CheckerIpRanges" - ], - "members": { - "CheckerIpRanges": { - "type": "list", - "member": {} - } - } - } - }, - "GetGeoLocation": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/geolocation" - }, - "input": { - "type": "structure", - "members": { - "ContinentCode": { - "location": "querystring", - "locationName": "continentcode" - }, - "CountryCode": { - "location": "querystring", - "locationName": "countrycode" - }, - "SubdivisionCode": { - "location": "querystring", - "locationName": "subdivisioncode" - } - } - }, - "output": { - "type": "structure", - "required": [ - "GeoLocationDetails" - ], - "members": { - "GeoLocationDetails": { - "shape": "S3q" - } - } - } - }, - "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": "S1x" - } - } - } - }, - "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": "S41" - } - } - } - }, - "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": "S41" - } - } - } - }, - "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": "S2g" - }, - "DelegationSet": { - "shape": "S2i" - }, - "VPCs": { - "type": "list", - "member": { - "shape": "S3", - "locationName": "VPC" - } - } - } - } - }, - "GetHostedZoneCount": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/hostedzonecount" - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "required": [ - "HostedZoneCount" - ], - "members": { - "HostedZoneCount": { - "type": "long" - } - } - } - }, - "GetReusableDelegationSet": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/delegationset/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "required": [ - "DelegationSet" - ], - "members": { - "DelegationSet": { - "shape": "S2i" - } - } - } - }, - "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": "S2r" - } - } - } - }, - "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": "S2w" - } - } - } - }, - "GetTrafficPolicyInstanceCount": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/trafficpolicyinstancecount" - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "required": [ - "TrafficPolicyInstanceCount" - ], - "members": { - "TrafficPolicyInstanceCount": { - "type": "integer" - } - } - } - }, - "ListChangeBatchesByHostedZone": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/hostedzone/{Id}/changes" - }, - "input": { - "type": "structure", - "required": [ - "HostedZoneId", - "StartDate", - "EndDate" - ], - "members": { - "HostedZoneId": { - "location": "uri", - "locationName": "Id" - }, - "StartDate": { - "shape": "S4n", - "location": "querystring", - "locationName": "startDate" - }, - "EndDate": { - "shape": "S4n", - "location": "querystring", - "locationName": "endDate" - }, - "MaxItems": { - "location": "querystring", - "locationName": "maxItems" - }, - "Marker": { - "location": "querystring", - "locationName": "marker" - } - }, - "deprecated": true - }, - "output": { - "type": "structure", - "required": [ - "MaxItems", - "Marker", - "ChangeBatchRecords" - ], - "members": { - "MaxItems": {}, - "Marker": {}, - "IsTruncated": { - "type": "boolean" - }, - "ChangeBatchRecords": { - "shape": "S4s" - }, - "NextMarker": {} - }, - "deprecated": true - }, - "deprecated": true - }, - "ListChangeBatchesByRRSet": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/hostedzone/{Id}/rrsChanges" - }, - "input": { - "type": "structure", - "required": [ - "HostedZoneId", - "Name", - "Type", - "StartDate", - "EndDate" - ], - "members": { - "HostedZoneId": { - "location": "uri", - "locationName": "Id" - }, - "Name": { - "location": "querystring", - "locationName": "rrSet_name" - }, - "Type": { - "location": "querystring", - "locationName": "type" - }, - "SetIdentifier": { - "location": "querystring", - "locationName": "identifier" - }, - "StartDate": { - "shape": "S4n", - "location": "querystring", - "locationName": "startDate" - }, - "EndDate": { - "shape": "S4n", - "location": "querystring", - "locationName": "endDate" - }, - "MaxItems": { - "location": "querystring", - "locationName": "maxItems" - }, - "Marker": { - "location": "querystring", - "locationName": "marker" - } - }, - "deprecated": true - }, - "output": { - "type": "structure", - "required": [ - "MaxItems", - "Marker", - "ChangeBatchRecords" - ], - "members": { - "MaxItems": {}, - "Marker": {}, - "IsTruncated": { - "type": "boolean" - }, - "ChangeBatchRecords": { - "shape": "S4s" - }, - "NextMarker": {} - }, - "deprecated": true - }, - "deprecated": true - }, - "ListGeoLocations": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/geolocations" - }, - "input": { - "type": "structure", - "members": { - "StartContinentCode": { - "location": "querystring", - "locationName": "startcontinentcode" - }, - "StartCountryCode": { - "location": "querystring", - "locationName": "startcountrycode" - }, - "StartSubdivisionCode": { - "location": "querystring", - "locationName": "startsubdivisioncode" - }, - "MaxItems": { - "location": "querystring", - "locationName": "maxitems" - } - } - }, - "output": { - "type": "structure", - "required": [ - "GeoLocationDetailsList", - "IsTruncated", - "MaxItems" - ], - "members": { - "GeoLocationDetailsList": { - "type": "list", - "member": { - "shape": "S3q", - "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": "S1x", - "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": "S53" - }, - "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": "S53" - }, - "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": "S2i", - "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": "S5e" - } - } - } - }, - "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": "S5e", - "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": "S5p" - }, - "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": "S5p" - }, - "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": "S5p" - }, - "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": "S2r", - "locationName": "TrafficPolicy" - } - }, - "IsTruncated": { - "type": "boolean" - }, - "TrafficPolicyVersionMarker": {}, - "MaxItems": {} - } - } - }, - "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": "S1o" - }, - "EnableSNI": { - "type": "boolean" - }, - "Regions": { - "shape": "S1q" - }, - "AlarmIdentifier": { - "shape": "S1s" - }, - "InsufficientDataHealthStatus": {} - } - }, - "output": { - "type": "structure", - "required": [ - "HealthCheck" - ], - "members": { - "HealthCheck": { - "shape": "S1x" - } - } - } - }, - "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": "S2g" - } - } - } - }, - "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": "S2r" - } - } - } - }, - "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": "S2w" - } - } - } - } - }, - "shapes": { - "S3": { - "type": "structure", - "members": { - "VPCRegion": {}, - "VPCId": {} - } - }, - "S8": { - "type": "structure", - "required": [ - "Id", - "Status", - "SubmittedAt" - ], - "members": { - "Id": {}, - "Status": {}, - "SubmittedAt": { - "type": "timestamp" - }, - "Comment": {} - } - }, - "Se": { - "type": "list", - "member": { - "locationName": "Change", - "type": "structure", - "required": [ - "Action", - "ResourceRecordSet" - ], - "members": { - "Action": {}, - "ResourceRecordSet": { - "shape": "Sh" - } - } - } - }, - "Sh": { - "type": "structure", - "required": [ - "Name", - "Type" - ], - "members": { - "Name": {}, - "Type": {}, - "SetIdentifier": {}, - "Weight": { - "type": "long" - }, - "Region": {}, - "GeoLocation": { - "type": "structure", - "members": { - "ContinentCode": {}, - "CountryCode": {}, - "SubdivisionCode": {} - } - }, - "Failover": {}, - "TTL": { - "type": "long" - }, - "ResourceRecords": { - "type": "list", - "member": { - "locationName": "ResourceRecord", - "type": "structure", - "required": [ - "Value" - ], - "members": { - "Value": {} - } - } - }, - "AliasTarget": { - "type": "structure", - "required": [ - "HostedZoneId", - "DNSName", - "EvaluateTargetHealth" - ], - "members": { - "HostedZoneId": {}, - "DNSName": {}, - "EvaluateTargetHealth": { - "type": "boolean" - } - } - }, - "HealthCheckId": {}, - "TrafficPolicyInstanceId": {} - } - }, - "S14": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S1c": { - "type": "structure", - "required": [ - "Type" - ], - "members": { - "IPAddress": {}, - "Port": { - "type": "integer" - }, - "Type": {}, - "ResourcePath": {}, - "FullyQualifiedDomainName": {}, - "SearchString": {}, - "RequestInterval": { - "type": "integer" - }, - "FailureThreshold": { - "type": "integer" - }, - "MeasureLatency": { - "type": "boolean" - }, - "Inverted": { - "type": "boolean" - }, - "HealthThreshold": { - "type": "integer" - }, - "ChildHealthChecks": { - "shape": "S1o" - }, - "EnableSNI": { - "type": "boolean" - }, - "Regions": { - "shape": "S1q" - }, - "AlarmIdentifier": { - "shape": "S1s" - }, - "InsufficientDataHealthStatus": {} - } - }, - "S1o": { - "type": "list", - "member": { - "locationName": "ChildHealthCheck" - } - }, - "S1q": { - "type": "list", - "member": { - "locationName": "Region" - } - }, - "S1s": { - "type": "structure", - "required": [ - "Region", - "Name" - ], - "members": { - "Region": {}, - "Name": {} - } - }, - "S1x": { - "type": "structure", - "required": [ - "Id", - "CallerReference", - "HealthCheckConfig", - "HealthCheckVersion" - ], - "members": { - "Id": {}, - "CallerReference": {}, - "HealthCheckConfig": { - "shape": "S1c" - }, - "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": {} - } - } - } - } - } - } - }, - "S2d": { - "type": "structure", - "members": { - "Comment": {}, - "PrivateZone": { - "type": "boolean" - } - } - }, - "S2g": { - "type": "structure", - "required": [ - "Id", - "Name", - "CallerReference" - ], - "members": { - "Id": {}, - "Name": {}, - "CallerReference": {}, - "Config": { - "shape": "S2d" - }, - "ResourceRecordSetCount": { - "type": "long" - } - } - }, - "S2i": { - "type": "structure", - "required": [ - "NameServers" - ], - "members": { - "Id": {}, - "CallerReference": {}, - "NameServers": { - "type": "list", - "member": { - "locationName": "NameServer" - } - } - } - }, - "S2r": { - "type": "structure", - "required": [ - "Id", - "Version", - "Name", - "Type", - "Document" - ], - "members": { - "Id": {}, - "Version": { - "type": "integer" - }, - "Name": {}, - "Type": {}, - "Document": {}, - "Comment": {} - } - }, - "S2w": { - "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": {} - } - }, - "S3i": { - "type": "structure", - "required": [ - "Id", - "Status" - ], - "members": { - "Id": {}, - "SubmittedAt": { - "type": "timestamp" - }, - "Status": {}, - "Comment": {}, - "Submitter": {}, - "Changes": { - "shape": "Se" - } - }, - "deprecated": true - }, - "S3q": { - "type": "structure", - "members": { - "ContinentCode": {}, - "ContinentName": {}, - "CountryCode": {}, - "CountryName": {}, - "SubdivisionCode": {}, - "SubdivisionName": {} - } - }, - "S41": { - "type": "list", - "member": { - "locationName": "HealthCheckObservation", - "type": "structure", - "members": { - "Region": {}, - "IPAddress": {}, - "StatusReport": { - "type": "structure", - "members": { - "Status": {}, - "CheckedTime": { - "type": "timestamp" - } - } - } - } - } - }, - "S4n": { - "type": "string", - "deprecated": true - }, - "S4s": { - "type": "list", - "member": { - "shape": "S3i", - "locationName": "ChangeBatchRecord" - }, - "deprecated": true - }, - "S53": { - "type": "list", - "member": { - "shape": "S2g", - "locationName": "HostedZone" - } - }, - "S5e": { - "type": "structure", - "members": { - "ResourceType": {}, - "ResourceId": {}, - "Tags": { - "shape": "S14" - } - } - }, - "S5p": { - "type": "list", - "member": { - "shape": "S2w", - "locationName": "TrafficPolicyInstance" - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/route53-2013-04-01.paginators.json b/node_modules/aws-sdk/apis/route53-2013-04-01.paginators.json deleted file mode 100644 index d472f47..0000000 --- a/node_modules/aws-sdk/apis/route53-2013-04-01.paginators.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "pagination": { - "ListHealthChecks": { - "input_token": "Marker", - "output_token": "NextMarker", - "more_results": "IsTruncated", - "limit_key": "MaxItems", - "result_key": "HealthChecks" - }, - "ListHostedZones": { - "input_token": "Marker", - "output_token": "NextMarker", - "more_results": "IsTruncated", - "limit_key": "MaxItems", - "result_key": "HostedZones" - }, - "ListResourceRecordSets": { - "more_results": "IsTruncated", - "limit_key": "MaxItems", - "result_key": "ResourceRecordSets", - "input_token": [ - "StartRecordName", - "StartRecordType", - "StartRecordIdentifier" - ], - "output_token": [ - "NextRecordName", - "NextRecordType", - "NextRecordIdentifier" - ] - } - } -} diff --git a/node_modules/aws-sdk/apis/route53-2013-04-01.waiters2.json b/node_modules/aws-sdk/apis/route53-2013-04-01.waiters2.json deleted file mode 100644 index 94aad39..0000000 --- a/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/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json b/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json deleted file mode 100644 index 65e3a5f..0000000 --- a/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json +++ /dev/null @@ -1,747 +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" - }, - "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/node_modules/aws-sdk/apis/route53domains-2014-05-15.paginators.json b/node_modules/aws-sdk/apis/route53domains-2014-05-15.paginators.json deleted file mode 100644 index 8d1a73a..0000000 --- a/node_modules/aws-sdk/apis/route53domains-2014-05-15.paginators.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "version": "1.0", - "pagination": { - "ListDomains": { - "limit_key": "MaxItems", - "input_token": "Marker", - "output_token": "NextPageMarker", - "result_key": "Domains" - }, - "ListOperations": { - "limit_key": "MaxItems", - "input_token": "Marker", - "output_token": "NextPageMarker", - "result_key": "Operations" - } - } -} diff --git a/node_modules/aws-sdk/apis/s3-2006-03-01.min.json b/node_modules/aws-sdk/apis/s3-2006-03-01.min.json deleted file mode 100644 index ede334d..0000000 --- a/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +++ /dev/null @@ -1,3787 +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" - }, - "operations": { - "AbortMultipartUpload": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key", - "UploadId" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "UploadId": { - "location": "querystring", - "locationName": "uploadId" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "CompleteMultipartUpload": { - "http": { - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key", - "UploadId" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "MultipartUpload": { - "locationName": "CompleteMultipartUpload", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "members": { - "Parts": { - "locationName": "Part", - "type": "list", - "member": { - "type": "structure", - "members": { - "ETag": {}, - "PartNumber": { - "type": "integer" - } - } - }, - "flattened": true - } - } - }, - "UploadId": { - "location": "querystring", - "locationName": "uploadId" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - }, - "payload": "MultipartUpload" - }, - "output": { - "type": "structure", - "members": { - "Location": {}, - "Bucket": {}, - "Key": {}, - "Expiration": { - "location": "header", - "locationName": "x-amz-expiration" - }, - "ETag": {}, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "VersionId": { - "location": "header", - "locationName": "x-amz-version-id" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "CopyObject": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "CopySource", - "Key" - ], - "members": { - "ACL": { - "location": "header", - "locationName": "x-amz-acl" - }, - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "CacheControl": { - "location": "header", - "locationName": "Cache-Control" - }, - "ContentDisposition": { - "location": "header", - "locationName": "Content-Disposition" - }, - "ContentEncoding": { - "location": "header", - "locationName": "Content-Encoding" - }, - "ContentLanguage": { - "location": "header", - "locationName": "Content-Language" - }, - "ContentType": { - "location": "header", - "locationName": "Content-Type" - }, - "CopySource": { - "location": "header", - "locationName": "x-amz-copy-source" - }, - "CopySourceIfMatch": { - "location": "header", - "locationName": "x-amz-copy-source-if-match" - }, - "CopySourceIfModifiedSince": { - "location": "header", - "locationName": "x-amz-copy-source-if-modified-since", - "type": "timestamp" - }, - "CopySourceIfNoneMatch": { - "location": "header", - "locationName": "x-amz-copy-source-if-none-match" - }, - "CopySourceIfUnmodifiedSince": { - "location": "header", - "locationName": "x-amz-copy-source-if-unmodified-since", - "type": "timestamp" - }, - "Expires": { - "location": "header", - "locationName": "Expires", - "type": "timestamp" - }, - "GrantFullControl": { - "location": "header", - "locationName": "x-amz-grant-full-control" - }, - "GrantRead": { - "location": "header", - "locationName": "x-amz-grant-read" - }, - "GrantReadACP": { - "location": "header", - "locationName": "x-amz-grant-read-acp" - }, - "GrantWriteACP": { - "location": "header", - "locationName": "x-amz-grant-write-acp" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "Metadata": { - "shape": "S11", - "location": "headers", - "locationName": "x-amz-meta-" - }, - "MetadataDirective": { - "location": "header", - "locationName": "x-amz-metadata-directive" - }, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "StorageClass": { - "location": "header", - "locationName": "x-amz-storage-class" - }, - "WebsiteRedirectLocation": { - "location": "header", - "locationName": "x-amz-website-redirect-location" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKey": { - "shape": "S18", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "CopySourceSSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-copy-source-server-side-encryption-customer-algorithm" - }, - "CopySourceSSECustomerKey": { - "shape": "S1b", - "location": "header", - "locationName": "x-amz-copy-source-server-side-encryption-customer-key" - }, - "CopySourceSSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-copy-source-server-side-encryption-customer-key-MD5" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "CopyObjectResult": { - "type": "structure", - "members": { - "ETag": {}, - "LastModified": { - "type": "timestamp" - } - } - }, - "Expiration": { - "location": "header", - "locationName": "x-amz-expiration" - }, - "CopySourceVersionId": { - "location": "header", - "locationName": "x-amz-copy-source-version-id" - }, - "VersionId": { - "location": "header", - "locationName": "x-amz-version-id" - }, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - }, - "payload": "CopyObjectResult" - }, - "alias": "PutObjectCopy" - }, - "CreateBucket": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "ACL": { - "location": "header", - "locationName": "x-amz-acl" - }, - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "CreateBucketConfiguration": { - "locationName": "CreateBucketConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "members": { - "LocationConstraint": {} - } - }, - "GrantFullControl": { - "location": "header", - "locationName": "x-amz-grant-full-control" - }, - "GrantRead": { - "location": "header", - "locationName": "x-amz-grant-read" - }, - "GrantReadACP": { - "location": "header", - "locationName": "x-amz-grant-read-acp" - }, - "GrantWrite": { - "location": "header", - "locationName": "x-amz-grant-write" - }, - "GrantWriteACP": { - "location": "header", - "locationName": "x-amz-grant-write-acp" - } - }, - "payload": "CreateBucketConfiguration" - }, - "output": { - "type": "structure", - "members": { - "Location": { - "location": "header", - "locationName": "Location" - } - } - }, - "alias": "PutBucket" - }, - "CreateMultipartUpload": { - "http": { - "requestUri": "/{Bucket}/{Key+}?uploads" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "ACL": { - "location": "header", - "locationName": "x-amz-acl" - }, - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "CacheControl": { - "location": "header", - "locationName": "Cache-Control" - }, - "ContentDisposition": { - "location": "header", - "locationName": "Content-Disposition" - }, - "ContentEncoding": { - "location": "header", - "locationName": "Content-Encoding" - }, - "ContentLanguage": { - "location": "header", - "locationName": "Content-Language" - }, - "ContentType": { - "location": "header", - "locationName": "Content-Type" - }, - "Expires": { - "location": "header", - "locationName": "Expires", - "type": "timestamp" - }, - "GrantFullControl": { - "location": "header", - "locationName": "x-amz-grant-full-control" - }, - "GrantRead": { - "location": "header", - "locationName": "x-amz-grant-read" - }, - "GrantReadACP": { - "location": "header", - "locationName": "x-amz-grant-read-acp" - }, - "GrantWriteACP": { - "location": "header", - "locationName": "x-amz-grant-write-acp" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "Metadata": { - "shape": "S11", - "location": "headers", - "locationName": "x-amz-meta-" - }, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "StorageClass": { - "location": "header", - "locationName": "x-amz-storage-class" - }, - "WebsiteRedirectLocation": { - "location": "header", - "locationName": "x-amz-website-redirect-location" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKey": { - "shape": "S18", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "AbortDate": { - "location": "header", - "locationName": "x-amz-abort-date", - "type": "timestamp" - }, - "AbortRuleId": { - "location": "header", - "locationName": "x-amz-abort-rule-id" - }, - "Bucket": { - "locationName": "Bucket" - }, - "Key": {}, - "UploadId": {}, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - }, - "alias": "InitiateMultipartUpload" - }, - "DeleteBucket": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteBucketCors": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?cors" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteBucketLifecycle": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?lifecycle" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteBucketPolicy": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?policy" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteBucketReplication": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?replication" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteBucketTagging": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?tagging" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteBucketWebsite": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?website" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteObject": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "MFA": { - "location": "header", - "locationName": "x-amz-mfa" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionId" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "DeleteMarker": { - "location": "header", - "locationName": "x-amz-delete-marker", - "type": "boolean" - }, - "VersionId": { - "location": "header", - "locationName": "x-amz-version-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "DeleteObjects": { - "http": { - "requestUri": "/{Bucket}?delete" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Delete" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Delete": { - "locationName": "Delete", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "required": [ - "Objects" - ], - "members": { - "Objects": { - "locationName": "Object", - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": {}, - "VersionId": {} - } - }, - "flattened": true - }, - "Quiet": { - "type": "boolean" - } - } - }, - "MFA": { - "location": "header", - "locationName": "x-amz-mfa" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - }, - "payload": "Delete" - }, - "output": { - "type": "structure", - "members": { - "Deleted": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "VersionId": {}, - "DeleteMarker": { - "type": "boolean" - }, - "DeleteMarkerVersionId": {} - } - }, - "flattened": true - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - }, - "Errors": { - "locationName": "Error", - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "VersionId": {}, - "Code": {}, - "Message": {} - } - }, - "flattened": true - } - } - }, - "alias": "DeleteMultipleObjects" - }, - "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": "S2k" - }, - "Grants": { - "shape": "S2n", - "locationName": "AccessControlList" - } - } - } - }, - "GetBucketCors": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?cors" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "output": { - "type": "structure", - "members": { - "CORSRules": { - "shape": "S2w", - "locationName": "CORSRule" - } - } - } - }, - "GetBucketLifecycle": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?lifecycle" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "output": { - "type": "structure", - "members": { - "Rules": { - "shape": "S39", - "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": "S3p", - "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": "S3x" - } - } - } - }, - "GetBucketNotification": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?notification" - }, - "input": { - "shape": "S43" - }, - "output": { - "shape": "S44" - }, - "deprecated": true - }, - "GetBucketNotificationConfiguration": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?notification" - }, - "input": { - "shape": "S43" - }, - "output": { - "shape": "S4f" - } - }, - "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": "S4y" - } - }, - "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": "S59" - } - } - } - }, - "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": "S5i" - }, - "IndexDocument": { - "shape": "S5l" - }, - "ErrorDocument": { - "shape": "S5n" - }, - "RoutingRules": { - "shape": "S5o" - } - } - } - }, - "GetObject": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - }, - "IfModifiedSince": { - "location": "header", - "locationName": "If-Modified-Since", - "type": "timestamp" - }, - "IfNoneMatch": { - "location": "header", - "locationName": "If-None-Match" - }, - "IfUnmodifiedSince": { - "location": "header", - "locationName": "If-Unmodified-Since", - "type": "timestamp" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "Range": { - "location": "header", - "locationName": "Range" - }, - "ResponseCacheControl": { - "location": "querystring", - "locationName": "response-cache-control" - }, - "ResponseContentDisposition": { - "location": "querystring", - "locationName": "response-content-disposition" - }, - "ResponseContentEncoding": { - "location": "querystring", - "locationName": "response-content-encoding" - }, - "ResponseContentLanguage": { - "location": "querystring", - "locationName": "response-content-language" - }, - "ResponseContentType": { - "location": "querystring", - "locationName": "response-content-type" - }, - "ResponseExpires": { - "location": "querystring", - "locationName": "response-expires", - "type": "timestamp" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionId" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKey": { - "shape": "S18", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - }, - "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" - } - }, - "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": "S2k" - }, - "Grants": { - "shape": "S2n", - "locationName": "AccessControlList" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "GetObjectTorrent": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}/{Key+}?torrent" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Body": { - "streaming": true, - "type": "blob" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - }, - "payload": "Body" - } - }, - "HeadBucket": { - "http": { - "method": "HEAD", - "requestUri": "/{Bucket}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "HeadObject": { - "http": { - "method": "HEAD", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - }, - "IfModifiedSince": { - "location": "header", - "locationName": "If-Modified-Since", - "type": "timestamp" - }, - "IfNoneMatch": { - "location": "header", - "locationName": "If-None-Match" - }, - "IfUnmodifiedSince": { - "location": "header", - "locationName": "If-Unmodified-Since", - "type": "timestamp" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "Range": { - "location": "header", - "locationName": "Range" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionId" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKey": { - "shape": "S18", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - }, - "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" - } - } - } - }, - "ListBuckets": { - "http": { - "method": "GET" - }, - "output": { - "type": "structure", - "members": { - "Buckets": { - "type": "list", - "member": { - "locationName": "Bucket", - "type": "structure", - "members": { - "Name": {}, - "CreationDate": { - "type": "timestamp" - } - } - } - }, - "Owner": { - "shape": "S2k" - } - } - }, - "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": "S2k" - }, - "Initiator": { - "shape": "S76" - } - } - }, - "flattened": true - }, - "CommonPrefixes": { - "shape": "S77" - }, - "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": "S2k" - } - } - }, - "flattened": true - }, - "DeleteMarkers": { - "locationName": "DeleteMarker", - "type": "list", - "member": { - "type": "structure", - "members": { - "Owner": { - "shape": "S2k" - }, - "Key": {}, - "VersionId": {}, - "IsLatest": { - "type": "boolean" - }, - "LastModified": { - "type": "timestamp" - } - } - }, - "flattened": true - }, - "Name": {}, - "Prefix": {}, - "Delimiter": {}, - "MaxKeys": { - "type": "integer" - }, - "CommonPrefixes": { - "shape": "S77" - }, - "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": "S7p" - }, - "Name": {}, - "Prefix": {}, - "Delimiter": {}, - "MaxKeys": { - "type": "integer" - }, - "CommonPrefixes": { - "shape": "S77" - }, - "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": "S7p" - }, - "Name": {}, - "Prefix": {}, - "Delimiter": {}, - "MaxKeys": { - "type": "integer" - }, - "CommonPrefixes": { - "shape": "S77" - }, - "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": "S76" - }, - "Owner": { - "shape": "S2k" - }, - "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": "S89", - "locationName": "AccessControlPolicy", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - } - }, - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "GrantFullControl": { - "location": "header", - "locationName": "x-amz-grant-full-control" - }, - "GrantRead": { - "location": "header", - "locationName": "x-amz-grant-read" - }, - "GrantReadACP": { - "location": "header", - "locationName": "x-amz-grant-read-acp" - }, - "GrantWrite": { - "location": "header", - "locationName": "x-amz-grant-write" - }, - "GrantWriteACP": { - "location": "header", - "locationName": "x-amz-grant-write-acp" - } - }, - "payload": "AccessControlPolicy" - } - }, - "PutBucketCors": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?cors" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "CORSConfiguration" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "CORSConfiguration": { - "locationName": "CORSConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "required": [ - "CORSRules" - ], - "members": { - "CORSRules": { - "shape": "S2w", - "locationName": "CORSRule" - } - } - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - } - }, - "payload": "CORSConfiguration" - } - }, - "PutBucketLifecycle": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?lifecycle" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "LifecycleConfiguration": { - "locationName": "LifecycleConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "required": [ - "Rules" - ], - "members": { - "Rules": { - "shape": "S39", - "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": "S3p", - "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": "S3x" - } - } - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - } - }, - "payload": "BucketLoggingStatus" - } - }, - "PutBucketNotification": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?notification" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "NotificationConfiguration" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "NotificationConfiguration": { - "shape": "S44", - "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": "S4f", - "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": "S4y", - "locationName": "ReplicationConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - } - } - }, - "payload": "ReplicationConfiguration" - } - }, - "PutBucketRequestPayment": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?requestPayment" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "RequestPaymentConfiguration" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "RequestPaymentConfiguration": { - "locationName": "RequestPaymentConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "required": [ - "Payer" - ], - "members": { - "Payer": {} - } - } - }, - "payload": "RequestPaymentConfiguration" - } - }, - "PutBucketTagging": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?tagging" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Tagging" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "Tagging": { - "locationName": "Tagging", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "required": [ - "TagSet" - ], - "members": { - "TagSet": { - "shape": "S59" - } - } - } - }, - "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": "S5n" - }, - "IndexDocument": { - "shape": "S5l" - }, - "RedirectAllRequestsTo": { - "shape": "S5i" - }, - "RoutingRules": { - "shape": "S5o" - } - } - } - }, - "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": "S18", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - }, - "payload": "Body" - }, - "output": { - "type": "structure", - "members": { - "Expiration": { - "location": "header", - "locationName": "x-amz-expiration" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - }, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "VersionId": { - "location": "header", - "locationName": "x-amz-version-id" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "PutObjectAcl": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}/{Key+}?acl" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "ACL": { - "location": "header", - "locationName": "x-amz-acl" - }, - "AccessControlPolicy": { - "shape": "S89", - "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" - } - } - } - }, - "RestoreObject": { - "http": { - "requestUri": "/{Bucket}/{Key+}?restore" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionId" - }, - "RestoreRequest": { - "locationName": "RestoreRequest", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "required": [ - "Days" - ], - "members": { - "Days": { - "type": "integer" - } - } - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - }, - "payload": "RestoreRequest" - }, - "output": { - "type": "structure", - "members": { - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - }, - "alias": "PostObjectRestore" - }, - "UploadPart": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key", - "PartNumber", - "UploadId" - ], - "members": { - "Body": { - "streaming": true, - "type": "blob" - }, - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentLength": { - "location": "header", - "locationName": "Content-Length", - "type": "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": "S18", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - }, - "payload": "Body" - }, - "output": { - "type": "structure", - "members": { - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "UploadPartCopy": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "CopySource", - "Key", - "PartNumber", - "UploadId" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "CopySource": { - "location": "header", - "locationName": "x-amz-copy-source" - }, - "CopySourceIfMatch": { - "location": "header", - "locationName": "x-amz-copy-source-if-match" - }, - "CopySourceIfModifiedSince": { - "location": "header", - "locationName": "x-amz-copy-source-if-modified-since", - "type": "timestamp" - }, - "CopySourceIfNoneMatch": { - "location": "header", - "locationName": "x-amz-copy-source-if-none-match" - }, - "CopySourceIfUnmodifiedSince": { - "location": "header", - "locationName": "x-amz-copy-source-if-unmodified-since", - "type": "timestamp" - }, - "CopySourceRange": { - "location": "header", - "locationName": "x-amz-copy-source-range" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "PartNumber": { - "location": "querystring", - "locationName": "partNumber", - "type": "integer" - }, - "UploadId": { - "location": "querystring", - "locationName": "uploadId" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKey": { - "shape": "S18", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "CopySourceSSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-copy-source-server-side-encryption-customer-algorithm" - }, - "CopySourceSSECustomerKey": { - "shape": "S1b", - "location": "header", - "locationName": "x-amz-copy-source-server-side-encryption-customer-key" - }, - "CopySourceSSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-copy-source-server-side-encryption-customer-key-MD5" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "CopySourceVersionId": { - "location": "header", - "locationName": "x-amz-copy-source-version-id" - }, - "CopyPartResult": { - "type": "structure", - "members": { - "ETag": {}, - "LastModified": { - "type": "timestamp" - } - } - }, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - }, - "payload": "CopyPartResult" - } - } - }, - "shapes": { - "Sj": { - "type": "string", - "sensitive": true - }, - "S11": { - "type": "map", - "key": {}, - "value": {} - }, - "S18": { - "type": "blob", - "sensitive": true - }, - "S1b": { - "type": "blob", - "sensitive": true - }, - "S2k": { - "type": "structure", - "members": { - "DisplayName": {}, - "ID": {} - } - }, - "S2n": { - "type": "list", - "member": { - "locationName": "Grant", - "type": "structure", - "members": { - "Grantee": { - "shape": "S2p" - }, - "Permission": {} - } - } - }, - "S2p": { - "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" - } - }, - "S2w": { - "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 - }, - "S39": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Prefix", - "Status" - ], - "members": { - "Expiration": { - "shape": "S3b" - }, - "ID": {}, - "Prefix": {}, - "Status": {}, - "Transition": { - "shape": "S3h" - }, - "NoncurrentVersionTransition": { - "shape": "S3j" - }, - "NoncurrentVersionExpiration": { - "shape": "S3k" - }, - "AbortIncompleteMultipartUpload": { - "shape": "S3l" - } - } - }, - "flattened": true - }, - "S3b": { - "type": "structure", - "members": { - "Date": { - "shape": "S3c" - }, - "Days": { - "type": "integer" - }, - "ExpiredObjectDeleteMarker": { - "type": "boolean" - } - } - }, - "S3c": { - "type": "timestamp", - "timestampFormat": "iso8601" - }, - "S3h": { - "type": "structure", - "members": { - "Date": { - "shape": "S3c" - }, - "Days": { - "type": "integer" - }, - "StorageClass": {} - } - }, - "S3j": { - "type": "structure", - "members": { - "NoncurrentDays": { - "type": "integer" - }, - "StorageClass": {} - } - }, - "S3k": { - "type": "structure", - "members": { - "NoncurrentDays": { - "type": "integer" - } - } - }, - "S3l": { - "type": "structure", - "members": { - "DaysAfterInitiation": { - "type": "integer" - } - } - }, - "S3p": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Prefix", - "Status" - ], - "members": { - "Expiration": { - "shape": "S3b" - }, - "ID": {}, - "Prefix": {}, - "Status": {}, - "Transitions": { - "locationName": "Transition", - "type": "list", - "member": { - "shape": "S3h" - }, - "flattened": true - }, - "NoncurrentVersionTransitions": { - "locationName": "NoncurrentVersionTransition", - "type": "list", - "member": { - "shape": "S3j" - }, - "flattened": true - }, - "NoncurrentVersionExpiration": { - "shape": "S3k" - }, - "AbortIncompleteMultipartUpload": { - "shape": "S3l" - } - } - }, - "flattened": true - }, - "S3x": { - "type": "structure", - "members": { - "TargetBucket": {}, - "TargetGrants": { - "type": "list", - "member": { - "locationName": "Grant", - "type": "structure", - "members": { - "Grantee": { - "shape": "S2p" - }, - "Permission": {} - } - } - }, - "TargetPrefix": {} - } - }, - "S43": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "S44": { - "type": "structure", - "members": { - "TopicConfiguration": { - "type": "structure", - "members": { - "Id": {}, - "Events": { - "shape": "S47", - "locationName": "Event" - }, - "Event": { - "deprecated": true - }, - "Topic": {} - } - }, - "QueueConfiguration": { - "type": "structure", - "members": { - "Id": {}, - "Event": { - "deprecated": true - }, - "Events": { - "shape": "S47", - "locationName": "Event" - }, - "Queue": {} - } - }, - "CloudFunctionConfiguration": { - "type": "structure", - "members": { - "Id": {}, - "Event": { - "deprecated": true - }, - "Events": { - "shape": "S47", - "locationName": "Event" - }, - "CloudFunction": {}, - "InvocationRole": {} - } - } - } - }, - "S47": { - "type": "list", - "member": {}, - "flattened": true - }, - "S4f": { - "type": "structure", - "members": { - "TopicConfigurations": { - "locationName": "TopicConfiguration", - "type": "list", - "member": { - "type": "structure", - "required": [ - "TopicArn", - "Events" - ], - "members": { - "Id": {}, - "TopicArn": { - "locationName": "Topic" - }, - "Events": { - "shape": "S47", - "locationName": "Event" - }, - "Filter": { - "shape": "S4i" - } - } - }, - "flattened": true - }, - "QueueConfigurations": { - "locationName": "QueueConfiguration", - "type": "list", - "member": { - "type": "structure", - "required": [ - "QueueArn", - "Events" - ], - "members": { - "Id": {}, - "QueueArn": { - "locationName": "Queue" - }, - "Events": { - "shape": "S47", - "locationName": "Event" - }, - "Filter": { - "shape": "S4i" - } - } - }, - "flattened": true - }, - "LambdaFunctionConfigurations": { - "locationName": "CloudFunctionConfiguration", - "type": "list", - "member": { - "type": "structure", - "required": [ - "LambdaFunctionArn", - "Events" - ], - "members": { - "Id": {}, - "LambdaFunctionArn": { - "locationName": "CloudFunction" - }, - "Events": { - "shape": "S47", - "locationName": "Event" - }, - "Filter": { - "shape": "S4i" - } - } - }, - "flattened": true - } - } - }, - "S4i": { - "type": "structure", - "members": { - "Key": { - "locationName": "S3Key", - "type": "structure", - "members": { - "FilterRules": { - "locationName": "FilterRule", - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Value": {} - } - }, - "flattened": true - } - } - } - } - }, - "S4y": { - "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 - } - } - }, - "S59": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S5i": { - "type": "structure", - "required": [ - "HostName" - ], - "members": { - "HostName": {}, - "Protocol": {} - } - }, - "S5l": { - "type": "structure", - "required": [ - "Suffix" - ], - "members": { - "Suffix": {} - } - }, - "S5n": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": {} - } - }, - "S5o": { - "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": {} - } - } - } - } - }, - "S76": { - "type": "structure", - "members": { - "ID": {}, - "DisplayName": {} - } - }, - "S77": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Prefix": {} - } - }, - "flattened": true - }, - "S7p": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "LastModified": { - "type": "timestamp" - }, - "ETag": {}, - "Size": { - "type": "integer" - }, - "StorageClass": {}, - "Owner": { - "shape": "S2k" - } - } - }, - "flattened": true - }, - "S89": { - "type": "structure", - "members": { - "Grants": { - "shape": "S2n", - "locationName": "AccessControlList" - }, - "Owner": { - "shape": "S2k" - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/s3-2006-03-01.paginators.json b/node_modules/aws-sdk/apis/s3-2006-03-01.paginators.json deleted file mode 100644 index 3498920..0000000 --- a/node_modules/aws-sdk/apis/s3-2006-03-01.paginators.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "pagination": { - "ListBuckets": { - "result_key": "Buckets" - }, - "ListMultipartUploads": { - "limit_key": "MaxUploads", - "more_results": "IsTruncated", - "output_token": [ - "NextKeyMarker", - "NextUploadIdMarker" - ], - "input_token": [ - "KeyMarker", - "UploadIdMarker" - ], - "result_key": [ - "Uploads", - "CommonPrefixes" - ] - }, - "ListObjectVersions": { - "more_results": "IsTruncated", - "limit_key": "MaxKeys", - "output_token": [ - "NextKeyMarker", - "NextVersionIdMarker" - ], - "input_token": [ - "KeyMarker", - "VersionIdMarker" - ], - "result_key": [ - "Versions", - "DeleteMarkers", - "CommonPrefixes" - ] - }, - "ListObjects": { - "more_results": "IsTruncated", - "limit_key": "MaxKeys", - "output_token": "NextMarker || Contents[-1].Key", - "input_token": "Marker", - "result_key": [ - "Contents", - "CommonPrefixes" - ] - }, - "ListObjectsV2": { - "limit_key": "MaxKeys", - "output_token": "NextContinuationToken", - "input_token": "ContinuationToken", - "result_key": [ - "Contents", - "CommonPrefixes" - ] - }, - "ListParts": { - "more_results": "IsTruncated", - "limit_key": "MaxParts", - "output_token": "NextPartNumberMarker", - "input_token": "PartNumberMarker", - "result_key": "Parts" - } - } -} diff --git a/node_modules/aws-sdk/apis/s3-2006-03-01.waiters2.json b/node_modules/aws-sdk/apis/s3-2006-03-01.waiters2.json deleted file mode 100644 index b508a8f..0000000 --- a/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/node_modules/aws-sdk/apis/sdb-2009-04-15.min.json b/node_modules/aws-sdk/apis/sdb-2009-04-15.min.json deleted file mode 100644 index e931b3c..0000000 --- a/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/node_modules/aws-sdk/apis/sdb-2009-04-15.paginators.json b/node_modules/aws-sdk/apis/sdb-2009-04-15.paginators.json deleted file mode 100644 index 2362098..0000000 --- a/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/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.min.json b/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.min.json deleted file mode 100644 index 62e6e73..0000000 --- a/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.min.json +++ /dev/null @@ -1,529 +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" - }, - "operations": { - "DescribeProduct": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProductViewSummary": { - "shape": "S5" - }, - "ProvisioningArtifacts": { - "shape": "Sf" - } - } - } - }, - "DescribeProductView": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProductViewSummary": { - "shape": "S5" - }, - "ProvisioningArtifacts": { - "shape": "Sf" - } - } - } - }, - "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": "Sy" - }, - "UsageInstructions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Type": {}, - "Value": {} - } - } - } - } - } - }, - "DescribeRecord": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {}, - "PageToken": {}, - "PageSize": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "RecordDetail": { - "shape": "S1a" - }, - "RecordOutputs": { - "type": "list", - "member": { - "type": "structure", - "members": { - "OutputKey": {}, - "OutputValue": {}, - "Description": {} - } - } - }, - "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": "Sy" - }, - "Tags": { - "shape": "S1x" - }, - "Name": {} - } - } - }, - "NextPageToken": {} - } - } - }, - "ListRecordHistory": { - "input": { - "type": "structure", - "members": { - "AcceptLanguage": {}, - "AccessLevelFilter": { - "shape": "S23" - }, - "SearchFilter": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - }, - "PageSize": { - "type": "integer" - }, - "PageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "RecordDetails": { - "type": "list", - "member": { - "shape": "S1a" - } - }, - "NextPageToken": {} - } - } - }, - "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": "S1x" - }, - "NotificationArns": { - "type": "list", - "member": {} - }, - "ProvisionToken": { - "idempotencyToken": true - } - } - }, - "output": { - "type": "structure", - "members": { - "RecordDetail": { - "shape": "S1a" - } - } - } - }, - "ScanProvisionedProducts": { - "input": { - "type": "structure", - "members": { - "AcceptLanguage": {}, - "AccessLevelFilter": { - "shape": "S23" - }, - "PageSize": { - "type": "integer" - }, - "PageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProvisionedProducts": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Arn": {}, - "Type": {}, - "Id": {}, - "Status": {}, - "StatusMessage": {}, - "CreatedTime": { - "type": "timestamp" - }, - "IdempotencyToken": {}, - "LastRecordId": {} - } - } - }, - "NextPageToken": {} - } - } - }, - "SearchProducts": { - "input": { - "type": "structure", - "members": { - "AcceptLanguage": {}, - "Filters": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": {} - } - }, - "PageSize": { - "type": "integer" - }, - "SortBy": {}, - "SortOrder": {}, - "PageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProductViewSummaries": { - "type": "list", - "member": { - "shape": "S5" - } - }, - "ProductViewAggregations": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Value": {}, - "ApproximateCount": { - "type": "integer" - } - } - } - } - }, - "NextPageToken": {} - } - } - }, - "TerminateProvisionedProduct": { - "input": { - "type": "structure", - "required": [ - "TerminateToken" - ], - "members": { - "ProvisionedProductName": {}, - "ProvisionedProductId": {}, - "TerminateToken": { - "idempotencyToken": true - }, - "IgnoreErrors": { - "type": "boolean" - }, - "AcceptLanguage": {} - } - }, - "output": { - "type": "structure", - "members": { - "RecordDetail": { - "shape": "S1a" - } - } - } - }, - "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": "S1a" - } - } - } - } - }, - "shapes": { - "S5": { - "type": "structure", - "members": { - "Id": {}, - "ProductId": {}, - "Name": {}, - "Owner": {}, - "ShortDescription": {}, - "Type": {}, - "Distributor": {}, - "HasDefaultPath": { - "type": "boolean" - }, - "SupportEmail": {}, - "SupportDescription": {}, - "SupportUrl": {} - } - }, - "Sf": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "Description": {}, - "CreatedTime": { - "type": "timestamp" - } - } - } - }, - "Sy": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Type": {}, - "Description": {} - } - } - }, - "S1a": { - "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": {} - } - } - } - } - }, - "S1x": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S23": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/snowball-2016-06-30.min.json b/node_modules/aws-sdk/apis/snowball-2016-06-30.min.json deleted file mode 100644 index 72f70f1..0000000 --- a/node_modules/aws-sdk/apis/snowball-2016-06-30.min.json +++ /dev/null @@ -1,376 +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" - }, - "operations": { - "CancelJob": { - "input": { - "type": "structure", - "required": [ - "JobId" - ], - "members": { - "JobId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateAddress": { - "input": { - "type": "structure", - "required": [ - "Address" - ], - "members": { - "Address": { - "shape": "S5" - } - } - }, - "output": { - "type": "structure", - "members": { - "AddressId": {} - } - } - }, - "CreateJob": { - "input": { - "type": "structure", - "required": [ - "JobType", - "Resources", - "AddressId", - "RoleARN", - "ShippingOption" - ], - "members": { - "JobType": {}, - "Resources": { - "shape": "Sb" - }, - "Description": {}, - "AddressId": {}, - "KmsKeyARN": {}, - "RoleARN": {}, - "SnowballCapacityPreference": {}, - "ShippingOption": {}, - "Notification": { - "shape": "Sk" - } - } - }, - "output": { - "type": "structure", - "members": { - "JobId": {} - } - } - }, - "DescribeAddress": { - "input": { - "type": "structure", - "required": [ - "AddressId" - ], - "members": { - "AddressId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Address": { - "shape": "S5" - } - } - } - }, - "DescribeAddresses": { - "input": { - "type": "structure", - "members": { - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Addresses": { - "type": "list", - "member": { - "shape": "S5" - } - }, - "NextToken": {} - } - } - }, - "DescribeJob": { - "input": { - "type": "structure", - "required": [ - "JobId" - ], - "members": { - "JobId": {} - } - }, - "output": { - "type": "structure", - "members": { - "JobMetadata": { - "shape": "Sy" - }, - "SubJobMetadata": { - "type": "list", - "member": { - "shape": "Sy" - } - } - } - } - }, - "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" - } - } - } - }, - "ListJobs": { - "input": { - "type": "structure", - "members": { - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "JobListEntries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "JobId": {}, - "JobState": {}, - "IsMaster": { - "type": "boolean" - } - } - } - }, - "NextToken": {} - } - } - }, - "UpdateJob": { - "input": { - "type": "structure", - "required": [ - "JobId" - ], - "members": { - "JobId": {}, - "RoleARN": {}, - "Notification": { - "shape": "Sk" - }, - "Resources": { - "shape": "Sb" - }, - "AddressId": {}, - "ShippingOption": {}, - "Description": {}, - "SnowballCapacityPreference": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "S5": { - "type": "structure", - "members": { - "AddressId": {}, - "Name": {}, - "Company": {}, - "Street1": {}, - "Street2": {}, - "Street3": {}, - "City": {}, - "StateOrProvince": {}, - "PrefectureOrDistrict": {}, - "Landmark": {}, - "Country": {}, - "PostalCode": {}, - "PhoneNumber": {} - } - }, - "Sb": { - "type": "structure", - "members": { - "S3Resources": { - "type": "list", - "member": { - "type": "structure", - "members": { - "BucketArn": {}, - "KeyRange": { - "type": "structure", - "members": { - "BeginMarker": {}, - "EndMarker": {} - } - } - } - } - } - } - }, - "Sk": { - "type": "structure", - "members": { - "SnsTopicARN": {}, - "JobStatesToNotify": { - "type": "list", - "member": {} - }, - "NotifyAll": { - "type": "boolean" - } - } - }, - "Sy": { - "type": "structure", - "members": { - "JobId": {}, - "JobState": {}, - "JobType": {}, - "CreationDate": { - "type": "timestamp" - }, - "Resources": { - "shape": "Sb" - }, - "Description": {}, - "KmsKeyARN": {}, - "RoleARN": {}, - "AddressId": {}, - "ShippingDetails": { - "type": "structure", - "members": { - "ShippingOption": {}, - "InboundShipment": { - "shape": "S11" - }, - "OutboundShipment": { - "shape": "S11" - } - } - }, - "SnowballCapacityPreference": {}, - "Notification": { - "shape": "Sk" - }, - "DataTransferProgress": { - "type": "structure", - "members": { - "BytesTransferred": { - "type": "long" - }, - "ObjectsTransferred": { - "type": "long" - }, - "TotalBytes": { - "type": "long" - }, - "TotalObjects": { - "type": "long" - } - } - }, - "JobLogInfo": { - "type": "structure", - "members": { - "JobCompletionReportURI": {}, - "JobSuccessLogURI": {}, - "JobFailureLogURI": {} - } - } - } - }, - "S11": { - "type": "structure", - "members": { - "Status": {}, - "TrackingNumber": {} - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/snowball-2016-06-30.paginators.json b/node_modules/aws-sdk/apis/snowball-2016-06-30.paginators.json deleted file mode 100644 index d03aba7..0000000 --- a/node_modules/aws-sdk/apis/snowball-2016-06-30.paginators.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "pagination": { - "ListJobs": { - "limit_key": "MaxResults", - "output_token": "NextToken", - "input_token": "NextToken", - "result_key": "JobListEntries" - }, - "DescribeAddresses": { - "limit_key": "MaxResults", - "output_token": "NextToken", - "input_token": "NextToken", - "result_key": "Addresses" - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/sns-2010-03-31.min.json b/node_modules/aws-sdk/apis/sns-2010-03-31.min.json deleted file mode 100644 index bb433c4..0000000 --- a/node_modules/aws-sdk/apis/sns-2010-03-31.min.json +++ /dev/null @@ -1,622 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "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/node_modules/aws-sdk/apis/sns-2010-03-31.paginators.json b/node_modules/aws-sdk/apis/sns-2010-03-31.paginators.json deleted file mode 100644 index 455e470..0000000 --- a/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/node_modules/aws-sdk/apis/sqs-2012-11-05.examples.json b/node_modules/aws-sdk/apis/sqs-2012-11-05.examples.json deleted file mode 100644 index 21b72de..0000000 --- a/node_modules/aws-sdk/apis/sqs-2012-11-05.examples.json +++ /dev/null @@ -1,618 +0,0 @@ -{ - "version": "1.0", - "examples": { - "AddPermission": [ - { - "input": { - "AWSAccountIds": [ - "12345EXAMPLE" - ], - "Actions": [ - "SendMessage" - ], - "Label": "SendMessagesFromMyQueue", - "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example allows the specified AWS account to send messages to the specified queue.", - "id": "to-add-a-permission-to-a-queue-1472079068305", - "title": "To add a permission to a queue" - } - ], - "ChangeMessageVisibility": [ - { - "input": { - "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue", - "ReceiptHandle": "AQEBTpyI...t6HyQg==", - "VisibilityTimeout": 36000 - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example changes the visibility timeout of the specified message to 10 hours (10 hours * 60 minutes * 60 seconds).", - "id": "to-change-the-visibility-timeout-of-a-single-message-1472079046292", - "title": "To change the visibility timeout of a single message" - } - ], - "ChangeMessageVisibilityBatch": [ - { - "input": { - "Entries": [ - { - "Id": "FirstMessage", - "ReceiptHandle": "AQEBhz2q...Jf3kaw==", - "VisibilityTimeout": 36000 - }, - { - "Id": "SecondMessage", - "ReceiptHandle": "AQEBkTUH...HifSnw==", - "VisibilityTimeout": 36000 - } - ], - "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue" - }, - "output": { - "Failed": [ - - ], - "Successful": [ - - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example changes the visibility timeout of the two specified messages to 10 hours (10 hours * 60 minutes * 60 seconds).", - "id": "to-change-the-visibility-timeout-of-multiple-messages-1472079027081", - "title": "To change the visibility timeout of multiple messages" - } - ], - "CreateQueue": [ - { - "input": { - "Attributes": { - "MessageRetentionPeriod": "259200", - "RedrivePolicy": "{\"deadLetterTargetArn\":\"arn:aws:sqs:us-east-1:80398EXAMPLE:MyDeadLetterQueue\",\"maxReceiveCount\":\"1000\"}" - }, - "QueueName": "MyQueue" - }, - "output": { - "QueueUrl": "https://queue.amazonaws.com/80398EXAMPLE/MyQueue" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation creates an Amazon SQS queue named MyQueue.", - "id": "to-create-an-sqs-queue-1472078982579", - "title": "To create an Amazon SQS queue" - } - ], - "DeleteMessage": [ - { - "input": { - "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue", - "ReceiptHandle": "AQEBRXTo...q2doVA==" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified message.", - "id": "to-delete-a-single-message-1472078961585", - "title": "To delete a single message" - } - ], - "DeleteMessageBatch": [ - { - "input": { - "Entries": [ - { - "Id": "FirstMessage", - "ReceiptHandle": "AQEB1mgl...Z4GuLw==" - }, - { - "Id": "SecondMessage", - "ReceiptHandle": "AQEBLsYM...VQubAA==" - } - ], - "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue" - }, - "output": { - "Failed": [ - - ], - "Successful": [ - { - "Id": "FirstMessage" - }, - { - "Id": "SecondMessage" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the two specified messages.", - "id": "to-delete-multiple-messages-1472078930327", - "title": "To delete multiple messages" - } - ], - "DeleteQueue": [ - { - "input": { - "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyNewerQueue" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified queue.", - "id": "to-delete-a-queue-1472151853558", - "title": "To delete a queue" - } - ], - "GetQueueAttributes": [ - { - "input": { - "AttributeNames": [ - "All" - ], - "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue" - }, - "output": { - "Attributes": { - "ApproximateNumberOfMessages": "0", - "ApproximateNumberOfMessagesDelayed": "0", - "ApproximateNumberOfMessagesNotVisible": "0", - "CreatedTimestamp": "1442426968", - "DelaySeconds": "0", - "LastModifiedTimestamp": "1442426968", - "MaximumMessageSize": "262144", - "MessageRetentionPeriod": "345600", - "QueueArn": "arn:aws:sqs:us-east-1:80398EXAMPLE:MyNewQueue", - "ReceiveMessageWaitTimeSeconds": "0", - "RedrivePolicy": "{\"deadLetterTargetArn\":\"arn:aws:sqs:us-east-1:80398EXAMPLE:MyDeadLetterQueue\",\"maxReceiveCount\":1000}", - "VisibilityTimeout": "30" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example gets all attributes of the specified queue.", - "id": "to-get-the-attributes-of-a-queue-1472149421128", - "title": "To get the attributes of a queue" - }, - { - "input": { - "AttributeNames": [ - "MaximumMessageSize VisibilityTimeout" - ], - "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyNewQueue" - }, - "output": { - "Attributes": { - "MaximumMessageSize": "262144", - "VisibilityTimeout": "30" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example gets only the specified queue's maximum message size and visibility timeout attributes.", - "id": "to-get-the-attributes-of-a-queue-1472517012839", - "title": "To get the attributes of a queue" - } - ], - "GetQueueUrl": [ - { - "input": { - "QueueName": "MyQueue", - "QueueOwnerAWSAccountId": "123456789101" - }, - "output": { - "QueueUrl": "https://queue.amazonaws.com/123456789101/MyQueue" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example gets the URL of the specified queue.", - "id": "to-get-the-url-of-a-queue-1472078901091", - "title": "To get the URL of a queue" - } - ], - "ListDeadLetterSourceQueues": [ - { - "input": { - "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyDeadLetterQueue" - }, - "output": { - "queueUrls": [ - "https://queue.amazonaws.com/80398EXAMPLE/MyQueue", - "https://queue.amazonaws.com/80398EXAMPLE/MyOtherQueue" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example lists the source queues associated with the specified dead letter queue.", - "id": "to-list-the-source-queues-of-a-dead-letter-queue-1472150435081", - "title": "To list the source queues of a dead letter queue" - } - ], - "ListQueues": [ - { - "input": { - "QueueNamePrefix": "" - }, - "output": { - "QueueUrls": [ - "https://queue.amazonaws.com/80398EXAMPLE/MyDeadLetterQueue", - "https://queue.amazonaws.com/80398EXAMPLE/MyQueue", - "https://queue.amazonaws.com/80398EXAMPLE/MyOtherQueue", - "https://queue.amazonaws.com/80398EXAMPLE/TestQueue1", - "https://queue.amazonaws.com/80398EXAMPLE/TestQueue2" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example lists all queues.", - "id": "to-list-queues-1472150595914", - "title": "To list queues" - }, - { - "input": { - "QueueNamePrefix": "My" - }, - "output": { - "QueueUrls": [ - "https://queue.amazonaws.com/80398EXAMPLE/MyDeadLetterQueue", - "https://queue.amazonaws.com/80398EXAMPLE/MyQueue", - "https://queue.amazonaws.com/80398EXAMPLE/MyOtherQueue" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example lists only queues that start with "Ty".", - "id": "to-list-queues-1472517240103", - "title": "To list queues" - } - ], - "PurgeQueue": [ - { - "input": { - "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyNewQueue" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes all messages in the specified queue.", - "id": "to-purge-a-queue-1472150819702", - "title": "To purge a queue" - } - ], - "ReceiveMessage": [ - { - "input": { - "AttributeNames": [ - "All" - ], - "MaxNumberOfMessages": 10, - "MessageAttributeNames": [ - "All" - ], - "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue", - "VisibilityTimeout": 123, - "WaitTimeSeconds": 123 - }, - "output": { - "Messages": [ - { - "Attributes": { - "ApproximateFirstReceiveTimestamp": "1442428276921", - "ApproximateReceiveCount": "5", - "SenderId": "AIDAIAZKMSNQ7TEXAMPLE", - "SentTimestamp": "1442428276921" - }, - "Body": "My first message.", - "MD5OfBody": "1000f835...a35411fa", - "MD5OfMessageAttributes": "9424c491...26bc3ae7", - "MessageAttributes": { - "City": { - "DataType": "String", - "StringValue": "Any City" - }, - "PostalCode": { - "DataType": "String", - "StringValue": "ABC123" - } - }, - "MessageId": "d6790f8d-d575-4f01-bc51-40122EXAMPLE", - "ReceiptHandle": "AQEBzbVv...fqNzFw==" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example receives up to 10 available messages, returning all available attributes.", - "id": "to-receive-a-message-1472151462717", - "title": "To receive a message" - }, - { - "input": { - "AttributeNames": [ - "SenderId SentTimestamp" - ], - "MaxNumberOfMessages": 123, - "MessageAttributeNames": [ - "PostalCode" - ], - "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue", - "VisibilityTimeout": 123, - "WaitTimeSeconds": 123 - }, - "output": { - "Messages": [ - { - "Attributes": { - "SenderId": "AIDAIAZKMSNQ7TEXAMPLE", - "SentTimestamp": "1442428276921" - }, - "Body": "My first message.", - "MD5OfBody": "1000f835...a35411fa", - "MD5OfMessageAttributes": "b8e89563...e088e74f", - "MessageAttributes": { - "PostalCode": { - "DataType": "String", - "StringValue": "ABC123" - } - }, - "MessageId": "d6790f8d-d575-4f01-bc51-40122EXAMPLE", - "ReceiptHandle": "AQEB6nR4...HzlvZQ==" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example receives the next available message, returning only the SenderId and SentTimestamp attributes and the PostalCode message attribute.", - "id": "to-receive-a-message-1472517398871", - "title": "To receive a message" - } - ], - "RemovePermission": [ - { - "input": { - "Label": "SendMessagesFromMyQueue", - "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example removes the permission with the specified label from the specified queue.", - "id": "to-remove-a-permission-from-a-queue-1472151967252", - "title": "To remove a permission from a queue" - } - ], - "SendMessage": [ - { - "input": { - "DelaySeconds": 10, - "MessageAttributes": { - "City": { - "DataType": "String", - "StringValue": "Any City" - }, - "Greeting": { - "BinaryValue": "Hello, World!", - "DataType": "Binary" - }, - "Population": { - "DataType": "Number", - "StringValue": "1250800" - } - }, - "MessageBody": "Information about the largest city in Any Region.", - "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue" - }, - "output": { - "MD5OfMessageAttributes": "00484c68...59e48f06", - "MD5OfMessageBody": "51b0a325...39163aa0", - "MessageId": "da68f62c-0c07-4bee-bf5f-7e856EXAMPLE" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example sends a message with the specified message body, delay period, and message attributes to the specified queue.", - "id": "to-send-a-message-to-a-queue-1472152022619", - "title": "To send a message to a queue" - } - ], - "SendMessageBatch": [ - { - "input": { - "Entries": [ - { - "DelaySeconds": 10, - "Id": "FuelReport-0001-2015-09-16T140731Z", - "MessageAttributes": { - "City": { - "DataType": "String", - "StringValue": "Any City" - }, - "PostalCode": { - "DataType": "String", - "StringValue": "99065" - }, - "PricePerGallon": { - "DataType": "Number", - "StringValue": "1.99" - }, - "Region": { - "DataType": "String", - "StringValue": "WA" - }, - "SellerName": { - "DataType": "String", - "StringValue": "Example Store" - } - }, - "MessageBody": "Fuel report for account 0001 on 2015-09-16 at 02:07:31 PM." - }, - { - "DelaySeconds": 10, - "Id": "FuelReport-0002-2015-09-16T140930Z", - "MessageAttributes": { - "City": { - "DataType": "String", - "StringValue": "North Town" - }, - "PostalCode": { - "DataType": "String", - "StringValue": "99123" - }, - "PricePerGallon": { - "DataType": "Number", - "StringValue": "1.87" - }, - "Region": { - "DataType": "String", - "StringValue": "WA" - }, - "SellerName": { - "DataType": "String", - "StringValue": "Example Fuels" - } - }, - "MessageBody": "Fuel report for account 0002 on 2015-09-16 at 02:09:30 PM." - } - ], - "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue" - }, - "output": { - "Failed": [ - - ], - "Successful": [ - { - "Id": "FuelReport-0001-2015-09-16T140731Z", - "MD5OfMessageAttributes": "10809b55...baf283ef", - "MD5OfMessageBody": "203c4a38...7943237e", - "MessageId": "d175070c-d6b8-4101-861d-adeb3EXAMPLE" - }, - { - "Id": "FuelReport-0002-2015-09-16T140930Z", - "MD5OfMessageAttributes": "55623928...ae354a25", - "MD5OfMessageBody": "2cf0159a...c1980595", - "MessageId": "f9b7d55d-0570-413e-b9c5-a9264EXAMPLE" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example sends two messages with the specified message bodies, delay periods, and message attributes to the specified queue.", - "id": "to-send-multiple-messages-1472152282144", - "title": "To send multiple messages" - } - ], - "SetQueueAttributes": [ - { - "input": { - "Attributes": { - "DelaySeconds": "10", - "MaximumMessageSize": "131072", - "MessageRetentionPeriod": "259200", - "ReceiveMessageWaitTimeSeconds": "20", - "RedrivePolicy": "{\"deadLetterTargetArn\":\"arn:aws:sqs:us-east-1:80398EXAMPLE:MyDeadLetterQueue\",\"maxReceiveCount\":\"1000\"}", - "VisibilityTimeout": "60" - }, - "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyNewQueue" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example sets the specified queue to a delivery delay of 10 seconds, a maximum message size of 128 KB (128 KB * 1,024 bytes), a message retention period of 3 days (3 days * 24 hours * 60 minutes * 60 seconds), a receive message wait time of 20 seconds, and a default visibility timeout of 60 seconds. This example also associates the specified dead letter queue with a maximum receive count of 1,000 messages.", - "id": "to-set-the-attributes-of-a-queue-1472152379646", - "title": "To set the attributes of a queue" - } - ] - } -} diff --git a/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json b/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json deleted file mode 100644 index 492845e..0000000 --- a/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json +++ /dev/null @@ -1,583 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2012-11-05", - "endpointPrefix": "sqs", - "protocol": "query", - "serviceAbbreviation": "Amazon SQS", - "serviceFullName": "Amazon Simple Queue Service", - "signatureVersion": "v4", - "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" - } - } - }, - "output": { - "resultWrapper": "ReceiveMessageResult", - "type": "structure", - "members": { - "Messages": { - "type": "list", - "member": { - "locationName": "Message", - "type": "structure", - "members": { - "MessageId": {}, - "ReceiptHandle": {}, - "MD5OfBody": {}, - "Body": {}, - "Attributes": { - "shape": "Sh", - "locationName": "Attribute" - }, - "MD5OfMessageAttributes": {}, - "MessageAttributes": { - "shape": "S19", - "locationName": "MessageAttribute" - } - } - }, - "flattened": true - } - } - } - }, - "RemovePermission": { - "input": { - "type": "structure", - "required": [ - "QueueUrl", - "Label" - ], - "members": { - "QueueUrl": {}, - "Label": {} - } - } - }, - "SendMessage": { - "input": { - "type": "structure", - "required": [ - "QueueUrl", - "MessageBody" - ], - "members": { - "QueueUrl": {}, - "MessageBody": {}, - "DelaySeconds": { - "type": "integer" - }, - "MessageAttributes": { - "shape": "S19", - "locationName": "MessageAttribute" - } - } - }, - "output": { - "resultWrapper": "SendMessageResult", - "type": "structure", - "members": { - "MD5OfMessageBody": {}, - "MD5OfMessageAttributes": {}, - "MessageId": {} - } - } - }, - "SendMessageBatch": { - "input": { - "type": "structure", - "required": [ - "QueueUrl", - "Entries" - ], - "members": { - "QueueUrl": {}, - "Entries": { - "type": "list", - "member": { - "locationName": "SendMessageBatchRequestEntry", - "type": "structure", - "required": [ - "Id", - "MessageBody" - ], - "members": { - "Id": {}, - "MessageBody": {}, - "DelaySeconds": { - "type": "integer" - }, - "MessageAttributes": { - "shape": "S19", - "locationName": "MessageAttribute" - } - } - }, - "flattened": true - } - } - }, - "output": { - "resultWrapper": "SendMessageBatchResult", - "type": "structure", - "required": [ - "Successful", - "Failed" - ], - "members": { - "Successful": { - "type": "list", - "member": { - "locationName": "SendMessageBatchResultEntry", - "type": "structure", - "required": [ - "Id", - "MessageId", - "MD5OfMessageBody" - ], - "members": { - "Id": {}, - "MessageId": {}, - "MD5OfMessageBody": {}, - "MD5OfMessageAttributes": {} - } - }, - "flattened": true - }, - "Failed": { - "shape": "Sd" - } - } - } - }, - "SetQueueAttributes": { - "input": { - "type": "structure", - "required": [ - "QueueUrl", - "Attributes" - ], - "members": { - "QueueUrl": {}, - "Attributes": { - "shape": "Sh", - "locationName": "Attribute" - } - } - } - } - }, - "shapes": { - "Sd": { - "type": "list", - "member": { - "locationName": "BatchResultErrorEntry", - "type": "structure", - "required": [ - "Id", - "SenderFault", - "Code" - ], - "members": { - "Id": {}, - "SenderFault": { - "type": "boolean" - }, - "Code": {}, - "Message": {} - } - }, - "flattened": true - }, - "Sh": { - "type": "map", - "key": { - "locationName": "Name" - }, - "value": { - "locationName": "Value" - }, - "flattened": true, - "locationName": "Attribute" - }, - "St": { - "type": "list", - "member": { - "locationName": "AttributeName" - }, - "flattened": true - }, - "Sz": { - "type": "list", - "member": { - "locationName": "QueueUrl" - }, - "flattened": true - }, - "S19": { - "type": "map", - "key": { - "locationName": "Name" - }, - "value": { - "locationName": "Value", - "type": "structure", - "required": [ - "DataType" - ], - "members": { - "StringValue": {}, - "BinaryValue": { - "type": "blob" - }, - "StringListValues": { - "flattened": true, - "locationName": "StringListValue", - "type": "list", - "member": { - "locationName": "StringListValue" - } - }, - "BinaryListValues": { - "flattened": true, - "locationName": "BinaryListValue", - "type": "list", - "member": { - "locationName": "BinaryListValue", - "type": "blob" - } - }, - "DataType": {} - } - }, - "flattened": true - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/sqs-2012-11-05.paginators.json b/node_modules/aws-sdk/apis/sqs-2012-11-05.paginators.json deleted file mode 100644 index e7ac48a..0000000 --- a/node_modules/aws-sdk/apis/sqs-2012-11-05.paginators.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "pagination": { - "ListQueues": { - "result_key": "QueueUrls" - } - } -} diff --git a/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json b/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json deleted file mode 100644 index 9320562..0000000 --- a/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +++ /dev/null @@ -1,932 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2014-11-06", - "endpointPrefix": "ssm", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Amazon SSM", - "serviceFullName": "Amazon Simple Systems Management Service", - "signatureVersion": "v4", - "targetPrefix": "AmazonSSM" - }, - "operations": { - "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", - "InstanceId" - ], - "members": { - "Name": {}, - "InstanceId": {}, - "Parameters": { - "shape": "Sp" - } - } - }, - "output": { - "type": "structure", - "members": { - "AssociationDescription": { - "shape": "Su" - } - } - } - }, - "CreateAssociationBatch": { - "input": { - "type": "structure", - "required": [ - "Entries" - ], - "members": { - "Entries": { - "type": "list", - "member": { - "shape": "S12", - "locationName": "entries" - } - } - } - }, - "output": { - "type": "structure", - "members": { - "Successful": { - "type": "list", - "member": { - "shape": "Su", - "locationName": "AssociationDescription" - } - }, - "Failed": { - "type": "list", - "member": { - "locationName": "FailedCreateAssociationEntry", - "type": "structure", - "members": { - "Entry": { - "shape": "S12" - }, - "Message": {}, - "Fault": {} - } - } - } - } - } - }, - "CreateDocument": { - "input": { - "type": "structure", - "required": [ - "Content", - "Name" - ], - "members": { - "Content": {}, - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "DocumentDescription": { - "shape": "S1c" - } - } - } - }, - "DeleteActivation": { - "input": { - "type": "structure", - "required": [ - "ActivationId" - ], - "members": { - "ActivationId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteAssociation": { - "input": { - "type": "structure", - "required": [ - "Name", - "InstanceId" - ], - "members": { - "Name": {}, - "InstanceId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteDocument": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeregisterManagedInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "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", - "required": [ - "Name", - "InstanceId" - ], - "members": { - "Name": {}, - "InstanceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "AssociationDescription": { - "shape": "Su" - } - } - } - }, - "DescribeDocument": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "Document": { - "shape": "S1c" - } - } - } - }, - "DescribeDocumentPermission": { - "input": { - "type": "structure", - "required": [ - "Name", - "PermissionType" - ], - "members": { - "Name": {}, - "PermissionType": {} - } - }, - "output": { - "type": "structure", - "members": { - "AccountIds": { - "shape": "S2m" - } - } - } - }, - "DescribeInstanceInformation": { - "input": { - "type": "structure", - "members": { - "InstanceInformationFilterList": { - "type": "list", - "member": { - "locationName": "InstanceInformationFilter", - "type": "structure", - "required": [ - "key", - "valueSet" - ], - "members": { - "key": {}, - "valueSet": { - "type": "list", - "member": { - "locationName": "InstanceInformationFilterValue" - } - } - } - } - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "InstanceInformationList": { - "type": "list", - "member": { - "locationName": "InstanceInformation", - "type": "structure", - "members": { - "InstanceId": {}, - "PingStatus": {}, - "LastPingDateTime": { - "type": "timestamp" - }, - "AgentVersion": {}, - "IsLatestVersion": { - "type": "boolean" - }, - "PlatformType": {}, - "PlatformName": {}, - "PlatformVersion": {}, - "ActivationId": {}, - "IamRole": {}, - "RegistrationDate": { - "type": "timestamp" - }, - "ResourceType": {}, - "Name": {}, - "IPAddress": {}, - "ComputerName": {} - } - } - }, - "NextToken": {} - } - } - }, - "GetDocument": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "Name": {}, - "Content": {} - } - } - }, - "ListAssociations": { - "input": { - "type": "structure", - "required": [ - "AssociationFilterList" - ], - "members": { - "AssociationFilterList": { - "type": "list", - "member": { - "locationName": "AssociationFilter", - "type": "structure", - "required": [ - "key", - "value" - ], - "members": { - "key": {}, - "value": {} - } - } - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Associations": { - "type": "list", - "member": { - "locationName": "Association", - "type": "structure", - "members": { - "Name": {}, - "InstanceId": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListCommandInvocations": { - "input": { - "type": "structure", - "members": { - "CommandId": {}, - "InstanceId": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {}, - "Filters": { - "shape": "S3f" - }, - "Details": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "CommandInvocations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CommandId": {}, - "InstanceId": {}, - "Comment": {}, - "DocumentName": {}, - "RequestedDateTime": { - "type": "timestamp" - }, - "Status": {}, - "TraceOutput": {}, - "CommandPlugins": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Status": {}, - "ResponseCode": { - "type": "integer" - }, - "ResponseStartDateTime": { - "type": "timestamp" - }, - "ResponseFinishDateTime": { - "type": "timestamp" - }, - "Output": {}, - "OutputS3BucketName": {}, - "OutputS3KeyPrefix": {} - } - } - }, - "ServiceRole": {}, - "NotificationConfig": { - "shape": "S3y" - } - } - } - }, - "NextToken": {} - } - } - }, - "ListCommands": { - "input": { - "type": "structure", - "members": { - "CommandId": {}, - "InstanceId": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {}, - "Filters": { - "shape": "S3f" - } - } - }, - "output": { - "type": "structure", - "members": { - "Commands": { - "type": "list", - "member": { - "shape": "S46" - } - }, - "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": "S1q" - } - } - } - }, - "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": "S2m" - }, - "AccountIdsToRemove": { - "shape": "S2m" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceType", - "ResourceId", - "TagKeys" - ], - "members": { - "ResourceType": {}, - "ResourceId": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "SendCommand": { - "input": { - "type": "structure", - "required": [ - "InstanceIds", - "DocumentName" - ], - "members": { - "InstanceIds": { - "shape": "Sb" - }, - "DocumentName": {}, - "DocumentHash": {}, - "DocumentHashType": {}, - "TimeoutSeconds": { - "type": "integer" - }, - "Comment": {}, - "Parameters": { - "shape": "Sp" - }, - "OutputS3BucketName": {}, - "OutputS3KeyPrefix": {}, - "ServiceRoleArn": {}, - "NotificationConfig": { - "shape": "S3y" - } - } - }, - "output": { - "type": "structure", - "members": { - "Command": { - "shape": "S46" - } - } - } - }, - "UpdateAssociationStatus": { - "input": { - "type": "structure", - "required": [ - "Name", - "InstanceId", - "AssociationStatus" - ], - "members": { - "Name": {}, - "InstanceId": {}, - "AssociationStatus": { - "shape": "Sw" - } - } - }, - "output": { - "type": "structure", - "members": { - "AssociationDescription": { - "shape": "Su" - } - } - } - }, - "UpdateManagedInstanceRole": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "IamRole" - ], - "members": { - "InstanceId": {}, - "IamRole": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "S4": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sb": { - "type": "list", - "member": {} - }, - "Sp": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": {} - } - }, - "Su": { - "type": "structure", - "members": { - "Name": {}, - "InstanceId": {}, - "Date": { - "type": "timestamp" - }, - "Status": { - "shape": "Sw" - }, - "Parameters": { - "shape": "Sp" - } - } - }, - "Sw": { - "type": "structure", - "required": [ - "Date", - "Name", - "Message" - ], - "members": { - "Date": { - "type": "timestamp" - }, - "Name": {}, - "Message": {}, - "AdditionalInfo": {} - } - }, - "S12": { - "type": "structure", - "members": { - "Name": {}, - "InstanceId": {}, - "Parameters": { - "shape": "Sp" - } - } - }, - "S1c": { - "type": "structure", - "members": { - "Sha1": {}, - "Hash": {}, - "HashType": {}, - "Name": {}, - "Owner": {}, - "CreatedDate": { - "type": "timestamp" - }, - "Status": {}, - "Description": {}, - "Parameters": { - "type": "list", - "member": { - "locationName": "DocumentParameter", - "type": "structure", - "members": { - "Name": {}, - "Type": {}, - "Description": {}, - "DefaultValue": {} - } - } - }, - "PlatformTypes": { - "shape": "S1q" - } - } - }, - "S1q": { - "type": "list", - "member": { - "locationName": "PlatformType" - } - }, - "S2m": { - "type": "list", - "member": { - "locationName": "AccountId" - } - }, - "S3f": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "key", - "value" - ], - "members": { - "key": {}, - "value": {} - } - } - }, - "S3y": { - "type": "structure", - "members": { - "NotificationArn": {}, - "NotificationEvents": { - "type": "list", - "member": {} - }, - "NotificationType": {} - } - }, - "S46": { - "type": "structure", - "members": { - "CommandId": {}, - "DocumentName": {}, - "Comment": {}, - "ExpiresAfter": { - "type": "timestamp" - }, - "Parameters": { - "shape": "Sp" - }, - "InstanceIds": { - "shape": "Sb" - }, - "RequestedDateTime": { - "type": "timestamp" - }, - "Status": {}, - "OutputS3BucketName": {}, - "OutputS3KeyPrefix": {}, - "ServiceRole": {}, - "NotificationConfig": { - "shape": "S3y" - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/ssm-2014-11-06.paginators.json b/node_modules/aws-sdk/apis/ssm-2014-11-06.paginators.json deleted file mode 100644 index 37977ca..0000000 --- a/node_modules/aws-sdk/apis/ssm-2014-11-06.paginators.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "pagination": { - "DescribeInstanceInformation": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "InstanceInformationList" - }, - "ListAssociations": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "Associations" - }, - "ListCommandInvocations": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "CommandInvocations" - }, - "ListCommands": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "Commands" - }, - "ListDocuments": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "DocumentIdentifiers" - }, - "DescribeActivations": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "ActivationList" - } - } -} diff --git a/node_modules/aws-sdk/apis/storagegateway-2013-06-30.min.json b/node_modules/aws-sdk/apis/storagegateway-2013-06-30.min.json deleted file mode 100644 index ca114c8..0000000 --- a/node_modules/aws-sdk/apis/storagegateway-2013-06-30.min.json +++ /dev/null @@ -1,1485 +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" - }, - "operations": { - "ActivateGateway": { - "input": { - "type": "structure", - "required": [ - "ActivationKey", - "GatewayName", - "GatewayTimezone", - "GatewayRegion" - ], - "members": { - "ActivationKey": {}, - "GatewayName": {}, - "GatewayTimezone": {}, - "GatewayRegion": {}, - "GatewayType": {}, - "TapeDriveType": {}, - "MediumChangerType": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "AddCache": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "DiskIds" - ], - "members": { - "GatewayARN": {}, - "DiskIds": { - "shape": "Sc" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceARN", - "Tags" - ], - "members": { - "ResourceARN": {}, - "Tags": { - "shape": "Sh" - } - } - }, - "output": { - "type": "structure", - "members": { - "ResourceARN": {} - } - } - }, - "AddUploadBuffer": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "DiskIds" - ], - "members": { - "GatewayARN": {}, - "DiskIds": { - "shape": "Sc" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "AddWorkingStorage": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "DiskIds" - ], - "members": { - "GatewayARN": {}, - "DiskIds": { - "shape": "Sc" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "CancelArchival": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "TapeARN" - ], - "members": { - "GatewayARN": {}, - "TapeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "CancelRetrieval": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "TapeARN" - ], - "members": { - "GatewayARN": {}, - "TapeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "CreateCachediSCSIVolume": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "VolumeSizeInBytes", - "TargetName", - "NetworkInterfaceId", - "ClientToken" - ], - "members": { - "GatewayARN": {}, - "VolumeSizeInBytes": { - "type": "long" - }, - "SnapshotId": {}, - "TargetName": {}, - "NetworkInterfaceId": {}, - "ClientToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {}, - "TargetARN": {} - } - } - }, - "CreateSnapshot": { - "input": { - "type": "structure", - "required": [ - "VolumeARN", - "SnapshotDescription" - ], - "members": { - "VolumeARN": {}, - "SnapshotDescription": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {}, - "SnapshotId": {} - } - } - }, - "CreateSnapshotFromVolumeRecoveryPoint": { - "input": { - "type": "structure", - "required": [ - "VolumeARN", - "SnapshotDescription" - ], - "members": { - "VolumeARN": {}, - "SnapshotDescription": {} - } - }, - "output": { - "type": "structure", - "members": { - "SnapshotId": {}, - "VolumeARN": {}, - "VolumeRecoveryPointTime": {} - } - } - }, - "CreateStorediSCSIVolume": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "DiskId", - "PreserveExistingData", - "TargetName", - "NetworkInterfaceId" - ], - "members": { - "GatewayARN": {}, - "DiskId": {}, - "SnapshotId": {}, - "PreserveExistingData": { - "type": "boolean" - }, - "TargetName": {}, - "NetworkInterfaceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {}, - "VolumeSizeInBytes": { - "type": "long" - }, - "TargetARN": {} - } - } - }, - "CreateTapeWithBarcode": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "TapeSizeInBytes", - "TapeBarcode" - ], - "members": { - "GatewayARN": {}, - "TapeSizeInBytes": { - "type": "long" - }, - "TapeBarcode": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "CreateTapes": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "TapeSizeInBytes", - "ClientToken", - "NumTapesToCreate", - "TapeBarcodePrefix" - ], - "members": { - "GatewayARN": {}, - "TapeSizeInBytes": { - "type": "long" - }, - "ClientToken": {}, - "NumTapesToCreate": { - "type": "integer" - }, - "TapeBarcodePrefix": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARNs": { - "shape": "S1l" - } - } - } - }, - "DeleteBandwidthRateLimit": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "BandwidthType" - ], - "members": { - "GatewayARN": {}, - "BandwidthType": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "DeleteChapCredentials": { - "input": { - "type": "structure", - "required": [ - "TargetARN", - "InitiatorName" - ], - "members": { - "TargetARN": {}, - "InitiatorName": {} - } - }, - "output": { - "type": "structure", - "members": { - "TargetARN": {}, - "InitiatorName": {} - } - } - }, - "DeleteGateway": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "DeleteSnapshotSchedule": { - "input": { - "type": "structure", - "required": [ - "VolumeARN" - ], - "members": { - "VolumeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {} - } - } - }, - "DeleteTape": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "TapeARN" - ], - "members": { - "GatewayARN": {}, - "TapeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "DeleteTapeArchive": { - "input": { - "type": "structure", - "required": [ - "TapeARN" - ], - "members": { - "TapeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "DeleteVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeARN" - ], - "members": { - "VolumeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {} - } - } - }, - "DescribeBandwidthRateLimit": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "AverageUploadRateLimitInBitsPerSec": { - "type": "long" - }, - "AverageDownloadRateLimitInBitsPerSec": { - "type": "long" - } - } - } - }, - "DescribeCache": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "DiskIds": { - "shape": "Sc" - }, - "CacheAllocatedInBytes": { - "type": "long" - }, - "CacheUsedPercentage": { - "type": "double" - }, - "CacheDirtyPercentage": { - "type": "double" - }, - "CacheHitPercentage": { - "type": "double" - }, - "CacheMissPercentage": { - "type": "double" - } - } - } - }, - "DescribeCachediSCSIVolumes": { - "input": { - "type": "structure", - "required": [ - "VolumeARNs" - ], - "members": { - "VolumeARNs": { - "shape": "S2a" - } - } - }, - "output": { - "type": "structure", - "members": { - "CachediSCSIVolumes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VolumeARN": {}, - "VolumeId": {}, - "VolumeType": {}, - "VolumeStatus": {}, - "VolumeSizeInBytes": { - "type": "long" - }, - "VolumeProgress": { - "type": "double" - }, - "SourceSnapshotId": {}, - "VolumeiSCSIAttributes": { - "shape": "S2i" - } - } - } - } - } - } - }, - "DescribeChapCredentials": { - "input": { - "type": "structure", - "required": [ - "TargetARN" - ], - "members": { - "TargetARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChapCredentials": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TargetARN": {}, - "SecretToAuthenticateInitiator": {}, - "InitiatorName": {}, - "SecretToAuthenticateTarget": {} - } - } - } - } - } - }, - "DescribeGatewayInformation": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "GatewayId": {}, - "GatewayName": {}, - "GatewayTimezone": {}, - "GatewayState": {}, - "GatewayNetworkInterfaces": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Ipv4Address": {}, - "MacAddress": {}, - "Ipv6Address": {} - } - } - }, - "GatewayType": {}, - "NextUpdateAvailabilityDate": {}, - "LastSoftwareUpdate": {} - } - } - }, - "DescribeMaintenanceStartTime": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "HourOfDay": { - "type": "integer" - }, - "MinuteOfHour": { - "type": "integer" - }, - "DayOfWeek": { - "type": "integer" - }, - "Timezone": {} - } - } - }, - "DescribeSnapshotSchedule": { - "input": { - "type": "structure", - "required": [ - "VolumeARN" - ], - "members": { - "VolumeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {}, - "StartAt": { - "type": "integer" - }, - "RecurrenceInHours": { - "type": "integer" - }, - "Description": {}, - "Timezone": {} - } - } - }, - "DescribeStorediSCSIVolumes": { - "input": { - "type": "structure", - "required": [ - "VolumeARNs" - ], - "members": { - "VolumeARNs": { - "shape": "S2a" - } - } - }, - "output": { - "type": "structure", - "members": { - "StorediSCSIVolumes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VolumeARN": {}, - "VolumeId": {}, - "VolumeType": {}, - "VolumeStatus": {}, - "VolumeSizeInBytes": { - "type": "long" - }, - "VolumeProgress": { - "type": "double" - }, - "VolumeDiskId": {}, - "SourceSnapshotId": {}, - "PreservedExistingData": { - "type": "boolean" - }, - "VolumeiSCSIAttributes": { - "shape": "S2i" - } - } - } - } - } - } - }, - "DescribeTapeArchives": { - "input": { - "type": "structure", - "members": { - "TapeARNs": { - "shape": "S1l" - }, - "Marker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "TapeArchives": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TapeARN": {}, - "TapeBarcode": {}, - "TapeSizeInBytes": { - "type": "long" - }, - "CompletionTime": { - "type": "timestamp" - }, - "RetrievedTo": {}, - "TapeStatus": {} - } - } - }, - "Marker": {} - } - } - }, - "DescribeTapeRecoveryPoints": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {}, - "Marker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "TapeRecoveryPointInfos": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TapeARN": {}, - "TapeRecoveryPointTime": { - "type": "timestamp" - }, - "TapeSizeInBytes": { - "type": "long" - }, - "TapeStatus": {} - } - } - }, - "Marker": {} - } - } - }, - "DescribeTapes": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {}, - "TapeARNs": { - "shape": "S1l" - }, - "Marker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Tapes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TapeARN": {}, - "TapeBarcode": {}, - "TapeSizeInBytes": { - "type": "long" - }, - "TapeStatus": {}, - "VTLDevice": {}, - "Progress": { - "type": "double" - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeUploadBuffer": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "DiskIds": { - "shape": "Sc" - }, - "UploadBufferUsedInBytes": { - "type": "long" - }, - "UploadBufferAllocatedInBytes": { - "type": "long" - } - } - } - }, - "DescribeVTLDevices": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {}, - "VTLDeviceARNs": { - "type": "list", - "member": {} - }, - "Marker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "VTLDevices": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VTLDeviceARN": {}, - "VTLDeviceType": {}, - "VTLDeviceVendor": {}, - "VTLDeviceProductIdentifier": {}, - "DeviceiSCSIAttributes": { - "type": "structure", - "members": { - "TargetARN": {}, - "NetworkInterfaceId": {}, - "NetworkInterfacePort": { - "type": "integer" - }, - "ChapEnabled": { - "type": "boolean" - } - } - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeWorkingStorage": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "DiskIds": { - "shape": "Sc" - }, - "WorkingStorageUsedInBytes": { - "type": "long" - }, - "WorkingStorageAllocatedInBytes": { - "type": "long" - } - } - } - }, - "DisableGateway": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "ListGateways": { - "input": { - "type": "structure", - "members": { - "Marker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Gateways": { - "type": "list", - "member": { - "type": "structure", - "members": { - "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": "S1l" - }, - "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" - } - } - } - } - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceARN", - "TagKeys" - ], - "members": { - "ResourceARN": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "ResourceARN": {} - } - } - }, - "ResetCache": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "RetrieveTapeArchive": { - "input": { - "type": "structure", - "required": [ - "TapeARN", - "GatewayARN" - ], - "members": { - "TapeARN": {}, - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "RetrieveTapeRecoveryPoint": { - "input": { - "type": "structure", - "required": [ - "TapeARN", - "GatewayARN" - ], - "members": { - "TapeARN": {}, - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "SetLocalConsolePassword": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "LocalConsolePassword" - ], - "members": { - "GatewayARN": {}, - "LocalConsolePassword": { - "type": "string", - "sensitive": true - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "ShutdownGateway": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "StartGateway": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "UpdateBandwidthRateLimit": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {}, - "AverageUploadRateLimitInBitsPerSec": { - "type": "long" - }, - "AverageDownloadRateLimitInBitsPerSec": { - "type": "long" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "UpdateChapCredentials": { - "input": { - "type": "structure", - "required": [ - "TargetARN", - "SecretToAuthenticateInitiator", - "InitiatorName" - ], - "members": { - "TargetARN": {}, - "SecretToAuthenticateInitiator": {}, - "InitiatorName": {}, - "SecretToAuthenticateTarget": {} - } - }, - "output": { - "type": "structure", - "members": { - "TargetARN": {}, - "InitiatorName": {} - } - } - }, - "UpdateGatewayInformation": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {}, - "GatewayName": {}, - "GatewayTimezone": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "GatewayName": {} - } - } - }, - "UpdateGatewaySoftwareNow": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "UpdateMaintenanceStartTime": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "HourOfDay", - "MinuteOfHour", - "DayOfWeek" - ], - "members": { - "GatewayARN": {}, - "HourOfDay": { - "type": "integer" - }, - "MinuteOfHour": { - "type": "integer" - }, - "DayOfWeek": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "UpdateSnapshotSchedule": { - "input": { - "type": "structure", - "required": [ - "VolumeARN", - "StartAt", - "RecurrenceInHours" - ], - "members": { - "VolumeARN": {}, - "StartAt": { - "type": "integer" - }, - "RecurrenceInHours": { - "type": "integer" - }, - "Description": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {} - } - } - }, - "UpdateVTLDeviceType": { - "input": { - "type": "structure", - "required": [ - "VTLDeviceARN", - "DeviceType" - ], - "members": { - "VTLDeviceARN": {}, - "DeviceType": {} - } - }, - "output": { - "type": "structure", - "members": { - "VTLDeviceARN": {} - } - } - } - }, - "shapes": { - "Sc": { - "type": "list", - "member": {} - }, - "Sh": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S1l": { - "type": "list", - "member": {} - }, - "S2a": { - "type": "list", - "member": {} - }, - "S2i": { - "type": "structure", - "members": { - "TargetARN": {}, - "NetworkInterfaceId": {}, - "NetworkInterfacePort": { - "type": "integer" - }, - "LunNumber": { - "type": "integer" - }, - "ChapEnabled": { - "type": "boolean" - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/storagegateway-2013-06-30.paginators.json b/node_modules/aws-sdk/apis/storagegateway-2013-06-30.paginators.json deleted file mode 100644 index 286915c..0000000 --- a/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" - } - } -} diff --git a/node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.min.json b/node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.min.json deleted file mode 100644 index 0e173f6..0000000 --- a/node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.min.json +++ /dev/null @@ -1,238 +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" - }, - "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": {} - } - } - } - } - }, - "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/node_modules/aws-sdk/apis/sts-2011-06-15.min.json b/node_modules/aws-sdk/apis/sts-2011-06-15.min.json deleted file mode 100644 index 219221d..0000000 --- a/node_modules/aws-sdk/apis/sts-2011-06-15.min.json +++ /dev/null @@ -1,249 +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", - "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/node_modules/aws-sdk/apis/support-2013-04-15.min.json b/node_modules/aws-sdk/apis/support-2013-04-15.min.json deleted file mode 100644 index dc10080..0000000 --- a/node_modules/aws-sdk/apis/support-2013-04-15.min.json +++ /dev/null @@ -1,569 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "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/node_modules/aws-sdk/apis/support-2013-04-15.paginators.json b/node_modules/aws-sdk/apis/support-2013-04-15.paginators.json deleted file mode 100644 index 1368630..0000000 --- a/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/node_modules/aws-sdk/apis/swf-2012-01-25.min.json b/node_modules/aws-sdk/apis/swf-2012-01-25.min.json deleted file mode 100644 index ebd4a22..0000000 --- a/node_modules/aws-sdk/apis/swf-2012-01-25.min.json +++ /dev/null @@ -1,2217 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2012-01-25", - "endpointPrefix": "swf", - "jsonVersion": "1.0", - "serviceAbbreviation": "Amazon SWF", - "serviceFullName": "Amazon Simple Workflow Service", - "signatureVersion": "v4", - "targetPrefix": "SimpleWorkflowService", - "timestampFormat": "unixTimestamp", - "protocol": "json" - }, - "operations": { - "CountClosedWorkflowExecutions": { - "input": { - "type": "structure", - "required": [ - "domain" - ], - "members": { - "domain": {}, - "startTimeFilter": { - "shape": "S3" - }, - "closeTimeFilter": { - "shape": "S3" - }, - "executionFilter": { - "shape": "S5" - }, - "typeFilter": { - "shape": "S7" - }, - "tagFilter": { - "shape": "Sa" - }, - "closeStatusFilter": { - "shape": "Sc" - } - } - }, - "output": { - "shape": "Se" - } - }, - "CountOpenWorkflowExecutions": { - "input": { - "type": "structure", - "required": [ - "domain", - "startTimeFilter" - ], - "members": { - "domain": {}, - "startTimeFilter": { - "shape": "S3" - }, - "typeFilter": { - "shape": "S7" - }, - "tagFilter": { - "shape": "Sa" - }, - "executionFilter": { - "shape": "S5" - } - } - }, - "output": { - "shape": "Se" - } - }, - "CountPendingActivityTasks": { - "input": { - "type": "structure", - "required": [ - "domain", - "taskList" - ], - "members": { - "domain": {}, - "taskList": { - "shape": "Sj" - } - } - }, - "output": { - "shape": "Sk" - } - }, - "CountPendingDecisionTasks": { - "input": { - "type": "structure", - "required": [ - "domain", - "taskList" - ], - "members": { - "domain": {}, - "taskList": { - "shape": "Sj" - } - } - }, - "output": { - "shape": "Sk" - } - }, - "DeprecateActivityType": { - "input": { - "type": "structure", - "required": [ - "domain", - "activityType" - ], - "members": { - "domain": {}, - "activityType": { - "shape": "Sn" - } - } - } - }, - "DeprecateDomain": { - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {} - } - } - }, - "DeprecateWorkflowType": { - "input": { - "type": "structure", - "required": [ - "domain", - "workflowType" - ], - "members": { - "domain": {}, - "workflowType": { - "shape": "Sr" - } - } - } - }, - "DescribeActivityType": { - "input": { - "type": "structure", - "required": [ - "domain", - "activityType" - ], - "members": { - "domain": {}, - "activityType": { - "shape": "Sn" - } - } - }, - "output": { - "type": "structure", - "required": [ - "typeInfo", - "configuration" - ], - "members": { - "typeInfo": { - "shape": "Su" - }, - "configuration": { - "type": "structure", - "members": { - "defaultTaskStartToCloseTimeout": {}, - "defaultTaskHeartbeatTimeout": {}, - "defaultTaskList": { - "shape": "Sj" - }, - "defaultTaskPriority": {}, - "defaultTaskScheduleToStartTimeout": {}, - "defaultTaskScheduleToCloseTimeout": {} - } - } - } - } - }, - "DescribeDomain": { - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {} - } - }, - "output": { - "type": "structure", - "required": [ - "domainInfo", - "configuration" - ], - "members": { - "domainInfo": { - "shape": "S12" - }, - "configuration": { - "type": "structure", - "required": [ - "workflowExecutionRetentionPeriodInDays" - ], - "members": { - "workflowExecutionRetentionPeriodInDays": {} - } - } - } - } - }, - "DescribeWorkflowExecution": { - "input": { - "type": "structure", - "required": [ - "domain", - "execution" - ], - "members": { - "domain": {}, - "execution": { - "shape": "S16" - } - } - }, - "output": { - "type": "structure", - "required": [ - "executionInfo", - "executionConfiguration", - "openCounts" - ], - "members": { - "executionInfo": { - "shape": "S19" - }, - "executionConfiguration": { - "type": "structure", - "required": [ - "taskStartToCloseTimeout", - "executionStartToCloseTimeout", - "taskList", - "childPolicy" - ], - "members": { - "taskStartToCloseTimeout": {}, - "executionStartToCloseTimeout": {}, - "taskList": { - "shape": "Sj" - }, - "taskPriority": {}, - "childPolicy": {}, - "lambdaRole": {} - } - }, - "openCounts": { - "type": "structure", - "required": [ - "openActivityTasks", - "openDecisionTasks", - "openTimers", - "openChildWorkflowExecutions" - ], - "members": { - "openActivityTasks": { - "type": "integer" - }, - "openDecisionTasks": { - "type": "integer" - }, - "openTimers": { - "type": "integer" - }, - "openChildWorkflowExecutions": { - "type": "integer" - }, - "openLambdaFunctions": { - "type": "integer" - } - } - }, - "latestActivityTaskTimestamp": { - "type": "timestamp" - }, - "latestExecutionContext": {} - } - } - }, - "DescribeWorkflowType": { - "input": { - "type": "structure", - "required": [ - "domain", - "workflowType" - ], - "members": { - "domain": {}, - "workflowType": { - "shape": "Sr" - } - } - }, - "output": { - "type": "structure", - "required": [ - "typeInfo", - "configuration" - ], - "members": { - "typeInfo": { - "shape": "S1m" - }, - "configuration": { - "type": "structure", - "members": { - "defaultTaskStartToCloseTimeout": {}, - "defaultExecutionStartToCloseTimeout": {}, - "defaultTaskList": { - "shape": "Sj" - }, - "defaultTaskPriority": {}, - "defaultChildPolicy": {}, - "defaultLambdaRole": {} - } - } - } - } - }, - "GetWorkflowExecutionHistory": { - "input": { - "type": "structure", - "required": [ - "domain", - "execution" - ], - "members": { - "domain": {}, - "execution": { - "shape": "S16" - }, - "nextPageToken": {}, - "maximumPageSize": { - "type": "integer" - }, - "reverseOrder": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "required": [ - "events" - ], - "members": { - "events": { - "shape": "S1t" - }, - "nextPageToken": {} - } - } - }, - "ListActivityTypes": { - "input": { - "type": "structure", - "required": [ - "domain", - "registrationStatus" - ], - "members": { - "domain": {}, - "name": {}, - "registrationStatus": {}, - "nextPageToken": {}, - "maximumPageSize": { - "type": "integer" - }, - "reverseOrder": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "required": [ - "typeInfos" - ], - "members": { - "typeInfos": { - "type": "list", - "member": { - "shape": "Su" - } - }, - "nextPageToken": {} - } - } - }, - "ListClosedWorkflowExecutions": { - "input": { - "type": "structure", - "required": [ - "domain" - ], - "members": { - "domain": {}, - "startTimeFilter": { - "shape": "S3" - }, - "closeTimeFilter": { - "shape": "S3" - }, - "executionFilter": { - "shape": "S5" - }, - "closeStatusFilter": { - "shape": "Sc" - }, - "typeFilter": { - "shape": "S7" - }, - "tagFilter": { - "shape": "Sa" - }, - "nextPageToken": {}, - "maximumPageSize": { - "type": "integer" - }, - "reverseOrder": { - "type": "boolean" - } - } - }, - "output": { - "shape": "S4g" - } - }, - "ListDomains": { - "input": { - "type": "structure", - "required": [ - "registrationStatus" - ], - "members": { - "nextPageToken": {}, - "registrationStatus": {}, - "maximumPageSize": { - "type": "integer" - }, - "reverseOrder": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "required": [ - "domainInfos" - ], - "members": { - "domainInfos": { - "type": "list", - "member": { - "shape": "S12" - } - }, - "nextPageToken": {} - } - } - }, - "ListOpenWorkflowExecutions": { - "input": { - "type": "structure", - "required": [ - "domain", - "startTimeFilter" - ], - "members": { - "domain": {}, - "startTimeFilter": { - "shape": "S3" - }, - "typeFilter": { - "shape": "S7" - }, - "tagFilter": { - "shape": "Sa" - }, - "nextPageToken": {}, - "maximumPageSize": { - "type": "integer" - }, - "reverseOrder": { - "type": "boolean" - }, - "executionFilter": { - "shape": "S5" - } - } - }, - "output": { - "shape": "S4g" - } - }, - "ListWorkflowTypes": { - "input": { - "type": "structure", - "required": [ - "domain", - "registrationStatus" - ], - "members": { - "domain": {}, - "name": {}, - "registrationStatus": {}, - "nextPageToken": {}, - "maximumPageSize": { - "type": "integer" - }, - "reverseOrder": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "required": [ - "typeInfos" - ], - "members": { - "typeInfos": { - "type": "list", - "member": { - "shape": "S1m" - } - }, - "nextPageToken": {} - } - } - }, - "PollForActivityTask": { - "input": { - "type": "structure", - "required": [ - "domain", - "taskList" - ], - "members": { - "domain": {}, - "taskList": { - "shape": "Sj" - }, - "identity": {} - } - }, - "output": { - "type": "structure", - "required": [ - "taskToken", - "activityId", - "startedEventId", - "workflowExecution", - "activityType" - ], - "members": { - "taskToken": {}, - "activityId": {}, - "startedEventId": { - "type": "long" - }, - "workflowExecution": { - "shape": "S16" - }, - "activityType": { - "shape": "Sn" - }, - "input": {} - } - } - }, - "PollForDecisionTask": { - "input": { - "type": "structure", - "required": [ - "domain", - "taskList" - ], - "members": { - "domain": {}, - "taskList": { - "shape": "Sj" - }, - "identity": {}, - "nextPageToken": {}, - "maximumPageSize": { - "type": "integer" - }, - "reverseOrder": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "required": [ - "taskToken", - "startedEventId", - "workflowExecution", - "workflowType", - "events" - ], - "members": { - "taskToken": {}, - "startedEventId": { - "type": "long" - }, - "workflowExecution": { - "shape": "S16" - }, - "workflowType": { - "shape": "Sr" - }, - "events": { - "shape": "S1t" - }, - "nextPageToken": {}, - "previousStartedEventId": { - "type": "long" - } - } - } - }, - "RecordActivityTaskHeartbeat": { - "input": { - "type": "structure", - "required": [ - "taskToken" - ], - "members": { - "taskToken": {}, - "details": {} - } - }, - "output": { - "type": "structure", - "required": [ - "cancelRequested" - ], - "members": { - "cancelRequested": { - "type": "boolean" - } - } - } - }, - "RegisterActivityType": { - "input": { - "type": "structure", - "required": [ - "domain", - "name", - "version" - ], - "members": { - "domain": {}, - "name": {}, - "version": {}, - "description": {}, - "defaultTaskStartToCloseTimeout": {}, - "defaultTaskHeartbeatTimeout": {}, - "defaultTaskList": { - "shape": "Sj" - }, - "defaultTaskPriority": {}, - "defaultTaskScheduleToStartTimeout": {}, - "defaultTaskScheduleToCloseTimeout": {} - } - } - }, - "RegisterDomain": { - "input": { - "type": "structure", - "required": [ - "name", - "workflowExecutionRetentionPeriodInDays" - ], - "members": { - "name": {}, - "description": {}, - "workflowExecutionRetentionPeriodInDays": {} - } - } - }, - "RegisterWorkflowType": { - "input": { - "type": "structure", - "required": [ - "domain", - "name", - "version" - ], - "members": { - "domain": {}, - "name": {}, - "version": {}, - "description": {}, - "defaultTaskStartToCloseTimeout": {}, - "defaultExecutionStartToCloseTimeout": {}, - "defaultTaskList": { - "shape": "Sj" - }, - "defaultTaskPriority": {}, - "defaultChildPolicy": {}, - "defaultLambdaRole": {} - } - } - }, - "RequestCancelWorkflowExecution": { - "input": { - "type": "structure", - "required": [ - "domain", - "workflowId" - ], - "members": { - "domain": {}, - "workflowId": {}, - "runId": {} - } - } - }, - "RespondActivityTaskCanceled": { - "input": { - "type": "structure", - "required": [ - "taskToken" - ], - "members": { - "taskToken": {}, - "details": {} - } - } - }, - "RespondActivityTaskCompleted": { - "input": { - "type": "structure", - "required": [ - "taskToken" - ], - "members": { - "taskToken": {}, - "result": {} - } - } - }, - "RespondActivityTaskFailed": { - "input": { - "type": "structure", - "required": [ - "taskToken" - ], - "members": { - "taskToken": {}, - "reason": {}, - "details": {} - } - } - }, - "RespondDecisionTaskCompleted": { - "input": { - "type": "structure", - "required": [ - "taskToken" - ], - "members": { - "taskToken": {}, - "decisions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "decisionType" - ], - "members": { - "decisionType": {}, - "scheduleActivityTaskDecisionAttributes": { - "type": "structure", - "required": [ - "activityType", - "activityId" - ], - "members": { - "activityType": { - "shape": "Sn" - }, - "activityId": {}, - "control": {}, - "input": {}, - "scheduleToCloseTimeout": {}, - "taskList": { - "shape": "Sj" - }, - "taskPriority": {}, - "scheduleToStartTimeout": {}, - "startToCloseTimeout": {}, - "heartbeatTimeout": {} - } - }, - "requestCancelActivityTaskDecisionAttributes": { - "type": "structure", - "required": [ - "activityId" - ], - "members": { - "activityId": {} - } - }, - "completeWorkflowExecutionDecisionAttributes": { - "type": "structure", - "members": { - "result": {} - } - }, - "failWorkflowExecutionDecisionAttributes": { - "type": "structure", - "members": { - "reason": {}, - "details": {} - } - }, - "cancelWorkflowExecutionDecisionAttributes": { - "type": "structure", - "members": { - "details": {} - } - }, - "continueAsNewWorkflowExecutionDecisionAttributes": { - "type": "structure", - "members": { - "input": {}, - "executionStartToCloseTimeout": {}, - "taskList": { - "shape": "Sj" - }, - "taskPriority": {}, - "taskStartToCloseTimeout": {}, - "childPolicy": {}, - "tagList": { - "shape": "S1b" - }, - "workflowTypeVersion": {}, - "lambdaRole": {} - } - }, - "recordMarkerDecisionAttributes": { - "type": "structure", - "required": [ - "markerName" - ], - "members": { - "markerName": {}, - "details": {} - } - }, - "startTimerDecisionAttributes": { - "type": "structure", - "required": [ - "timerId", - "startToFireTimeout" - ], - "members": { - "timerId": {}, - "control": {}, - "startToFireTimeout": {} - } - }, - "cancelTimerDecisionAttributes": { - "type": "structure", - "required": [ - "timerId" - ], - "members": { - "timerId": {} - } - }, - "signalExternalWorkflowExecutionDecisionAttributes": { - "type": "structure", - "required": [ - "workflowId", - "signalName" - ], - "members": { - "workflowId": {}, - "runId": {}, - "signalName": {}, - "input": {}, - "control": {} - } - }, - "requestCancelExternalWorkflowExecutionDecisionAttributes": { - "type": "structure", - "required": [ - "workflowId" - ], - "members": { - "workflowId": {}, - "runId": {}, - "control": {} - } - }, - "startChildWorkflowExecutionDecisionAttributes": { - "type": "structure", - "required": [ - "workflowType", - "workflowId" - ], - "members": { - "workflowType": { - "shape": "Sr" - }, - "workflowId": {}, - "control": {}, - "input": {}, - "executionStartToCloseTimeout": {}, - "taskList": { - "shape": "Sj" - }, - "taskPriority": {}, - "taskStartToCloseTimeout": {}, - "childPolicy": {}, - "tagList": { - "shape": "S1b" - }, - "lambdaRole": {} - } - }, - "scheduleLambdaFunctionDecisionAttributes": { - "type": "structure", - "required": [ - "id", - "name" - ], - "members": { - "id": {}, - "name": {}, - "input": {}, - "startToCloseTimeout": {} - } - } - } - } - }, - "executionContext": {} - } - } - }, - "SignalWorkflowExecution": { - "input": { - "type": "structure", - "required": [ - "domain", - "workflowId", - "signalName" - ], - "members": { - "domain": {}, - "workflowId": {}, - "runId": {}, - "signalName": {}, - "input": {} - } - } - }, - "StartWorkflowExecution": { - "input": { - "type": "structure", - "required": [ - "domain", - "workflowId", - "workflowType" - ], - "members": { - "domain": {}, - "workflowId": {}, - "workflowType": { - "shape": "Sr" - }, - "taskList": { - "shape": "Sj" - }, - "taskPriority": {}, - "input": {}, - "executionStartToCloseTimeout": {}, - "tagList": { - "shape": "S1b" - }, - "taskStartToCloseTimeout": {}, - "childPolicy": {}, - "lambdaRole": {} - } - }, - "output": { - "type": "structure", - "members": { - "runId": {} - } - } - }, - "TerminateWorkflowExecution": { - "input": { - "type": "structure", - "required": [ - "domain", - "workflowId" - ], - "members": { - "domain": {}, - "workflowId": {}, - "runId": {}, - "reason": {}, - "details": {}, - "childPolicy": {} - } - } - } - }, - "shapes": { - "S3": { - "type": "structure", - "required": [ - "oldestDate" - ], - "members": { - "oldestDate": { - "type": "timestamp" - }, - "latestDate": { - "type": "timestamp" - } - } - }, - "S5": { - "type": "structure", - "required": [ - "workflowId" - ], - "members": { - "workflowId": {} - } - }, - "S7": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {}, - "version": {} - } - }, - "Sa": { - "type": "structure", - "required": [ - "tag" - ], - "members": { - "tag": {} - } - }, - "Sc": { - "type": "structure", - "required": [ - "status" - ], - "members": { - "status": {} - } - }, - "Se": { - "type": "structure", - "required": [ - "count" - ], - "members": { - "count": { - "type": "integer" - }, - "truncated": { - "type": "boolean" - } - } - }, - "Sj": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {} - } - }, - "Sk": { - "type": "structure", - "required": [ - "count" - ], - "members": { - "count": { - "type": "integer" - }, - "truncated": { - "type": "boolean" - } - } - }, - "Sn": { - "type": "structure", - "required": [ - "name", - "version" - ], - "members": { - "name": {}, - "version": {} - } - }, - "Sr": { - "type": "structure", - "required": [ - "name", - "version" - ], - "members": { - "name": {}, - "version": {} - } - }, - "Su": { - "type": "structure", - "required": [ - "activityType", - "status", - "creationDate" - ], - "members": { - "activityType": { - "shape": "Sn" - }, - "status": {}, - "description": {}, - "creationDate": { - "type": "timestamp" - }, - "deprecationDate": { - "type": "timestamp" - } - } - }, - "S12": { - "type": "structure", - "required": [ - "name", - "status" - ], - "members": { - "name": {}, - "status": {}, - "description": {} - } - }, - "S16": { - "type": "structure", - "required": [ - "workflowId", - "runId" - ], - "members": { - "workflowId": {}, - "runId": {} - } - }, - "S19": { - "type": "structure", - "required": [ - "execution", - "workflowType", - "startTimestamp", - "executionStatus" - ], - "members": { - "execution": { - "shape": "S16" - }, - "workflowType": { - "shape": "Sr" - }, - "startTimestamp": { - "type": "timestamp" - }, - "closeTimestamp": { - "type": "timestamp" - }, - "executionStatus": {}, - "closeStatus": {}, - "parent": { - "shape": "S16" - }, - "tagList": { - "shape": "S1b" - }, - "cancelRequested": { - "type": "boolean" - } - } - }, - "S1b": { - "type": "list", - "member": {} - }, - "S1m": { - "type": "structure", - "required": [ - "workflowType", - "status", - "creationDate" - ], - "members": { - "workflowType": { - "shape": "Sr" - }, - "status": {}, - "description": {}, - "creationDate": { - "type": "timestamp" - }, - "deprecationDate": { - "type": "timestamp" - } - } - }, - "S1t": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "eventTimestamp", - "eventType", - "eventId" - ], - "members": { - "eventTimestamp": { - "type": "timestamp" - }, - "eventType": {}, - "eventId": { - "type": "long" - }, - "workflowExecutionStartedEventAttributes": { - "type": "structure", - "required": [ - "childPolicy", - "taskList", - "workflowType" - ], - "members": { - "input": {}, - "executionStartToCloseTimeout": {}, - "taskStartToCloseTimeout": {}, - "childPolicy": {}, - "taskList": { - "shape": "Sj" - }, - "workflowType": { - "shape": "Sr" - }, - "tagList": { - "shape": "S1b" - }, - "taskPriority": {}, - "continuedExecutionRunId": {}, - "parentWorkflowExecution": { - "shape": "S16" - }, - "parentInitiatedEventId": { - "type": "long" - }, - "lambdaRole": {} - } - }, - "workflowExecutionCompletedEventAttributes": { - "type": "structure", - "required": [ - "decisionTaskCompletedEventId" - ], - "members": { - "result": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "completeWorkflowExecutionFailedEventAttributes": { - "type": "structure", - "required": [ - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "workflowExecutionFailedEventAttributes": { - "type": "structure", - "required": [ - "decisionTaskCompletedEventId" - ], - "members": { - "reason": {}, - "details": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "failWorkflowExecutionFailedEventAttributes": { - "type": "structure", - "required": [ - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "workflowExecutionTimedOutEventAttributes": { - "type": "structure", - "required": [ - "timeoutType", - "childPolicy" - ], - "members": { - "timeoutType": {}, - "childPolicy": {} - } - }, - "workflowExecutionCanceledEventAttributes": { - "type": "structure", - "required": [ - "decisionTaskCompletedEventId" - ], - "members": { - "details": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "cancelWorkflowExecutionFailedEventAttributes": { - "type": "structure", - "required": [ - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "workflowExecutionContinuedAsNewEventAttributes": { - "type": "structure", - "required": [ - "decisionTaskCompletedEventId", - "newExecutionRunId", - "taskList", - "childPolicy", - "workflowType" - ], - "members": { - "input": {}, - "decisionTaskCompletedEventId": { - "type": "long" - }, - "newExecutionRunId": {}, - "executionStartToCloseTimeout": {}, - "taskList": { - "shape": "Sj" - }, - "taskPriority": {}, - "taskStartToCloseTimeout": {}, - "childPolicy": {}, - "tagList": { - "shape": "S1b" - }, - "workflowType": { - "shape": "Sr" - }, - "lambdaRole": {} - } - }, - "continueAsNewWorkflowExecutionFailedEventAttributes": { - "type": "structure", - "required": [ - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "workflowExecutionTerminatedEventAttributes": { - "type": "structure", - "required": [ - "childPolicy" - ], - "members": { - "reason": {}, - "details": {}, - "childPolicy": {}, - "cause": {} - } - }, - "workflowExecutionCancelRequestedEventAttributes": { - "type": "structure", - "members": { - "externalWorkflowExecution": { - "shape": "S16" - }, - "externalInitiatedEventId": { - "type": "long" - }, - "cause": {} - } - }, - "decisionTaskScheduledEventAttributes": { - "type": "structure", - "required": [ - "taskList" - ], - "members": { - "taskList": { - "shape": "Sj" - }, - "taskPriority": {}, - "startToCloseTimeout": {} - } - }, - "decisionTaskStartedEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId" - ], - "members": { - "identity": {}, - "scheduledEventId": { - "type": "long" - } - } - }, - "decisionTaskCompletedEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId", - "startedEventId" - ], - "members": { - "executionContext": {}, - "scheduledEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - } - } - }, - "decisionTaskTimedOutEventAttributes": { - "type": "structure", - "required": [ - "timeoutType", - "scheduledEventId", - "startedEventId" - ], - "members": { - "timeoutType": {}, - "scheduledEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - } - } - }, - "activityTaskScheduledEventAttributes": { - "type": "structure", - "required": [ - "activityType", - "activityId", - "taskList", - "decisionTaskCompletedEventId" - ], - "members": { - "activityType": { - "shape": "Sn" - }, - "activityId": {}, - "input": {}, - "control": {}, - "scheduleToStartTimeout": {}, - "scheduleToCloseTimeout": {}, - "startToCloseTimeout": {}, - "taskList": { - "shape": "Sj" - }, - "taskPriority": {}, - "decisionTaskCompletedEventId": { - "type": "long" - }, - "heartbeatTimeout": {} - } - }, - "activityTaskStartedEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId" - ], - "members": { - "identity": {}, - "scheduledEventId": { - "type": "long" - } - } - }, - "activityTaskCompletedEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId", - "startedEventId" - ], - "members": { - "result": {}, - "scheduledEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - } - } - }, - "activityTaskFailedEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId", - "startedEventId" - ], - "members": { - "reason": {}, - "details": {}, - "scheduledEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - } - } - }, - "activityTaskTimedOutEventAttributes": { - "type": "structure", - "required": [ - "timeoutType", - "scheduledEventId", - "startedEventId" - ], - "members": { - "timeoutType": {}, - "scheduledEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - }, - "details": {} - } - }, - "activityTaskCanceledEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId", - "startedEventId" - ], - "members": { - "details": {}, - "scheduledEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - }, - "latestCancelRequestedEventId": { - "type": "long" - } - } - }, - "activityTaskCancelRequestedEventAttributes": { - "type": "structure", - "required": [ - "decisionTaskCompletedEventId", - "activityId" - ], - "members": { - "decisionTaskCompletedEventId": { - "type": "long" - }, - "activityId": {} - } - }, - "workflowExecutionSignaledEventAttributes": { - "type": "structure", - "required": [ - "signalName" - ], - "members": { - "signalName": {}, - "input": {}, - "externalWorkflowExecution": { - "shape": "S16" - }, - "externalInitiatedEventId": { - "type": "long" - } - } - }, - "markerRecordedEventAttributes": { - "type": "structure", - "required": [ - "markerName", - "decisionTaskCompletedEventId" - ], - "members": { - "markerName": {}, - "details": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "recordMarkerFailedEventAttributes": { - "type": "structure", - "required": [ - "markerName", - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "markerName": {}, - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "timerStartedEventAttributes": { - "type": "structure", - "required": [ - "timerId", - "startToFireTimeout", - "decisionTaskCompletedEventId" - ], - "members": { - "timerId": {}, - "control": {}, - "startToFireTimeout": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "timerFiredEventAttributes": { - "type": "structure", - "required": [ - "timerId", - "startedEventId" - ], - "members": { - "timerId": {}, - "startedEventId": { - "type": "long" - } - } - }, - "timerCanceledEventAttributes": { - "type": "structure", - "required": [ - "timerId", - "startedEventId", - "decisionTaskCompletedEventId" - ], - "members": { - "timerId": {}, - "startedEventId": { - "type": "long" - }, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "startChildWorkflowExecutionInitiatedEventAttributes": { - "type": "structure", - "required": [ - "workflowId", - "workflowType", - "taskList", - "decisionTaskCompletedEventId", - "childPolicy" - ], - "members": { - "workflowId": {}, - "workflowType": { - "shape": "Sr" - }, - "control": {}, - "input": {}, - "executionStartToCloseTimeout": {}, - "taskList": { - "shape": "Sj" - }, - "taskPriority": {}, - "decisionTaskCompletedEventId": { - "type": "long" - }, - "childPolicy": {}, - "taskStartToCloseTimeout": {}, - "tagList": { - "shape": "S1b" - }, - "lambdaRole": {} - } - }, - "childWorkflowExecutionStartedEventAttributes": { - "type": "structure", - "required": [ - "workflowExecution", - "workflowType", - "initiatedEventId" - ], - "members": { - "workflowExecution": { - "shape": "S16" - }, - "workflowType": { - "shape": "Sr" - }, - "initiatedEventId": { - "type": "long" - } - } - }, - "childWorkflowExecutionCompletedEventAttributes": { - "type": "structure", - "required": [ - "workflowExecution", - "workflowType", - "initiatedEventId", - "startedEventId" - ], - "members": { - "workflowExecution": { - "shape": "S16" - }, - "workflowType": { - "shape": "Sr" - }, - "result": {}, - "initiatedEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - } - } - }, - "childWorkflowExecutionFailedEventAttributes": { - "type": "structure", - "required": [ - "workflowExecution", - "workflowType", - "initiatedEventId", - "startedEventId" - ], - "members": { - "workflowExecution": { - "shape": "S16" - }, - "workflowType": { - "shape": "Sr" - }, - "reason": {}, - "details": {}, - "initiatedEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - } - } - }, - "childWorkflowExecutionTimedOutEventAttributes": { - "type": "structure", - "required": [ - "workflowExecution", - "workflowType", - "timeoutType", - "initiatedEventId", - "startedEventId" - ], - "members": { - "workflowExecution": { - "shape": "S16" - }, - "workflowType": { - "shape": "Sr" - }, - "timeoutType": {}, - "initiatedEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - } - } - }, - "childWorkflowExecutionCanceledEventAttributes": { - "type": "structure", - "required": [ - "workflowExecution", - "workflowType", - "initiatedEventId", - "startedEventId" - ], - "members": { - "workflowExecution": { - "shape": "S16" - }, - "workflowType": { - "shape": "Sr" - }, - "details": {}, - "initiatedEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - } - } - }, - "childWorkflowExecutionTerminatedEventAttributes": { - "type": "structure", - "required": [ - "workflowExecution", - "workflowType", - "initiatedEventId", - "startedEventId" - ], - "members": { - "workflowExecution": { - "shape": "S16" - }, - "workflowType": { - "shape": "Sr" - }, - "initiatedEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - } - } - }, - "signalExternalWorkflowExecutionInitiatedEventAttributes": { - "type": "structure", - "required": [ - "workflowId", - "signalName", - "decisionTaskCompletedEventId" - ], - "members": { - "workflowId": {}, - "runId": {}, - "signalName": {}, - "input": {}, - "decisionTaskCompletedEventId": { - "type": "long" - }, - "control": {} - } - }, - "externalWorkflowExecutionSignaledEventAttributes": { - "type": "structure", - "required": [ - "workflowExecution", - "initiatedEventId" - ], - "members": { - "workflowExecution": { - "shape": "S16" - }, - "initiatedEventId": { - "type": "long" - } - } - }, - "signalExternalWorkflowExecutionFailedEventAttributes": { - "type": "structure", - "required": [ - "workflowId", - "cause", - "initiatedEventId", - "decisionTaskCompletedEventId" - ], - "members": { - "workflowId": {}, - "runId": {}, - "cause": {}, - "initiatedEventId": { - "type": "long" - }, - "decisionTaskCompletedEventId": { - "type": "long" - }, - "control": {} - } - }, - "externalWorkflowExecutionCancelRequestedEventAttributes": { - "type": "structure", - "required": [ - "workflowExecution", - "initiatedEventId" - ], - "members": { - "workflowExecution": { - "shape": "S16" - }, - "initiatedEventId": { - "type": "long" - } - } - }, - "requestCancelExternalWorkflowExecutionInitiatedEventAttributes": { - "type": "structure", - "required": [ - "workflowId", - "decisionTaskCompletedEventId" - ], - "members": { - "workflowId": {}, - "runId": {}, - "decisionTaskCompletedEventId": { - "type": "long" - }, - "control": {} - } - }, - "requestCancelExternalWorkflowExecutionFailedEventAttributes": { - "type": "structure", - "required": [ - "workflowId", - "cause", - "initiatedEventId", - "decisionTaskCompletedEventId" - ], - "members": { - "workflowId": {}, - "runId": {}, - "cause": {}, - "initiatedEventId": { - "type": "long" - }, - "decisionTaskCompletedEventId": { - "type": "long" - }, - "control": {} - } - }, - "scheduleActivityTaskFailedEventAttributes": { - "type": "structure", - "required": [ - "activityType", - "activityId", - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "activityType": { - "shape": "Sn" - }, - "activityId": {}, - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "requestCancelActivityTaskFailedEventAttributes": { - "type": "structure", - "required": [ - "activityId", - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "activityId": {}, - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "startTimerFailedEventAttributes": { - "type": "structure", - "required": [ - "timerId", - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "timerId": {}, - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "cancelTimerFailedEventAttributes": { - "type": "structure", - "required": [ - "timerId", - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "timerId": {}, - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "startChildWorkflowExecutionFailedEventAttributes": { - "type": "structure", - "required": [ - "workflowType", - "cause", - "workflowId", - "initiatedEventId", - "decisionTaskCompletedEventId" - ], - "members": { - "workflowType": { - "shape": "Sr" - }, - "cause": {}, - "workflowId": {}, - "initiatedEventId": { - "type": "long" - }, - "decisionTaskCompletedEventId": { - "type": "long" - }, - "control": {} - } - }, - "lambdaFunctionScheduledEventAttributes": { - "type": "structure", - "required": [ - "id", - "name", - "decisionTaskCompletedEventId" - ], - "members": { - "id": {}, - "name": {}, - "input": {}, - "startToCloseTimeout": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "lambdaFunctionStartedEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId" - ], - "members": { - "scheduledEventId": { - "type": "long" - } - } - }, - "lambdaFunctionCompletedEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId", - "startedEventId" - ], - "members": { - "scheduledEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - }, - "result": {} - } - }, - "lambdaFunctionFailedEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId", - "startedEventId" - ], - "members": { - "scheduledEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - }, - "reason": {}, - "details": {} - } - }, - "lambdaFunctionTimedOutEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId", - "startedEventId" - ], - "members": { - "scheduledEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - }, - "timeoutType": {} - } - }, - "scheduleLambdaFunctionFailedEventAttributes": { - "type": "structure", - "required": [ - "id", - "name", - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "id": {}, - "name": {}, - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "startLambdaFunctionFailedEventAttributes": { - "type": "structure", - "members": { - "scheduledEventId": { - "type": "long" - }, - "cause": {}, - "message": {} - } - } - } - } - }, - "S4g": { - "type": "structure", - "required": [ - "executionInfos" - ], - "members": { - "executionInfos": { - "type": "list", - "member": { - "shape": "S19" - } - }, - "nextPageToken": {} - } - } - }, - "examples": {} -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/swf-2012-01-25.paginators.json b/node_modules/aws-sdk/apis/swf-2012-01-25.paginators.json deleted file mode 100644 index 892ee38..0000000 --- a/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/node_modules/aws-sdk/apis/waf-2015-08-24.min.json b/node_modules/aws-sdk/apis/waf-2015-08-24.min.json deleted file mode 100644 index 224b7d7..0000000 --- a/node_modules/aws-sdk/apis/waf-2015-08-24.min.json +++ /dev/null @@ -1,1282 +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" - }, - "operations": { - "CreateByteMatchSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ByteMatchSet": { - "shape": "S5" - }, - "ChangeToken": {} - } - } - }, - "CreateIPSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "IPSet": { - "shape": "Sh" - }, - "ChangeToken": {} - } - } - }, - "CreateRule": { - "input": { - "type": "structure", - "required": [ - "Name", - "MetricName", - "ChangeToken" - ], - "members": { - "Name": {}, - "MetricName": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Rule": { - "shape": "Sp" - }, - "ChangeToken": {} - } - } - }, - "CreateSizeConstraintSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "SizeConstraintSet": { - "shape": "Sw" - }, - "ChangeToken": {} - } - } - }, - "CreateSqlInjectionMatchSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "SqlInjectionMatchSet": { - "shape": "S13" - }, - "ChangeToken": {} - } - } - }, - "CreateWebACL": { - "input": { - "type": "structure", - "required": [ - "Name", - "MetricName", - "DefaultAction", - "ChangeToken" - ], - "members": { - "Name": {}, - "MetricName": {}, - "DefaultAction": { - "shape": "S17" - }, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "WebACL": { - "shape": "S1a" - }, - "ChangeToken": {} - } - } - }, - "CreateXssMatchSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "XssMatchSet": { - "shape": "S1g" - }, - "ChangeToken": {} - } - } - }, - "DeleteByteMatchSet": { - "input": { - "type": "structure", - "required": [ - "ByteMatchSetId", - "ChangeToken" - ], - "members": { - "ByteMatchSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteIPSet": { - "input": { - "type": "structure", - "required": [ - "IPSetId", - "ChangeToken" - ], - "members": { - "IPSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteRule": { - "input": { - "type": "structure", - "required": [ - "RuleId", - "ChangeToken" - ], - "members": { - "RuleId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteSizeConstraintSet": { - "input": { - "type": "structure", - "required": [ - "SizeConstraintSetId", - "ChangeToken" - ], - "members": { - "SizeConstraintSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteSqlInjectionMatchSet": { - "input": { - "type": "structure", - "required": [ - "SqlInjectionMatchSetId", - "ChangeToken" - ], - "members": { - "SqlInjectionMatchSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteWebACL": { - "input": { - "type": "structure", - "required": [ - "WebACLId", - "ChangeToken" - ], - "members": { - "WebACLId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteXssMatchSet": { - "input": { - "type": "structure", - "required": [ - "XssMatchSetId", - "ChangeToken" - ], - "members": { - "XssMatchSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "GetByteMatchSet": { - "input": { - "type": "structure", - "required": [ - "ByteMatchSetId" - ], - "members": { - "ByteMatchSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ByteMatchSet": { - "shape": "S5" - } - } - } - }, - "GetChangeToken": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "GetChangeTokenStatus": { - "input": { - "type": "structure", - "required": [ - "ChangeToken" - ], - "members": { - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeTokenStatus": {} - } - } - }, - "GetIPSet": { - "input": { - "type": "structure", - "required": [ - "IPSetId" - ], - "members": { - "IPSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "IPSet": { - "shape": "Sh" - } - } - } - }, - "GetRule": { - "input": { - "type": "structure", - "required": [ - "RuleId" - ], - "members": { - "RuleId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Rule": { - "shape": "Sp" - } - } - } - }, - "GetSampledRequests": { - "input": { - "type": "structure", - "required": [ - "WebAclId", - "RuleId", - "TimeWindow", - "MaxItems" - ], - "members": { - "WebAclId": {}, - "RuleId": {}, - "TimeWindow": { - "shape": "S29" - }, - "MaxItems": { - "type": "long" - } - } - }, - "output": { - "type": "structure", - "members": { - "SampledRequests": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Request", - "Weight" - ], - "members": { - "Request": { - "type": "structure", - "members": { - "ClientIP": {}, - "Country": {}, - "URI": {}, - "Method": {}, - "HTTPVersion": {}, - "Headers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Value": {} - } - } - } - } - }, - "Weight": { - "type": "long" - }, - "Timestamp": { - "type": "timestamp" - }, - "Action": {} - } - } - }, - "PopulationSize": { - "type": "long" - }, - "TimeWindow": { - "shape": "S29" - } - } - } - }, - "GetSizeConstraintSet": { - "input": { - "type": "structure", - "required": [ - "SizeConstraintSetId" - ], - "members": { - "SizeConstraintSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "SizeConstraintSet": { - "shape": "Sw" - } - } - } - }, - "GetSqlInjectionMatchSet": { - "input": { - "type": "structure", - "required": [ - "SqlInjectionMatchSetId" - ], - "members": { - "SqlInjectionMatchSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "SqlInjectionMatchSet": { - "shape": "S13" - } - } - } - }, - "GetWebACL": { - "input": { - "type": "structure", - "required": [ - "WebACLId" - ], - "members": { - "WebACLId": {} - } - }, - "output": { - "type": "structure", - "members": { - "WebACL": { - "shape": "S1a" - } - } - } - }, - "GetXssMatchSet": { - "input": { - "type": "structure", - "required": [ - "XssMatchSetId" - ], - "members": { - "XssMatchSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "XssMatchSet": { - "shape": "S1g" - } - } - } - }, - "ListByteMatchSets": { - "input": { - "type": "structure", - "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": {} - } - } - } - } - } - }, - "ListRules": { - "input": { - "type": "structure", - "members": { - "NextMarker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "Rules": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "RuleId", - "Name" - ], - "members": { - "RuleId": {}, - "Name": {} - } - } - } - } - } - }, - "ListSizeConstraintSets": { - "input": { - "type": "structure", - "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": {} - } - } - }, - "UpdateRule": { - "input": { - "type": "structure", - "required": [ - "RuleId", - "ChangeToken", - "Updates" - ], - "members": { - "RuleId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "Predicate" - ], - "members": { - "Action": {}, - "Predicate": { - "shape": "Sr" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateSizeConstraintSet": { - "input": { - "type": "structure", - "required": [ - "SizeConstraintSetId", - "ChangeToken", - "Updates" - ], - "members": { - "SizeConstraintSetId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "SizeConstraint" - ], - "members": { - "Action": {}, - "SizeConstraint": { - "shape": "Sy" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateSqlInjectionMatchSet": { - "input": { - "type": "structure", - "required": [ - "SqlInjectionMatchSetId", - "ChangeToken", - "Updates" - ], - "members": { - "SqlInjectionMatchSetId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "SqlInjectionMatchTuple" - ], - "members": { - "Action": {}, - "SqlInjectionMatchTuple": { - "shape": "S15" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateWebACL": { - "input": { - "type": "structure", - "required": [ - "WebACLId", - "ChangeToken" - ], - "members": { - "WebACLId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "ActivatedRule" - ], - "members": { - "Action": {}, - "ActivatedRule": { - "shape": "S1c" - } - } - } - }, - "DefaultAction": { - "shape": "S17" - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateXssMatchSet": { - "input": { - "type": "structure", - "required": [ - "XssMatchSetId", - "ChangeToken", - "Updates" - ], - "members": { - "XssMatchSetId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "XssMatchTuple" - ], - "members": { - "Action": {}, - "XssMatchTuple": { - "shape": "S1i" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - } - }, - "shapes": { - "S5": { - "type": "structure", - "required": [ - "ByteMatchSetId", - "ByteMatchTuples" - ], - "members": { - "ByteMatchSetId": {}, - "Name": {}, - "ByteMatchTuples": { - "type": "list", - "member": { - "shape": "S8" - } - } - } - }, - "S8": { - "type": "structure", - "required": [ - "FieldToMatch", - "TargetString", - "TextTransformation", - "PositionalConstraint" - ], - "members": { - "FieldToMatch": { - "shape": "S9" - }, - "TargetString": { - "type": "blob" - }, - "TextTransformation": {}, - "PositionalConstraint": {} - } - }, - "S9": { - "type": "structure", - "required": [ - "Type" - ], - "members": { - "Type": {}, - "Data": {} - } - }, - "Sh": { - "type": "structure", - "required": [ - "IPSetId", - "IPSetDescriptors" - ], - "members": { - "IPSetId": {}, - "Name": {}, - "IPSetDescriptors": { - "type": "list", - "member": { - "shape": "Sj" - } - } - } - }, - "Sj": { - "type": "structure", - "required": [ - "Type", - "Value" - ], - "members": { - "Type": {}, - "Value": {} - } - }, - "Sp": { - "type": "structure", - "required": [ - "RuleId", - "Predicates" - ], - "members": { - "RuleId": {}, - "Name": {}, - "MetricName": {}, - "Predicates": { - "type": "list", - "member": { - "shape": "Sr" - } - } - } - }, - "Sr": { - "type": "structure", - "required": [ - "Negated", - "Type", - "DataId" - ], - "members": { - "Negated": { - "type": "boolean" - }, - "Type": {}, - "DataId": {} - } - }, - "Sw": { - "type": "structure", - "required": [ - "SizeConstraintSetId", - "SizeConstraints" - ], - "members": { - "SizeConstraintSetId": {}, - "Name": {}, - "SizeConstraints": { - "type": "list", - "member": { - "shape": "Sy" - } - } - } - }, - "Sy": { - "type": "structure", - "required": [ - "FieldToMatch", - "TextTransformation", - "ComparisonOperator", - "Size" - ], - "members": { - "FieldToMatch": { - "shape": "S9" - }, - "TextTransformation": {}, - "ComparisonOperator": {}, - "Size": { - "type": "long" - } - } - }, - "S13": { - "type": "structure", - "required": [ - "SqlInjectionMatchSetId", - "SqlInjectionMatchTuples" - ], - "members": { - "SqlInjectionMatchSetId": {}, - "Name": {}, - "SqlInjectionMatchTuples": { - "type": "list", - "member": { - "shape": "S15" - } - } - } - }, - "S15": { - "type": "structure", - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "members": { - "FieldToMatch": { - "shape": "S9" - }, - "TextTransformation": {} - } - }, - "S17": { - "type": "structure", - "required": [ - "Type" - ], - "members": { - "Type": {} - } - }, - "S1a": { - "type": "structure", - "required": [ - "WebACLId", - "DefaultAction", - "Rules" - ], - "members": { - "WebACLId": {}, - "Name": {}, - "MetricName": {}, - "DefaultAction": { - "shape": "S17" - }, - "Rules": { - "type": "list", - "member": { - "shape": "S1c" - } - } - } - }, - "S1c": { - "type": "structure", - "required": [ - "Priority", - "RuleId", - "Action" - ], - "members": { - "Priority": { - "type": "integer" - }, - "RuleId": {}, - "Action": { - "shape": "S17" - } - } - }, - "S1g": { - "type": "structure", - "required": [ - "XssMatchSetId", - "XssMatchTuples" - ], - "members": { - "XssMatchSetId": {}, - "Name": {}, - "XssMatchTuples": { - "type": "list", - "member": { - "shape": "S1i" - } - } - } - }, - "S1i": { - "type": "structure", - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "members": { - "FieldToMatch": { - "shape": "S9" - }, - "TextTransformation": {} - } - }, - "S29": { - "type": "structure", - "required": [ - "StartTime", - "EndTime" - ], - "members": { - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - } - } - } - } -} \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json b/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json deleted file mode 100644 index 4086c8b..0000000 --- a/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +++ /dev/null @@ -1,538 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-04-08", - "endpointPrefix": "workspaces", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Amazon WorkSpaces", - "signatureVersion": "v4", - "targetPrefix": "WorkspacesService" - }, - "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/node_modules/aws-sdk/apis/workspaces-2015-04-08.paginators.json b/node_modules/aws-sdk/apis/workspaces-2015-04-08.paginators.json deleted file mode 100644 index efa8cba..0000000 --- a/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": { - "limit_key": "Limit", - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "Workspaces" - } - } -} diff --git a/node_modules/aws-sdk/bower.json b/node_modules/aws-sdk/bower.json deleted file mode 100644 index bda489f..0000000 --- a/node_modules/aws-sdk/bower.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "aws-sdk", - "ignore": [ - "apis", "doc-src", "dist-tools", "eslint-rules", "features", "lib", - "scripts", "tasks", "test", "Gemfile*", "configuration*", - "Rakefile", "package.json", "testem.json", ".*", "index.js" - ], - "main": "dist/aws-sdk.js" -} diff --git a/node_modules/aws-sdk/browser.js b/node_modules/aws-sdk/browser.js deleted file mode 100644 index 7867151..0000000 --- a/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/node_modules/aws-sdk/clients/acm.js b/node_modules/aws-sdk/clients/acm.js deleted file mode 100644 index 9edd68e..0000000 --- a/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/node_modules/aws-sdk/clients/all.js b/node_modules/aws-sdk/clients/all.js deleted file mode 100644 index bf51a20..0000000 --- a/node_modules/aws-sdk/clients/all.js +++ /dev/null @@ -1,79 +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'), - CloudSearch: require('./cloudsearch'), - CloudSearchDomain: require('./cloudsearchdomain'), - 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'), - 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'), - 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'), - MachineLearning: require('./machinelearning'), - MarketplaceCommerceAnalytics: require('./marketplacecommerceanalytics'), - MarketplaceMetering: require('./marketplacemetering'), - MobileAnalytics: require('./mobileanalytics'), - OpsWorks: require('./opsworks'), - RDS: require('./rds'), - Redshift: require('./redshift'), - Route53: require('./route53'), - Route53Domains: require('./route53domains'), - S3: require('./s3'), - ServiceCatalog: require('./servicecatalog'), - SES: require('./ses'), - SimpleDB: require('./simpledb'), - Snowball: require('./snowball'), - SNS: require('./sns'), - SQS: require('./sqs'), - SSM: require('./ssm'), - StorageGateway: require('./storagegateway'), - STS: require('./sts'), - Support: require('./support'), - SWF: require('./swf'), - WAF: require('./waf'), - WorkSpaces: require('./workspaces') -}; \ No newline at end of file diff --git a/node_modules/aws-sdk/clients/apigateway.js b/node_modules/aws-sdk/clients/apigateway.js deleted file mode 100644 index bd01d66..0000000 --- a/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/node_modules/aws-sdk/clients/applicationautoscaling.js b/node_modules/aws-sdk/clients/applicationautoscaling.js deleted file mode 100644 index d1410ed..0000000 --- a/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/node_modules/aws-sdk/clients/autoscaling.js b/node_modules/aws-sdk/clients/autoscaling.js deleted file mode 100644 index c28afcc..0000000 --- a/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/node_modules/aws-sdk/clients/browser_default.js b/node_modules/aws-sdk/clients/browser_default.js deleted file mode 100644 index b7e6363..0000000 --- a/node_modules/aws-sdk/clients/browser_default.js +++ /dev/null @@ -1,61 +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'), - DeviceFarm: require('./devicefarm'), - DirectConnect: require('./directconnect'), - DynamoDB: require('./dynamodb'), - DynamoDBStreams: require('./dynamodbstreams'), - EC2: require('./ec2'), - ECR: require('./ecr'), - ECS: require('./ecs'), - 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'), - MachineLearning: require('./machinelearning'), - MarketplaceCommerceAnalytics: require('./marketplacecommerceanalytics'), - MobileAnalytics: require('./mobileanalytics'), - OpsWorks: require('./opsworks'), - RDS: require('./rds'), - Redshift: require('./redshift'), - 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') -}; \ No newline at end of file diff --git a/node_modules/aws-sdk/clients/cloudformation.js b/node_modules/aws-sdk/clients/cloudformation.js deleted file mode 100644 index 25167d7..0000000 --- a/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/node_modules/aws-sdk/clients/cloudfront.js b/node_modules/aws-sdk/clients/cloudfront.js deleted file mode 100644 index d6efc89..0000000 --- a/node_modules/aws-sdk/clients/cloudfront.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['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']); -require('../lib/services/cloudfront'); -Object.defineProperty(apiLoader.services['cloudfront'], '2016-09-07', { - get: function get() { - var model = require('../apis/cloudfront-2016-09-07.min.json'); - model.paginators = require('../apis/cloudfront-2016-09-07.paginators.json').pagination; - model.waiters = require('../apis/cloudfront-2016-09-07.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudFront; diff --git a/node_modules/aws-sdk/clients/cloudhsm.js b/node_modules/aws-sdk/clients/cloudhsm.js deleted file mode 100644 index fa4ff36..0000000 --- a/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/node_modules/aws-sdk/clients/cloudsearch.js b/node_modules/aws-sdk/clients/cloudsearch.js deleted file mode 100644 index 3f1578a..0000000 --- a/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/node_modules/aws-sdk/clients/cloudsearchdomain.js b/node_modules/aws-sdk/clients/cloudsearchdomain.js deleted file mode 100644 index 616df6f..0000000 --- a/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/node_modules/aws-sdk/clients/cloudtrail.js b/node_modules/aws-sdk/clients/cloudtrail.js deleted file mode 100644 index 8e52986..0000000 --- a/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/node_modules/aws-sdk/clients/cloudwatch.js b/node_modules/aws-sdk/clients/cloudwatch.js deleted file mode 100644 index df624aa..0000000 --- a/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/node_modules/aws-sdk/clients/cloudwatchevents.js b/node_modules/aws-sdk/clients/cloudwatchevents.js deleted file mode 100644 index a9e4419..0000000 --- a/node_modules/aws-sdk/clients/cloudwatchevents.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['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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudWatchEvents; diff --git a/node_modules/aws-sdk/clients/cloudwatchlogs.js b/node_modules/aws-sdk/clients/cloudwatchlogs.js deleted file mode 100644 index c02a7f2..0000000 --- a/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/node_modules/aws-sdk/clients/codecommit.js b/node_modules/aws-sdk/clients/codecommit.js deleted file mode 100644 index a2e69b3..0000000 --- a/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/node_modules/aws-sdk/clients/codedeploy.js b/node_modules/aws-sdk/clients/codedeploy.js deleted file mode 100644 index 6adae60..0000000 --- a/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/node_modules/aws-sdk/clients/codepipeline.js b/node_modules/aws-sdk/clients/codepipeline.js deleted file mode 100644 index ca0d5d6..0000000 --- a/node_modules/aws-sdk/clients/codepipeline.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['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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodePipeline; diff --git a/node_modules/aws-sdk/clients/cognitoidentity.js b/node_modules/aws-sdk/clients/cognitoidentity.js deleted file mode 100644 index 9333abe..0000000 --- a/node_modules/aws-sdk/clients/cognitoidentity.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['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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CognitoIdentity; diff --git a/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.js b/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.js deleted file mode 100644 index d5c0d87..0000000 --- a/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.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['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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CognitoIdentityServiceProvider; diff --git a/node_modules/aws-sdk/clients/cognitosync.js b/node_modules/aws-sdk/clients/cognitosync.js deleted file mode 100644 index 8e8e24d..0000000 --- a/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/node_modules/aws-sdk/clients/configservice.js b/node_modules/aws-sdk/clients/configservice.js deleted file mode 100644 index 049fec4..0000000 --- a/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/node_modules/aws-sdk/clients/datapipeline.js b/node_modules/aws-sdk/clients/datapipeline.js deleted file mode 100644 index aa0a375..0000000 --- a/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/node_modules/aws-sdk/clients/devicefarm.js b/node_modules/aws-sdk/clients/devicefarm.js deleted file mode 100644 index 4b4bc1a..0000000 --- a/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/node_modules/aws-sdk/clients/directconnect.js b/node_modules/aws-sdk/clients/directconnect.js deleted file mode 100644 index f8e013f..0000000 --- a/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/node_modules/aws-sdk/clients/directoryservice.js b/node_modules/aws-sdk/clients/directoryservice.js deleted file mode 100644 index c1cb16c..0000000 --- a/node_modules/aws-sdk/clients/directoryservice.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['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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DirectoryService; diff --git a/node_modules/aws-sdk/clients/discovery.js b/node_modules/aws-sdk/clients/discovery.js deleted file mode 100644 index c1e0a2d..0000000 --- a/node_modules/aws-sdk/clients/discovery.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['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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Discovery; diff --git a/node_modules/aws-sdk/clients/dms.js b/node_modules/aws-sdk/clients/dms.js deleted file mode 100644 index 68afc4b..0000000 --- a/node_modules/aws-sdk/clients/dms.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['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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DMS; diff --git a/node_modules/aws-sdk/clients/dynamodb.js b/node_modules/aws-sdk/clients/dynamodb.js deleted file mode 100644 index 26c6fc5..0000000 --- a/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/node_modules/aws-sdk/clients/dynamodbstreams.js b/node_modules/aws-sdk/clients/dynamodbstreams.js deleted file mode 100644 index a3ea363..0000000 --- a/node_modules/aws-sdk/clients/dynamodbstreams.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['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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DynamoDBStreams; diff --git a/node_modules/aws-sdk/clients/ec2.js b/node_modules/aws-sdk/clients/ec2.js deleted file mode 100644 index b40d89f..0000000 --- a/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']); -require('../lib/services/ec2'); -Object.defineProperty(apiLoader.services['ec2'], '2016-09-15', { - get: function get() { - var model = require('../apis/ec2-2016-09-15.min.json'); - model.paginators = require('../apis/ec2-2016-09-15.paginators.json').pagination; - model.waiters = require('../apis/ec2-2016-09-15.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.EC2; diff --git a/node_modules/aws-sdk/clients/ecr.js b/node_modules/aws-sdk/clients/ecr.js deleted file mode 100644 index 6d1a307..0000000 --- a/node_modules/aws-sdk/clients/ecr.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['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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ECR; diff --git a/node_modules/aws-sdk/clients/ecs.js b/node_modules/aws-sdk/clients/ecs.js deleted file mode 100644 index da1be08..0000000 --- a/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/node_modules/aws-sdk/clients/efs.js b/node_modules/aws-sdk/clients/efs.js deleted file mode 100644 index b094ac6..0000000 --- a/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/node_modules/aws-sdk/clients/elasticache.js b/node_modules/aws-sdk/clients/elasticache.js deleted file mode 100644 index 4420db7..0000000 --- a/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/node_modules/aws-sdk/clients/elasticbeanstalk.js b/node_modules/aws-sdk/clients/elasticbeanstalk.js deleted file mode 100644 index ea1938d..0000000 --- a/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/node_modules/aws-sdk/clients/elastictranscoder.js b/node_modules/aws-sdk/clients/elastictranscoder.js deleted file mode 100644 index c67fc75..0000000 --- a/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/node_modules/aws-sdk/clients/elb.js b/node_modules/aws-sdk/clients/elb.js deleted file mode 100644 index 059ec9f..0000000 --- a/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/node_modules/aws-sdk/clients/elbv2.js b/node_modules/aws-sdk/clients/elbv2.js deleted file mode 100644 index 2519598..0000000 --- a/node_modules/aws-sdk/clients/elbv2.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['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; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ELBv2; diff --git a/node_modules/aws-sdk/clients/emr.js b/node_modules/aws-sdk/clients/emr.js deleted file mode 100644 index 82d69f1..0000000 --- a/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/node_modules/aws-sdk/clients/es.js b/node_modules/aws-sdk/clients/es.js deleted file mode 100644 index 1adebda..0000000 --- a/node_modules/aws-sdk/clients/es.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['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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ES; diff --git a/node_modules/aws-sdk/clients/firehose.js b/node_modules/aws-sdk/clients/firehose.js deleted file mode 100644 index 2327a61..0000000 --- a/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/node_modules/aws-sdk/clients/gamelift.js b/node_modules/aws-sdk/clients/gamelift.js deleted file mode 100644 index 15e8cf9..0000000 --- a/node_modules/aws-sdk/clients/gamelift.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['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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.GameLift; diff --git a/node_modules/aws-sdk/clients/glacier.js b/node_modules/aws-sdk/clients/glacier.js deleted file mode 100644 index 6255b69..0000000 --- a/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/node_modules/aws-sdk/clients/iam.js b/node_modules/aws-sdk/clients/iam.js deleted file mode 100644 index d5614ca..0000000 --- a/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/node_modules/aws-sdk/clients/importexport.js b/node_modules/aws-sdk/clients/importexport.js deleted file mode 100644 index 0a77d55..0000000 --- a/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/node_modules/aws-sdk/clients/inspector.js b/node_modules/aws-sdk/clients/inspector.js deleted file mode 100644 index 365ff90..0000000 --- a/node_modules/aws-sdk/clients/inspector.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['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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Inspector; diff --git a/node_modules/aws-sdk/clients/iot.js b/node_modules/aws-sdk/clients/iot.js deleted file mode 100644 index 1d9a12b..0000000 --- a/node_modules/aws-sdk/clients/iot.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['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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Iot; diff --git a/node_modules/aws-sdk/clients/iotdata.js b/node_modules/aws-sdk/clients/iotdata.js deleted file mode 100644 index fca5f56..0000000 --- a/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/node_modules/aws-sdk/clients/kinesis.js b/node_modules/aws-sdk/clients/kinesis.js deleted file mode 100644 index 8cb6bc6..0000000 --- a/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/node_modules/aws-sdk/clients/kinesisanalytics.js b/node_modules/aws-sdk/clients/kinesisanalytics.js deleted file mode 100644 index fe2fbe3..0000000 --- a/node_modules/aws-sdk/clients/kinesisanalytics.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['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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.KinesisAnalytics; diff --git a/node_modules/aws-sdk/clients/kms.js b/node_modules/aws-sdk/clients/kms.js deleted file mode 100644 index d2c192b..0000000 --- a/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/node_modules/aws-sdk/clients/lambda.js b/node_modules/aws-sdk/clients/lambda.js deleted file mode 100644 index ba88cc5..0000000 --- a/node_modules/aws-sdk/clients/lambda.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['lambda'] = {}; -AWS.Lambda = Service.defineService('lambda', ['2014-11-11', '2015-03-31']); -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/node_modules/aws-sdk/clients/machinelearning.js b/node_modules/aws-sdk/clients/machinelearning.js deleted file mode 100644 index 01a4924..0000000 --- a/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/node_modules/aws-sdk/clients/marketplacecommerceanalytics.js b/node_modules/aws-sdk/clients/marketplacecommerceanalytics.js deleted file mode 100644 index 591c8ff..0000000 --- a/node_modules/aws-sdk/clients/marketplacecommerceanalytics.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['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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MarketplaceCommerceAnalytics; diff --git a/node_modules/aws-sdk/clients/marketplacemetering.js b/node_modules/aws-sdk/clients/marketplacemetering.js deleted file mode 100644 index b3630ab..0000000 --- a/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/node_modules/aws-sdk/clients/mobileanalytics.js b/node_modules/aws-sdk/clients/mobileanalytics.js deleted file mode 100644 index d1d066c..0000000 --- a/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/node_modules/aws-sdk/clients/opsworks.js b/node_modules/aws-sdk/clients/opsworks.js deleted file mode 100644 index d3e235a..0000000 --- a/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/node_modules/aws-sdk/clients/rds.js b/node_modules/aws-sdk/clients/rds.js deleted file mode 100644 index 134f089..0000000 --- a/node_modules/aws-sdk/clients/rds.js +++ /dev/null @@ -1,47 +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-10-31']); -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-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/node_modules/aws-sdk/clients/redshift.js b/node_modules/aws-sdk/clients/redshift.js deleted file mode 100644 index d1a64c1..0000000 --- a/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/node_modules/aws-sdk/clients/route53.js b/node_modules/aws-sdk/clients/route53.js deleted file mode 100644 index 87a3144..0000000 --- a/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/node_modules/aws-sdk/clients/route53domains.js b/node_modules/aws-sdk/clients/route53domains.js deleted file mode 100644 index f7d4a00..0000000 --- a/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/node_modules/aws-sdk/clients/s3.js b/node_modules/aws-sdk/clients/s3.js deleted file mode 100644 index e04ebf4..0000000 --- a/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/node_modules/aws-sdk/clients/servicecatalog.js b/node_modules/aws-sdk/clients/servicecatalog.js deleted file mode 100644 index 9b0efad..0000000 --- a/node_modules/aws-sdk/clients/servicecatalog.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['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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ServiceCatalog; diff --git a/node_modules/aws-sdk/clients/ses.js b/node_modules/aws-sdk/clients/ses.js deleted file mode 100644 index e0a0f78..0000000 --- a/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/node_modules/aws-sdk/clients/simpledb.js b/node_modules/aws-sdk/clients/simpledb.js deleted file mode 100644 index 04393b8..0000000 --- a/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/node_modules/aws-sdk/clients/snowball.js b/node_modules/aws-sdk/clients/snowball.js deleted file mode 100644 index 41f963d..0000000 --- a/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/node_modules/aws-sdk/clients/sns.js b/node_modules/aws-sdk/clients/sns.js deleted file mode 100644 index 47573a9..0000000 --- a/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/node_modules/aws-sdk/clients/sqs.js b/node_modules/aws-sdk/clients/sqs.js deleted file mode 100644 index ec547c7..0000000 --- a/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/node_modules/aws-sdk/clients/ssm.js b/node_modules/aws-sdk/clients/ssm.js deleted file mode 100644 index 612be66..0000000 --- a/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/node_modules/aws-sdk/clients/storagegateway.js b/node_modules/aws-sdk/clients/storagegateway.js deleted file mode 100644 index 31d67f5..0000000 --- a/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/node_modules/aws-sdk/clients/sts.js b/node_modules/aws-sdk/clients/sts.js deleted file mode 100644 index c9e106a..0000000 --- a/node_modules/aws-sdk/clients/sts.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['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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.STS; diff --git a/node_modules/aws-sdk/clients/support.js b/node_modules/aws-sdk/clients/support.js deleted file mode 100644 index f16ac1d..0000000 --- a/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/node_modules/aws-sdk/clients/swf.js b/node_modules/aws-sdk/clients/swf.js deleted file mode 100644 index 0b2d94f..0000000 --- a/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/node_modules/aws-sdk/clients/waf.js b/node_modules/aws-sdk/clients/waf.js deleted file mode 100644 index 33974d6..0000000 --- a/node_modules/aws-sdk/clients/waf.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['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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.WAF; diff --git a/node_modules/aws-sdk/clients/workspaces.js b/node_modules/aws-sdk/clients/workspaces.js deleted file mode 100644 index 111e389..0000000 --- a/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/node_modules/aws-sdk/dist-tools/browser-builder.js b/node_modules/aws-sdk/dist-tools/browser-builder.js deleted file mode 100755 index 5dfb692..0000000 --- a/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('../'); - -var license = [ - '// AWS SDK for JavaScript v' + AWS.VERSION, - '// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.', - '// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt' -].join('\n') + '\n'; - -function minify(code) { - var uglify = require('uglify-js'); - var minified = uglify.minify(code, {fromString: true}); - return minified.code; -} - -function stripComments(code) { - var lines = code.split(/\r?\n/); - var multiLine = false; - lines = lines.map(function (line) { - var rLine = line; - if (line.match(/^\s*\/\//)) { - rLine = null; - } else if (line.match(/^\s*\/\*/)) { - multiLine = true; - rLine = null; - } - - if (multiLine) { - var multiLineEnd = line.match(/\*\/(.*)/); - if (multiLineEnd) { - multiLine = false; - rLine = multiLineEnd[1]; - } else { - rLine = null; - } - } - - return rLine; - }).filter(function(l) { return l !== null; }); - - var newCode = lines.join('\n'); - newCode = newCode.replace(/\/\*\*[\s\S]+?Copyright\s+.+?Amazon[\s\S]+?\*\//g, ''); - return newCode; -} - -function build(options, callback) { - if (arguments.length === 1) { - callback = options; - options = {}; - } - - var img = require('insert-module-globals'); - img.vars.process = function() { return '{browser:true}'; }; - - if (options.services) process.env.AWS_SERVICES = options.services; - - var browserify = require('browserify'); - var brOpts = { basedir: path.resolve(__dirname, '..') }; - browserify(brOpts).add('./').ignore('domain').bundle(function(err, data) { - if (err) return callback(err); - - var code = (data || '').toString(); - if (options.minify) code = minify(code); - else code = stripComments(code); - - code = license + code; - callback(null, code); - }); -} - -// run if we called this tool directly -if (require.main === module) { - var opts = { - services: process.argv[2] || process.env.SERVICES, - minify: process.env.MINIFY ? true : false - }; - build(opts, function(err, code) { - if (err) console.error(err.message); - else console.log(code); - }); -} - -build.license = license; -module.exports = build; diff --git a/node_modules/aws-sdk/dist-tools/client-creator.js b/node_modules/aws-sdk/dist-tools/client-creator.js deleted file mode 100644 index 52d7769..0000000 --- a/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/node_modules/aws-sdk/dist-tools/create-all-services.js b/node_modules/aws-sdk/dist-tools/create-all-services.js deleted file mode 100644 index 8549b4c..0000000 --- a/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/node_modules/aws-sdk/dist-tools/service-collector.js b/node_modules/aws-sdk/dist-tools/service-collector.js deleted file mode 100644 index b0a4b61..0000000 --- a/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/node_modules/aws-sdk/dist-tools/transform.js b/node_modules/aws-sdk/dist-tools/transform.js deleted file mode 100644 index ff7d2fc..0000000 --- a/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/node_modules/aws-sdk/dist/BUNDLE_LICENSE.txt b/node_modules/aws-sdk/dist/BUNDLE_LICENSE.txt deleted file mode 100644 index 14e4658..0000000 --- a/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-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"). You - may not use this file except in compliance with the License. A copy of - the License is located at - - http://aws.amazon.com/apache2.0/ - - or in the "license" file accompanying this file. This file is - distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF - ANY KIND, either express or implied. See the License for the specific - language governing permissions and limitations under the License. - -This product bundles browserify, which is available under a -"3-clause BSD" license: - - Copyright Joyent, Inc. and other Node contributors. - - Permission is hereby granted, free of charge, to any person obtaining a - copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to permit - persons to whom the Software is furnished to do so, subject to the - following conditions: - - The above copyright notice and this permission notice shall be included - in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN - NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR - OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE - USE OR OTHER DEALINGS IN THE SOFTWARE. - -This product bundles crypto-browserify, which is available under -the MIT license: - - Copyright (c) 2013 Dominic Tarr - - Permission is hereby granted, free of charge, - to any person obtaining a copy of this software and - associated documentation files (the "Software"), to - deal in the Software without restriction, including - without limitation the rights to use, copy, modify, - merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom - the Software is furnished to do so, - subject to the following conditions: - - The above copyright notice and this permission notice - shall be included in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR - ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE - SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -This product bundles MD5, SHA-1, and SHA-256 hashing algorithm components, -which are available under a BSD license: - - Copyright (c) 1998 - 2009, Paul Johnston & Contributors - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - Redistributions of source code must retain the above copyrightnotice, - this list of conditions and the following disclaimer. Redistributions - in binary form must reproduce the above copyright notice, this list of - conditions and the following disclaimer in the documentation and/or - other materials provided with the distribution. - - Neither the name of the author nor the names of its contributors may - be used to endorse or promote products derived from this software - without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/aws-sdk/dist/aws-sdk.js b/node_modules/aws-sdk/dist/aws-sdk.js deleted file mode 100644 index 5e12d2b..0000000 --- a/node_modules/aws-sdk/dist/aws-sdk.js +++ /dev/null @@ -1,99711 +0,0 @@ -// AWS SDK for JavaScript v2.6.8 -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt -(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o `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": "pathAll", - "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" - } - ] - } - } -} - -},{}],42:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2015-09-21", - "endpointPrefix": "ecr", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Amazon ECR", - "serviceFullName": "Amazon EC2 Container Registry", - "signatureVersion": "v4", - "targetPrefix": "AmazonEC2ContainerRegistry_V20150921" - }, - "operations": { - "BatchCheckLayerAvailability": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "layerDigests" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "layerDigests": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "layers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "layerDigest": {}, - "layerAvailability": {}, - "layerSize": { - "type": "long" - } - } - } - }, - "failures": { - "type": "list", - "member": { - "type": "structure", - "members": { - "layerDigest": {}, - "failureCode": {}, - "failureReason": {} - } - } - } - } - } - }, - "BatchDeleteImage": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "imageIds" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "imageIds": { - "shape": "Sh" - } - } - }, - "output": { - "type": "structure", - "members": { - "imageIds": { - "shape": "Sh" - }, - "failures": { - "shape": "Sm" - } - } - } - }, - "BatchGetImage": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "imageIds" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "imageIds": { - "shape": "Sh" - } - } - }, - "output": { - "type": "structure", - "members": { - "images": { - "type": "list", - "member": { - "shape": "St" - } - }, - "failures": { - "shape": "Sm" - } - } - } - }, - "CompleteLayerUpload": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "uploadId", - "layerDigests" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "uploadId": {}, - "layerDigests": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "uploadId": {}, - "layerDigest": {} - } - } - }, - "CreateRepository": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "repositoryName": {} - } - }, - "output": { - "type": "structure", - "members": { - "repository": { - "shape": "S11" - } - } - } - }, - "DeleteRepository": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "force": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "repository": { - "shape": "S11" - } - } - } - }, - "DeleteRepositoryPolicy": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "registryId": {}, - "repositoryName": {} - } - }, - "output": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "policyText": {} - } - } - }, - "DescribeImages": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "imageIds": { - "shape": "Sh" - }, - "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": "S11" - } - }, - "nextToken": {} - } - } - }, - "GetAuthorizationToken": { - "input": { - "type": "structure", - "members": { - "registryIds": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "authorizationData": { - "type": "list", - "member": { - "type": "structure", - "members": { - "authorizationToken": {}, - "expiresAt": { - "type": "timestamp" - }, - "proxyEndpoint": {} - } - } - } - } - } - }, - "GetDownloadUrlForLayer": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "layerDigest" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "layerDigest": {} - } - }, - "output": { - "type": "structure", - "members": { - "downloadUrl": {}, - "layerDigest": {} - } - } - }, - "GetRepositoryPolicy": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "registryId": {}, - "repositoryName": {} - } - }, - "output": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "policyText": {} - } - } - }, - "InitiateLayerUpload": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "registryId": {}, - "repositoryName": {} - } - }, - "output": { - "type": "structure", - "members": { - "uploadId": {}, - "partSize": { - "type": "long" - } - } - } - }, - "ListImages": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - }, - "filter": { - "type": "structure", - "members": { - "tagStatus": {} - } - } - } - }, - "output": { - "type": "structure", - "members": { - "imageIds": { - "shape": "Sh" - }, - "nextToken": {} - } - } - }, - "PutImage": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "imageManifest" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "imageManifest": {} - } - }, - "output": { - "type": "structure", - "members": { - "image": { - "shape": "St" - } - } - } - }, - "SetRepositoryPolicy": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "policyText" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "policyText": {}, - "force": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "policyText": {} - } - } - }, - "UploadLayerPart": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "uploadId", - "partFirstByte", - "partLastByte", - "layerPartBlob" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "uploadId": {}, - "partFirstByte": { - "type": "long" - }, - "partLastByte": { - "type": "long" - }, - "layerPartBlob": { - "type": "blob" - } - } - }, - "output": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "uploadId": {}, - "lastByteReceived": { - "type": "long" - } - } - } - } - }, - "shapes": { - "Sh": { - "type": "list", - "member": { - "shape": "Si" - } - }, - "Si": { - "type": "structure", - "members": { - "imageDigest": {}, - "imageTag": {} - } - }, - "Sm": { - "type": "list", - "member": { - "type": "structure", - "members": { - "imageId": { - "shape": "Si" - }, - "failureCode": {}, - "failureReason": {} - } - } - }, - "St": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "imageId": { - "shape": "Si" - }, - "imageManifest": {} - } - }, - "S11": { - "type": "structure", - "members": { - "repositoryArn": {}, - "registryId": {}, - "repositoryName": {}, - "repositoryUri": {}, - "createdAt": { - "type": "timestamp" - } - } - } - } -} -},{}],43:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2014-11-13", - "endpointPrefix": "ecs", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Amazon ECS", - "serviceFullName": "Amazon EC2 Container Service", - "signatureVersion": "v4", - "targetPrefix": "AmazonEC2ContainerServiceV20141113" - }, - "operations": { - "CreateCluster": { - "input": { - "type": "structure", - "members": { - "clusterName": {} - } - }, - "output": { - "type": "structure", - "members": { - "cluster": { - "shape": "S4" - } - } - } - }, - "CreateService": { - "input": { - "type": "structure", - "required": [ - "serviceName", - "taskDefinition", - "desiredCount" - ], - "members": { - "cluster": {}, - "serviceName": {}, - "taskDefinition": {}, - "loadBalancers": { - "shape": "S7" - }, - "desiredCount": { - "type": "integer" - }, - "clientToken": {}, - "role": {}, - "deploymentConfiguration": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "members": { - "service": { - "shape": "Sc" - } - } - } - }, - "DeleteCluster": { - "input": { - "type": "structure", - "required": [ - "cluster" - ], - "members": { - "cluster": {} - } - }, - "output": { - "type": "structure", - "members": { - "cluster": { - "shape": "S4" - } - } - } - }, - "DeleteService": { - "input": { - "type": "structure", - "required": [ - "service" - ], - "members": { - "cluster": {}, - "service": {} - } - }, - "output": { - "type": "structure", - "members": { - "service": { - "shape": "Sc" - } - } - } - }, - "DeregisterContainerInstance": { - "input": { - "type": "structure", - "required": [ - "containerInstance" - ], - "members": { - "cluster": {}, - "containerInstance": {}, - "force": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "containerInstance": { - "shape": "Sp" - } - } - } - }, - "DeregisterTaskDefinition": { - "input": { - "type": "structure", - "required": [ - "taskDefinition" - ], - "members": { - "taskDefinition": {} - } - }, - "output": { - "type": "structure", - "members": { - "taskDefinition": { - "shape": "S12" - } - } - } - }, - "DescribeClusters": { - "input": { - "type": "structure", - "members": { - "clusters": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": { - "clusters": { - "type": "list", - "member": { - "shape": "S4" - } - }, - "failures": { - "shape": "S1w" - } - } - } - }, - "DescribeContainerInstances": { - "input": { - "type": "structure", - "required": [ - "containerInstances" - ], - "members": { - "cluster": {}, - "containerInstances": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": { - "containerInstances": { - "type": "list", - "member": { - "shape": "Sp" - } - }, - "failures": { - "shape": "S1w" - } - } - } - }, - "DescribeServices": { - "input": { - "type": "structure", - "required": [ - "services" - ], - "members": { - "cluster": {}, - "services": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": { - "services": { - "type": "list", - "member": { - "shape": "Sc" - } - }, - "failures": { - "shape": "S1w" - } - } - } - }, - "DescribeTaskDefinition": { - "input": { - "type": "structure", - "required": [ - "taskDefinition" - ], - "members": { - "taskDefinition": {} - } - }, - "output": { - "type": "structure", - "members": { - "taskDefinition": { - "shape": "S12" - } - } - } - }, - "DescribeTasks": { - "input": { - "type": "structure", - "required": [ - "tasks" - ], - "members": { - "cluster": {}, - "tasks": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": { - "tasks": { - "shape": "S28" - }, - "failures": { - "shape": "S1w" - } - } - } - }, - "DiscoverPollEndpoint": { - "input": { - "type": "structure", - "members": { - "containerInstance": {}, - "cluster": {} - } - }, - "output": { - "type": "structure", - "members": { - "endpoint": {}, - "telemetryEndpoint": {} - } - } - }, - "ListClusters": { - "input": { - "type": "structure", - "members": { - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "clusterArns": { - "shape": "Sv" - }, - "nextToken": {} - } - } - }, - "ListContainerInstances": { - "input": { - "type": "structure", - "members": { - "cluster": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "containerInstanceArns": { - "shape": "Sv" - }, - "nextToken": {} - } - } - }, - "ListServices": { - "input": { - "type": "structure", - "members": { - "cluster": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "serviceArns": { - "shape": "Sv" - }, - "nextToken": {} - } - } - }, - "ListTaskDefinitionFamilies": { - "input": { - "type": "structure", - "members": { - "familyPrefix": {}, - "status": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "families": { - "shape": "Sv" - }, - "nextToken": {} - } - } - }, - "ListTaskDefinitions": { - "input": { - "type": "structure", - "members": { - "familyPrefix": {}, - "status": {}, - "sort": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "taskDefinitionArns": { - "shape": "Sv" - }, - "nextToken": {} - } - } - }, - "ListTasks": { - "input": { - "type": "structure", - "members": { - "cluster": {}, - "containerInstance": {}, - "family": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - }, - "startedBy": {}, - "serviceName": {}, - "desiredStatus": {} - } - }, - "output": { - "type": "structure", - "members": { - "taskArns": { - "shape": "Sv" - }, - "nextToken": {} - } - } - }, - "RegisterContainerInstance": { - "input": { - "type": "structure", - "members": { - "cluster": {}, - "instanceIdentityDocument": {}, - "instanceIdentityDocumentSignature": {}, - "totalResources": { - "shape": "Sr" - }, - "versionInfo": { - "shape": "Sq" - }, - "containerInstanceArn": {}, - "attributes": { - "shape": "Sy" - } - } - }, - "output": { - "type": "structure", - "members": { - "containerInstance": { - "shape": "Sp" - } - } - } - }, - "RegisterTaskDefinition": { - "input": { - "type": "structure", - "required": [ - "family", - "containerDefinitions" - ], - "members": { - "family": {}, - "taskRoleArn": {}, - "networkMode": {}, - "containerDefinitions": { - "shape": "S13" - }, - "volumes": { - "shape": "S1o" - } - } - }, - "output": { - "type": "structure", - "members": { - "taskDefinition": { - "shape": "S12" - } - } - } - }, - "RunTask": { - "input": { - "type": "structure", - "required": [ - "taskDefinition" - ], - "members": { - "cluster": {}, - "taskDefinition": {}, - "overrides": { - "shape": "S2a" - }, - "count": { - "type": "integer" - }, - "startedBy": {} - } - }, - "output": { - "type": "structure", - "members": { - "tasks": { - "shape": "S28" - }, - "failures": { - "shape": "S1w" - } - } - } - }, - "StartTask": { - "input": { - "type": "structure", - "required": [ - "taskDefinition", - "containerInstances" - ], - "members": { - "cluster": {}, - "taskDefinition": {}, - "overrides": { - "shape": "S2a" - }, - "containerInstances": { - "shape": "Sv" - }, - "startedBy": {} - } - }, - "output": { - "type": "structure", - "members": { - "tasks": { - "shape": "S28" - }, - "failures": { - "shape": "S1w" - } - } - } - }, - "StopTask": { - "input": { - "type": "structure", - "required": [ - "task" - ], - "members": { - "cluster": {}, - "task": {}, - "reason": {} - } - }, - "output": { - "type": "structure", - "members": { - "task": { - "shape": "S29" - } - } - } - }, - "SubmitContainerStateChange": { - "input": { - "type": "structure", - "members": { - "cluster": {}, - "task": {}, - "containerName": {}, - "status": {}, - "exitCode": { - "type": "integer" - }, - "reason": {}, - "networkBindings": { - "shape": "S2f" - } - } - }, - "output": { - "type": "structure", - "members": { - "acknowledgment": {} - } - } - }, - "SubmitTaskStateChange": { - "input": { - "type": "structure", - "members": { - "cluster": {}, - "task": {}, - "status": {}, - "reason": {} - } - }, - "output": { - "type": "structure", - "members": { - "acknowledgment": {} - } - } - }, - "UpdateContainerAgent": { - "input": { - "type": "structure", - "required": [ - "containerInstance" - ], - "members": { - "cluster": {}, - "containerInstance": {} - } - }, - "output": { - "type": "structure", - "members": { - "containerInstance": { - "shape": "Sp" - } - } - } - }, - "UpdateService": { - "input": { - "type": "structure", - "required": [ - "service" - ], - "members": { - "cluster": {}, - "service": {}, - "desiredCount": { - "type": "integer" - }, - "taskDefinition": {}, - "deploymentConfiguration": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "members": { - "service": { - "shape": "Sc" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "clusterArn": {}, - "clusterName": {}, - "status": {}, - "registeredContainerInstancesCount": { - "type": "integer" - }, - "runningTasksCount": { - "type": "integer" - }, - "pendingTasksCount": { - "type": "integer" - }, - "activeServicesCount": { - "type": "integer" - } - } - }, - "S7": { - "type": "list", - "member": { - "type": "structure", - "members": { - "targetGroupArn": {}, - "loadBalancerName": {}, - "containerName": {}, - "containerPort": { - "type": "integer" - } - } - } - }, - "Sa": { - "type": "structure", - "members": { - "maximumPercent": { - "type": "integer" - }, - "minimumHealthyPercent": { - "type": "integer" - } - } - }, - "Sc": { - "type": "structure", - "members": { - "serviceArn": {}, - "serviceName": {}, - "clusterArn": {}, - "loadBalancers": { - "shape": "S7" - }, - "status": {}, - "desiredCount": { - "type": "integer" - }, - "runningCount": { - "type": "integer" - }, - "pendingCount": { - "type": "integer" - }, - "taskDefinition": {}, - "deploymentConfiguration": { - "shape": "Sa" - }, - "deployments": { - "type": "list", - "member": { - "type": "structure", - "members": { - "id": {}, - "status": {}, - "taskDefinition": {}, - "desiredCount": { - "type": "integer" - }, - "pendingCount": { - "type": "integer" - }, - "runningCount": { - "type": "integer" - }, - "createdAt": { - "type": "timestamp" - }, - "updatedAt": { - "type": "timestamp" - } - } - } - }, - "roleArn": {}, - "events": { - "type": "list", - "member": { - "type": "structure", - "members": { - "id": {}, - "createdAt": { - "type": "timestamp" - }, - "message": {} - } - } - }, - "createdAt": { - "type": "timestamp" - } - } - }, - "Sp": { - "type": "structure", - "members": { - "containerInstanceArn": {}, - "ec2InstanceId": {}, - "versionInfo": { - "shape": "Sq" - }, - "remainingResources": { - "shape": "Sr" - }, - "registeredResources": { - "shape": "Sr" - }, - "status": {}, - "agentConnected": { - "type": "boolean" - }, - "runningTasksCount": { - "type": "integer" - }, - "pendingTasksCount": { - "type": "integer" - }, - "agentUpdateStatus": {}, - "attributes": { - "shape": "Sy" - } - } - }, - "Sq": { - "type": "structure", - "members": { - "agentVersion": {}, - "agentHash": {}, - "dockerVersion": {} - } - }, - "Sr": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "type": {}, - "doubleValue": { - "type": "double" - }, - "longValue": { - "type": "long" - }, - "integerValue": { - "type": "integer" - }, - "stringSetValue": { - "shape": "Sv" - } - } - } - }, - "Sv": { - "type": "list", - "member": {} - }, - "Sy": { - "type": "list", - "member": { - "shape": "Sz" - } - }, - "Sz": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {}, - "value": {} - } - }, - "S12": { - "type": "structure", - "members": { - "taskDefinitionArn": {}, - "containerDefinitions": { - "shape": "S13" - }, - "family": {}, - "taskRoleArn": {}, - "networkMode": {}, - "revision": { - "type": "integer" - }, - "volumes": { - "shape": "S1o" - }, - "status": {}, - "requiresAttributes": { - "type": "list", - "member": { - "shape": "Sz" - } - } - } - }, - "S13": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "image": {}, - "cpu": { - "type": "integer" - }, - "memory": { - "type": "integer" - }, - "memoryReservation": { - "type": "integer" - }, - "links": { - "shape": "Sv" - }, - "portMappings": { - "type": "list", - "member": { - "type": "structure", - "members": { - "containerPort": { - "type": "integer" - }, - "hostPort": { - "type": "integer" - }, - "protocol": {} - } - } - }, - "essential": { - "type": "boolean" - }, - "entryPoint": { - "shape": "Sv" - }, - "command": { - "shape": "Sv" - }, - "environment": { - "shape": "S18" - }, - "mountPoints": { - "type": "list", - "member": { - "type": "structure", - "members": { - "sourceVolume": {}, - "containerPath": {}, - "readOnly": { - "type": "boolean" - } - } - } - }, - "volumesFrom": { - "type": "list", - "member": { - "type": "structure", - "members": { - "sourceContainer": {}, - "readOnly": { - "type": "boolean" - } - } - } - }, - "hostname": {}, - "user": {}, - "workingDirectory": {}, - "disableNetworking": { - "type": "boolean" - }, - "privileged": { - "type": "boolean" - }, - "readonlyRootFilesystem": { - "type": "boolean" - }, - "dnsServers": { - "shape": "Sv" - }, - "dnsSearchDomains": { - "shape": "Sv" - }, - "extraHosts": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "hostname", - "ipAddress" - ], - "members": { - "hostname": {}, - "ipAddress": {} - } - } - }, - "dockerSecurityOptions": { - "shape": "Sv" - }, - "dockerLabels": { - "type": "map", - "key": {}, - "value": {} - }, - "ulimits": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "name", - "softLimit", - "hardLimit" - ], - "members": { - "name": {}, - "softLimit": { - "type": "integer" - }, - "hardLimit": { - "type": "integer" - } - } - } - }, - "logConfiguration": { - "type": "structure", - "required": [ - "logDriver" - ], - "members": { - "logDriver": {}, - "options": { - "type": "map", - "key": {}, - "value": {} - } - } - } - } - } - }, - "S18": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "value": {} - } - } - }, - "S1o": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "host": { - "type": "structure", - "members": { - "sourcePath": {} - } - } - } - } - }, - "S1w": { - "type": "list", - "member": { - "type": "structure", - "members": { - "arn": {}, - "reason": {} - } - } - }, - "S28": { - "type": "list", - "member": { - "shape": "S29" - } - }, - "S29": { - "type": "structure", - "members": { - "taskArn": {}, - "clusterArn": {}, - "taskDefinitionArn": {}, - "containerInstanceArn": {}, - "overrides": { - "shape": "S2a" - }, - "lastStatus": {}, - "desiredStatus": {}, - "containers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "containerArn": {}, - "taskArn": {}, - "name": {}, - "lastStatus": {}, - "exitCode": { - "type": "integer" - }, - "reason": {}, - "networkBindings": { - "shape": "S2f" - } - } - } - }, - "startedBy": {}, - "stoppedReason": {}, - "createdAt": { - "type": "timestamp" - }, - "startedAt": { - "type": "timestamp" - }, - "stoppedAt": { - "type": "timestamp" - } - } - }, - "S2a": { - "type": "structure", - "members": { - "containerOverrides": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "command": { - "shape": "Sv" - }, - "environment": { - "shape": "S18" - } - } - } - }, - "taskRoleArn": {} - } - }, - "S2f": { - "type": "list", - "member": { - "type": "structure", - "members": { - "bindIP": {}, - "containerPort": { - "type": "integer" - }, - "hostPort": { - "type": "integer" - }, - "protocol": {} - } - } - } - } -} -},{}],44:[function(require,module,exports){ -module.exports={ - "pagination": { - "ListClusters": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "clusterArns" - }, - "ListContainerInstances": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "containerInstanceArns" - }, - "ListTaskDefinitions": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "taskDefinitionArns" - }, - "ListTaskDefinitionFamilies": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "families" - }, - "ListTasks": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "taskArns" - }, - "ListServices": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "serviceArns" - } - } -} - -},{}],45:[function(require,module,exports){ -module.exports={ - "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" - } - ] - } - } -} - -},{}],46:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2015-02-02", - "endpointPrefix": "elasticache", - "protocol": "query", - "serviceFullName": "Amazon ElastiCache", - "signatureVersion": "v4", - "xmlNamespace": "http://elasticache.amazonaws.com/doc/2015-02-02/" - }, - "operations": { - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "Tags" - ], - "members": { - "ResourceName": {}, - "Tags": { - "shape": "S3" - } - } - }, - "output": { - "shape": "S5", - "resultWrapper": "AddTagsToResourceResult" - } - }, - "AuthorizeCacheSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "CacheSecurityGroupName", - "EC2SecurityGroupName", - "EC2SecurityGroupOwnerId" - ], - "members": { - "CacheSecurityGroupName": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeCacheSecurityGroupIngressResult", - "type": "structure", - "members": { - "CacheSecurityGroup": { - "shape": "S8" - } - } - } - }, - "CopySnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceSnapshotName", - "TargetSnapshotName" - ], - "members": { - "SourceSnapshotName": {}, - "TargetSnapshotName": {}, - "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": {} - } - }, - "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": {} - } - }, - "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" - } - } - }, - "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": {} - } - }, - "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" - } - } - } - } - }, - "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": {} - }, - "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": {} - } - } - } -} -},{}],47:[function(require,module,exports){ -module.exports={ - "pagination": { - "DescribeCacheClusters": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "CacheClusters" - }, - "DescribeCacheEngineVersions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "CacheEngineVersions" - }, - "DescribeCacheParameterGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "CacheParameterGroups" - }, - "DescribeCacheParameters": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Parameters" - }, - "DescribeCacheSecurityGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "CacheSecurityGroups" - }, - "DescribeCacheSubnetGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "CacheSubnetGroups" - }, - "DescribeEngineDefaultParameters": { - "input_token": "Marker", - "output_token": "EngineDefaults.Marker", - "limit_key": "MaxRecords", - "result_key": "EngineDefaults.Parameters" - }, - "DescribeEvents": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Events" - }, - "DescribeReservedCacheNodes": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedCacheNodes" - }, - "DescribeReservedCacheNodesOfferings": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedCacheNodesOfferings" - }, - "DescribeReplicationGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReplicationGroups" - }, - "DescribeSnapshots": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Snapshots" - } - } -} - -},{}],48:[function(require,module,exports){ -module.exports={ - "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" - } - } -} - -},{}],49:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2010-12-01", - "endpointPrefix": "elasticbeanstalk", - "protocol": "query", - "serviceAbbreviation": "Elastic Beanstalk", - "serviceFullName": "AWS Elastic Beanstalk", - "signatureVersion": "v4", - "xmlNamespace": "http://elasticbeanstalk.amazonaws.com/docs/2010-12-01/" - }, - "operations": { - "AbortEnvironmentUpdate": { - "input": { - "type": "structure", - "members": { - "EnvironmentId": {}, - "EnvironmentName": {} - } - } - }, - "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": {} - } - }, - "output": { - "shape": "S14", - "resultWrapper": "CreateApplicationResult" - } - }, - "CreateApplicationVersion": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "VersionLabel" - ], - "members": { - "ApplicationName": {}, - "VersionLabel": {}, - "Description": {}, - "SourceBundle": { - "shape": "S19" - }, - "AutoCreateApplication": { - "type": "boolean" - }, - "Process": { - "type": "boolean" - } - } - }, - "output": { - "shape": "S1e", - "resultWrapper": "CreateApplicationVersionResult" - } - }, - "CreateConfigurationTemplate": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "TemplateName" - ], - "members": { - "ApplicationName": {}, - "TemplateName": {}, - "SolutionStackName": {}, - "SourceConfiguration": { - "type": "structure", - "members": { - "ApplicationName": {}, - "TemplateName": {} - } - }, - "EnvironmentId": {}, - "Description": {}, - "OptionSettings": { - "shape": "S1j" - } - } - }, - "output": { - "shape": "S1p", - "resultWrapper": "CreateConfigurationTemplateResult" - } - }, - "CreateEnvironment": { - "input": { - "type": "structure", - "required": [ - "ApplicationName" - ], - "members": { - "ApplicationName": {}, - "EnvironmentName": {}, - "GroupName": {}, - "Description": {}, - "CNAMEPrefix": {}, - "Tier": { - "shape": "S10" - }, - "Tags": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "VersionLabel": {}, - "TemplateName": {}, - "SolutionStackName": {}, - "OptionSettings": { - "shape": "S1j" - }, - "OptionsToRemove": { - "shape": "S1w" - } - } - }, - "output": { - "shape": "Sk", - "resultWrapper": "CreateEnvironmentResult" - } - }, - "CreateStorageLocation": { - "output": { - "resultWrapper": "CreateStorageLocationResult", - "type": "structure", - "members": { - "S3Bucket": {} - } - } - }, - "DeleteApplication": { - "input": { - "type": "structure", - "required": [ - "ApplicationName" - ], - "members": { - "ApplicationName": {}, - "TerminateEnvByForce": { - "type": "boolean" - } - } - } - }, - "DeleteApplicationVersion": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "VersionLabel" - ], - "members": { - "ApplicationName": {}, - "VersionLabel": {}, - "DeleteSourceBundle": { - "type": "boolean" - } - } - } - }, - "DeleteConfigurationTemplate": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "TemplateName" - ], - "members": { - "ApplicationName": {}, - "TemplateName": {} - } - } - }, - "DeleteEnvironmentConfiguration": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "EnvironmentName" - ], - "members": { - "ApplicationName": {}, - "EnvironmentName": {} - } - } - }, - "DescribeApplicationVersions": { - "input": { - "type": "structure", - "members": { - "ApplicationName": {}, - "VersionLabels": { - "shape": "S16" - } - } - }, - "output": { - "resultWrapper": "DescribeApplicationVersionsResult", - "type": "structure", - "members": { - "ApplicationVersions": { - "type": "list", - "member": { - "shape": "S1f" - } - } - } - } - }, - "DescribeApplications": { - "input": { - "type": "structure", - "members": { - "ApplicationNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "DescribeApplicationsResult", - "type": "structure", - "members": { - "Applications": { - "type": "list", - "member": { - "shape": "S15" - } - } - } - } - }, - "DescribeConfigurationOptions": { - "input": { - "type": "structure", - "members": { - "ApplicationName": {}, - "TemplateName": {}, - "EnvironmentName": {}, - "SolutionStackName": {}, - "Options": { - "shape": "S1w" - } - } - }, - "output": { - "resultWrapper": "DescribeConfigurationOptionsResult", - "type": "structure", - "members": { - "SolutionStackName": {}, - "Options": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Namespace": {}, - "Name": {}, - "DefaultValue": {}, - "ChangeSeverity": {}, - "UserDefined": { - "type": "boolean" - }, - "ValueType": {}, - "ValueOptions": { - "type": "list", - "member": {} - }, - "MinValue": { - "type": "integer" - }, - "MaxValue": { - "type": "integer" - }, - "MaxLength": { - "type": "integer" - }, - "Regex": { - "type": "structure", - "members": { - "Pattern": {}, - "Label": {} - } - } - } - } - } - } - } - }, - "DescribeConfigurationSettings": { - "input": { - "type": "structure", - "required": [ - "ApplicationName" - ], - "members": { - "ApplicationName": {}, - "TemplateName": {}, - "EnvironmentName": {} - } - }, - "output": { - "resultWrapper": "DescribeConfigurationSettingsResult", - "type": "structure", - "members": { - "ConfigurationSettings": { - "type": "list", - "member": { - "shape": "S1p" - } - } - } - } - }, - "DescribeEnvironmentHealth": { - "input": { - "type": "structure", - "members": { - "EnvironmentName": {}, - "EnvironmentId": {}, - "AttributeNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "DescribeEnvironmentHealthResult", - "type": "structure", - "members": { - "EnvironmentName": {}, - "HealthStatus": {}, - "Status": {}, - "Color": {}, - "Causes": { - "shape": "S2z" - }, - "ApplicationMetrics": { - "shape": "S31" - }, - "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": {}, - "RequestId": {}, - "Severity": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "MaxRecords": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeEventsResult", - "type": "structure", - "members": { - "Events": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EventDate": { - "type": "timestamp" - }, - "Message": {}, - "ApplicationName": {}, - "VersionLabel": {}, - "TemplateName": {}, - "EnvironmentName": {}, - "RequestId": {}, - "Severity": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeInstancesHealth": { - "input": { - "type": "structure", - "members": { - "EnvironmentName": {}, - "EnvironmentId": {}, - "AttributeNames": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeInstancesHealthResult", - "type": "structure", - "members": { - "InstanceHealthList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InstanceId": {}, - "HealthStatus": {}, - "Color": {}, - "Causes": { - "shape": "S2z" - }, - "LaunchedAt": { - "type": "timestamp" - }, - "ApplicationMetrics": { - "shape": "S31" - }, - "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": {} - } - } - }, - "ListAvailableSolutionStacks": { - "output": { - "resultWrapper": "ListAvailableSolutionStacksResult", - "type": "structure", - "members": { - "SolutionStacks": { - "type": "list", - "member": {} - }, - "SolutionStackDetails": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SolutionStackName": {}, - "PermittedFileTypes": { - "type": "list", - "member": {} - } - } - } - } - } - } - }, - "RebuildEnvironment": { - "input": { - "type": "structure", - "members": { - "EnvironmentId": {}, - "EnvironmentName": {} - } - } - }, - "RequestEnvironmentInfo": { - "input": { - "type": "structure", - "required": [ - "InfoType" - ], - "members": { - "EnvironmentId": {}, - "EnvironmentName": {}, - "InfoType": {} - } - } - }, - "RestartAppServer": { - "input": { - "type": "structure", - "members": { - "EnvironmentId": {}, - "EnvironmentName": {} - } - } - }, - "RetrieveEnvironmentInfo": { - "input": { - "type": "structure", - "required": [ - "InfoType" - ], - "members": { - "EnvironmentId": {}, - "EnvironmentName": {}, - "InfoType": {} - } - }, - "output": { - "resultWrapper": "RetrieveEnvironmentInfoResult", - "type": "structure", - "members": { - "EnvironmentInfo": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InfoType": {}, - "Ec2InstanceId": {}, - "SampleTimestamp": { - "type": "timestamp" - }, - "Message": {} - } - } - } - } - } - }, - "SwapEnvironmentCNAMEs": { - "input": { - "type": "structure", - "members": { - "SourceEnvironmentId": {}, - "SourceEnvironmentName": {}, - "DestinationEnvironmentId": {}, - "DestinationEnvironmentName": {} - } - } - }, - "TerminateEnvironment": { - "input": { - "type": "structure", - "members": { - "EnvironmentId": {}, - "EnvironmentName": {}, - "TerminateResources": { - "type": "boolean" - }, - "ForceTerminate": { - "type": "boolean" - } - } - }, - "output": { - "shape": "Sk", - "resultWrapper": "TerminateEnvironmentResult" - } - }, - "UpdateApplication": { - "input": { - "type": "structure", - "required": [ - "ApplicationName" - ], - "members": { - "ApplicationName": {}, - "Description": {} - } - }, - "output": { - "shape": "S14", - "resultWrapper": "UpdateApplicationResult" - } - }, - "UpdateApplicationVersion": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "VersionLabel" - ], - "members": { - "ApplicationName": {}, - "VersionLabel": {}, - "Description": {} - } - }, - "output": { - "shape": "S1e", - "resultWrapper": "UpdateApplicationVersionResult" - } - }, - "UpdateConfigurationTemplate": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "TemplateName" - ], - "members": { - "ApplicationName": {}, - "TemplateName": {}, - "Description": {}, - "OptionSettings": { - "shape": "S1j" - }, - "OptionsToRemove": { - "shape": "S1w" - } - } - }, - "output": { - "shape": "S1p", - "resultWrapper": "UpdateConfigurationTemplateResult" - } - }, - "UpdateEnvironment": { - "input": { - "type": "structure", - "members": { - "ApplicationName": {}, - "EnvironmentId": {}, - "EnvironmentName": {}, - "GroupName": {}, - "Description": {}, - "Tier": { - "shape": "S10" - }, - "VersionLabel": {}, - "TemplateName": {}, - "SolutionStackName": {}, - "OptionSettings": { - "shape": "S1j" - }, - "OptionsToRemove": { - "shape": "S1w" - } - } - }, - "output": { - "shape": "Sk", - "resultWrapper": "UpdateEnvironmentResult" - } - }, - "ValidateConfigurationSettings": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "OptionSettings" - ], - "members": { - "ApplicationName": {}, - "TemplateName": {}, - "EnvironmentName": {}, - "OptionSettings": { - "shape": "S1j" - } - } - }, - "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": {}, - "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": "S10" - }, - "EnvironmentLinks": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LinkName": {}, - "EnvironmentName": {} - } - } - } - } - }, - "S10": { - "type": "structure", - "members": { - "Name": {}, - "Type": {}, - "Version": {} - } - }, - "S14": { - "type": "structure", - "members": { - "Application": { - "shape": "S15" - } - } - }, - "S15": { - "type": "structure", - "members": { - "ApplicationName": {}, - "Description": {}, - "DateCreated": { - "type": "timestamp" - }, - "DateUpdated": { - "type": "timestamp" - }, - "Versions": { - "shape": "S16" - }, - "ConfigurationTemplates": { - "type": "list", - "member": {} - } - } - }, - "S16": { - "type": "list", - "member": {} - }, - "S19": { - "type": "structure", - "members": { - "S3Bucket": {}, - "S3Key": {} - } - }, - "S1e": { - "type": "structure", - "members": { - "ApplicationVersion": { - "shape": "S1f" - } - } - }, - "S1f": { - "type": "structure", - "members": { - "ApplicationName": {}, - "Description": {}, - "VersionLabel": {}, - "SourceBundle": { - "shape": "S19" - }, - "DateCreated": { - "type": "timestamp" - }, - "DateUpdated": { - "type": "timestamp" - }, - "Status": {} - } - }, - "S1j": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ResourceName": {}, - "Namespace": {}, - "OptionName": {}, - "Value": {} - } - } - }, - "S1p": { - "type": "structure", - "members": { - "SolutionStackName": {}, - "ApplicationName": {}, - "TemplateName": {}, - "Description": {}, - "EnvironmentName": {}, - "DeploymentStatus": {}, - "DateCreated": { - "type": "timestamp" - }, - "DateUpdated": { - "type": "timestamp" - }, - "OptionSettings": { - "shape": "S1j" - } - } - }, - "S1w": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ResourceName": {}, - "Namespace": {}, - "OptionName": {} - } - } - }, - "S2z": { - "type": "list", - "member": {} - }, - "S31": { - "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" - } - } - } - } - } - } -} -},{}],50:[function(require,module,exports){ -module.exports={ - "pagination": { - "DescribeApplicationVersions": { - "result_key": "ApplicationVersions" - }, - "DescribeApplications": { - "result_key": "Applications" - }, - "DescribeConfigurationOptions": { - "result_key": "Options" - }, - "DescribeEnvironments": { - "result_key": "Environments" - }, - "DescribeEvents": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxRecords", - "result_key": "Events" - }, - "ListAvailableSolutionStacks": { - "result_key": "SolutionStacks" - } - } -} - -},{}],51:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2012-06-01", - "endpointPrefix": "elasticloadbalancing", - "protocol": "query", - "serviceFullName": "Elastic Load Balancing", - "signatureVersion": "v4", - "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" - } - } - } - }, - "DescribeInstanceHealth": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName" - ], - "members": { - "LoadBalancerName": {}, - "Instances": { - "shape": "S1p" - } - } - }, - "output": { - "resultWrapper": "DescribeInstanceHealthResult", - "type": "structure", - "members": { - "InstanceStates": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InstanceId": {}, - "State": {}, - "ReasonCode": {}, - "Description": {} - } - } - } - } - } - }, - "DescribeLoadBalancerAttributes": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName" - ], - "members": { - "LoadBalancerName": {} - } - }, - "output": { - "resultWrapper": "DescribeLoadBalancerAttributesResult", - "type": "structure", - "members": { - "LoadBalancerAttributes": { - "shape": "S22" - } - } - } - }, - "DescribeLoadBalancerPolicies": { - "input": { - "type": "structure", - "members": { - "LoadBalancerName": {}, - "PolicyNames": { - "shape": "S2k" - } - } - }, - "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": "S2k" - } - } - } - }, - "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": "S2k" - } - } - }, - "BackendServerDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InstancePort": { - "type": "integer" - }, - "PolicyNames": { - "shape": "S2k" - } - } - } - }, - "AvailabilityZones": { - "shape": "S13" - }, - "Subnets": { - "shape": "Se" - }, - "VPCId": {}, - "Instances": { - "shape": "S1p" - }, - "HealthCheck": { - "shape": "Si" - }, - "SourceSecurityGroup": { - "type": "structure", - "members": { - "OwnerAlias": {}, - "GroupName": {} - } - }, - "SecurityGroups": { - "shape": "Sa" - }, - "CreatedTime": { - "type": "timestamp" - }, - "Scheme": {} - } - } - }, - "NextMarker": {} - } - } - }, - "DescribeTags": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerNames" - ], - "members": { - "LoadBalancerNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "DescribeTagsResult", - "type": "structure", - "members": { - "TagDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LoadBalancerName": {}, - "Tags": { - "shape": "S4" - } - } - } - } - } - } - }, - "DetachLoadBalancerFromSubnets": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "Subnets" - ], - "members": { - "LoadBalancerName": {}, - "Subnets": { - "shape": "Se" - } - } - }, - "output": { - "resultWrapper": "DetachLoadBalancerFromSubnetsResult", - "type": "structure", - "members": { - "Subnets": { - "shape": "Se" - } - } - } - }, - "DisableAvailabilityZonesForLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "AvailabilityZones" - ], - "members": { - "LoadBalancerName": {}, - "AvailabilityZones": { - "shape": "S13" - } - } - }, - "output": { - "resultWrapper": "DisableAvailabilityZonesForLoadBalancerResult", - "type": "structure", - "members": { - "AvailabilityZones": { - "shape": "S13" - } - } - } - }, - "EnableAvailabilityZonesForLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "AvailabilityZones" - ], - "members": { - "LoadBalancerName": {}, - "AvailabilityZones": { - "shape": "S13" - } - } - }, - "output": { - "resultWrapper": "EnableAvailabilityZonesForLoadBalancerResult", - "type": "structure", - "members": { - "AvailabilityZones": { - "shape": "S13" - } - } - } - }, - "ModifyLoadBalancerAttributes": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "LoadBalancerAttributes" - ], - "members": { - "LoadBalancerName": {}, - "LoadBalancerAttributes": { - "shape": "S22" - } - } - }, - "output": { - "resultWrapper": "ModifyLoadBalancerAttributesResult", - "type": "structure", - "members": { - "LoadBalancerName": {}, - "LoadBalancerAttributes": { - "shape": "S22" - } - } - } - }, - "RegisterInstancesWithLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "Instances" - ], - "members": { - "LoadBalancerName": {}, - "Instances": { - "shape": "S1p" - } - } - }, - "output": { - "resultWrapper": "RegisterInstancesWithLoadBalancerResult", - "type": "structure", - "members": { - "Instances": { - "shape": "S1p" - } - } - } - }, - "RemoveTags": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerNames", - "Tags" - ], - "members": { - "LoadBalancerNames": { - "shape": "S2" - }, - "Tags": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {} - } - } - } - } - }, - "output": { - "resultWrapper": "RemoveTagsResult", - "type": "structure", - "members": {} - } - }, - "SetLoadBalancerListenerSSLCertificate": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "LoadBalancerPort", - "SSLCertificateId" - ], - "members": { - "LoadBalancerName": {}, - "LoadBalancerPort": { - "type": "integer" - }, - "SSLCertificateId": {} - } - }, - "output": { - "resultWrapper": "SetLoadBalancerListenerSSLCertificateResult", - "type": "structure", - "members": {} - } - }, - "SetLoadBalancerPoliciesForBackendServer": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "InstancePort", - "PolicyNames" - ], - "members": { - "LoadBalancerName": {}, - "InstancePort": { - "type": "integer" - }, - "PolicyNames": { - "shape": "S2k" - } - } - }, - "output": { - "resultWrapper": "SetLoadBalancerPoliciesForBackendServerResult", - "type": "structure", - "members": {} - } - }, - "SetLoadBalancerPoliciesOfListener": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "LoadBalancerPort", - "PolicyNames" - ], - "members": { - "LoadBalancerName": {}, - "LoadBalancerPort": { - "type": "integer" - }, - "PolicyNames": { - "shape": "S2k" - } - } - }, - "output": { - "resultWrapper": "SetLoadBalancerPoliciesOfListenerResult", - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": {} - }, - "S4": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sa": { - "type": "list", - "member": {} - }, - "Se": { - "type": "list", - "member": {} - }, - "Si": { - "type": "structure", - "required": [ - "Target", - "Interval", - "Timeout", - "UnhealthyThreshold", - "HealthyThreshold" - ], - "members": { - "Target": {}, - "Interval": { - "type": "integer" - }, - "Timeout": { - "type": "integer" - }, - "UnhealthyThreshold": { - "type": "integer" - }, - "HealthyThreshold": { - "type": "integer" - } - } - }, - "Sx": { - "type": "list", - "member": { - "shape": "Sy" - } - }, - "Sy": { - "type": "structure", - "required": [ - "Protocol", - "LoadBalancerPort", - "InstancePort" - ], - "members": { - "Protocol": {}, - "LoadBalancerPort": { - "type": "integer" - }, - "InstanceProtocol": {}, - "InstancePort": { - "type": "integer" - }, - "SSLCertificateId": {} - } - }, - "S13": { - "type": "list", - "member": {} - }, - "S1p": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InstanceId": {} - } - } - }, - "S22": { - "type": "structure", - "members": { - "CrossZoneLoadBalancing": { - "type": "structure", - "required": [ - "Enabled" - ], - "members": { - "Enabled": { - "type": "boolean" - } - } - }, - "AccessLog": { - "type": "structure", - "required": [ - "Enabled" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "S3BucketName": {}, - "EmitInterval": { - "type": "integer" - }, - "S3BucketPrefix": {} - } - }, - "ConnectionDraining": { - "type": "structure", - "required": [ - "Enabled" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "Timeout": { - "type": "integer" - } - } - }, - "ConnectionSettings": { - "type": "structure", - "required": [ - "IdleTimeout" - ], - "members": { - "IdleTimeout": { - "type": "integer" - } - } - }, - "AdditionalAttributes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - } - } - }, - "S2k": { - "type": "list", - "member": {} - } - } -} -},{}],52:[function(require,module,exports){ -module.exports={ - "pagination": { - "DescribeInstanceHealth": { - "result_key": "InstanceStates" - }, - "DescribeLoadBalancerPolicies": { - "result_key": "PolicyDescriptions" - }, - "DescribeLoadBalancerPolicyTypes": { - "result_key": "PolicyTypeDescriptions" - }, - "DescribeLoadBalancers": { - "input_token": "Marker", - "output_token": "NextMarker", - "result_key": "LoadBalancerDescriptions" - } - } -} - -},{}],53:[function(require,module,exports){ -module.exports={ - "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" - } - ], - "delay":15, - "maxAttempts":40, - "operation":"DescribeInstanceHealth" - } - } -} - -},{}],54:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2015-12-01", - "endpointPrefix": "elasticloadbalancing", - "protocol": "query", - "serviceAbbreviation": "Elastic Load Balancing v2", - "serviceFullName": "Elastic Load Balancing", - "signatureVersion": "v4", - "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" - } - } - }, - "output": { - "resultWrapper": "CreateLoadBalancerResult", - "type": "structure", - "members": { - "LoadBalancers": { - "shape": "Sx" - } - } - } - }, - "CreateRule": { - "input": { - "type": "structure", - "required": [ - "ListenerArn", - "Conditions", - "Priority", - "Actions" - ], - "members": { - "ListenerArn": {}, - "Conditions": { - "shape": "S1b" - }, - "Priority": { - "type": "integer" - }, - "Actions": { - "shape": "Sh" - } - } - }, - "output": { - "resultWrapper": "CreateRuleResult", - "type": "structure", - "members": { - "Rules": { - "shape": "S1i" - } - } - } - }, - "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": "S1u" - } - } - }, - "output": { - "resultWrapper": "CreateTargetGroupResult", - "type": "structure", - "members": { - "TargetGroups": { - "shape": "S1x" - } - } - } - }, - "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": "S29" - } - } - }, - "output": { - "resultWrapper": "DeregisterTargetsResult", - "type": "structure", - "members": {} - } - }, - "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": "S2k" - } - } - } - }, - "DescribeLoadBalancers": { - "input": { - "type": "structure", - "members": { - "LoadBalancerArns": { - "shape": "S1z" - }, - "Names": { - "type": "list", - "member": {} - }, - "Marker": {}, - "PageSize": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribeLoadBalancersResult", - "type": "structure", - "members": { - "LoadBalancers": { - "shape": "Sx" - }, - "NextMarker": {} - } - } - }, - "DescribeRules": { - "input": { - "type": "structure", - "members": { - "ListenerArn": {}, - "RuleArns": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "DescribeRulesResult", - "type": "structure", - "members": { - "Rules": { - "shape": "S1i" - } - } - } - }, - "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": "S3b" - } - } - } - }, - "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": "S1x" - }, - "NextMarker": {} - } - } - }, - "DescribeTargetHealth": { - "input": { - "type": "structure", - "required": [ - "TargetGroupArn" - ], - "members": { - "TargetGroupArn": {}, - "Targets": { - "shape": "S29" - } - } - }, - "output": { - "resultWrapper": "DescribeTargetHealthResult", - "type": "structure", - "members": { - "TargetHealthDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Target": { - "shape": "S2a" - }, - "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": "S2k" - } - } - }, - "output": { - "resultWrapper": "ModifyLoadBalancerAttributesResult", - "type": "structure", - "members": { - "Attributes": { - "shape": "S2k" - } - } - } - }, - "ModifyRule": { - "input": { - "type": "structure", - "required": [ - "RuleArn" - ], - "members": { - "RuleArn": {}, - "Conditions": { - "shape": "S1b" - }, - "Actions": { - "shape": "Sh" - } - } - }, - "output": { - "resultWrapper": "ModifyRuleResult", - "type": "structure", - "members": { - "Rules": { - "shape": "S1i" - } - } - } - }, - "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": "S1u" - } - } - }, - "output": { - "resultWrapper": "ModifyTargetGroupResult", - "type": "structure", - "members": { - "TargetGroups": { - "shape": "S1x" - } - } - } - }, - "ModifyTargetGroupAttributes": { - "input": { - "type": "structure", - "required": [ - "TargetGroupArn", - "Attributes" - ], - "members": { - "TargetGroupArn": {}, - "Attributes": { - "shape": "S3b" - } - } - }, - "output": { - "resultWrapper": "ModifyTargetGroupAttributesResult", - "type": "structure", - "members": { - "Attributes": { - "shape": "S3b" - } - } - } - }, - "RegisterTargets": { - "input": { - "type": "structure", - "required": [ - "TargetGroupArn", - "Targets" - ], - "members": { - "TargetGroupArn": {}, - "Targets": { - "shape": "S29" - } - } - }, - "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": {} - } - }, - "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": "S1i" - } - } - } - }, - "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": "S17" - } - } - } - } - }, - "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": {} - }, - "Sx": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LoadBalancerArn": {}, - "DNSName": {}, - "CanonicalHostedZoneId": {}, - "CreatedTime": { - "type": "timestamp" - }, - "LoadBalancerName": {}, - "Scheme": {}, - "VpcId": {}, - "State": { - "type": "structure", - "members": { - "Code": {}, - "Reason": {} - } - }, - "Type": {}, - "AvailabilityZones": { - "shape": "S17" - }, - "SecurityGroups": { - "shape": "St" - } - } - } - }, - "S17": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ZoneName": {}, - "SubnetId": {} - } - } - }, - "S1b": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Field": {}, - "Values": { - "type": "list", - "member": {} - } - } - } - }, - "S1i": { - "type": "list", - "member": { - "type": "structure", - "members": { - "RuleArn": {}, - "Priority": {}, - "Conditions": { - "shape": "S1b" - }, - "Actions": { - "shape": "Sh" - }, - "IsDefault": { - "type": "boolean" - } - } - } - }, - "S1u": { - "type": "structure", - "required": [ - "HttpCode" - ], - "members": { - "HttpCode": {} - } - }, - "S1x": { - "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": "S1u" - }, - "LoadBalancerArns": { - "shape": "S1z" - } - } - } - }, - "S1z": { - "type": "list", - "member": {} - }, - "S29": { - "type": "list", - "member": { - "shape": "S2a" - } - }, - "S2a": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": {}, - "Port": { - "type": "integer" - } - } - }, - "S2k": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S3b": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - } - } -} -},{}],55:[function(require,module,exports){ -module.exports={ - "pagination": { - "DescribeTargetGroups": { - "input_token": "Marker", - "output_token": "NextMarker", - "result_key": "TargetGroups" - }, - "DescribeListeners": { - "input_token": "Marker", - "output_token": "NextMarker", - "result_key": "Listeners" - }, - "DescribeLoadBalancers": { - "input_token": "Marker", - "output_token": "NextMarker", - "result_key": "LoadBalancers" - } - } -} - - -},{}],56:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2009-03-31", - "endpointPrefix": "elasticmapreduce", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Amazon EMR", - "serviceFullName": "Amazon Elastic MapReduce", - "signatureVersion": "v4", - "targetPrefix": "ElasticMapReduce", - "timestampFormat": "unixTimestamp" - }, - "operations": { - "AddInstanceGroups": { - "input": { - "type": "structure", - "required": [ - "InstanceGroups", - "JobFlowId" - ], - "members": { - "InstanceGroups": { - "shape": "S2" - }, - "JobFlowId": {} - } - }, - "output": { - "type": "structure", - "members": { - "JobFlowId": {}, - "InstanceGroupIds": { - "type": "list", - "member": {} - } - } - } - }, - "AddJobFlowSteps": { - "input": { - "type": "structure", - "required": [ - "JobFlowId", - "Steps" - ], - "members": { - "JobFlowId": {}, - "Steps": { - "shape": "Sl" - } - } - }, - "output": { - "type": "structure", - "members": { - "StepIds": { - "type": "list", - "member": {} - } - } - } - }, - "AddTags": { - "input": { - "type": "structure", - "required": [ - "ResourceId", - "Tags" - ], - "members": { - "ResourceId": {}, - "Tags": { - "shape": "Sx" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "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": "S19" - }, - "Ec2InstanceAttributes": { - "type": "structure", - "members": { - "Ec2KeyName": {}, - "Ec2SubnetId": {}, - "Ec2AvailabilityZone": {}, - "IamInstanceProfile": {}, - "EmrManagedMasterSecurityGroup": {}, - "EmrManagedSlaveSecurityGroup": {}, - "ServiceAccessSecurityGroup": {}, - "AdditionalMasterSecurityGroups": { - "shape": "S1f" - }, - "AdditionalSlaveSecurityGroups": { - "shape": "S1f" - } - } - }, - "LogUri": {}, - "RequestedAmiVersion": {}, - "RunningAmiVersion": {}, - "ReleaseLabel": {}, - "AutoTerminate": { - "type": "boolean" - }, - "TerminationProtected": { - "type": "boolean" - }, - "VisibleToAllUsers": { - "type": "boolean" - }, - "Applications": { - "shape": "S1h" - }, - "Tags": { - "shape": "Sx" - }, - "ServiceRole": {}, - "NormalizedInstanceHours": { - "type": "integer" - }, - "MasterPublicDnsName": {}, - "Configurations": { - "shape": "S9" - }, - "SecurityConfiguration": {} - } - } - } - } - }, - "DescribeJobFlows": { - "input": { - "type": "structure", - "members": { - "CreatedAfter": { - "type": "timestamp" - }, - "CreatedBefore": { - "type": "timestamp" - }, - "JobFlowIds": { - "shape": "Ss" - }, - "JobFlowStates": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "JobFlows": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "JobFlowId", - "Name", - "ExecutionStatusDetail", - "Instances" - ], - "members": { - "JobFlowId": {}, - "Name": {}, - "LogUri": {}, - "AmiVersion": {}, - "ExecutionStatusDetail": { - "type": "structure", - "required": [ - "State", - "CreationDateTime" - ], - "members": { - "State": {}, - "CreationDateTime": { - "type": "timestamp" - }, - "StartDateTime": { - "type": "timestamp" - }, - "ReadyDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - }, - "LastStateChangeReason": {} - } - }, - "Instances": { - "type": "structure", - "required": [ - "MasterInstanceType", - "SlaveInstanceType", - "InstanceCount" - ], - "members": { - "MasterInstanceType": {}, - "MasterPublicDnsName": {}, - "MasterInstanceId": {}, - "SlaveInstanceType": {}, - "InstanceCount": { - "type": "integer" - }, - "InstanceGroups": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Market", - "InstanceRole", - "InstanceType", - "InstanceRequestCount", - "InstanceRunningCount", - "State", - "CreationDateTime" - ], - "members": { - "InstanceGroupId": {}, - "Name": {}, - "Market": {}, - "InstanceRole": {}, - "BidPrice": {}, - "InstanceType": {}, - "InstanceRequestCount": { - "type": "integer" - }, - "InstanceRunningCount": { - "type": "integer" - }, - "State": {}, - "LastStateChangeReason": {}, - "CreationDateTime": { - "type": "timestamp" - }, - "StartDateTime": { - "type": "timestamp" - }, - "ReadyDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - } - } - } - }, - "NormalizedInstanceHours": { - "type": "integer" - }, - "Ec2KeyName": {}, - "Ec2SubnetId": {}, - "Placement": { - "shape": "S1u" - }, - "KeepJobFlowAliveWhenNoSteps": { - "type": "boolean" - }, - "TerminationProtected": { - "type": "boolean" - }, - "HadoopVersion": {} - } - }, - "Steps": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "StepConfig", - "ExecutionStatusDetail" - ], - "members": { - "StepConfig": { - "shape": "Sm" - }, - "ExecutionStatusDetail": { - "type": "structure", - "required": [ - "State", - "CreationDateTime" - ], - "members": { - "State": {}, - "CreationDateTime": { - "type": "timestamp" - }, - "StartDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - }, - "LastStateChangeReason": {} - } - } - } - } - }, - "BootstrapActions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "BootstrapActionConfig": { - "shape": "S21" - } - } - } - }, - "SupportedProducts": { - "shape": "S23" - }, - "VisibleToAllUsers": { - "type": "boolean" - }, - "JobFlowRole": {}, - "ServiceRole": {} - } - } - } - } - }, - "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": "S2a" - }, - "ActionOnFailure": {}, - "Status": { - "shape": "S2b" - } - } - } - } - } - }, - "ListBootstrapActions": { - "input": { - "type": "structure", - "required": [ - "ClusterId" - ], - "members": { - "ClusterId": {}, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "BootstrapActions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "ScriptPath": {}, - "Args": { - "shape": "S1f" - } - } - } - }, - "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": "S19" - }, - "NormalizedInstanceHours": { - "type": "integer" - } - } - } - }, - "Marker": {} - } - } - }, - "ListInstanceGroups": { - "input": { - "type": "structure", - "required": [ - "ClusterId" - ], - "members": { - "ClusterId": {}, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "InstanceGroups": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "Market": {}, - "InstanceGroupType": {}, - "BidPrice": {}, - "InstanceType": {}, - "RequestedInstanceCount": { - "type": "integer" - }, - "RunningInstanceCount": { - "type": "integer" - }, - "Status": { - "type": "structure", - "members": { - "State": {}, - "StateChangeReason": { - "type": "structure", - "members": { - "Code": {}, - "Message": {} - } - }, - "Timeline": { - "type": "structure", - "members": { - "CreationDateTime": { - "type": "timestamp" - }, - "ReadyDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - } - } - } - } - }, - "Configurations": { - "shape": "S9" - }, - "EbsBlockDevices": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VolumeSpecification": { - "shape": "Sg" - }, - "Device": {} - } - } - }, - "EbsOptimized": { - "type": "boolean" - }, - "ShrinkPolicy": { - "shape": "S33" - } - } - } - }, - "Marker": {} - } - } - }, - "ListInstances": { - "input": { - "type": "structure", - "required": [ - "ClusterId" - ], - "members": { - "ClusterId": {}, - "InstanceGroupId": {}, - "InstanceGroupTypes": { - "type": "list", - "member": {} - }, - "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": {}, - "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": "Ss" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Steps": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "Config": { - "shape": "S2a" - }, - "ActionOnFailure": {}, - "Status": { - "shape": "S2b" - } - } - } - }, - "Marker": {} - } - } - }, - "ModifyInstanceGroups": { - "input": { - "type": "structure", - "members": { - "InstanceGroups": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "InstanceGroupId" - ], - "members": { - "InstanceGroupId": {}, - "InstanceCount": { - "type": "integer" - }, - "EC2InstanceIdsToTerminate": { - "type": "list", - "member": {} - }, - "ShrinkPolicy": { - "shape": "S33" - } - } - } - } - } - } - }, - "RemoveTags": { - "input": { - "type": "structure", - "required": [ - "ResourceId", - "TagKeys" - ], - "members": { - "ResourceId": {}, - "TagKeys": { - "shape": "S1f" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "RunJobFlow": { - "input": { - "type": "structure", - "required": [ - "Name", - "Instances" - ], - "members": { - "Name": {}, - "LogUri": {}, - "AdditionalInfo": {}, - "AmiVersion": {}, - "ReleaseLabel": {}, - "Instances": { - "type": "structure", - "members": { - "MasterInstanceType": {}, - "SlaveInstanceType": {}, - "InstanceCount": { - "type": "integer" - }, - "InstanceGroups": { - "shape": "S2" - }, - "Ec2KeyName": {}, - "Placement": { - "shape": "S1u" - }, - "KeepJobFlowAliveWhenNoSteps": { - "type": "boolean" - }, - "TerminationProtected": { - "type": "boolean" - }, - "HadoopVersion": {}, - "Ec2SubnetId": {}, - "EmrManagedMasterSecurityGroup": {}, - "EmrManagedSlaveSecurityGroup": {}, - "ServiceAccessSecurityGroup": {}, - "AdditionalMasterSecurityGroups": { - "shape": "S41" - }, - "AdditionalSlaveSecurityGroups": { - "shape": "S41" - } - } - }, - "Steps": { - "shape": "Sl" - }, - "BootstrapActions": { - "type": "list", - "member": { - "shape": "S21" - } - }, - "SupportedProducts": { - "shape": "S23" - }, - "NewSupportedProducts": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Args": { - "shape": "Ss" - } - } - } - }, - "Applications": { - "shape": "S1h" - }, - "Configurations": { - "shape": "S9" - }, - "VisibleToAllUsers": { - "type": "boolean" - }, - "JobFlowRole": {}, - "ServiceRole": {}, - "Tags": { - "shape": "Sx" - }, - "SecurityConfiguration": {} - } - }, - "output": { - "type": "structure", - "members": { - "JobFlowId": {} - } - } - }, - "SetTerminationProtection": { - "input": { - "type": "structure", - "required": [ - "JobFlowIds", - "TerminationProtected" - ], - "members": { - "JobFlowIds": { - "shape": "Ss" - }, - "TerminationProtected": { - "type": "boolean" - } - } - } - }, - "SetVisibleToAllUsers": { - "input": { - "type": "structure", - "required": [ - "JobFlowIds", - "VisibleToAllUsers" - ], - "members": { - "JobFlowIds": { - "shape": "Ss" - }, - "VisibleToAllUsers": { - "type": "boolean" - } - } - } - }, - "TerminateJobFlows": { - "input": { - "type": "structure", - "required": [ - "JobFlowIds" - ], - "members": { - "JobFlowIds": { - "shape": "Ss" - } - } - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "InstanceRole", - "InstanceType", - "InstanceCount" - ], - "members": { - "Name": {}, - "Market": {}, - "InstanceRole": {}, - "BidPrice": {}, - "InstanceType": {}, - "InstanceCount": { - "type": "integer" - }, - "Configurations": { - "shape": "S9" - }, - "EbsConfiguration": { - "type": "structure", - "members": { - "EbsBlockDeviceConfigs": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "VolumeSpecification" - ], - "members": { - "VolumeSpecification": { - "shape": "Sg" - }, - "VolumesPerInstance": { - "type": "integer" - } - } - } - }, - "EbsOptimized": { - "type": "boolean" - } - } - } - } - } - }, - "S9": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Classification": {}, - "Configurations": { - "shape": "S9" - }, - "Properties": { - "shape": "Sc" - } - } - } - }, - "Sc": { - "type": "map", - "key": {}, - "value": {} - }, - "Sg": { - "type": "structure", - "required": [ - "VolumeType", - "SizeInGB" - ], - "members": { - "VolumeType": {}, - "Iops": { - "type": "integer" - }, - "SizeInGB": { - "type": "integer" - } - } - }, - "Sl": { - "type": "list", - "member": { - "shape": "Sm" - } - }, - "Sm": { - "type": "structure", - "required": [ - "Name", - "HadoopJarStep" - ], - "members": { - "Name": {}, - "ActionOnFailure": {}, - "HadoopJarStep": { - "type": "structure", - "required": [ - "Jar" - ], - "members": { - "Properties": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Jar": {}, - "MainClass": {}, - "Args": { - "shape": "Ss" - } - } - } - } - }, - "Ss": { - "type": "list", - "member": {} - }, - "Sx": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S19": { - "type": "structure", - "members": { - "State": {}, - "StateChangeReason": { - "type": "structure", - "members": { - "Code": {}, - "Message": {} - } - }, - "Timeline": { - "type": "structure", - "members": { - "CreationDateTime": { - "type": "timestamp" - }, - "ReadyDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - } - } - } - } - }, - "S1f": { - "type": "list", - "member": {} - }, - "S1h": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Version": {}, - "Args": { - "shape": "S1f" - }, - "AdditionalInfo": { - "shape": "Sc" - } - } - } - }, - "S1u": { - "type": "structure", - "required": [ - "AvailabilityZone" - ], - "members": { - "AvailabilityZone": {} - } - }, - "S21": { - "type": "structure", - "required": [ - "Name", - "ScriptBootstrapAction" - ], - "members": { - "Name": {}, - "ScriptBootstrapAction": { - "type": "structure", - "required": [ - "Path" - ], - "members": { - "Path": {}, - "Args": { - "shape": "Ss" - } - } - } - } - }, - "S23": { - "type": "list", - "member": {} - }, - "S2a": { - "type": "structure", - "members": { - "Jar": {}, - "Properties": { - "shape": "Sc" - }, - "MainClass": {}, - "Args": { - "shape": "S1f" - } - } - }, - "S2b": { - "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" - } - } - } - } - }, - "S33": { - "type": "structure", - "members": { - "DecommissionTimeout": { - "type": "integer" - }, - "InstanceResizePolicy": { - "type": "structure", - "members": { - "InstancesToTerminate": { - "shape": "S35" - }, - "InstancesToProtect": { - "shape": "S35" - }, - "InstanceTerminationTimeout": { - "type": "integer" - } - } - } - } - }, - "S35": { - "type": "list", - "member": {} - }, - "S41": { - "type": "list", - "member": {} - } - } -} -},{}],57:[function(require,module,exports){ -module.exports={ - "pagination": { - "DescribeJobFlows": { - "result_key": "JobFlows" - }, - "ListBootstrapActions": { - "input_token": "Marker", - "output_token": "Marker", - "result_key": "BootstrapActions" - }, - "ListClusters": { - "input_token": "Marker", - "output_token": "Marker", - "result_key": "Clusters" - }, - "ListInstanceGroups": { - "input_token": "Marker", - "output_token": "Marker", - "result_key": "InstanceGroups" - }, - "ListInstances": { - "input_token": "Marker", - "output_token": "Marker", - "result_key": "Instances" - }, - "ListSteps": { - "input_token": "Marker", - "output_token": "Marker", - "result_key": "Steps" - } - } -} - -},{}],58:[function(require,module,exports){ -module.exports={ - "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" - } - ] - } - } -} - -},{}],59:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "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", - "Input" - ], - "members": { - "PipelineId": {}, - "Input": { - "shape": "S5" - }, - "Output": { - "shape": "Sk" - }, - "Outputs": { - "type": "list", - "member": { - "shape": "Sk" - } - }, - "OutputKeyPrefix": {}, - "Playlists": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Format": {}, - "OutputKeys": { - "shape": "S1j" - }, - "HlsContentProtection": { - "shape": "S1k" - }, - "PlayReadyDrm": { - "shape": "S1o" - } - } - } - }, - "UserMetadata": { - "shape": "S1t" - } - } - }, - "output": { - "type": "structure", - "members": { - "Job": { - "shape": "S1w" - } - } - } - }, - "CreatePipeline": { - "http": { - "requestUri": "/2012-09-25/pipelines", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "Name", - "InputBucket", - "Role" - ], - "members": { - "Name": {}, - "InputBucket": {}, - "OutputBucket": {}, - "Role": {}, - "AwsKmsKeyArn": {}, - "Notifications": { - "shape": "S28" - }, - "ContentConfig": { - "shape": "S2a" - }, - "ThumbnailConfig": { - "shape": "S2a" - } - } - }, - "output": { - "type": "structure", - "members": { - "Pipeline": { - "shape": "S2j" - }, - "Warnings": { - "shape": "S2l" - } - } - } - }, - "CreatePreset": { - "http": { - "requestUri": "/2012-09-25/presets", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "Name", - "Container" - ], - "members": { - "Name": {}, - "Description": {}, - "Container": {}, - "Video": { - "shape": "S2p" - }, - "Audio": { - "shape": "S35" - }, - "Thumbnails": { - "shape": "S3g" - } - } - }, - "output": { - "type": "structure", - "members": { - "Preset": { - "shape": "S3k" - }, - "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": "S3t" - }, - "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": "S3t" - }, - "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": "S2j" - } - }, - "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": "S3k" - } - }, - "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": "S1w" - } - } - } - }, - "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": "S2j" - }, - "Warnings": { - "shape": "S2l" - } - } - } - }, - "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": "S3k" - } - } - } - }, - "TestRole": { - "http": { - "requestUri": "/2012-09-25/roleTests", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "Role", - "InputBucket", - "OutputBucket", - "Topics" - ], - "members": { - "Role": {}, - "InputBucket": {}, - "OutputBucket": {}, - "Topics": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "Success": {}, - "Messages": { - "type": "list", - "member": {} - } - } - } - }, - "UpdatePipeline": { - "http": { - "method": "PUT", - "requestUri": "/2012-09-25/pipelines/{Id}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "Name": {}, - "InputBucket": {}, - "Role": {}, - "AwsKmsKeyArn": {}, - "Notifications": { - "shape": "S28" - }, - "ContentConfig": { - "shape": "S2a" - }, - "ThumbnailConfig": { - "shape": "S2a" - } - } - }, - "output": { - "type": "structure", - "members": { - "Pipeline": { - "shape": "S2j" - }, - "Warnings": { - "shape": "S2l" - } - } - } - }, - "UpdatePipelineNotifications": { - "http": { - "requestUri": "/2012-09-25/pipelines/{Id}/notifications" - }, - "input": { - "type": "structure", - "required": [ - "Id", - "Notifications" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "Notifications": { - "shape": "S28" - } - } - }, - "output": { - "type": "structure", - "members": { - "Pipeline": { - "shape": "S2j" - } - } - } - }, - "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": "S2j" - } - } - } - } - }, - "shapes": { - "S5": { - "type": "structure", - "members": { - "Key": {}, - "FrameRate": {}, - "Resolution": {}, - "AspectRatio": {}, - "Interlaced": {}, - "Container": {}, - "Encryption": { - "shape": "Sc" - }, - "DetectedProperties": { - "type": "structure", - "members": { - "Width": { - "type": "integer" - }, - "Height": { - "type": "integer" - }, - "FrameRate": {}, - "FileSize": { - "type": "long" - }, - "DurationMillis": { - "type": "long" - } - } - } - } - }, - "Sc": { - "type": "structure", - "members": { - "Mode": {}, - "Key": {}, - "KeyMd5": {}, - "InitializationVector": {} - } - }, - "Sk": { - "type": "structure", - "members": { - "Key": {}, - "ThumbnailPattern": {}, - "ThumbnailEncryption": { - "shape": "Sc" - }, - "Rotate": {}, - "PresetId": {}, - "SegmentDuration": {}, - "Watermarks": { - "shape": "So" - }, - "AlbumArt": { - "shape": "Ss" - }, - "Composition": { - "shape": "S10" - }, - "Captions": { - "shape": "S14" - }, - "Encryption": { - "shape": "Sc" - } - } - }, - "So": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PresetWatermarkId": {}, - "InputKey": {}, - "Encryption": { - "shape": "Sc" - } - } - } - }, - "Ss": { - "type": "structure", - "members": { - "MergePolicy": {}, - "Artwork": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InputKey": {}, - "MaxWidth": {}, - "MaxHeight": {}, - "SizingPolicy": {}, - "PaddingPolicy": {}, - "AlbumArtFormat": {}, - "Encryption": { - "shape": "Sc" - } - } - } - } - } - }, - "S10": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TimeSpan": { - "type": "structure", - "members": { - "StartTime": {}, - "Duration": {} - } - } - } - } - }, - "S14": { - "type": "structure", - "members": { - "MergePolicy": {}, - "CaptionSources": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Language": {}, - "TimeOffset": {}, - "Label": {}, - "Encryption": { - "shape": "Sc" - } - } - } - }, - "CaptionFormats": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Format": {}, - "Pattern": {}, - "Encryption": { - "shape": "Sc" - } - } - } - } - } - }, - "S1j": { - "type": "list", - "member": {} - }, - "S1k": { - "type": "structure", - "members": { - "Method": {}, - "Key": {}, - "KeyMd5": {}, - "InitializationVector": {}, - "LicenseAcquisitionUrl": {}, - "KeyStoragePolicy": {} - } - }, - "S1o": { - "type": "structure", - "members": { - "Format": {}, - "Key": {}, - "KeyMd5": {}, - "KeyId": {}, - "InitializationVector": {}, - "LicenseAcquisitionUrl": {} - } - }, - "S1t": { - "type": "map", - "key": {}, - "value": {} - }, - "S1w": { - "type": "structure", - "members": { - "Id": {}, - "Arn": {}, - "PipelineId": {}, - "Input": { - "shape": "S5" - }, - "Output": { - "shape": "S1x" - }, - "Outputs": { - "type": "list", - "member": { - "shape": "S1x" - } - }, - "OutputKeyPrefix": {}, - "Playlists": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Format": {}, - "OutputKeys": { - "shape": "S1j" - }, - "HlsContentProtection": { - "shape": "S1k" - }, - "PlayReadyDrm": { - "shape": "S1o" - }, - "Status": {}, - "StatusDetail": {} - } - } - }, - "Status": {}, - "UserMetadata": { - "shape": "S1t" - }, - "Timing": { - "type": "structure", - "members": { - "SubmitTimeMillis": { - "type": "long" - }, - "StartTimeMillis": { - "type": "long" - }, - "FinishTimeMillis": { - "type": "long" - } - } - } - } - }, - "S1x": { - "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": "So" - }, - "AlbumArt": { - "shape": "Ss" - }, - "Composition": { - "shape": "S10" - }, - "Captions": { - "shape": "S14" - }, - "Encryption": { - "shape": "Sc" - }, - "AppliedColorSpaceConversion": {} - } - }, - "S28": { - "type": "structure", - "members": { - "Progressing": {}, - "Completed": {}, - "Warning": {}, - "Error": {} - } - }, - "S2a": { - "type": "structure", - "members": { - "Bucket": {}, - "StorageClass": {}, - "Permissions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "GranteeType": {}, - "Grantee": {}, - "Access": { - "type": "list", - "member": {} - } - } - } - } - } - }, - "S2j": { - "type": "structure", - "members": { - "Id": {}, - "Arn": {}, - "Name": {}, - "Status": {}, - "InputBucket": {}, - "OutputBucket": {}, - "Role": {}, - "AwsKmsKeyArn": {}, - "Notifications": { - "shape": "S28" - }, - "ContentConfig": { - "shape": "S2a" - }, - "ThumbnailConfig": { - "shape": "S2a" - } - } - }, - "S2l": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Code": {}, - "Message": {} - } - } - }, - "S2p": { - "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": {} - } - } - } - } - }, - "S35": { - "type": "structure", - "members": { - "Codec": {}, - "SampleRate": {}, - "BitRate": {}, - "Channels": {}, - "AudioPackingMode": {}, - "CodecOptions": { - "type": "structure", - "members": { - "Profile": {}, - "BitDepth": {}, - "BitOrder": {}, - "Signed": {} - } - } - } - }, - "S3g": { - "type": "structure", - "members": { - "Format": {}, - "Interval": {}, - "Resolution": {}, - "AspectRatio": {}, - "MaxWidth": {}, - "MaxHeight": {}, - "SizingPolicy": {}, - "PaddingPolicy": {} - } - }, - "S3k": { - "type": "structure", - "members": { - "Id": {}, - "Arn": {}, - "Name": {}, - "Description": {}, - "Container": {}, - "Audio": { - "shape": "S35" - }, - "Video": { - "shape": "S2p" - }, - "Thumbnails": { - "shape": "S3g" - }, - "Type": {} - } - }, - "S3t": { - "type": "list", - "member": { - "shape": "S1w" - } - } - } -} -},{}],60:[function(require,module,exports){ -module.exports={ - "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" - } - } -} - -},{}],61:[function(require,module,exports){ -module.exports={ - "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" - } - ] - } - } -} - -},{}],62:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2010-12-01", - "endpointPrefix": "email", - "protocol": "query", - "serviceAbbreviation": "Amazon SES", - "serviceFullName": "Amazon Simple Email Service", - "signatureVersion": "v4", - "signingName": "ses", - "xmlNamespace": "http://ses.amazonaws.com/doc/2010-12-01/" - }, - "operations": { - "CloneReceiptRuleSet": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "OriginalRuleSetName" - ], - "members": { - "RuleSetName": {}, - "OriginalRuleSetName": {} - } - }, - "output": { - "resultWrapper": "CloneReceiptRuleSetResult", - "type": "structure", - "members": {} - } - }, - "CreateReceiptFilter": { - "input": { - "type": "structure", - "required": [ - "Filter" - ], - "members": { - "Filter": { - "shape": "S5" - } - } - }, - "output": { - "resultWrapper": "CreateReceiptFilterResult", - "type": "structure", - "members": {} - } - }, - "CreateReceiptRule": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "Rule" - ], - "members": { - "RuleSetName": {}, - "After": {}, - "Rule": { - "shape": "Sd" - } - } - }, - "output": { - "resultWrapper": "CreateReceiptRuleResult", - "type": "structure", - "members": {} - } - }, - "CreateReceiptRuleSet": { - "input": { - "type": "structure", - "required": [ - "RuleSetName" - ], - "members": { - "RuleSetName": {} - } - }, - "output": { - "resultWrapper": "CreateReceiptRuleSetResult", - "type": "structure", - "members": {} - } - }, - "DeleteIdentity": { - "input": { - "type": "structure", - "required": [ - "Identity" - ], - "members": { - "Identity": {} - } - }, - "output": { - "resultWrapper": "DeleteIdentityResult", - "type": "structure", - "members": {} - } - }, - "DeleteIdentityPolicy": { - "input": { - "type": "structure", - "required": [ - "Identity", - "PolicyName" - ], - "members": { - "Identity": {}, - "PolicyName": {} - } - }, - "output": { - "resultWrapper": "DeleteIdentityPolicyResult", - "type": "structure", - "members": {} - } - }, - "DeleteReceiptFilter": { - "input": { - "type": "structure", - "required": [ - "FilterName" - ], - "members": { - "FilterName": {} - } - }, - "output": { - "resultWrapper": "DeleteReceiptFilterResult", - "type": "structure", - "members": {} - } - }, - "DeleteReceiptRule": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "RuleName" - ], - "members": { - "RuleSetName": {}, - "RuleName": {} - } - }, - "output": { - "resultWrapper": "DeleteReceiptRuleResult", - "type": "structure", - "members": {} - } - }, - "DeleteReceiptRuleSet": { - "input": { - "type": "structure", - "required": [ - "RuleSetName" - ], - "members": { - "RuleSetName": {} - } - }, - "output": { - "resultWrapper": "DeleteReceiptRuleSetResult", - "type": "structure", - "members": {} - } - }, - "DeleteVerifiedEmailAddress": { - "input": { - "type": "structure", - "required": [ - "EmailAddress" - ], - "members": { - "EmailAddress": {} - } - } - }, - "DescribeActiveReceiptRuleSet": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "resultWrapper": "DescribeActiveReceiptRuleSetResult", - "type": "structure", - "members": { - "Metadata": { - "shape": "S1l" - }, - "Rules": { - "shape": "S1n" - } - } - } - }, - "DescribeReceiptRule": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "RuleName" - ], - "members": { - "RuleSetName": {}, - "RuleName": {} - } - }, - "output": { - "resultWrapper": "DescribeReceiptRuleResult", - "type": "structure", - "members": { - "Rule": { - "shape": "Sd" - } - } - } - }, - "DescribeReceiptRuleSet": { - "input": { - "type": "structure", - "required": [ - "RuleSetName" - ], - "members": { - "RuleSetName": {} - } - }, - "output": { - "resultWrapper": "DescribeReceiptRuleSetResult", - "type": "structure", - "members": { - "Metadata": { - "shape": "S1l" - }, - "Rules": { - "shape": "S1n" - } - } - } - }, - "GetIdentityDkimAttributes": { - "input": { - "type": "structure", - "required": [ - "Identities" - ], - "members": { - "Identities": { - "shape": "S1t" - } - } - }, - "output": { - "resultWrapper": "GetIdentityDkimAttributesResult", - "type": "structure", - "required": [ - "DkimAttributes" - ], - "members": { - "DkimAttributes": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "DkimEnabled", - "DkimVerificationStatus" - ], - "members": { - "DkimEnabled": { - "type": "boolean" - }, - "DkimVerificationStatus": {}, - "DkimTokens": { - "shape": "S1y" - } - } - } - } - } - } - }, - "GetIdentityMailFromDomainAttributes": { - "input": { - "type": "structure", - "required": [ - "Identities" - ], - "members": { - "Identities": { - "shape": "S1t" - } - } - }, - "output": { - "resultWrapper": "GetIdentityMailFromDomainAttributesResult", - "type": "structure", - "required": [ - "MailFromDomainAttributes" - ], - "members": { - "MailFromDomainAttributes": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "MailFromDomain", - "MailFromDomainStatus", - "BehaviorOnMXFailure" - ], - "members": { - "MailFromDomain": {}, - "MailFromDomainStatus": {}, - "BehaviorOnMXFailure": {} - } - } - } - } - } - }, - "GetIdentityNotificationAttributes": { - "input": { - "type": "structure", - "required": [ - "Identities" - ], - "members": { - "Identities": { - "shape": "S1t" - } - } - }, - "output": { - "resultWrapper": "GetIdentityNotificationAttributesResult", - "type": "structure", - "required": [ - "NotificationAttributes" - ], - "members": { - "NotificationAttributes": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "BounceTopic", - "ComplaintTopic", - "DeliveryTopic", - "ForwardingEnabled" - ], - "members": { - "BounceTopic": {}, - "ComplaintTopic": {}, - "DeliveryTopic": {}, - "ForwardingEnabled": { - "type": "boolean" - }, - "HeadersInBounceNotificationsEnabled": { - "type": "boolean" - }, - "HeadersInComplaintNotificationsEnabled": { - "type": "boolean" - }, - "HeadersInDeliveryNotificationsEnabled": { - "type": "boolean" - } - } - } - } - } - } - }, - "GetIdentityPolicies": { - "input": { - "type": "structure", - "required": [ - "Identity", - "PolicyNames" - ], - "members": { - "Identity": {}, - "PolicyNames": { - "shape": "S2d" - } - } - }, - "output": { - "resultWrapper": "GetIdentityPoliciesResult", - "type": "structure", - "required": [ - "Policies" - ], - "members": { - "Policies": { - "type": "map", - "key": {}, - "value": {} - } - } - } - }, - "GetIdentityVerificationAttributes": { - "input": { - "type": "structure", - "required": [ - "Identities" - ], - "members": { - "Identities": { - "shape": "S1t" - } - } - }, - "output": { - "resultWrapper": "GetIdentityVerificationAttributesResult", - "type": "structure", - "required": [ - "VerificationAttributes" - ], - "members": { - "VerificationAttributes": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "VerificationStatus" - ], - "members": { - "VerificationStatus": {}, - "VerificationToken": {} - } - } - } - } - } - }, - "GetSendQuota": { - "output": { - "resultWrapper": "GetSendQuotaResult", - "type": "structure", - "members": { - "Max24HourSend": { - "type": "double" - }, - "MaxSendRate": { - "type": "double" - }, - "SentLast24Hours": { - "type": "double" - } - } - } - }, - "GetSendStatistics": { - "output": { - "resultWrapper": "GetSendStatisticsResult", - "type": "structure", - "members": { - "SendDataPoints": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Timestamp": { - "type": "timestamp" - }, - "DeliveryAttempts": { - "type": "long" - }, - "Bounces": { - "type": "long" - }, - "Complaints": { - "type": "long" - }, - "Rejects": { - "type": "long" - } - } - } - } - } - } - }, - "ListIdentities": { - "input": { - "type": "structure", - "members": { - "IdentityType": {}, - "NextToken": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListIdentitiesResult", - "type": "structure", - "required": [ - "Identities" - ], - "members": { - "Identities": { - "shape": "S1t" - }, - "NextToken": {} - } - } - }, - "ListIdentityPolicies": { - "input": { - "type": "structure", - "required": [ - "Identity" - ], - "members": { - "Identity": {} - } - }, - "output": { - "resultWrapper": "ListIdentityPoliciesResult", - "type": "structure", - "required": [ - "PolicyNames" - ], - "members": { - "PolicyNames": { - "shape": "S2d" - } - } - } - }, - "ListReceiptFilters": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "resultWrapper": "ListReceiptFiltersResult", - "type": "structure", - "members": { - "Filters": { - "type": "list", - "member": { - "shape": "S5" - } - } - } - } - }, - "ListReceiptRuleSets": { - "input": { - "type": "structure", - "members": { - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListReceiptRuleSetsResult", - "type": "structure", - "members": { - "RuleSets": { - "type": "list", - "member": { - "shape": "S1l" - } - }, - "NextToken": {} - } - } - }, - "ListVerifiedEmailAddresses": { - "output": { - "resultWrapper": "ListVerifiedEmailAddressesResult", - "type": "structure", - "members": { - "VerifiedEmailAddresses": { - "shape": "S37" - } - } - } - }, - "PutIdentityPolicy": { - "input": { - "type": "structure", - "required": [ - "Identity", - "PolicyName", - "Policy" - ], - "members": { - "Identity": {}, - "PolicyName": {}, - "Policy": {} - } - }, - "output": { - "resultWrapper": "PutIdentityPolicyResult", - "type": "structure", - "members": {} - } - }, - "ReorderReceiptRuleSet": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "RuleNames" - ], - "members": { - "RuleSetName": {}, - "RuleNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "ReorderReceiptRuleSetResult", - "type": "structure", - "members": {} - } - }, - "SendBounce": { - "input": { - "type": "structure", - "required": [ - "OriginalMessageId", - "BounceSender", - "BouncedRecipientInfoList" - ], - "members": { - "OriginalMessageId": {}, - "BounceSender": {}, - "Explanation": {}, - "MessageDsn": { - "type": "structure", - "required": [ - "ReportingMta" - ], - "members": { - "ReportingMta": {}, - "ArrivalDate": { - "type": "timestamp" - }, - "ExtensionFields": { - "shape": "S3j" - } - } - }, - "BouncedRecipientInfoList": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Recipient" - ], - "members": { - "Recipient": {}, - "RecipientArn": {}, - "BounceType": {}, - "RecipientDsnFields": { - "type": "structure", - "required": [ - "Action", - "Status" - ], - "members": { - "FinalRecipient": {}, - "Action": {}, - "RemoteMta": {}, - "Status": {}, - "DiagnosticCode": {}, - "LastAttemptDate": { - "type": "timestamp" - }, - "ExtensionFields": { - "shape": "S3j" - } - } - } - } - } - }, - "BounceSenderArn": {} - } - }, - "output": { - "resultWrapper": "SendBounceResult", - "type": "structure", - "members": { - "MessageId": {} - } - } - }, - "SendEmail": { - "input": { - "type": "structure", - "required": [ - "Source", - "Destination", - "Message" - ], - "members": { - "Source": {}, - "Destination": { - "type": "structure", - "members": { - "ToAddresses": { - "shape": "S37" - }, - "CcAddresses": { - "shape": "S37" - }, - "BccAddresses": { - "shape": "S37" - } - } - }, - "Message": { - "type": "structure", - "required": [ - "Subject", - "Body" - ], - "members": { - "Subject": { - "shape": "S40" - }, - "Body": { - "type": "structure", - "members": { - "Text": { - "shape": "S40" - }, - "Html": { - "shape": "S40" - } - } - } - } - }, - "ReplyToAddresses": { - "shape": "S37" - }, - "ReturnPath": {}, - "SourceArn": {}, - "ReturnPathArn": {} - } - }, - "output": { - "resultWrapper": "SendEmailResult", - "type": "structure", - "required": [ - "MessageId" - ], - "members": { - "MessageId": {} - } - } - }, - "SendRawEmail": { - "input": { - "type": "structure", - "required": [ - "RawMessage" - ], - "members": { - "Source": {}, - "Destinations": { - "shape": "S37" - }, - "RawMessage": { - "type": "structure", - "required": [ - "Data" - ], - "members": { - "Data": { - "type": "blob" - } - } - }, - "FromArn": {}, - "SourceArn": {}, - "ReturnPathArn": {} - } - }, - "output": { - "resultWrapper": "SendRawEmailResult", - "type": "structure", - "required": [ - "MessageId" - ], - "members": { - "MessageId": {} - } - } - }, - "SetActiveReceiptRuleSet": { - "input": { - "type": "structure", - "members": { - "RuleSetName": {} - } - }, - "output": { - "resultWrapper": "SetActiveReceiptRuleSetResult", - "type": "structure", - "members": {} - } - }, - "SetIdentityDkimEnabled": { - "input": { - "type": "structure", - "required": [ - "Identity", - "DkimEnabled" - ], - "members": { - "Identity": {}, - "DkimEnabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "SetIdentityDkimEnabledResult", - "type": "structure", - "members": {} - } - }, - "SetIdentityFeedbackForwardingEnabled": { - "input": { - "type": "structure", - "required": [ - "Identity", - "ForwardingEnabled" - ], - "members": { - "Identity": {}, - "ForwardingEnabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "SetIdentityFeedbackForwardingEnabledResult", - "type": "structure", - "members": {} - } - }, - "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": {} - } - }, - "UpdateReceiptRule": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "Rule" - ], - "members": { - "RuleSetName": {}, - "Rule": { - "shape": "Sd" - } - } - }, - "output": { - "resultWrapper": "UpdateReceiptRuleResult", - "type": "structure", - "members": {} - } - }, - "VerifyDomainDkim": { - "input": { - "type": "structure", - "required": [ - "Domain" - ], - "members": { - "Domain": {} - } - }, - "output": { - "resultWrapper": "VerifyDomainDkimResult", - "type": "structure", - "required": [ - "DkimTokens" - ], - "members": { - "DkimTokens": { - "shape": "S1y" - } - } - } - }, - "VerifyDomainIdentity": { - "input": { - "type": "structure", - "required": [ - "Domain" - ], - "members": { - "Domain": {} - } - }, - "output": { - "resultWrapper": "VerifyDomainIdentityResult", - "type": "structure", - "required": [ - "VerificationToken" - ], - "members": { - "VerificationToken": {} - } - } - }, - "VerifyEmailAddress": { - "input": { - "type": "structure", - "required": [ - "EmailAddress" - ], - "members": { - "EmailAddress": {} - } - } - }, - "VerifyEmailIdentity": { - "input": { - "type": "structure", - "required": [ - "EmailAddress" - ], - "members": { - "EmailAddress": {} - } - }, - "output": { - "resultWrapper": "VerifyEmailIdentityResult", - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "S5": { - "type": "structure", - "required": [ - "Name", - "IpFilter" - ], - "members": { - "Name": {}, - "IpFilter": { - "type": "structure", - "required": [ - "Policy", - "Cidr" - ], - "members": { - "Policy": {}, - "Cidr": {} - } - } - } - }, - "Sd": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "Enabled": { - "type": "boolean" - }, - "TlsPolicy": {}, - "Recipients": { - "type": "list", - "member": {} - }, - "Actions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "S3Action": { - "type": "structure", - "required": [ - "BucketName" - ], - "members": { - "TopicArn": {}, - "BucketName": {}, - "ObjectKeyPrefix": {}, - "KmsKeyArn": {} - } - }, - "BounceAction": { - "type": "structure", - "required": [ - "SmtpReplyCode", - "Message", - "Sender" - ], - "members": { - "TopicArn": {}, - "SmtpReplyCode": {}, - "StatusCode": {}, - "Message": {}, - "Sender": {} - } - }, - "WorkmailAction": { - "type": "structure", - "required": [ - "OrganizationArn" - ], - "members": { - "TopicArn": {}, - "OrganizationArn": {} - } - }, - "LambdaAction": { - "type": "structure", - "required": [ - "FunctionArn" - ], - "members": { - "TopicArn": {}, - "FunctionArn": {}, - "InvocationType": {} - } - }, - "StopAction": { - "type": "structure", - "required": [ - "Scope" - ], - "members": { - "Scope": {}, - "TopicArn": {} - } - }, - "AddHeaderAction": { - "type": "structure", - "required": [ - "HeaderName", - "HeaderValue" - ], - "members": { - "HeaderName": {}, - "HeaderValue": {} - } - }, - "SNSAction": { - "type": "structure", - "required": [ - "TopicArn" - ], - "members": { - "TopicArn": {}, - "Encoding": {} - } - } - } - } - }, - "ScanEnabled": { - "type": "boolean" - } - } - }, - "S1l": { - "type": "structure", - "members": { - "Name": {}, - "CreatedTimestamp": { - "type": "timestamp" - } - } - }, - "S1n": { - "type": "list", - "member": { - "shape": "Sd" - } - }, - "S1t": { - "type": "list", - "member": {} - }, - "S1y": { - "type": "list", - "member": {} - }, - "S2d": { - "type": "list", - "member": {} - }, - "S37": { - "type": "list", - "member": {} - }, - "S3j": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name", - "Value" - ], - "members": { - "Name": {}, - "Value": {} - } - } - }, - "S40": { - "type": "structure", - "required": [ - "Data" - ], - "members": { - "Data": {}, - "Charset": {} - } - } - } -} -},{}],63:[function(require,module,exports){ -module.exports={ - "pagination": { - "ListIdentities": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxItems", - "result_key": "Identities" - }, - "ListVerifiedEmailAddresses": { - "result_key": "VerifiedEmailAddresses" - } - } -} - -},{}],64:[function(require,module,exports){ -module.exports={ - "version": 2, - "waiters": { - "IdentityExists": { - "delay": 3, - "operation": "GetIdentityVerificationAttributes", - "maxAttempts": 20, - "acceptors": [ - { - "expected": "Success", - "matcher": "pathAll", - "state": "success", - "argument": "VerificationAttributes.*.VerificationStatus" - } - ] - } - } -} - -},{}],65:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2015-10-07", - "endpointPrefix": "events", - "jsonVersion": "1.1", - "serviceFullName": "Amazon CloudWatch Events", - "signatureVersion": "v4", - "targetPrefix": "AWSEvents", - "protocol": "json" - }, - "operations": { - "DeleteRule": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - } - }, - "DescribeRule": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "Name": {}, - "Arn": {}, - "EventPattern": {}, - "ScheduleExpression": {}, - "State": {}, - "Description": {}, - "RoleArn": {} - } - } - }, - "DisableRule": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - } - }, - "EnableRule": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - } - }, - "ListRuleNamesByTarget": { - "input": { - "type": "structure", - "required": [ - "TargetArn" - ], - "members": { - "TargetArn": {}, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "RuleNames": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - } - }, - "ListRules": { - "input": { - "type": "structure", - "members": { - "NamePrefix": {}, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Rules": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Arn": {}, - "EventPattern": {}, - "State": {}, - "Description": {}, - "ScheduleExpression": {}, - "RoleArn": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListTargetsByRule": { - "input": { - "type": "structure", - "required": [ - "Rule" - ], - "members": { - "Rule": {}, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Targets": { - "shape": "Sp" - }, - "NextToken": {} - } - } - }, - "PutEvents": { - "input": { - "type": "structure", - "required": [ - "Entries" - ], - "members": { - "Entries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Time": { - "type": "timestamp" - }, - "Source": {}, - "Resources": { - "type": "list", - "member": {} - }, - "DetailType": {}, - "Detail": {} - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "FailedEntryCount": { - "type": "integer" - }, - "Entries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EventId": {}, - "ErrorCode": {}, - "ErrorMessage": {} - } - } - } - } - } - }, - "PutRule": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "ScheduleExpression": {}, - "EventPattern": {}, - "State": {}, - "Description": {}, - "RoleArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "RuleArn": {} - } - } - }, - "PutTargets": { - "input": { - "type": "structure", - "required": [ - "Rule", - "Targets" - ], - "members": { - "Rule": {}, - "Targets": { - "shape": "Sp" - } - } - }, - "output": { - "type": "structure", - "members": { - "FailedEntryCount": { - "type": "integer" - }, - "FailedEntries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TargetId": {}, - "ErrorCode": {}, - "ErrorMessage": {} - } - } - } - } - } - }, - "RemoveTargets": { - "input": { - "type": "structure", - "required": [ - "Rule", - "Ids" - ], - "members": { - "Rule": {}, - "Ids": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "FailedEntryCount": { - "type": "integer" - }, - "FailedEntries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TargetId": {}, - "ErrorCode": {}, - "ErrorMessage": {} - } - } - } - } - } - }, - "TestEventPattern": { - "input": { - "type": "structure", - "required": [ - "EventPattern", - "Event" - ], - "members": { - "EventPattern": {}, - "Event": {} - } - }, - "output": { - "type": "structure", - "members": { - "Result": { - "type": "boolean" - } - } - } - } - }, - "shapes": { - "Sp": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Id", - "Arn" - ], - "members": { - "Id": {}, - "Arn": {}, - "Input": {}, - "InputPath": {} - } - } - } - }, - "examples": {} -} -},{}],66:[function(require,module,exports){ -module.exports={ - "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" - }, - "operations": { - "CreateDeliveryStream": { - "input": { - "type": "structure", - "required": [ - "DeliveryStreamName" - ], - "members": { - "DeliveryStreamName": {}, - "S3DestinationConfiguration": { - "shape": "S3" - }, - "RedshiftDestinationConfiguration": { - "type": "structure", - "required": [ - "RoleARN", - "ClusterJDBCURL", - "CopyCommand", - "Username", - "Password", - "S3Configuration" - ], - "members": { - "RoleARN": {}, - "ClusterJDBCURL": {}, - "CopyCommand": { - "shape": "Sl" - }, - "Username": { - "shape": "Sp" - }, - "Password": { - "shape": "Sq" - }, - "RetryOptions": { - "shape": "Sr" - }, - "S3Configuration": { - "shape": "S3" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - } - } - }, - "ElasticsearchDestinationConfiguration": { - "type": "structure", - "required": [ - "RoleARN", - "DomainARN", - "IndexName", - "TypeName", - "S3Configuration" - ], - "members": { - "RoleARN": {}, - "DomainARN": {}, - "IndexName": {}, - "TypeName": {}, - "IndexRotationPeriod": {}, - "BufferingHints": { - "shape": "Sy" - }, - "RetryOptions": { - "shape": "S11" - }, - "S3BackupMode": {}, - "S3Configuration": { - "shape": "S3" - }, - "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": "S1i" - }, - "RedshiftDestinationDescription": { - "type": "structure", - "required": [ - "RoleARN", - "ClusterJDBCURL", - "CopyCommand", - "Username", - "S3DestinationDescription" - ], - "members": { - "RoleARN": {}, - "ClusterJDBCURL": {}, - "CopyCommand": { - "shape": "Sl" - }, - "Username": { - "shape": "Sp" - }, - "RetryOptions": { - "shape": "Sr" - }, - "S3DestinationDescription": { - "shape": "S1i" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - } - } - }, - "ElasticsearchDestinationDescription": { - "type": "structure", - "members": { - "RoleARN": {}, - "DomainARN": {}, - "IndexName": {}, - "TypeName": {}, - "IndexRotationPeriod": {}, - "BufferingHints": { - "shape": "Sy" - }, - "RetryOptions": { - "shape": "S11" - }, - "S3BackupMode": {}, - "S3DestinationDescription": { - "shape": "S1i" - }, - "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": "S1q" - } - } - }, - "output": { - "type": "structure", - "required": [ - "RecordId" - ], - "members": { - "RecordId": {} - } - } - }, - "PutRecordBatch": { - "input": { - "type": "structure", - "required": [ - "DeliveryStreamName", - "Records" - ], - "members": { - "DeliveryStreamName": {}, - "Records": { - "type": "list", - "member": { - "shape": "S1q" - } - } - } - }, - "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": "S23" - }, - "RedshiftDestinationUpdate": { - "type": "structure", - "members": { - "RoleARN": {}, - "ClusterJDBCURL": {}, - "CopyCommand": { - "shape": "Sl" - }, - "Username": { - "shape": "Sp" - }, - "Password": { - "shape": "Sq" - }, - "RetryOptions": { - "shape": "Sr" - }, - "S3Update": { - "shape": "S23" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - } - } - }, - "ElasticsearchDestinationUpdate": { - "type": "structure", - "members": { - "RoleARN": {}, - "DomainARN": {}, - "IndexName": {}, - "TypeName": {}, - "IndexRotationPeriod": {}, - "BufferingHints": { - "shape": "Sy" - }, - "RetryOptions": { - "shape": "S11" - }, - "S3Update": { - "shape": "S23" - }, - "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": {} - } - }, - "Sl": { - "type": "structure", - "required": [ - "DataTableName" - ], - "members": { - "DataTableName": {}, - "DataTableColumns": {}, - "CopyOptions": {} - } - }, - "Sp": { - "type": "string", - "sensitive": true - }, - "Sq": { - "type": "string", - "sensitive": true - }, - "Sr": { - "type": "structure", - "members": { - "DurationInSeconds": { - "type": "integer" - } - } - }, - "Sy": { - "type": "structure", - "members": { - "IntervalInSeconds": { - "type": "integer" - }, - "SizeInMBs": { - "type": "integer" - } - } - }, - "S11": { - "type": "structure", - "members": { - "DurationInSeconds": { - "type": "integer" - } - } - }, - "S1i": { - "type": "structure", - "required": [ - "RoleARN", - "BucketARN", - "BufferingHints", - "CompressionFormat", - "EncryptionConfiguration" - ], - "members": { - "RoleARN": {}, - "BucketARN": {}, - "Prefix": {}, - "BufferingHints": { - "shape": "S7" - }, - "CompressionFormat": {}, - "EncryptionConfiguration": { - "shape": "Sb" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - } - } - }, - "S1q": { - "type": "structure", - "required": [ - "Data" - ], - "members": { - "Data": { - "type": "blob" - } - } - }, - "S23": { - "type": "structure", - "members": { - "RoleARN": {}, - "BucketARN": {}, - "Prefix": {}, - "BufferingHints": { - "shape": "S7" - }, - "CompressionFormat": {}, - "EncryptionConfiguration": { - "shape": "Sb" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - } - } - } - } -} -},{}],67:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2015-10-01", - "endpointPrefix": "gamelift", - "jsonVersion": "1.1", - "serviceFullName": "Amazon GameLift", - "signatureVersion": "v4", - "targetPrefix": "GameLift", - "protocol": "json" - }, - "operations": { - "CreateAlias": { - "input": { - "type": "structure", - "required": [ - "Name", - "RoutingStrategy" - ], - "members": { - "Name": {}, - "Description": {}, - "RoutingStrategy": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Alias": { - "shape": "S8" - } - } - } - }, - "CreateBuild": { - "input": { - "type": "structure", - "members": { - "Name": {}, - "Version": {}, - "StorageLocation": { - "shape": "Sc" - }, - "OperatingSystem": {} - } - }, - "output": { - "type": "structure", - "members": { - "Build": { - "shape": "Sg" - }, - "UploadCredentials": { - "shape": "Sk" - }, - "StorageLocation": { - "shape": "Sc" - } - } - } - }, - "CreateFleet": { - "input": { - "type": "structure", - "required": [ - "Name", - "BuildId", - "EC2InstanceType" - ], - "members": { - "Name": {}, - "Description": {}, - "BuildId": {}, - "ServerLaunchPath": {}, - "ServerLaunchParameters": {}, - "LogPaths": { - "shape": "Sm" - }, - "EC2InstanceType": {}, - "EC2InboundPermissions": { - "shape": "So" - }, - "NewGameSessionProtectionPolicy": {}, - "RuntimeConfiguration": { - "shape": "Su" - } - } - }, - "output": { - "type": "structure", - "members": { - "FleetAttributes": { - "shape": "Sz" - } - } - } - }, - "CreateGameSession": { - "input": { - "type": "structure", - "required": [ - "MaximumPlayerSessionCount" - ], - "members": { - "FleetId": {}, - "AliasId": {}, - "MaximumPlayerSessionCount": { - "type": "integer" - }, - "Name": {}, - "GameProperties": { - "shape": "S13" - } - } - }, - "output": { - "type": "structure", - "members": { - "GameSession": { - "shape": "S18" - } - } - } - }, - "CreatePlayerSession": { - "input": { - "type": "structure", - "required": [ - "GameSessionId", - "PlayerId" - ], - "members": { - "GameSessionId": {}, - "PlayerId": {} - } - }, - "output": { - "type": "structure", - "members": { - "PlayerSession": { - "shape": "S1f" - } - } - } - }, - "CreatePlayerSessions": { - "input": { - "type": "structure", - "required": [ - "GameSessionId", - "PlayerIds" - ], - "members": { - "GameSessionId": {}, - "PlayerIds": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "PlayerSessions": { - "shape": "S1l" - } - } - } - }, - "DeleteAlias": { - "input": { - "type": "structure", - "required": [ - "AliasId" - ], - "members": { - "AliasId": {} - } - } - }, - "DeleteBuild": { - "input": { - "type": "structure", - "required": [ - "BuildId" - ], - "members": { - "BuildId": {} - } - } - }, - "DeleteFleet": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {} - } - } - }, - "DeleteScalingPolicy": { - "input": { - "type": "structure", - "required": [ - "Name", - "FleetId" - ], - "members": { - "Name": {}, - "FleetId": {} - } - } - }, - "DescribeAlias": { - "input": { - "type": "structure", - "required": [ - "AliasId" - ], - "members": { - "AliasId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Alias": { - "shape": "S8" - } - } - } - }, - "DescribeBuild": { - "input": { - "type": "structure", - "required": [ - "BuildId" - ], - "members": { - "BuildId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Build": { - "shape": "Sg" - } - } - } - }, - "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": "S1z" - }, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "FleetAttributes": { - "type": "list", - "member": { - "shape": "Sz" - } - }, - "NextToken": {} - } - } - }, - "DescribeFleetCapacity": { - "input": { - "type": "structure", - "members": { - "FleetIds": { - "shape": "S1z" - }, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "FleetCapacity": { - "type": "list", - "member": { - "type": "structure", - "members": { - "FleetId": {}, - "InstanceType": {}, - "InstanceCounts": { - "type": "structure", - "members": { - "DESIRED": { - "type": "integer" - }, - "MINIMUM": { - "type": "integer" - }, - "MAXIMUM": { - "type": "integer" - }, - "PENDING": { - "type": "integer" - }, - "ACTIVE": { - "type": "integer" - }, - "IDLE": { - "type": "integer" - }, - "TERMINATING": { - "type": "integer" - } - } - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeFleetEvents": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Events": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EventId": {}, - "ResourceId": {}, - "EventCode": {}, - "Message": {}, - "EventTime": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeFleetPortSettings": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "InboundPermissions": { - "shape": "So" - } - } - } - }, - "DescribeFleetUtilization": { - "input": { - "type": "structure", - "members": { - "FleetIds": { - "shape": "S1z" - }, - "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": "S18" - }, - "ProtectionPolicy": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeGameSessions": { - "input": { - "type": "structure", - "members": { - "FleetId": {}, - "GameSessionId": {}, - "AliasId": {}, - "StatusFilter": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "GameSessions": { - "shape": "S2o" - }, - "NextToken": {} - } - } - }, - "DescribePlayerSessions": { - "input": { - "type": "structure", - "members": { - "GameSessionId": {}, - "PlayerId": {}, - "PlayerSessionId": {}, - "PlayerSessionStatusFilter": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "PlayerSessions": { - "shape": "S1l" - }, - "NextToken": {} - } - } - }, - "DescribeRuntimeConfiguration": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "RuntimeConfiguration": { - "shape": "Su" - } - } - } - }, - "DescribeScalingPolicies": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {}, - "StatusFilter": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ScalingPolicies": { - "type": "list", - "member": { - "type": "structure", - "members": { - "FleetId": {}, - "Name": {}, - "Status": {}, - "ScalingAdjustment": { - "type": "integer" - }, - "ScalingAdjustmentType": {}, - "ComparisonOperator": {}, - "Threshold": { - "type": "double" - }, - "EvaluationPeriods": { - "type": "integer" - }, - "MetricName": {} - } - } - }, - "NextToken": {} - } - } - }, - "GetGameSessionLogUrl": { - "input": { - "type": "structure", - "required": [ - "GameSessionId" - ], - "members": { - "GameSessionId": {} - } - }, - "output": { - "type": "structure", - "members": { - "PreSignedUrl": {} - } - } - }, - "ListAliases": { - "input": { - "type": "structure", - "members": { - "RoutingStrategyType": {}, - "Name": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Aliases": { - "type": "list", - "member": { - "shape": "S8" - } - }, - "NextToken": {} - } - } - }, - "ListBuilds": { - "input": { - "type": "structure", - "members": { - "Status": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Builds": { - "type": "list", - "member": { - "shape": "Sg" - } - }, - "NextToken": {} - } - } - }, - "ListFleets": { - "input": { - "type": "structure", - "members": { - "BuildId": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "FleetIds": { - "shape": "S1z" - }, - "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": "Sk" - }, - "StorageLocation": { - "shape": "Sc" - } - } - } - }, - "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": "S2o" - }, - "NextToken": {} - } - } - }, - "UpdateAlias": { - "input": { - "type": "structure", - "required": [ - "AliasId" - ], - "members": { - "AliasId": {}, - "Name": {}, - "Description": {}, - "RoutingStrategy": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Alias": { - "shape": "S8" - } - } - } - }, - "UpdateBuild": { - "input": { - "type": "structure", - "required": [ - "BuildId" - ], - "members": { - "BuildId": {}, - "Name": {}, - "Version": {} - } - }, - "output": { - "type": "structure", - "members": { - "Build": { - "shape": "Sg" - } - } - } - }, - "UpdateFleetAttributes": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {}, - "Name": {}, - "Description": {}, - "NewGameSessionProtectionPolicy": {} - } - }, - "output": { - "type": "structure", - "members": { - "FleetId": {} - } - } - }, - "UpdateFleetCapacity": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {}, - "DesiredInstances": { - "type": "integer" - }, - "MinSize": { - "type": "integer" - }, - "MaxSize": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "FleetId": {} - } - } - }, - "UpdateFleetPortSettings": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {}, - "InboundPermissionAuthorizations": { - "shape": "So" - }, - "InboundPermissionRevocations": { - "shape": "So" - } - } - }, - "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": "S18" - } - } - } - }, - "UpdateRuntimeConfiguration": { - "input": { - "type": "structure", - "required": [ - "FleetId", - "RuntimeConfiguration" - ], - "members": { - "FleetId": {}, - "RuntimeConfiguration": { - "shape": "Su" - } - } - }, - "output": { - "type": "structure", - "members": { - "RuntimeConfiguration": { - "shape": "Su" - } - } - } - } - }, - "shapes": { - "S3": { - "type": "structure", - "members": { - "Type": {}, - "FleetId": {}, - "Message": {} - } - }, - "S8": { - "type": "structure", - "members": { - "AliasId": {}, - "Name": {}, - "Description": {}, - "RoutingStrategy": { - "shape": "S3" - }, - "CreationTime": { - "type": "timestamp" - }, - "LastUpdatedTime": { - "type": "timestamp" - } - } - }, - "Sc": { - "type": "structure", - "members": { - "Bucket": {}, - "Key": {}, - "RoleArn": {} - } - }, - "Sg": { - "type": "structure", - "members": { - "BuildId": {}, - "Name": {}, - "Version": {}, - "Status": {}, - "SizeOnDisk": { - "type": "long" - }, - "OperatingSystem": {}, - "CreationTime": { - "type": "timestamp" - } - } - }, - "Sk": { - "type": "structure", - "members": { - "AccessKeyId": {}, - "SecretAccessKey": {}, - "SessionToken": {} - }, - "sensitive": true - }, - "Sm": { - "type": "list", - "member": {} - }, - "So": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "FromPort", - "ToPort", - "IpRange", - "Protocol" - ], - "members": { - "FromPort": { - "type": "integer" - }, - "ToPort": { - "type": "integer" - }, - "IpRange": {}, - "Protocol": {} - } - } - }, - "Su": { - "type": "structure", - "members": { - "ServerProcesses": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "LaunchPath", - "ConcurrentExecutions" - ], - "members": { - "LaunchPath": {}, - "Parameters": {}, - "ConcurrentExecutions": { - "type": "integer" - } - } - } - } - } - }, - "Sz": { - "type": "structure", - "members": { - "FleetId": {}, - "Description": {}, - "Name": {}, - "CreationTime": { - "type": "timestamp" - }, - "TerminationTime": { - "type": "timestamp" - }, - "Status": {}, - "BuildId": {}, - "ServerLaunchPath": {}, - "ServerLaunchParameters": {}, - "LogPaths": { - "shape": "Sm" - }, - "NewGameSessionProtectionPolicy": {}, - "OperatingSystem": {} - } - }, - "S13": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S18": { - "type": "structure", - "members": { - "GameSessionId": {}, - "Name": {}, - "FleetId": {}, - "CreationTime": { - "type": "timestamp" - }, - "TerminationTime": { - "type": "timestamp" - }, - "CurrentPlayerSessionCount": { - "type": "integer" - }, - "MaximumPlayerSessionCount": { - "type": "integer" - }, - "Status": {}, - "GameProperties": { - "shape": "S13" - }, - "IpAddress": {}, - "Port": { - "type": "integer" - }, - "PlayerSessionCreationPolicy": {} - } - }, - "S1f": { - "type": "structure", - "members": { - "PlayerSessionId": {}, - "PlayerId": {}, - "GameSessionId": {}, - "FleetId": {}, - "CreationTime": { - "type": "timestamp" - }, - "TerminationTime": { - "type": "timestamp" - }, - "Status": {}, - "IpAddress": {}, - "Port": { - "type": "integer" - } - } - }, - "S1l": { - "type": "list", - "member": { - "shape": "S1f" - } - }, - "S1z": { - "type": "list", - "member": {} - }, - "S2o": { - "type": "list", - "member": { - "shape": "S18" - } - } - }, - "examples": {} -} -},{}],68:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2016-02-16", - "endpointPrefix": "inspector", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Amazon Inspector", - "signatureVersion": "v4", - "targetPrefix": "InspectorService" - }, - "operations": { - "AddAttributesToFindings": { - "input": { - "type": "structure", - "required": [ - "findingArns", - "attributes" - ], - "members": { - "findingArns": { - "shape": "S2" - }, - "attributes": { - "shape": "S4" - } - } - }, - "output": { - "type": "structure", - "required": [ - "failedItems" - ], - "members": { - "failedItems": { - "shape": "S9" - } - } - } - }, - "CreateAssessmentTarget": { - "input": { - "type": "structure", - "required": [ - "assessmentTargetName", - "resourceGroupArn" - ], - "members": { - "assessmentTargetName": {}, - "resourceGroupArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentTargetArn" - ], - "members": { - "assessmentTargetArn": {} - } - } - }, - "CreateAssessmentTemplate": { - "input": { - "type": "structure", - "required": [ - "assessmentTargetArn", - "assessmentTemplateName", - "durationInSeconds", - "rulesPackageArns" - ], - "members": { - "assessmentTargetArn": {}, - "assessmentTemplateName": {}, - "durationInSeconds": { - "type": "integer" - }, - "rulesPackageArns": { - "shape": "Sj" - }, - "userAttributesForFindings": { - "shape": "S4" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentTemplateArn" - ], - "members": { - "assessmentTemplateArn": {} - } - } - }, - "CreateResourceGroup": { - "input": { - "type": "structure", - "required": [ - "resourceGroupTags" - ], - "members": { - "resourceGroupTags": { - "shape": "Sm" - } - } - }, - "output": { - "type": "structure", - "required": [ - "resourceGroupArn" - ], - "members": { - "resourceGroupArn": {} - } - } - }, - "DeleteAssessmentRun": { - "input": { - "type": "structure", - "required": [ - "assessmentRunArn" - ], - "members": { - "assessmentRunArn": {} - } - } - }, - "DeleteAssessmentTarget": { - "input": { - "type": "structure", - "required": [ - "assessmentTargetArn" - ], - "members": { - "assessmentTargetArn": {} - } - } - }, - "DeleteAssessmentTemplate": { - "input": { - "type": "structure", - "required": [ - "assessmentTemplateArn" - ], - "members": { - "assessmentTemplateArn": {} - } - } - }, - "DescribeAssessmentRuns": { - "input": { - "type": "structure", - "required": [ - "assessmentRunArns" - ], - "members": { - "assessmentRunArns": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentRuns", - "failedItems" - ], - "members": { - "assessmentRuns": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "arn", - "name", - "assessmentTemplateArn", - "state", - "durationInSeconds", - "rulesPackageArns", - "userAttributesForFindings", - "createdAt", - "stateChangedAt", - "dataCollected", - "stateChanges", - "notifications" - ], - "members": { - "arn": {}, - "name": {}, - "assessmentTemplateArn": {}, - "state": {}, - "durationInSeconds": { - "type": "integer" - }, - "rulesPackageArns": { - "type": "list", - "member": {} - }, - "userAttributesForFindings": { - "shape": "S4" - }, - "createdAt": { - "type": "timestamp" - }, - "startedAt": { - "type": "timestamp" - }, - "completedAt": { - "type": "timestamp" - }, - "stateChangedAt": { - "type": "timestamp" - }, - "dataCollected": { - "type": "boolean" - }, - "stateChanges": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "stateChangedAt", - "state" - ], - "members": { - "stateChangedAt": { - "type": "timestamp" - }, - "state": {} - } - } - }, - "notifications": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "date", - "event", - "error" - ], - "members": { - "date": { - "type": "timestamp" - }, - "event": {}, - "message": {}, - "error": { - "type": "boolean" - }, - "snsTopicArn": {}, - "snsPublishStatusCode": {} - } - } - } - } - } - }, - "failedItems": { - "shape": "S9" - } - } - } - }, - "DescribeAssessmentTargets": { - "input": { - "type": "structure", - "required": [ - "assessmentTargetArns" - ], - "members": { - "assessmentTargetArns": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentTargets", - "failedItems" - ], - "members": { - "assessmentTargets": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "arn", - "name", - "resourceGroupArn", - "createdAt", - "updatedAt" - ], - "members": { - "arn": {}, - "name": {}, - "resourceGroupArn": {}, - "createdAt": { - "type": "timestamp" - }, - "updatedAt": { - "type": "timestamp" - } - } - } - }, - "failedItems": { - "shape": "S9" - } - } - } - }, - "DescribeAssessmentTemplates": { - "input": { - "type": "structure", - "required": [ - "assessmentTemplateArns" - ], - "members": { - "assessmentTemplateArns": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentTemplates", - "failedItems" - ], - "members": { - "assessmentTemplates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "arn", - "name", - "assessmentTargetArn", - "durationInSeconds", - "rulesPackageArns", - "userAttributesForFindings", - "createdAt" - ], - "members": { - "arn": {}, - "name": {}, - "assessmentTargetArn": {}, - "durationInSeconds": { - "type": "integer" - }, - "rulesPackageArns": { - "shape": "Sj" - }, - "userAttributesForFindings": { - "shape": "S4" - }, - "createdAt": { - "type": "timestamp" - } - } - } - }, - "failedItems": { - "shape": "S9" - } - } - } - }, - "DescribeCrossAccountAccessRole": { - "output": { - "type": "structure", - "required": [ - "roleArn", - "valid", - "registeredAt" - ], - "members": { - "roleArn": {}, - "valid": { - "type": "boolean" - }, - "registeredAt": { - "type": "timestamp" - } - } - } - }, - "DescribeFindings": { - "input": { - "type": "structure", - "required": [ - "findingArns" - ], - "members": { - "findingArns": { - "shape": "Sv" - }, - "locale": {} - } - }, - "output": { - "type": "structure", - "required": [ - "findings", - "failedItems" - ], - "members": { - "findings": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "arn", - "attributes", - "userAttributes", - "createdAt", - "updatedAt" - ], - "members": { - "arn": {}, - "schemaVersion": { - "type": "integer" - }, - "service": {}, - "serviceAttributes": { - "type": "structure", - "required": [ - "schemaVersion" - ], - "members": { - "schemaVersion": { - "type": "integer" - }, - "assessmentRunArn": {}, - "rulesPackageArn": {} - } - }, - "assetType": {}, - "assetAttributes": { - "type": "structure", - "required": [ - "schemaVersion" - ], - "members": { - "schemaVersion": { - "type": "integer" - }, - "agentId": {}, - "autoScalingGroup": {}, - "amiId": {}, - "hostname": {}, - "ipv4Addresses": { - "type": "list", - "member": {} - } - } - }, - "id": {}, - "title": {}, - "description": {}, - "recommendation": {}, - "severity": {}, - "numericSeverity": { - "type": "double" - }, - "confidence": { - "type": "integer" - }, - "indicatorOfCompromise": { - "type": "boolean" - }, - "attributes": { - "shape": "S24" - }, - "userAttributes": { - "shape": "S4" - }, - "createdAt": { - "type": "timestamp" - }, - "updatedAt": { - "type": "timestamp" - } - } - } - }, - "failedItems": { - "shape": "S9" - } - } - } - }, - "DescribeResourceGroups": { - "input": { - "type": "structure", - "required": [ - "resourceGroupArns" - ], - "members": { - "resourceGroupArns": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "required": [ - "resourceGroups", - "failedItems" - ], - "members": { - "resourceGroups": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "arn", - "tags", - "createdAt" - ], - "members": { - "arn": {}, - "tags": { - "shape": "Sm" - }, - "createdAt": { - "type": "timestamp" - } - } - } - }, - "failedItems": { - "shape": "S9" - } - } - } - }, - "DescribeRulesPackages": { - "input": { - "type": "structure", - "required": [ - "rulesPackageArns" - ], - "members": { - "rulesPackageArns": { - "shape": "Sv" - }, - "locale": {} - } - }, - "output": { - "type": "structure", - "required": [ - "rulesPackages", - "failedItems" - ], - "members": { - "rulesPackages": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "arn", - "name", - "version", - "provider" - ], - "members": { - "arn": {}, - "name": {}, - "version": {}, - "provider": {}, - "description": {} - } - } - }, - "failedItems": { - "shape": "S9" - } - } - } - }, - "GetTelemetryMetadata": { - "input": { - "type": "structure", - "required": [ - "assessmentRunArn" - ], - "members": { - "assessmentRunArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "telemetryMetadata" - ], - "members": { - "telemetryMetadata": { - "shape": "S2i" - } - } - } - }, - "ListAssessmentRunAgents": { - "input": { - "type": "structure", - "required": [ - "assessmentRunArn" - ], - "members": { - "assessmentRunArn": {}, - "filter": { - "type": "structure", - "required": [ - "agentHealths", - "agentHealthCodes" - ], - "members": { - "agentHealths": { - "type": "list", - "member": {} - }, - "agentHealthCodes": { - "type": "list", - "member": {} - } - } - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentRunAgents" - ], - "members": { - "assessmentRunAgents": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "agentId", - "assessmentRunArn", - "agentHealth", - "agentHealthCode", - "telemetryMetadata" - ], - "members": { - "agentId": {}, - "assessmentRunArn": {}, - "agentHealth": {}, - "agentHealthCode": {}, - "agentHealthDetails": {}, - "autoScalingGroup": {}, - "telemetryMetadata": { - "shape": "S2i" - } - } - } - }, - "nextToken": {} - } - } - }, - "ListAssessmentRuns": { - "input": { - "type": "structure", - "members": { - "assessmentTemplateArns": { - "shape": "S2y" - }, - "filter": { - "type": "structure", - "members": { - "namePattern": {}, - "states": { - "type": "list", - "member": {} - }, - "durationRange": { - "shape": "S32" - }, - "rulesPackageArns": { - "shape": "S33" - }, - "startTimeRange": { - "shape": "S34" - }, - "completionTimeRange": { - "shape": "S34" - }, - "stateChangeTimeRange": { - "shape": "S34" - } - } - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentRunArns" - ], - "members": { - "assessmentRunArns": { - "shape": "S36" - }, - "nextToken": {} - } - } - }, - "ListAssessmentTargets": { - "input": { - "type": "structure", - "members": { - "filter": { - "type": "structure", - "members": { - "assessmentTargetNamePattern": {} - } - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentTargetArns" - ], - "members": { - "assessmentTargetArns": { - "shape": "S36" - }, - "nextToken": {} - } - } - }, - "ListAssessmentTemplates": { - "input": { - "type": "structure", - "members": { - "assessmentTargetArns": { - "shape": "S2y" - }, - "filter": { - "type": "structure", - "members": { - "namePattern": {}, - "durationRange": { - "shape": "S32" - }, - "rulesPackageArns": { - "shape": "S33" - } - } - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentTemplateArns" - ], - "members": { - "assessmentTemplateArns": { - "shape": "S36" - }, - "nextToken": {} - } - } - }, - "ListEventSubscriptions": { - "input": { - "type": "structure", - "members": { - "resourceArn": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "subscriptions" - ], - "members": { - "subscriptions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "resourceArn", - "topicArn", - "eventSubscriptions" - ], - "members": { - "resourceArn": {}, - "topicArn": {}, - "eventSubscriptions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "event", - "subscribedAt" - ], - "members": { - "event": {}, - "subscribedAt": { - "type": "timestamp" - } - } - } - } - } - } - }, - "nextToken": {} - } - } - }, - "ListFindings": { - "input": { - "type": "structure", - "members": { - "assessmentRunArns": { - "shape": "S2y" - }, - "filter": { - "type": "structure", - "members": { - "agentIds": { - "type": "list", - "member": {} - }, - "autoScalingGroups": { - "type": "list", - "member": {} - }, - "ruleNames": { - "type": "list", - "member": {} - }, - "severities": { - "type": "list", - "member": {} - }, - "rulesPackageArns": { - "shape": "S33" - }, - "attributes": { - "shape": "S24" - }, - "userAttributes": { - "shape": "S24" - }, - "creationTimeRange": { - "shape": "S34" - } - } - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "findingArns" - ], - "members": { - "findingArns": { - "shape": "S36" - }, - "nextToken": {} - } - } - }, - "ListRulesPackages": { - "input": { - "type": "structure", - "members": { - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "rulesPackageArns" - ], - "members": { - "rulesPackageArns": { - "shape": "S36" - }, - "nextToken": {} - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "resourceArn" - ], - "members": { - "resourceArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "tags" - ], - "members": { - "tags": { - "shape": "S3w" - } - } - } - }, - "PreviewAgents": { - "input": { - "type": "structure", - "required": [ - "previewAgentsArn" - ], - "members": { - "previewAgentsArn": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "agentPreviews" - ], - "members": { - "agentPreviews": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "agentId" - ], - "members": { - "agentId": {}, - "autoScalingGroup": {} - } - } - }, - "nextToken": {} - } - } - }, - "RegisterCrossAccountAccessRole": { - "input": { - "type": "structure", - "required": [ - "roleArn" - ], - "members": { - "roleArn": {} - } - } - }, - "RemoveAttributesFromFindings": { - "input": { - "type": "structure", - "required": [ - "findingArns", - "attributeKeys" - ], - "members": { - "findingArns": { - "shape": "S2" - }, - "attributeKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "required": [ - "failedItems" - ], - "members": { - "failedItems": { - "shape": "S9" - } - } - } - }, - "SetTagsForResource": { - "input": { - "type": "structure", - "required": [ - "resourceArn" - ], - "members": { - "resourceArn": {}, - "tags": { - "shape": "S3w" - } - } - } - }, - "StartAssessmentRun": { - "input": { - "type": "structure", - "required": [ - "assessmentTemplateArn" - ], - "members": { - "assessmentTemplateArn": {}, - "assessmentRunName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentRunArn" - ], - "members": { - "assessmentRunArn": {} - } - } - }, - "StopAssessmentRun": { - "input": { - "type": "structure", - "required": [ - "assessmentRunArn" - ], - "members": { - "assessmentRunArn": {} - } - } - }, - "SubscribeToEvent": { - "input": { - "type": "structure", - "required": [ - "resourceArn", - "event", - "topicArn" - ], - "members": { - "resourceArn": {}, - "event": {}, - "topicArn": {} - } - } - }, - "UnsubscribeFromEvent": { - "input": { - "type": "structure", - "required": [ - "resourceArn", - "event", - "topicArn" - ], - "members": { - "resourceArn": {}, - "event": {}, - "topicArn": {} - } - } - }, - "UpdateAssessmentTarget": { - "input": { - "type": "structure", - "required": [ - "assessmentTargetArn", - "assessmentTargetName", - "resourceGroupArn" - ], - "members": { - "assessmentTargetArn": {}, - "assessmentTargetName": {}, - "resourceGroupArn": {} - } - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": {} - }, - "S4": { - "type": "list", - "member": { - "shape": "S5" - } - }, - "S5": { - "type": "structure", - "required": [ - "key" - ], - "members": { - "key": {}, - "value": {} - } - }, - "S9": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "failureCode", - "retryable" - ], - "members": { - "failureCode": {}, - "retryable": { - "type": "boolean" - } - } - } - }, - "Sj": { - "type": "list", - "member": {} - }, - "Sm": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "key" - ], - "members": { - "key": {}, - "value": {} - } - } - }, - "Sv": { - "type": "list", - "member": {} - }, - "S24": { - "type": "list", - "member": { - "shape": "S5" - } - }, - "S2i": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "messageType", - "count" - ], - "members": { - "messageType": {}, - "count": { - "type": "long" - }, - "dataSize": { - "type": "long" - } - } - } - }, - "S2y": { - "type": "list", - "member": {} - }, - "S32": { - "type": "structure", - "members": { - "minSeconds": { - "type": "integer" - }, - "maxSeconds": { - "type": "integer" - } - } - }, - "S33": { - "type": "list", - "member": {} - }, - "S34": { - "type": "structure", - "members": { - "beginDate": { - "type": "timestamp" - }, - "endDate": { - "type": "timestamp" - } - } - }, - "S36": { - "type": "list", - "member": {} - }, - "S3w": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "key" - ], - "members": { - "key": {}, - "value": {} - } - } - } - } -} -},{}],69:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2015-05-28", - "endpointPrefix": "iot", - "serviceFullName": "AWS IoT", - "signatureVersion": "v4", - "signingName": "execute-api", - "protocol": "rest-json" - }, - "operations": { - "AcceptCertificateTransfer": { - "http": { - "method": "PATCH", - "requestUri": "/accept-certificate-transfer/{certificateId}" - }, - "input": { - "type": "structure", - "required": [ - "certificateId" - ], - "members": { - "certificateId": { - "location": "uri", - "locationName": "certificateId" - }, - "setAsActive": { - "location": "querystring", - "locationName": "setAsActive", - "type": "boolean" - } - } - } - }, - "AttachPrincipalPolicy": { - "http": { - "method": "PUT", - "requestUri": "/principal-policies/{policyName}" - }, - "input": { - "type": "structure", - "required": [ - "policyName", - "principal" - ], - "members": { - "policyName": { - "location": "uri", - "locationName": "policyName" - }, - "principal": { - "location": "header", - "locationName": "x-amzn-iot-principal" - } - } - } - }, - "AttachThingPrincipal": { - "http": { - "method": "PUT", - "requestUri": "/things/{thingName}/principals" - }, - "input": { - "type": "structure", - "required": [ - "thingName", - "principal" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - }, - "principal": { - "location": "header", - "locationName": "x-amzn-principal" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CancelCertificateTransfer": { - "http": { - "method": "PATCH", - "requestUri": "/cancel-certificate-transfer/{certificateId}" - }, - "input": { - "type": "structure", - "required": [ - "certificateId" - ], - "members": { - "certificateId": { - "location": "uri", - "locationName": "certificateId" - } - } - } - }, - "CreateCertificateFromCsr": { - "http": { - "requestUri": "/certificates" - }, - "input": { - "type": "structure", - "required": [ - "certificateSigningRequest" - ], - "members": { - "certificateSigningRequest": {}, - "setAsActive": { - "location": "querystring", - "locationName": "setAsActive", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "certificateArn": {}, - "certificateId": {}, - "certificatePem": {} - } - } - }, - "CreateKeysAndCertificate": { - "http": { - "requestUri": "/keys-and-certificate" - }, - "input": { - "type": "structure", - "members": { - "setAsActive": { - "location": "querystring", - "locationName": "setAsActive", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "certificateArn": {}, - "certificateId": {}, - "certificatePem": {}, - "keyPair": { - "type": "structure", - "members": { - "PublicKey": {}, - "PrivateKey": { - "type": "string", - "sensitive": true - } - } - } - } - } - }, - "CreatePolicy": { - "http": { - "requestUri": "/policies/{policyName}" - }, - "input": { - "type": "structure", - "required": [ - "policyName", - "policyDocument" - ], - "members": { - "policyName": { - "location": "uri", - "locationName": "policyName" - }, - "policyDocument": {} - } - }, - "output": { - "type": "structure", - "members": { - "policyName": {}, - "policyArn": {}, - "policyDocument": {}, - "policyVersionId": {} - } - } - }, - "CreatePolicyVersion": { - "http": { - "requestUri": "/policies/{policyName}/version" - }, - "input": { - "type": "structure", - "required": [ - "policyName", - "policyDocument" - ], - "members": { - "policyName": { - "location": "uri", - "locationName": "policyName" - }, - "policyDocument": {}, - "setAsDefault": { - "location": "querystring", - "locationName": "setAsDefault", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "policyArn": {}, - "policyDocument": {}, - "policyVersionId": {}, - "isDefaultVersion": { - "type": "boolean" - } - } - } - }, - "CreateThing": { - "http": { - "requestUri": "/things/{thingName}" - }, - "input": { - "type": "structure", - "required": [ - "thingName" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - }, - "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", - "members": { - "ruleName": { - "location": "uri", - "locationName": "ruleName" - } - }, - "required": [ - "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": "S3s" - } - } - } - }, - "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": "S4p" - }, - "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": "S4p" - }, - "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": "S4z" - }, - "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": "S53" - }, - "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": "S4z" - }, - "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": "S53" - } - } - } - }, - "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": "S3s" - } - } - } - }, - "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": {} - } - }, - "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": {} - } - } - } - } - }, - "S3s": { - "type": "structure", - "members": { - "deprecated": { - "type": "boolean" - }, - "deprecationDate": { - "type": "timestamp" - }, - "creationDate": { - "type": "timestamp" - } - } - }, - "S4p": { - "type": "list", - "member": { - "type": "structure", - "members": { - "certificateArn": {}, - "certificateId": {}, - "status": {}, - "creationDate": { - "type": "timestamp" - } - } - } - }, - "S4z": { - "type": "list", - "member": { - "type": "structure", - "members": { - "policyName": {}, - "policyArn": {} - } - } - }, - "S53": { - "type": "list", - "member": {} - } - }, - "examples": {} -} -},{}],70:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2015-05-28", - "endpointPrefix": "data.iot", - "protocol": "rest-json", - "serviceFullName": "AWS IoT Data Plane", - "signatureVersion": "v4", - "signingName": "iotdata" - }, - "operations": { - "DeleteThingShadow": { - "http": { - "method": "DELETE", - "requestUri": "/things/{thingName}/shadow" - }, - "input": { - "type": "structure", - "required": [ - "thingName" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - } - } - }, - "output": { - "type": "structure", - "required": [ - "payload" - ], - "members": { - "payload": { - "type": "blob" - } - }, - "payload": "payload" - } - }, - "GetThingShadow": { - "http": { - "method": "GET", - "requestUri": "/things/{thingName}/shadow" - }, - "input": { - "type": "structure", - "required": [ - "thingName" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - } - } - }, - "output": { - "type": "structure", - "members": { - "payload": { - "type": "blob" - } - }, - "payload": "payload" - } - }, - "Publish": { - "http": { - "requestUri": "/topics/{topic}" - }, - "input": { - "type": "structure", - "required": [ - "topic" - ], - "members": { - "topic": { - "location": "uri", - "locationName": "topic" - }, - "qos": { - "location": "querystring", - "locationName": "qos", - "type": "integer" - }, - "payload": { - "type": "blob" - } - }, - "payload": "payload" - } - }, - "UpdateThingShadow": { - "http": { - "requestUri": "/things/{thingName}/shadow" - }, - "input": { - "type": "structure", - "required": [ - "thingName", - "payload" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - }, - "payload": { - "type": "blob" - } - }, - "payload": "payload" - }, - "output": { - "type": "structure", - "members": { - "payload": { - "type": "blob" - } - }, - "payload": "payload" - } - } - }, - "shapes": {} -} -},{}],71:[function(require,module,exports){ -module.exports={ - "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" - }, - "operations": { - "AddTagsToStream": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "Tags" - ], - "members": { - "StreamName": {}, - "Tags": { - "type": "map", - "key": {}, - "value": {} - } - } - } - }, - "CreateStream": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "ShardCount" - ], - "members": { - "StreamName": {}, - "ShardCount": { - "type": "integer" - } - } - } - }, - "DecreaseStreamRetentionPeriod": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "RetentionPeriodHours" - ], - "members": { - "StreamName": {}, - "RetentionPeriodHours": { - "type": "integer" - } - } - } - }, - "DeleteStream": { - "input": { - "type": "structure", - "required": [ - "StreamName" - ], - "members": { - "StreamName": {} - } - } - }, - "DescribeStream": { - "input": { - "type": "structure", - "required": [ - "StreamName" - ], - "members": { - "StreamName": {}, - "Limit": { - "type": "integer" - }, - "ExclusiveStartShardId": {} - } - }, - "output": { - "type": "structure", - "required": [ - "StreamDescription" - ], - "members": { - "StreamDescription": { - "type": "structure", - "required": [ - "StreamName", - "StreamARN", - "StreamStatus", - "Shards", - "HasMoreShards", - "RetentionPeriodHours", - "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" - }, - "EnhancedMonitoring": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ShardLevelMetrics": { - "shape": "Sr" - } - } - } - } - } - } - } - } - }, - "DisableEnhancedMonitoring": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "ShardLevelMetrics" - ], - "members": { - "StreamName": {}, - "ShardLevelMetrics": { - "shape": "Sr" - } - } - }, - "output": { - "shape": "Su" - } - }, - "EnableEnhancedMonitoring": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "ShardLevelMetrics" - ], - "members": { - "StreamName": {}, - "ShardLevelMetrics": { - "shape": "Sr" - } - } - }, - "output": { - "shape": "Su" - } - }, - "GetRecords": { - "input": { - "type": "structure", - "required": [ - "ShardIterator" - ], - "members": { - "ShardIterator": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Records" - ], - "members": { - "Records": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "SequenceNumber", - "Data", - "PartitionKey" - ], - "members": { - "SequenceNumber": {}, - "ApproximateArrivalTimestamp": { - "type": "timestamp" - }, - "Data": { - "type": "blob" - }, - "PartitionKey": {} - } - } - }, - "NextShardIterator": {}, - "MillisBehindLatest": { - "type": "long" - } - } - } - }, - "GetShardIterator": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "ShardId", - "ShardIteratorType" - ], - "members": { - "StreamName": {}, - "ShardId": {}, - "ShardIteratorType": {}, - "StartingSequenceNumber": {}, - "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": {} - } - } - }, - "PutRecords": { - "input": { - "type": "structure", - "required": [ - "Records", - "StreamName" - ], - "members": { - "Records": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Data", - "PartitionKey" - ], - "members": { - "Data": { - "type": "blob" - }, - "ExplicitHashKey": {}, - "PartitionKey": {} - } - } - }, - "StreamName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "Records" - ], - "members": { - "FailedRecordCount": { - "type": "integer" - }, - "Records": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SequenceNumber": {}, - "ShardId": {}, - "ErrorCode": {}, - "ErrorMessage": {} - } - } - } - } - } - }, - "RemoveTagsFromStream": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "TagKeys" - ], - "members": { - "StreamName": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "SplitShard": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "ShardToSplit", - "NewStartingHashKey" - ], - "members": { - "StreamName": {}, - "ShardToSplit": {}, - "NewStartingHashKey": {} - } - } - } - }, - "shapes": { - "Sr": { - "type": "list", - "member": {} - }, - "Su": { - "type": "structure", - "members": { - "StreamName": {}, - "CurrentShardLevelMetrics": { - "shape": "Sr" - }, - "DesiredShardLevelMetrics": { - "shape": "Sr" - } - } - } - } -} -},{}],72:[function(require,module,exports){ -module.exports={ - "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" - } - } -} - -},{}],73:[function(require,module,exports){ -module.exports={ - "version": 2, - "waiters": { - "StreamExists": { - "delay": 10, - "operation": "DescribeStream", - "maxAttempts": 18, - "acceptors": [ - { - "expected": "ACTIVE", - "matcher": "path", - "state": "success", - "argument": "StreamDescription.StreamStatus" - } - ] - } - } -} - -},{}],74:[function(require,module,exports){ -module.exports={ - "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" - }, - "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" - } - } - }, - "output": { - "type": "structure", - "members": { - "KeyMetadata": { - "shape": "Sq" - } - } - } - }, - "Decrypt": { - "input": { - "type": "structure", - "required": [ - "CiphertextBlob" - ], - "members": { - "CiphertextBlob": { - "type": "blob" - }, - "EncryptionContext": { - "shape": "Sb" - }, - "GrantTokens": { - "shape": "Se" - } - } - }, - "output": { - "type": "structure", - "members": { - "KeyId": {}, - "Plaintext": { - "shape": "Sz" - } - } - } - }, - "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": "Sq" - } - } - } - }, - "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": "Sz" - }, - "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": "Sz" - }, - "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": "Sz" - } - } - } - }, - "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": "Sz" - }, - "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": "S20" - } - }, - "ListKeyPolicies": { - "input": { - "type": "structure", - "required": [ - "KeyId" - ], - "members": { - "KeyId": {}, - "Limit": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "PolicyNames": { - "type": "list", - "member": {} - }, - "NextMarker": {}, - "Truncated": { - "type": "boolean" - } - } - } - }, - "ListKeys": { - "input": { - "type": "structure", - "members": { - "Limit": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Keys": { - "type": "list", - "member": { - "type": "structure", - "members": { - "KeyId": {}, - "KeyArn": {} - } - } - }, - "NextMarker": {}, - "Truncated": { - "type": "boolean" - } - } - } - }, - "ListRetirableGrants": { - "input": { - "type": "structure", - "required": [ - "RetiringPrincipal" - ], - "members": { - "Limit": { - "type": "integer" - }, - "Marker": {}, - "RetiringPrincipal": {} - } - }, - "output": { - "shape": "S20" - } - }, - "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" - } - } - } - }, - "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": {} - }, - "Sq": { - "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": {} - } - }, - "Sz": { - "type": "blob", - "sensitive": true - }, - "S20": { - "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" - } - } - } - } -} -},{}],75:[function(require,module,exports){ -module.exports={ - "pagination": { - "ListAliases": { - "limit_key": "Limit", - "input_token": "Marker", - "output_token": "NextMarker", - "more_results": "Truncated", - "result_key": "Aliases" - }, - "ListGrants": { - "limit_key": "Limit", - "input_token": "Marker", - "output_token": "NextMarker", - "more_results": "Truncated", - "result_key": "Grants" - }, - "ListKeyPolicies": { - "limit_key": "Limit", - "input_token": "Marker", - "output_token": "NextMarker", - "more_results": "Truncated", - "result_key": "PolicyNames" - }, - "ListKeys": { - "limit_key": "Limit", - "input_token": "Marker", - "output_token": "NextMarker", - "more_results": "Truncated", - "result_key": "Keys" - } - } -} - -},{}],76:[function(require,module,exports){ -module.exports={ - "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 - } - } -} -},{}],77:[function(require,module,exports){ -module.exports={ - "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" - } - } -} - -},{}],78:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2015-03-31", - "endpointPrefix": "lambda", - "protocol": "rest-json", - "serviceFullName": "AWS Lambda", - "signatureVersion": "v4" - }, - "operations": { - "AddPermission": { - "http": { - "requestUri": "/2015-03-31/functions/{FunctionName}/policy", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "StatementId", - "Action", - "Principal" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "StatementId": {}, - "Action": {}, - "Principal": {}, - "SourceArn": {}, - "SourceAccount": {}, - "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": {} - } - }, - "output": { - "shape": "Sm" - } - }, - "CreateFunction": { - "http": { - "requestUri": "/2015-03-31/functions", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "Runtime", - "Role", - "Handler", - "Code" - ], - "members": { - "FunctionName": {}, - "Runtime": {}, - "Role": {}, - "Handler": {}, - "Code": { - "type": "structure", - "members": { - "ZipFile": { - "type": "blob" - }, - "S3Bucket": {}, - "S3Key": {}, - "S3ObjectVersion": {} - } - }, - "Description": {}, - "Timeout": { - "type": "integer" - }, - "MemorySize": { - "type": "integer" - }, - "Publish": { - "type": "boolean" - }, - "VpcConfig": { - "shape": "S10" - } - } - }, - "output": { - "shape": "S15" - } - }, - "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": "Sm" - } - }, - "DeleteFunction": { - "http": { - "method": "DELETE", - "requestUri": "/2015-03-31/functions/{FunctionName}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Qualifier": { - "location": "querystring", - "locationName": "Qualifier" - } - } - } - }, - "GetAlias": { - "http": { - "method": "GET", - "requestUri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "Name" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Name": { - "location": "uri", - "locationName": "Name" - } - } - }, - "output": { - "shape": "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": "Sm" - } - }, - "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": "S15" - }, - "Code": { - "type": "structure", - "members": { - "RepositoryType": {}, - "Location": {} - } - } - } - } - }, - "GetFunctionConfiguration": { - "http": { - "method": "GET", - "requestUri": "/2015-03-31/functions/{FunctionName}/configuration", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Qualifier": { - "location": "querystring", - "locationName": "Qualifier" - } - } - }, - "output": { - "shape": "S15" - } - }, - "GetPolicy": { - "http": { - "method": "GET", - "requestUri": "/2015-03-31/functions/{FunctionName}/policy", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Qualifier": { - "location": "querystring", - "locationName": "Qualifier" - } - } - }, - "output": { - "type": "structure", - "members": { - "Policy": {} - } - } - }, - "Invoke": { - "http": { - "requestUri": "/2015-03-31/functions/{FunctionName}/invocations" - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "InvocationType": { - "location": "header", - "locationName": "X-Amz-Invocation-Type" - }, - "LogType": { - "location": "header", - "locationName": "X-Amz-Log-Type" - }, - "ClientContext": { - "location": "header", - "locationName": "X-Amz-Client-Context" - }, - "Payload": { - "type": "blob" - }, - "Qualifier": { - "location": "querystring", - "locationName": "Qualifier" - } - }, - "payload": "Payload" - }, - "output": { - "type": "structure", - "members": { - "StatusCode": { - "location": "statusCode", - "type": "integer" - }, - "FunctionError": { - "location": "header", - "locationName": "X-Amz-Function-Error" - }, - "LogResult": { - "location": "header", - "locationName": "X-Amz-Log-Result" - }, - "Payload": { - "type": "blob" - } - }, - "payload": "Payload" - } - }, - "InvokeAsync": { - "http": { - "requestUri": "/2014-11-13/functions/{FunctionName}/invoke-async/", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "InvokeArgs" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "InvokeArgs": { - "type": "blob", - "streaming": true - } - }, - "deprecated": true, - "payload": "InvokeArgs" - }, - "output": { - "type": "structure", - "members": { - "Status": { - "location": "statusCode", - "type": "integer" - } - }, - "deprecated": true - }, - "deprecated": true - }, - "ListAliases": { - "http": { - "method": "GET", - "requestUri": "/2015-03-31/functions/{FunctionName}/aliases", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "FunctionVersion": { - "location": "querystring", - "locationName": "FunctionVersion" - }, - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "Aliases": { - "type": "list", - "member": { - "shape": "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": "Sm" - } - } - } - } - }, - "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": "S23" - } - } - } - }, - "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": "S23" - } - } - } - }, - "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": "S15" - } - }, - "RemovePermission": { - "http": { - "method": "DELETE", - "requestUri": "/2015-03-31/functions/{FunctionName}/policy/{StatementId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "StatementId" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "StatementId": { - "location": "uri", - "locationName": "StatementId" - }, - "Qualifier": { - "location": "querystring", - "locationName": "Qualifier" - } - } - } - }, - "UpdateAlias": { - "http": { - "method": "PUT", - "requestUri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "Name" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Name": { - "location": "uri", - "locationName": "Name" - }, - "FunctionVersion": {}, - "Description": {} - } - }, - "output": { - "shape": "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": "Sm" - } - }, - "UpdateFunctionCode": { - "http": { - "method": "PUT", - "requestUri": "/2015-03-31/functions/{FunctionName}/code", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "ZipFile": { - "type": "blob" - }, - "S3Bucket": {}, - "S3Key": {}, - "S3ObjectVersion": {}, - "Publish": { - "type": "boolean" - } - } - }, - "output": { - "shape": "S15" - } - }, - "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" - }, - "Runtime": {} - } - }, - "output": { - "shape": "S15" - } - } - }, - "shapes": { - "Sg": { - "type": "structure", - "members": { - "AliasArn": {}, - "Name": {}, - "FunctionVersion": {}, - "Description": {} - } - }, - "Sm": { - "type": "structure", - "members": { - "UUID": {}, - "BatchSize": { - "type": "integer" - }, - "EventSourceArn": {}, - "FunctionArn": {}, - "LastModified": { - "type": "timestamp" - }, - "LastProcessingResult": {}, - "State": {}, - "StateTransitionReason": {} - } - }, - "S10": { - "type": "structure", - "members": { - "SubnetIds": { - "shape": "S11" - }, - "SecurityGroupIds": { - "shape": "S13" - } - } - }, - "S11": { - "type": "list", - "member": {} - }, - "S13": { - "type": "list", - "member": {} - }, - "S15": { - "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": {} - } - } - } - }, - "S23": { - "type": "list", - "member": { - "shape": "S15" - } - } - } -} -},{}],79:[function(require,module,exports){ -module.exports={ - "pagination": { - "ListEventSourceMappings": { - "input_token": "Marker", - "output_token": "NextMarker", - "limit_key": "MaxItems", - "result_key": "EventSourceMappings" - }, - "ListFunctions": { - "input_token": "Marker", - "output_token": "NextMarker", - "limit_key": "MaxItems", - "result_key": "Functions" - } - } -} - -},{}],80:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2014-03-28", - "endpointPrefix": "logs", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Amazon CloudWatch Logs", - "signatureVersion": "v4", - "targetPrefix": "Logs_20140328" - }, - "operations": { - "CancelExportTask": { - "input": { - "type": "structure", - "required": [ - "taskId" - ], - "members": { - "taskId": {} - } - } - }, - "CreateExportTask": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "from", - "to", - "destination" - ], - "members": { - "taskName": {}, - "logGroupName": {}, - "logStreamNamePrefix": {}, - "from": { - "type": "long" - }, - "to": { - "type": "long" - }, - "destination": {}, - "destinationPrefix": {} - } - }, - "output": { - "type": "structure", - "members": { - "taskId": {} - } - } - }, - "CreateLogGroup": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {} - } - } - }, - "CreateLogStream": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "logStreamName" - ], - "members": { - "logGroupName": {}, - "logStreamName": {} - } - } - }, - "DeleteDestination": { - "input": { - "type": "structure", - "required": [ - "destinationName" - ], - "members": { - "destinationName": {} - } - } - }, - "DeleteLogGroup": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {} - } - } - }, - "DeleteLogStream": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "logStreamName" - ], - "members": { - "logGroupName": {}, - "logStreamName": {} - } - } - }, - "DeleteMetricFilter": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "filterName" - ], - "members": { - "logGroupName": {}, - "filterName": {} - } - } - }, - "DeleteRetentionPolicy": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {} - } - } - }, - "DeleteSubscriptionFilter": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "filterName" - ], - "members": { - "logGroupName": {}, - "filterName": {} - } - } - }, - "DescribeDestinations": { - "input": { - "type": "structure", - "members": { - "DestinationNamePrefix": {}, - "nextToken": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "destinations": { - "type": "list", - "member": { - "shape": "Sq" - } - }, - "nextToken": {} - } - } - }, - "DescribeExportTasks": { - "input": { - "type": "structure", - "members": { - "taskId": {}, - "statusCode": {}, - "nextToken": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "exportTasks": { - "type": "list", - "member": { - "type": "structure", - "members": { - "taskId": {}, - "taskName": {}, - "logGroupName": {}, - "from": { - "type": "long" - }, - "to": { - "type": "long" - }, - "destination": {}, - "destinationPrefix": {}, - "status": { - "type": "structure", - "members": { - "code": {}, - "message": {} - } - }, - "executionInfo": { - "type": "structure", - "members": { - "creationTime": { - "type": "long" - }, - "completionTime": { - "type": "long" - } - } - } - } - } - }, - "nextToken": {} - } - } - }, - "DescribeLogGroups": { - "input": { - "type": "structure", - "members": { - "logGroupNamePrefix": {}, - "nextToken": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "logGroups": { - "type": "list", - "member": { - "type": "structure", - "members": { - "logGroupName": {}, - "creationTime": { - "type": "long" - }, - "retentionInDays": { - "type": "integer" - }, - "metricFilterCount": { - "type": "integer" - }, - "arn": {}, - "storedBytes": { - "type": "long" - } - } - } - }, - "nextToken": {} - } - } - }, - "DescribeLogStreams": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {}, - "logStreamNamePrefix": {}, - "orderBy": {}, - "descending": { - "type": "boolean" - }, - "nextToken": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "logStreams": { - "type": "list", - "member": { - "type": "structure", - "members": { - "logStreamName": {}, - "creationTime": { - "type": "long" - }, - "firstEventTimestamp": { - "type": "long" - }, - "lastEventTimestamp": { - "type": "long" - }, - "lastIngestionTime": { - "type": "long" - }, - "uploadSequenceToken": {}, - "arn": {}, - "storedBytes": { - "type": "long" - } - } - } - }, - "nextToken": {} - } - } - }, - "DescribeMetricFilters": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {}, - "filterNamePrefix": {}, - "nextToken": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "metricFilters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "filterName": {}, - "filterPattern": {}, - "metricTransformations": { - "shape": "S1m" - }, - "creationTime": { - "type": "long" - } - } - } - }, - "nextToken": {} - } - } - }, - "DescribeSubscriptionFilters": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {}, - "filterNamePrefix": {}, - "nextToken": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "subscriptionFilters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "filterName": {}, - "logGroupName": {}, - "filterPattern": {}, - "destinationArn": {}, - "roleArn": {}, - "creationTime": { - "type": "long" - } - } - } - }, - "nextToken": {} - } - } - }, - "FilterLogEvents": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {}, - "logStreamNames": { - "type": "list", - "member": {} - }, - "startTime": { - "type": "long" - }, - "endTime": { - "type": "long" - }, - "filterPattern": {}, - "nextToken": {}, - "limit": { - "type": "integer" - }, - "interleaved": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "events": { - "type": "list", - "member": { - "type": "structure", - "members": { - "logStreamName": {}, - "timestamp": { - "type": "long" - }, - "message": {}, - "ingestionTime": { - "type": "long" - }, - "eventId": {} - } - } - }, - "searchedLogStreams": { - "type": "list", - "member": { - "type": "structure", - "members": { - "logStreamName": {}, - "searchedCompletely": { - "type": "boolean" - } - } - } - }, - "nextToken": {} - } - } - }, - "GetLogEvents": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "logStreamName" - ], - "members": { - "logGroupName": {}, - "logStreamName": {}, - "startTime": { - "type": "long" - }, - "endTime": { - "type": "long" - }, - "nextToken": {}, - "limit": { - "type": "integer" - }, - "startFromHead": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "events": { - "type": "list", - "member": { - "type": "structure", - "members": { - "timestamp": { - "type": "long" - }, - "message": {}, - "ingestionTime": { - "type": "long" - } - } - } - }, - "nextForwardToken": {}, - "nextBackwardToken": {} - } - } - }, - "PutDestination": { - "input": { - "type": "structure", - "required": [ - "destinationName", - "targetArn", - "roleArn" - ], - "members": { - "destinationName": {}, - "targetArn": {}, - "roleArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "destination": { - "shape": "Sq" - } - } - } - }, - "PutDestinationPolicy": { - "input": { - "type": "structure", - "required": [ - "destinationName", - "accessPolicy" - ], - "members": { - "destinationName": {}, - "accessPolicy": {} - } - } - }, - "PutLogEvents": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "logStreamName", - "logEvents" - ], - "members": { - "logGroupName": {}, - "logStreamName": {}, - "logEvents": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "timestamp", - "message" - ], - "members": { - "timestamp": { - "type": "long" - }, - "message": {} - } - } - }, - "sequenceToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "nextSequenceToken": {}, - "rejectedLogEventsInfo": { - "type": "structure", - "members": { - "tooNewLogEventStartIndex": { - "type": "integer" - }, - "tooOldLogEventEndIndex": { - "type": "integer" - }, - "expiredLogEventEndIndex": { - "type": "integer" - } - } - } - } - } - }, - "PutMetricFilter": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "filterName", - "filterPattern", - "metricTransformations" - ], - "members": { - "logGroupName": {}, - "filterName": {}, - "filterPattern": {}, - "metricTransformations": { - "shape": "S1m" - } - } - } - }, - "PutRetentionPolicy": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "retentionInDays" - ], - "members": { - "logGroupName": {}, - "retentionInDays": { - "type": "integer" - } - } - } - }, - "PutSubscriptionFilter": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "filterName", - "filterPattern", - "destinationArn" - ], - "members": { - "logGroupName": {}, - "filterName": {}, - "filterPattern": {}, - "destinationArn": {}, - "roleArn": {} - } - } - }, - "TestMetricFilter": { - "input": { - "type": "structure", - "required": [ - "filterPattern", - "logEventMessages" - ], - "members": { - "filterPattern": {}, - "logEventMessages": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "matches": { - "type": "list", - "member": { - "type": "structure", - "members": { - "eventNumber": { - "type": "long" - }, - "eventMessage": {}, - "extractedValues": { - "type": "map", - "key": {}, - "value": {} - } - } - } - } - } - } - } - }, - "shapes": { - "Sq": { - "type": "structure", - "members": { - "destinationName": {}, - "targetArn": {}, - "roleArn": {}, - "accessPolicy": {}, - "arn": {}, - "creationTime": { - "type": "long" - } - } - }, - "S1m": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "metricName", - "metricNamespace", - "metricValue" - ], - "members": { - "metricName": {}, - "metricNamespace": {}, - "metricValue": {}, - "defaultValue": { - "type": "double" - } - } - } - } - } -} -},{}],81:[function(require,module,exports){ -module.exports={ - "pagination": { - "DescribeDestinations": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "limit", - "result_key": "destinations" - }, - "DescribeLogGroups": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "limit", - "result_key": "logGroups" - }, - "DescribeLogStreams": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "limit", - "result_key": "logStreams" - }, - "DescribeMetricFilters": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "limit", - "result_key": "metricFilters" - }, - "DescribeSubscriptionFilters": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "limit", - "result_key": "subscriptionFilters" - }, - "FilterLogEvents": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "limit", - "result_key": [ - "events", - "searchedLogStreams" - ] - }, - "GetLogEvents": { - "input_token": "nextToken", - "output_token": "nextForwardToken", - "limit_key": "limit", - "result_key": "events" - } - } -} - -},{}],82:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2014-12-12", - "endpointPrefix": "machinelearning", - "jsonVersion": "1.1", - "serviceFullName": "Amazon Machine Learning", - "signatureVersion": "v4", - "targetPrefix": "AmazonML_20141212", - "protocol": "json" - }, - "operations": { - "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": {} -} -},{}],83:[function(require,module,exports){ -module.exports={ - "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" - } - } -} - -},{}],84:[function(require,module,exports){ -module.exports={ - "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" - } - ] - } - } -} - -},{}],85:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2015-07-01", - "endpointPrefix": "marketplacecommerceanalytics", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWS Marketplace Commerce Analytics", - "signatureVersion": "v4", - "signingName": "marketplacecommerceanalytics", - "targetPrefix": "MarketplaceCommerceAnalytics20150701" - }, - "operations": { - "GenerateDataSet": { - "input": { - "type": "structure", - "required": [ - "dataSetType", - "dataSetPublicationDate", - "roleNameArn", - "destinationS3BucketName", - "snsTopicArn" - ], - "members": { - "dataSetType": {}, - "dataSetPublicationDate": { - "type": "timestamp" - }, - "roleNameArn": {}, - "destinationS3BucketName": {}, - "destinationS3Prefix": {}, - "snsTopicArn": {}, - "customerDefinedValues": { - "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": {} - } - } -} -},{}],86:[function(require,module,exports){ -module.exports={ - "acm": { - "name": "ACM", - "cors": true - }, - "apigateway": { - "name": "APIGateway", - "cors": true - }, - "applicationautoscaling": { - "prefix": "application-autoscaling", - "name": "ApplicationAutoScaling", - "cors": true - }, - "autoscaling": { - "name": "AutoScaling", - "cors": true - }, - "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*"], - "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 - }, - "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 - }, - "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*"], - "cors": true - }, - "ecr": { - "name": "ECR", - "cors": true - }, - "ecs": { - "name": "ECS", - "cors": true - }, - "efs": { - "prefix": "elasticfilesystem", - "name": "EFS" - }, - "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" - }, - "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 - }, - "machinelearning": { - "name": "MachineLearning", - "cors": true - }, - "marketplacecommerceanalytics": { - "name": "MarketplaceCommerceAnalytics", - "cors": true - }, - "marketplacemetering": { - "prefix": "meteringmarketplace", - "name": "MarketplaceMetering" - }, - "mobileanalytics": { - "name": "MobileAnalytics", - "cors": true - }, - "opsworks": { - "name": "OpsWorks", - "cors": true - }, - "rds": { - "name": "RDS", - "versions": ["2014-09-01*"], - "cors": true - }, - "redshift": { - "name": "Redshift", - "cors": true - }, - "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 - }, - "simpledb": { - "prefix": "sdb", - "name": "SimpleDB" - }, - "snowball": { - "name": "Snowball" - }, - "sns": { - "name": "SNS", - "cors": true - }, - "sqs": { - "name": "SQS", - "cors": true - }, - "ssm": { - "name": "SSM", - "cors": true - }, - "storagegateway": { - "name": "StorageGateway", - "cors": true - }, - "sts": { - "name": "STS", - "cors": true - }, - "support": { - "name": "Support" - }, - "swf": { - "name": "SWF" - }, - "waf": { - "name": "WAF", - "cors": true - }, - "workspaces": { - "name": "WorkSpaces" - } -} - -},{}],87:[function(require,module,exports){ -module.exports={ - "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": {} -} -},{}],88:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2010-08-01", - "endpointPrefix": "monitoring", - "protocol": "query", - "serviceAbbreviation": "CloudWatch", - "serviceFullName": "Amazon CloudWatch", - "signatureVersion": "v4", - "xmlNamespace": "http://monitoring.amazonaws.com/doc/2010-08-01/" - }, - "operations": { - "DeleteAlarms": { - "input": { - "type": "structure", - "required": [ - "AlarmNames" - ], - "members": { - "AlarmNames": { - "shape": "S2" - } - } - } - }, - "DescribeAlarmHistory": { - "input": { - "type": "structure", - "members": { - "AlarmName": {}, - "HistoryItemType": {}, - "StartDate": { - "type": "timestamp" - }, - "EndDate": { - "type": "timestamp" - }, - "MaxRecords": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeAlarmHistoryResult", - "type": "structure", - "members": { - "AlarmHistoryItems": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AlarmName": {}, - "Timestamp": { - "type": "timestamp" - }, - "HistoryItemType": {}, - "HistorySummary": {}, - "HistoryData": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeAlarms": { - "input": { - "type": "structure", - "members": { - "AlarmNames": { - "shape": "S2" - }, - "AlarmNamePrefix": {}, - "StateValue": {}, - "ActionPrefix": {}, - "MaxRecords": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeAlarmsResult", - "type": "structure", - "members": { - "MetricAlarms": { - "shape": "Sj" - }, - "NextToken": {} - } - } - }, - "DescribeAlarmsForMetric": { - "input": { - "type": "structure", - "required": [ - "MetricName", - "Namespace" - ], - "members": { - "MetricName": {}, - "Namespace": {}, - "Statistic": {}, - "Dimensions": { - "shape": "Sv" - }, - "Period": { - "type": "integer" - }, - "Unit": {} - } - }, - "output": { - "resultWrapper": "DescribeAlarmsForMetricResult", - "type": "structure", - "members": { - "MetricAlarms": { - "shape": "Sj" - } - } - } - }, - "DisableAlarmActions": { - "input": { - "type": "structure", - "required": [ - "AlarmNames" - ], - "members": { - "AlarmNames": { - "shape": "S2" - } - } - } - }, - "EnableAlarmActions": { - "input": { - "type": "structure", - "required": [ - "AlarmNames" - ], - "members": { - "AlarmNames": { - "shape": "S2" - } - } - } - }, - "GetMetricStatistics": { - "input": { - "type": "structure", - "required": [ - "Namespace", - "MetricName", - "StartTime", - "EndTime", - "Period", - "Statistics" - ], - "members": { - "Namespace": {}, - "MetricName": {}, - "Dimensions": { - "shape": "Sv" - }, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Period": { - "type": "integer" - }, - "Statistics": { - "type": "list", - "member": {} - }, - "Unit": {} - } - }, - "output": { - "resultWrapper": "GetMetricStatisticsResult", - "type": "structure", - "members": { - "Label": {}, - "Datapoints": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Timestamp": { - "type": "timestamp" - }, - "SampleCount": { - "type": "double" - }, - "Average": { - "type": "double" - }, - "Sum": { - "type": "double" - }, - "Minimum": { - "type": "double" - }, - "Maximum": { - "type": "double" - }, - "Unit": {} - }, - "xmlOrder": [ - "Timestamp", - "SampleCount", - "Average", - "Sum", - "Minimum", - "Maximum", - "Unit" - ] - } - } - } - } - }, - "ListMetrics": { - "input": { - "type": "structure", - "members": { - "Namespace": {}, - "MetricName": {}, - "Dimensions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "Value": {} - } - } - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListMetricsResult", - "type": "structure", - "members": { - "Metrics": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Namespace": {}, - "MetricName": {}, - "Dimensions": { - "shape": "Sv" - } - }, - "xmlOrder": [ - "Namespace", - "MetricName", - "Dimensions" - ] - } - }, - "NextToken": {} - }, - "xmlOrder": [ - "Metrics", - "NextToken" - ] - } - }, - "PutMetricAlarm": { - "input": { - "type": "structure", - "required": [ - "AlarmName", - "MetricName", - "Namespace", - "Statistic", - "Period", - "EvaluationPeriods", - "Threshold", - "ComparisonOperator" - ], - "members": { - "AlarmName": {}, - "AlarmDescription": {}, - "ActionsEnabled": { - "type": "boolean" - }, - "OKActions": { - "shape": "So" - }, - "AlarmActions": { - "shape": "So" - }, - "InsufficientDataActions": { - "shape": "So" - }, - "MetricName": {}, - "Namespace": {}, - "Statistic": {}, - "Dimensions": { - "shape": "Sv" - }, - "Period": { - "type": "integer" - }, - "Unit": {}, - "EvaluationPeriods": { - "type": "integer" - }, - "Threshold": { - "type": "double" - }, - "ComparisonOperator": {} - } - } - }, - "PutMetricData": { - "input": { - "type": "structure", - "required": [ - "Namespace", - "MetricData" - ], - "members": { - "Namespace": {}, - "MetricData": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "MetricName" - ], - "members": { - "MetricName": {}, - "Dimensions": { - "shape": "Sv" - }, - "Timestamp": { - "type": "timestamp" - }, - "Value": { - "type": "double" - }, - "StatisticValues": { - "type": "structure", - "required": [ - "SampleCount", - "Sum", - "Minimum", - "Maximum" - ], - "members": { - "SampleCount": { - "type": "double" - }, - "Sum": { - "type": "double" - }, - "Minimum": { - "type": "double" - }, - "Maximum": { - "type": "double" - } - } - }, - "Unit": {} - } - } - } - } - } - }, - "SetAlarmState": { - "input": { - "type": "structure", - "required": [ - "AlarmName", - "StateValue", - "StateReason" - ], - "members": { - "AlarmName": {}, - "StateValue": {}, - "StateReason": {}, - "StateReasonData": {} - } - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": {} - }, - "Sj": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AlarmName": {}, - "AlarmArn": {}, - "AlarmDescription": {}, - "AlarmConfigurationUpdatedTimestamp": { - "type": "timestamp" - }, - "ActionsEnabled": { - "type": "boolean" - }, - "OKActions": { - "shape": "So" - }, - "AlarmActions": { - "shape": "So" - }, - "InsufficientDataActions": { - "shape": "So" - }, - "StateValue": {}, - "StateReason": {}, - "StateReasonData": {}, - "StateUpdatedTimestamp": { - "type": "timestamp" - }, - "MetricName": {}, - "Namespace": {}, - "Statistic": {}, - "Dimensions": { - "shape": "Sv" - }, - "Period": { - "type": "integer" - }, - "Unit": {}, - "EvaluationPeriods": { - "type": "integer" - }, - "Threshold": { - "type": "double" - }, - "ComparisonOperator": {} - }, - "xmlOrder": [ - "AlarmName", - "AlarmArn", - "AlarmDescription", - "AlarmConfigurationUpdatedTimestamp", - "ActionsEnabled", - "OKActions", - "AlarmActions", - "InsufficientDataActions", - "StateValue", - "StateReason", - "StateReasonData", - "StateUpdatedTimestamp", - "MetricName", - "Namespace", - "Statistic", - "Dimensions", - "Period", - "Unit", - "EvaluationPeriods", - "Threshold", - "ComparisonOperator" - ] - } - }, - "So": { - "type": "list", - "member": {} - }, - "Sv": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name", - "Value" - ], - "members": { - "Name": {}, - "Value": {} - }, - "xmlOrder": [ - "Name", - "Value" - ] - } - } - } -} -},{}],89:[function(require,module,exports){ -module.exports={ - "pagination": { - "DescribeAlarmHistory": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxRecords", - "result_key": "AlarmHistoryItems" - }, - "DescribeAlarms": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxRecords", - "result_key": "MetricAlarms" - }, - "DescribeAlarmsForMetric": { - "result_key": "MetricAlarms" - }, - "ListMetrics": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "Metrics" - } - } -} - -},{}],90:[function(require,module,exports){ -module.exports={ - "version": 2, - "waiters": { - "AlarmExists": { - "delay": 5, - "maxAttempts": 40, - "operation": "DescribeAlarms", - "acceptors": [ - { - "matcher": "path", - "expected": true, - "argument": "length(MetricAlarms[]) > `0`", - "state": "success" - } - ] - } - } -} - -},{}],91:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2013-02-18", - "endpointPrefix": "opsworks", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWS OpsWorks", - "signatureVersion": "v4", - "targetPrefix": "OpsWorks_20130218" - }, - "operations": { - "AssignInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "LayerIds" - ], - "members": { - "InstanceId": {}, - "LayerIds": { - "shape": "S3" - } - } - } - }, - "AssignVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "VolumeId": {}, - "InstanceId": {} - } - } - }, - "AssociateElasticIp": { - "input": { - "type": "structure", - "required": [ - "ElasticIp" - ], - "members": { - "ElasticIp": {}, - "InstanceId": {} - } - } - }, - "AttachElasticLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "ElasticLoadBalancerName", - "LayerId" - ], - "members": { - "ElasticLoadBalancerName": {}, - "LayerId": {} - } - } - }, - "CloneStack": { - "input": { - "type": "structure", - "required": [ - "SourceStackId", - "ServiceRoleArn" - ], - "members": { - "SourceStackId": {}, - "Name": {}, - "Region": {}, - "VpcId": {}, - "Attributes": { - "shape": "S8" - }, - "ServiceRoleArn": {}, - "DefaultInstanceProfileArn": {}, - "DefaultOs": {}, - "HostnameTheme": {}, - "DefaultAvailabilityZone": {}, - "DefaultSubnetId": {}, - "CustomJson": {}, - "ConfigurationManager": { - "shape": "Sa" - }, - "ChefConfiguration": { - "shape": "Sb" - }, - "UseCustomCookbooks": { - "type": "boolean" - }, - "UseOpsworksSecurityGroups": { - "type": "boolean" - }, - "CustomCookbooksSource": { - "shape": "Sd" - }, - "DefaultSshKeyName": {}, - "ClonePermissions": { - "type": "boolean" - }, - "CloneAppIds": { - "shape": "S3" - }, - "DefaultRootDeviceType": {}, - "AgentVersion": {} - } - }, - "output": { - "type": "structure", - "members": { - "StackId": {} - } - } - }, - "CreateApp": { - "input": { - "type": "structure", - "required": [ - "StackId", - "Name", - "Type" - ], - "members": { - "StackId": {}, - "Shortname": {}, - "Name": {}, - "Description": {}, - "DataSources": { - "shape": "Si" - }, - "Type": {}, - "AppSource": { - "shape": "Sd" - }, - "Domains": { - "shape": "S3" - }, - "EnableSsl": { - "type": "boolean" - }, - "SslConfiguration": { - "shape": "Sl" - }, - "Attributes": { - "shape": "Sm" - }, - "Environment": { - "shape": "So" - } - } - }, - "output": { - "type": "structure", - "members": { - "AppId": {} - } - } - }, - "CreateDeployment": { - "input": { - "type": "structure", - "required": [ - "StackId", - "Command" - ], - "members": { - "StackId": {}, - "AppId": {}, - "InstanceIds": { - "shape": "S3" - }, - "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" - }, - "CustomInstanceProfileArn": {}, - "CustomJson": {}, - "CustomSecurityGroupIds": { - "shape": "S3" - }, - "Packages": { - "shape": "S3" - }, - "VolumeConfigurations": { - "shape": "S19" - }, - "EnableAutoHealing": { - "type": "boolean" - }, - "AutoAssignElasticIps": { - "type": "boolean" - }, - "AutoAssignPublicIps": { - "type": "boolean" - }, - "CustomRecipes": { - "shape": "S1b" - }, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "UseEbsOptimizedInstances": { - "type": "boolean" - }, - "LifecycleEventConfiguration": { - "shape": "S1c" - } - } - }, - "output": { - "type": "structure", - "members": { - "LayerId": {} - } - } - }, - "CreateStack": { - "input": { - "type": "structure", - "required": [ - "Name", - "Region", - "ServiceRoleArn", - "DefaultInstanceProfileArn" - ], - "members": { - "Name": {}, - "Region": {}, - "VpcId": {}, - "Attributes": { - "shape": "S8" - }, - "ServiceRoleArn": {}, - "DefaultInstanceProfileArn": {}, - "DefaultOs": {}, - "HostnameTheme": {}, - "DefaultAvailabilityZone": {}, - "DefaultSubnetId": {}, - "CustomJson": {}, - "ConfigurationManager": { - "shape": "Sa" - }, - "ChefConfiguration": { - "shape": "Sb" - }, - "UseCustomCookbooks": { - "type": "boolean" - }, - "UseOpsworksSecurityGroups": { - "type": "boolean" - }, - "CustomCookbooksSource": { - "shape": "Sd" - }, - "DefaultSshKeyName": {}, - "DefaultRootDeviceType": {}, - "AgentVersion": {} - } - }, - "output": { - "type": "structure", - "members": { - "StackId": {} - } - } - }, - "CreateUserProfile": { - "input": { - "type": "structure", - "required": [ - "IamUserArn" - ], - "members": { - "IamUserArn": {}, - "SshUsername": {}, - "SshPublicKey": {}, - "AllowSelfManagement": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "IamUserArn": {} - } - } - }, - "DeleteApp": { - "input": { - "type": "structure", - "required": [ - "AppId" - ], - "members": { - "AppId": {} - } - } - }, - "DeleteInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {}, - "DeleteElasticIp": { - "type": "boolean" - }, - "DeleteVolumes": { - "type": "boolean" - } - } - } - }, - "DeleteLayer": { - "input": { - "type": "structure", - "required": [ - "LayerId" - ], - "members": { - "LayerId": {} - } - } - }, - "DeleteStack": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {} - } - } - }, - "DeleteUserProfile": { - "input": { - "type": "structure", - "required": [ - "IamUserArn" - ], - "members": { - "IamUserArn": {} - } - } - }, - "DeregisterEcsCluster": { - "input": { - "type": "structure", - "required": [ - "EcsClusterArn" - ], - "members": { - "EcsClusterArn": {} - } - } - }, - "DeregisterElasticIp": { - "input": { - "type": "structure", - "required": [ - "ElasticIp" - ], - "members": { - "ElasticIp": {} - } - } - }, - "DeregisterInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {} - } - } - }, - "DeregisterRdsDbInstance": { - "input": { - "type": "structure", - "required": [ - "RdsDbInstanceArn" - ], - "members": { - "RdsDbInstanceArn": {} - } - } - }, - "DeregisterVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "VolumeId": {} - } - } - }, - "DescribeAgentVersions": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "ConfigurationManager": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "members": { - "AgentVersions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Version": {}, - "ConfigurationManager": { - "shape": "Sa" - } - } - } - } - } - } - }, - "DescribeApps": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "AppIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Apps": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AppId": {}, - "StackId": {}, - "Shortname": {}, - "Name": {}, - "Description": {}, - "DataSources": { - "shape": "Si" - }, - "Type": {}, - "AppSource": { - "shape": "Sd" - }, - "Domains": { - "shape": "S3" - }, - "EnableSsl": { - "type": "boolean" - }, - "SslConfiguration": { - "shape": "Sl" - }, - "Attributes": { - "shape": "Sm" - }, - "CreatedAt": {}, - "Environment": { - "shape": "So" - } - } - } - } - } - } - }, - "DescribeCommands": { - "input": { - "type": "structure", - "members": { - "DeploymentId": {}, - "InstanceId": {}, - "CommandIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Commands": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CommandId": {}, - "InstanceId": {}, - "DeploymentId": {}, - "CreatedAt": {}, - "AcknowledgedAt": {}, - "CompletedAt": {}, - "Status": {}, - "ExitCode": { - "type": "integer" - }, - "LogUrl": {}, - "Type": {} - } - } - } - } - } - }, - "DescribeDeployments": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "AppId": {}, - "DeploymentIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Deployments": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DeploymentId": {}, - "StackId": {}, - "AppId": {}, - "CreatedAt": {}, - "CompletedAt": {}, - "Duration": { - "type": "integer" - }, - "IamUserArn": {}, - "Comment": {}, - "Command": { - "shape": "Ss" - }, - "Status": {}, - "CustomJson": {}, - "InstanceIds": { - "shape": "S3" - } - } - } - } - } - } - }, - "DescribeEcsClusters": { - "input": { - "type": "structure", - "members": { - "EcsClusterArns": { - "shape": "S3" - }, - "StackId": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "EcsClusters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EcsClusterArn": {}, - "EcsClusterName": {}, - "StackId": {}, - "RegisteredAt": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeElasticIps": { - "input": { - "type": "structure", - "members": { - "InstanceId": {}, - "StackId": {}, - "Ips": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "ElasticIps": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Ip": {}, - "Name": {}, - "Domain": {}, - "Region": {}, - "InstanceId": {} - } - } - } - } - } - }, - "DescribeElasticLoadBalancers": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "LayerIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "ElasticLoadBalancers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ElasticLoadBalancerName": {}, - "Region": {}, - "DnsName": {}, - "StackId": {}, - "LayerId": {}, - "VpcId": {}, - "AvailabilityZones": { - "shape": "S3" - }, - "SubnetIds": { - "shape": "S3" - }, - "Ec2InstanceIds": { - "shape": "S3" - } - } - } - } - } - } - }, - "DescribeInstances": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "LayerId": {}, - "InstanceIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Instances": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AgentVersion": {}, - "AmiId": {}, - "Architecture": {}, - "AutoScalingType": {}, - "AvailabilityZone": {}, - "BlockDeviceMappings": { - "shape": "Sz" - }, - "CreatedAt": {}, - "EbsOptimized": { - "type": "boolean" - }, - "Ec2InstanceId": {}, - "EcsClusterArn": {}, - "EcsContainerInstanceArn": {}, - "ElasticIp": {}, - "Hostname": {}, - "InfrastructureClass": {}, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "InstanceId": {}, - "InstanceProfileArn": {}, - "InstanceType": {}, - "LastServiceErrorId": {}, - "LayerIds": { - "shape": "S3" - }, - "Os": {}, - "Platform": {}, - "PrivateDns": {}, - "PrivateIp": {}, - "PublicDns": {}, - "PublicIp": {}, - "RegisteredBy": {}, - "ReportedAgentVersion": {}, - "ReportedOs": { - "type": "structure", - "members": { - "Family": {}, - "Name": {}, - "Version": {} - } - }, - "RootDeviceType": {}, - "RootDeviceVolumeId": {}, - "SecurityGroupIds": { - "shape": "S3" - }, - "SshHostDsaKeyFingerprint": {}, - "SshHostRsaKeyFingerprint": {}, - "SshKeyName": {}, - "StackId": {}, - "Status": {}, - "SubnetId": {}, - "Tenancy": {}, - "VirtualizationType": {} - } - } - } - } - } - }, - "DescribeLayers": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "LayerIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Layers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "StackId": {}, - "LayerId": {}, - "Type": {}, - "Name": {}, - "Shortname": {}, - "Attributes": { - "shape": "S17" - }, - "CustomInstanceProfileArn": {}, - "CustomJson": {}, - "CustomSecurityGroupIds": { - "shape": "S3" - }, - "DefaultSecurityGroupNames": { - "shape": "S3" - }, - "Packages": { - "shape": "S3" - }, - "VolumeConfigurations": { - "shape": "S19" - }, - "EnableAutoHealing": { - "type": "boolean" - }, - "AutoAssignElasticIps": { - "type": "boolean" - }, - "AutoAssignPublicIps": { - "type": "boolean" - }, - "DefaultRecipes": { - "shape": "S1b" - }, - "CustomRecipes": { - "shape": "S1b" - }, - "CreatedAt": {}, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "UseEbsOptimizedInstances": { - "type": "boolean" - }, - "LifecycleEventConfiguration": { - "shape": "S1c" - } - } - } - } - } - } - }, - "DescribeLoadBasedAutoScaling": { - "input": { - "type": "structure", - "required": [ - "LayerIds" - ], - "members": { - "LayerIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "LoadBasedAutoScalingConfigurations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LayerId": {}, - "Enable": { - "type": "boolean" - }, - "UpScaling": { - "shape": "S30" - }, - "DownScaling": { - "shape": "S30" - } - } - } - } - } - } - }, - "DescribeMyUserProfile": { - "output": { - "type": "structure", - "members": { - "UserProfile": { - "type": "structure", - "members": { - "IamUserArn": {}, - "Name": {}, - "SshUsername": {}, - "SshPublicKey": {} - } - } - } - } - }, - "DescribePermissions": { - "input": { - "type": "structure", - "members": { - "IamUserArn": {}, - "StackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Permissions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "StackId": {}, - "IamUserArn": {}, - "AllowSsh": { - "type": "boolean" - }, - "AllowSudo": { - "type": "boolean" - }, - "Level": {} - } - } - } - } - } - }, - "DescribeRaidArrays": { - "input": { - "type": "structure", - "members": { - "InstanceId": {}, - "StackId": {}, - "RaidArrayIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "RaidArrays": { - "type": "list", - "member": { - "type": "structure", - "members": { - "RaidArrayId": {}, - "InstanceId": {}, - "Name": {}, - "RaidLevel": { - "type": "integer" - }, - "NumberOfDisks": { - "type": "integer" - }, - "Size": { - "type": "integer" - }, - "Device": {}, - "MountPoint": {}, - "AvailabilityZone": {}, - "CreatedAt": {}, - "StackId": {}, - "VolumeType": {}, - "Iops": { - "type": "integer" - } - } - } - } - } - } - }, - "DescribeRdsDbInstances": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {}, - "RdsDbInstanceArns": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "RdsDbInstances": { - "type": "list", - "member": { - "type": "structure", - "members": { - "RdsDbInstanceArn": {}, - "DbInstanceIdentifier": {}, - "DbUser": {}, - "DbPassword": {}, - "Region": {}, - "Address": {}, - "Engine": {}, - "StackId": {}, - "MissingOnRds": { - "type": "boolean" - } - } - } - } - } - } - }, - "DescribeServiceErrors": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "InstanceId": {}, - "ServiceErrorIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "ServiceErrors": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ServiceErrorId": {}, - "StackId": {}, - "InstanceId": {}, - "Type": {}, - "Message": {}, - "CreatedAt": {} - } - } - } - } - } - }, - "DescribeStackProvisioningParameters": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "AgentInstallerUrl": {}, - "Parameters": { - "type": "map", - "key": {}, - "value": {} - } - } - } - }, - "DescribeStackSummary": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "StackSummary": { - "type": "structure", - "members": { - "StackId": {}, - "Name": {}, - "Arn": {}, - "LayersCount": { - "type": "integer" - }, - "AppsCount": { - "type": "integer" - }, - "InstancesCount": { - "type": "structure", - "members": { - "Assigning": { - "type": "integer" - }, - "Booting": { - "type": "integer" - }, - "ConnectionLost": { - "type": "integer" - }, - "Deregistering": { - "type": "integer" - }, - "Online": { - "type": "integer" - }, - "Pending": { - "type": "integer" - }, - "Rebooting": { - "type": "integer" - }, - "Registered": { - "type": "integer" - }, - "Registering": { - "type": "integer" - }, - "Requested": { - "type": "integer" - }, - "RunningSetup": { - "type": "integer" - }, - "SetupFailed": { - "type": "integer" - }, - "ShuttingDown": { - "type": "integer" - }, - "StartFailed": { - "type": "integer" - }, - "Stopped": { - "type": "integer" - }, - "Stopping": { - "type": "integer" - }, - "Terminated": { - "type": "integer" - }, - "Terminating": { - "type": "integer" - }, - "Unassigning": { - "type": "integer" - } - } - } - } - } - } - } - }, - "DescribeStacks": { - "input": { - "type": "structure", - "members": { - "StackIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Stacks": { - "type": "list", - "member": { - "type": "structure", - "members": { - "StackId": {}, - "Name": {}, - "Arn": {}, - "Region": {}, - "VpcId": {}, - "Attributes": { - "shape": "S8" - }, - "ServiceRoleArn": {}, - "DefaultInstanceProfileArn": {}, - "DefaultOs": {}, - "HostnameTheme": {}, - "DefaultAvailabilityZone": {}, - "DefaultSubnetId": {}, - "CustomJson": {}, - "ConfigurationManager": { - "shape": "Sa" - }, - "ChefConfiguration": { - "shape": "Sb" - }, - "UseCustomCookbooks": { - "type": "boolean" - }, - "UseOpsworksSecurityGroups": { - "type": "boolean" - }, - "CustomCookbooksSource": { - "shape": "Sd" - }, - "DefaultSshKeyName": {}, - "CreatedAt": {}, - "DefaultRootDeviceType": {}, - "AgentVersion": {} - } - } - } - } - } - }, - "DescribeTimeBasedAutoScaling": { - "input": { - "type": "structure", - "required": [ - "InstanceIds" - ], - "members": { - "InstanceIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "TimeBasedAutoScalingConfigurations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InstanceId": {}, - "AutoScalingSchedule": { - "shape": "S40" - } - } - } - } - } - } - }, - "DescribeUserProfiles": { - "input": { - "type": "structure", - "members": { - "IamUserArns": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "UserProfiles": { - "type": "list", - "member": { - "type": "structure", - "members": { - "IamUserArn": {}, - "Name": {}, - "SshUsername": {}, - "SshPublicKey": {}, - "AllowSelfManagement": { - "type": "boolean" - } - } - } - } - } - } - }, - "DescribeVolumes": { - "input": { - "type": "structure", - "members": { - "InstanceId": {}, - "StackId": {}, - "RaidArrayId": {}, - "VolumeIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Volumes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VolumeId": {}, - "Ec2VolumeId": {}, - "Name": {}, - "RaidArrayId": {}, - "InstanceId": {}, - "Status": {}, - "Size": { - "type": "integer" - }, - "Device": {}, - "MountPoint": {}, - "Region": {}, - "AvailabilityZone": {}, - "VolumeType": {}, - "Iops": { - "type": "integer" - } - } - } - } - } - } - }, - "DetachElasticLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "ElasticLoadBalancerName", - "LayerId" - ], - "members": { - "ElasticLoadBalancerName": {}, - "LayerId": {} - } - } - }, - "DisassociateElasticIp": { - "input": { - "type": "structure", - "required": [ - "ElasticIp" - ], - "members": { - "ElasticIp": {} - } - } - }, - "GetHostnameSuggestion": { - "input": { - "type": "structure", - "required": [ - "LayerId" - ], - "members": { - "LayerId": {} - } - }, - "output": { - "type": "structure", - "members": { - "LayerId": {}, - "Hostname": {} - } - } - }, - "GrantAccess": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {}, - "ValidForInMinutes": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "TemporaryCredential": { - "type": "structure", - "members": { - "Username": {}, - "Password": {}, - "ValidForInMinutes": { - "type": "integer" - }, - "InstanceId": {} - } - } - } - } - }, - "RebootInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {} - } - } - }, - "RegisterEcsCluster": { - "input": { - "type": "structure", - "required": [ - "EcsClusterArn", - "StackId" - ], - "members": { - "EcsClusterArn": {}, - "StackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "EcsClusterArn": {} - } - } - }, - "RegisterElasticIp": { - "input": { - "type": "structure", - "required": [ - "ElasticIp", - "StackId" - ], - "members": { - "ElasticIp": {}, - "StackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ElasticIp": {} - } - } - }, - "RegisterInstance": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {}, - "Hostname": {}, - "PublicIp": {}, - "PrivateIp": {}, - "RsaPublicKey": {}, - "RsaPublicKeyFingerprint": {}, - "InstanceIdentity": { - "type": "structure", - "members": { - "Document": {}, - "Signature": {} - } - } - } - }, - "output": { - "type": "structure", - "members": { - "InstanceId": {} - } - } - }, - "RegisterRdsDbInstance": { - "input": { - "type": "structure", - "required": [ - "StackId", - "RdsDbInstanceArn", - "DbUser", - "DbPassword" - ], - "members": { - "StackId": {}, - "RdsDbInstanceArn": {}, - "DbUser": {}, - "DbPassword": {} - } - } - }, - "RegisterVolume": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "Ec2VolumeId": {}, - "StackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeId": {} - } - } - }, - "SetLoadBasedAutoScaling": { - "input": { - "type": "structure", - "required": [ - "LayerId" - ], - "members": { - "LayerId": {}, - "Enable": { - "type": "boolean" - }, - "UpScaling": { - "shape": "S30" - }, - "DownScaling": { - "shape": "S30" - } - } - } - }, - "SetPermission": { - "input": { - "type": "structure", - "required": [ - "StackId", - "IamUserArn" - ], - "members": { - "StackId": {}, - "IamUserArn": {}, - "AllowSsh": { - "type": "boolean" - }, - "AllowSudo": { - "type": "boolean" - }, - "Level": {} - } - } - }, - "SetTimeBasedAutoScaling": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {}, - "AutoScalingSchedule": { - "shape": "S40" - } - } - } - }, - "StartInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {} - } - } - }, - "StartStack": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {} - } - } - }, - "StopInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {} - } - } - }, - "StopStack": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {} - } - } - }, - "UnassignInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {} - } - } - }, - "UnassignVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "VolumeId": {} - } - } - }, - "UpdateApp": { - "input": { - "type": "structure", - "required": [ - "AppId" - ], - "members": { - "AppId": {}, - "Name": {}, - "Description": {}, - "DataSources": { - "shape": "Si" - }, - "Type": {}, - "AppSource": { - "shape": "Sd" - }, - "Domains": { - "shape": "S3" - }, - "EnableSsl": { - "type": "boolean" - }, - "SslConfiguration": { - "shape": "Sl" - }, - "Attributes": { - "shape": "Sm" - }, - "Environment": { - "shape": "So" - } - } - } - }, - "UpdateElasticIp": { - "input": { - "type": "structure", - "required": [ - "ElasticIp" - ], - "members": { - "ElasticIp": {}, - "Name": {} - } - } - }, - "UpdateInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {}, - "LayerIds": { - "shape": "S3" - }, - "InstanceType": {}, - "AutoScalingType": {}, - "Hostname": {}, - "Os": {}, - "AmiId": {}, - "SshKeyName": {}, - "Architecture": {}, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "EbsOptimized": { - "type": "boolean" - }, - "AgentVersion": {} - } - } - }, - "UpdateLayer": { - "input": { - "type": "structure", - "required": [ - "LayerId" - ], - "members": { - "LayerId": {}, - "Name": {}, - "Shortname": {}, - "Attributes": { - "shape": "S17" - }, - "CustomInstanceProfileArn": {}, - "CustomJson": {}, - "CustomSecurityGroupIds": { - "shape": "S3" - }, - "Packages": { - "shape": "S3" - }, - "VolumeConfigurations": { - "shape": "S19" - }, - "EnableAutoHealing": { - "type": "boolean" - }, - "AutoAssignElasticIps": { - "type": "boolean" - }, - "AutoAssignPublicIps": { - "type": "boolean" - }, - "CustomRecipes": { - "shape": "S1b" - }, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "UseEbsOptimizedInstances": { - "type": "boolean" - }, - "LifecycleEventConfiguration": { - "shape": "S1c" - } - } - } - }, - "UpdateMyUserProfile": { - "input": { - "type": "structure", - "members": { - "SshPublicKey": {} - } - } - }, - "UpdateRdsDbInstance": { - "input": { - "type": "structure", - "required": [ - "RdsDbInstanceArn" - ], - "members": { - "RdsDbInstanceArn": {}, - "DbUser": {}, - "DbPassword": {} - } - } - }, - "UpdateStack": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {}, - "Name": {}, - "Attributes": { - "shape": "S8" - }, - "ServiceRoleArn": {}, - "DefaultInstanceProfileArn": {}, - "DefaultOs": {}, - "HostnameTheme": {}, - "DefaultAvailabilityZone": {}, - "DefaultSubnetId": {}, - "CustomJson": {}, - "ConfigurationManager": { - "shape": "Sa" - }, - "ChefConfiguration": { - "shape": "Sb" - }, - "UseCustomCookbooks": { - "type": "boolean" - }, - "CustomCookbooksSource": { - "shape": "Sd" - }, - "DefaultSshKeyName": {}, - "DefaultRootDeviceType": {}, - "UseOpsworksSecurityGroups": { - "type": "boolean" - }, - "AgentVersion": {} - } - } - }, - "UpdateUserProfile": { - "input": { - "type": "structure", - "required": [ - "IamUserArn" - ], - "members": { - "IamUserArn": {}, - "SshUsername": {}, - "SshPublicKey": {}, - "AllowSelfManagement": { - "type": "boolean" - } - } - } - }, - "UpdateVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "VolumeId": {}, - "Name": {}, - "MountPoint": {} - } - } - } - }, - "shapes": { - "S3": { - "type": "list", - "member": {} - }, - "S8": { - "type": "map", - "key": {}, - "value": {} - }, - "Sa": { - "type": "structure", - "members": { - "Name": {}, - "Version": {} - } - }, - "Sb": { - "type": "structure", - "members": { - "ManageBerkshelf": { - "type": "boolean" - }, - "BerkshelfVersion": {} - } - }, - "Sd": { - "type": "structure", - "members": { - "Type": {}, - "Url": {}, - "Username": {}, - "Password": {}, - "SshKey": {}, - "Revision": {} - } - }, - "Si": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Type": {}, - "Arn": {}, - "DatabaseName": {} - } - } - }, - "Sl": { - "type": "structure", - "required": [ - "Certificate", - "PrivateKey" - ], - "members": { - "Certificate": {}, - "PrivateKey": {}, - "Chain": {} - } - }, - "Sm": { - "type": "map", - "key": {}, - "value": {} - }, - "So": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {}, - "Secure": { - "type": "boolean" - } - } - } - }, - "Ss": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "Args": { - "type": "map", - "key": {}, - "value": { - "shape": "S3" - } - } - } - }, - "Sz": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DeviceName": {}, - "NoDevice": {}, - "VirtualName": {}, - "Ebs": { - "type": "structure", - "members": { - "SnapshotId": {}, - "Iops": { - "type": "integer" - }, - "VolumeSize": { - "type": "integer" - }, - "VolumeType": {}, - "DeleteOnTermination": { - "type": "boolean" - } - } - } - } - } - }, - "S17": { - "type": "map", - "key": {}, - "value": {} - }, - "S19": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "MountPoint", - "NumberOfDisks", - "Size" - ], - "members": { - "MountPoint": {}, - "RaidLevel": { - "type": "integer" - }, - "NumberOfDisks": { - "type": "integer" - }, - "Size": { - "type": "integer" - }, - "VolumeType": {}, - "Iops": { - "type": "integer" - } - } - } - }, - "S1b": { - "type": "structure", - "members": { - "Setup": { - "shape": "S3" - }, - "Configure": { - "shape": "S3" - }, - "Deploy": { - "shape": "S3" - }, - "Undeploy": { - "shape": "S3" - }, - "Shutdown": { - "shape": "S3" - } - } - }, - "S1c": { - "type": "structure", - "members": { - "Shutdown": { - "type": "structure", - "members": { - "ExecutionTimeout": { - "type": "integer" - }, - "DelayUntilElbConnectionsDrained": { - "type": "boolean" - } - } - } - } - }, - "S30": { - "type": "structure", - "members": { - "InstanceCount": { - "type": "integer" - }, - "ThresholdsWaitTime": { - "type": "integer" - }, - "IgnoreMetricsTime": { - "type": "integer" - }, - "CpuThreshold": { - "type": "double" - }, - "MemoryThreshold": { - "type": "double" - }, - "LoadThreshold": { - "type": "double" - }, - "Alarms": { - "shape": "S3" - } - } - }, - "S40": { - "type": "structure", - "members": { - "Monday": { - "shape": "S41" - }, - "Tuesday": { - "shape": "S41" - }, - "Wednesday": { - "shape": "S41" - }, - "Thursday": { - "shape": "S41" - }, - "Friday": { - "shape": "S41" - }, - "Saturday": { - "shape": "S41" - }, - "Sunday": { - "shape": "S41" - } - } - }, - "S41": { - "type": "map", - "key": {}, - "value": {} - } - } -} -},{}],92:[function(require,module,exports){ -module.exports={ - "pagination": { - "DescribeApps": { - "result_key": "Apps" - }, - "DescribeCommands": { - "result_key": "Commands" - }, - "DescribeDeployments": { - "result_key": "Deployments" - }, - "DescribeEcsClusters": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "EcsClusters" - }, - "DescribeElasticIps": { - "result_key": "ElasticIps" - }, - "DescribeElasticLoadBalancers": { - "result_key": "ElasticLoadBalancers" - }, - "DescribeInstances": { - "result_key": "Instances" - }, - "DescribeLayers": { - "result_key": "Layers" - }, - "DescribeLoadBasedAutoScaling": { - "result_key": "LoadBasedAutoScalingConfigurations" - }, - "DescribePermissions": { - "result_key": "Permissions" - }, - "DescribeRaidArrays": { - "result_key": "RaidArrays" - }, - "DescribeServiceErrors": { - "result_key": "ServiceErrors" - }, - "DescribeStacks": { - "result_key": "Stacks" - }, - "DescribeTimeBasedAutoScaling": { - "result_key": "TimeBasedAutoScalingConfigurations" - }, - "DescribeUserProfiles": { - "result_key": "UserProfiles" - }, - "DescribeVolumes": { - "result_key": "Volumes" - } - } -} - -},{}],93:[function(require,module,exports){ -module.exports={ - "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" - } - ] - } - } -} - -},{}],94:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2013-01-10", - "endpointPrefix": "rds", - "protocol": "query", - "serviceAbbreviation": "Amazon RDS", - "serviceFullName": "Amazon Relational Database Service", - "signatureVersion": "v4", - "xmlNamespace": "http://rds.amazonaws.com/doc/2013-01-10/" - }, - "operations": { - "AddSourceIdentifierToSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "AddSourceIdentifierToSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "Tags" - ], - "members": { - "ResourceName": {}, - "Tags": { - "shape": "S9" - } - } - } - }, - "AuthorizeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CopyDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceDBSnapshotIdentifier", - "TargetDBSnapshotIdentifier" - ], - "members": { - "SourceDBSnapshotIdentifier": {}, - "TargetDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "CopyDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "CreateDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "AllocatedStorage", - "DBInstanceClass", - "Engine", - "MasterUsername", - "MasterUserPassword" - ], - "members": { - "DBName": {}, - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "Engine": {}, - "MasterUsername": {}, - "MasterUserPassword": {}, - "DBSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "PreferredMaintenanceWindow": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "Port": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "CharacterSetName": {}, - "PubliclyAccessible": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "CreateDBInstanceReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "SourceDBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SourceDBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "AvailabilityZone": {}, - "Port": { - "type": "integer" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "PubliclyAccessible": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateDBInstanceReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "CreateDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "DBParameterGroupFamily", - "Description" - ], - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {} - } - }, - "output": { - "resultWrapper": "CreateDBParameterGroupResult", - "type": "structure", - "members": { - "DBParameterGroup": { - "shape": "S1c" - } - } - } - }, - "CreateDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName", - "DBSecurityGroupDescription" - ], - "members": { - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {} - } - }, - "output": { - "resultWrapper": "CreateDBSecurityGroupResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CreateDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier", - "DBInstanceIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {} - } - }, - "output": { - "resultWrapper": "CreateDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "CreateDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "DBSubnetGroupDescription", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1i" - } - } - }, - "output": { - "resultWrapper": "CreateDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S11" - } - } - } - }, - "CreateEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SnsTopicArn" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "SourceIds": { - "shape": "S5" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "CreateOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName", - "EngineName", - "MajorEngineVersion", - "OptionGroupDescription" - ], - "members": { - "OptionGroupName": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "OptionGroupDescription": {} - } - }, - "output": { - "resultWrapper": "CreateOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S1o" - } - } - } - }, - "DeleteDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SkipFinalSnapshot": { - "type": "boolean" - }, - "FinalDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "DeleteDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {} - } - } - }, - "DeleteDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {} - } - } - }, - "DeleteDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "DeleteDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName" - ], - "members": { - "DBSubnetGroupName": {} - } - } - }, - "DeleteEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {} - } - }, - "output": { - "resultWrapper": "DeleteEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "DeleteOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {} - } - } - }, - "DescribeDBEngineVersions": { - "input": { - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "DefaultOnly": { - "type": "boolean" - }, - "ListSupportedCharacterSets": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeDBEngineVersionsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBEngineVersions": { - "type": "list", - "member": { - "locationName": "DBEngineVersion", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "DBEngineDescription": {}, - "DBEngineVersionDescription": {}, - "DefaultCharacterSet": { - "shape": "S25" - }, - "SupportedCharacterSets": { - "type": "list", - "member": { - "shape": "S25", - "locationName": "CharacterSet" - } - } - } - } - } - } - } - }, - "DescribeDBInstances": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "DBInstances": { - "type": "list", - "member": { - "shape": "St", - "locationName": "DBInstance" - } - } - } - } - }, - "DescribeDBParameterGroups": { - "input": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParameterGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBParameterGroups": { - "type": "list", - "member": { - "shape": "S1c", - "locationName": "DBParameterGroup" - } - } - } - } - }, - "DescribeDBParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "Source": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParametersResult", - "type": "structure", - "members": { - "Parameters": { - "shape": "S2f" - }, - "Marker": {} - } - } - }, - "DescribeDBSecurityGroups": { - "input": { - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSecurityGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSecurityGroups": { - "type": "list", - "member": { - "shape": "Sd", - "locationName": "DBSecurityGroup" - } - } - } - } - }, - "DescribeDBSnapshots": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "SnapshotType": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSnapshotsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSnapshots": { - "type": "list", - "member": { - "shape": "Sk", - "locationName": "DBSnapshot" - } - } - } - } - }, - "DescribeDBSubnetGroups": { - "input": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSubnetGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSubnetGroups": { - "type": "list", - "member": { - "shape": "S11", - "locationName": "DBSubnetGroup" - } - } - } - } - }, - "DescribeEngineDefaultParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupFamily" - ], - "members": { - "DBParameterGroupFamily": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEngineDefaultParametersResult", - "type": "structure", - "members": { - "EngineDefaults": { - "type": "structure", - "members": { - "DBParameterGroupFamily": {}, - "Marker": {}, - "Parameters": { - "shape": "S2f" - } - }, - "wrapper": true - } - } - } - }, - "DescribeEventCategories": { - "input": { - "type": "structure", - "members": { - "SourceType": {} - } - }, - "output": { - "resultWrapper": "DescribeEventCategoriesResult", - "type": "structure", - "members": { - "EventCategoriesMapList": { - "type": "list", - "member": { - "locationName": "EventCategoriesMap", - "type": "structure", - "members": { - "SourceType": {}, - "EventCategories": { - "shape": "S6" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeEventSubscriptions": { - "input": { - "type": "structure", - "members": { - "SubscriptionName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventSubscriptionsResult", - "type": "structure", - "members": { - "Marker": {}, - "EventSubscriptionsList": { - "type": "list", - "member": { - "shape": "S4", - "locationName": "EventSubscription" - } - } - } - } - }, - "DescribeEvents": { - "input": { - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "EventCategories": { - "shape": "S6" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventsResult", - "type": "structure", - "members": { - "Marker": {}, - "Events": { - "type": "list", - "member": { - "locationName": "Event", - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "Message": {}, - "EventCategories": { - "shape": "S6" - }, - "Date": { - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeOptionGroupOptions": { - "input": { - "type": "structure", - "required": [ - "EngineName" - ], - "members": { - "EngineName": {}, - "MajorEngineVersion": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupOptionsResult", - "type": "structure", - "members": { - "OptionGroupOptions": { - "type": "list", - "member": { - "locationName": "OptionGroupOption", - "type": "structure", - "members": { - "Name": {}, - "Description": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "MinimumRequiredMinorEngineVersion": {}, - "PortRequired": { - "type": "boolean" - }, - "DefaultPort": { - "type": "integer" - }, - "OptionsDependedOn": { - "type": "list", - "member": { - "locationName": "OptionName" - } - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeOptionGroups": { - "input": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "Marker": {}, - "MaxRecords": { - "type": "integer" - }, - "EngineName": {}, - "MajorEngineVersion": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupsResult", - "type": "structure", - "members": { - "OptionGroupsList": { - "type": "list", - "member": { - "shape": "S1o", - "locationName": "OptionGroup" - } - }, - "Marker": {} - } - } - }, - "DescribeOrderableDBInstanceOptions": { - "input": { - "type": "structure", - "required": [ - "Engine" - ], - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "Vpc": { - "type": "boolean" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOrderableDBInstanceOptionsResult", - "type": "structure", - "members": { - "OrderableDBInstanceOptions": { - "type": "list", - "member": { - "locationName": "OrderableDBInstanceOption", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "AvailabilityZones": { - "type": "list", - "member": { - "shape": "S14", - "locationName": "AvailabilityZone" - } - }, - "MultiAZCapable": { - "type": "boolean" - }, - "ReadReplicaCapable": { - "type": "boolean" - }, - "Vpc": { - "type": "boolean" - } - }, - "wrapper": true - } - }, - "Marker": {} - } - } - }, - "DescribeReservedDBInstances": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstances": { - "type": "list", - "member": { - "shape": "S3m", - "locationName": "ReservedDBInstance" - } - } - } - } - }, - "DescribeReservedDBInstancesOfferings": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesOfferingsResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstancesOfferings": { - "type": "list", - "member": { - "locationName": "ReservedDBInstancesOffering", - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "RecurringCharges": { - "shape": "S3o" - } - }, - "wrapper": true - } - } - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName" - ], - "members": { - "ResourceName": {} - } - }, - "output": { - "resultWrapper": "ListTagsForResourceResult", - "type": "structure", - "members": { - "TagList": { - "shape": "S9" - } - } - } - }, - "ModifyDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "DBSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "ApplyImmediately": { - "type": "boolean" - }, - "MasterUserPassword": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "NewDBInstanceIdentifier": {} - } - }, - "output": { - "resultWrapper": "ModifyDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "ModifyDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "Parameters" - ], - "members": { - "DBParameterGroupName": {}, - "Parameters": { - "shape": "S2f" - } - } - }, - "output": { - "shape": "S3z", - "resultWrapper": "ModifyDBParameterGroupResult" - } - }, - "ModifyDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1i" - } - } - }, - "output": { - "resultWrapper": "ModifyDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S11" - } - } - } - }, - "ModifyEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "ModifyOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {}, - "OptionsToInclude": { - "type": "list", - "member": { - "locationName": "OptionConfiguration", - "type": "structure", - "required": [ - "OptionName" - ], - "members": { - "OptionName": {}, - "Port": { - "type": "integer" - }, - "DBSecurityGroupMemberships": { - "shape": "Sp" - }, - "VpcSecurityGroupMemberships": { - "shape": "Sq" - } - } - } - }, - "OptionsToRemove": { - "type": "list", - "member": {} - }, - "ApplyImmediately": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S1o" - } - } - } - }, - "PromoteReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {} - } - }, - "output": { - "resultWrapper": "PromoteReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "PurchaseReservedDBInstancesOffering": { - "input": { - "type": "structure", - "required": [ - "ReservedDBInstancesOfferingId" - ], - "members": { - "ReservedDBInstancesOfferingId": {}, - "ReservedDBInstanceId": {}, - "DBInstanceCount": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "PurchaseReservedDBInstancesOfferingResult", - "type": "structure", - "members": { - "ReservedDBInstance": { - "shape": "S3m" - } - } - } - }, - "RebootDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "ForceFailover": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "RebootDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RemoveSourceIdentifierFromSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "TagKeys" - ], - "members": { - "ResourceName": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "ResetDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S2f" - } - } - }, - "output": { - "shape": "S3z", - "resultWrapper": "ResetDBParameterGroupResult" - } - }, - "RestoreDBInstanceFromDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "DBSnapshotIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {} - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RestoreDBInstanceToPointInTime": { - "input": { - "type": "structure", - "required": [ - "SourceDBInstanceIdentifier", - "TargetDBInstanceIdentifier" - ], - "members": { - "SourceDBInstanceIdentifier": {}, - "TargetDBInstanceIdentifier": {}, - "RestoreTime": { - "type": "timestamp" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {} - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceToPointInTimeResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RevokeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "RevokeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "Id": {}, - "CustomerAwsId": {}, - "CustSubscriptionId": {}, - "SnsTopicArn": {}, - "Status": {}, - "SubscriptionCreationTime": {}, - "SourceType": {}, - "SourceIdsList": { - "shape": "S5" - }, - "EventCategoriesList": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S5": { - "type": "list", - "member": { - "locationName": "SourceId" - } - }, - "S6": { - "type": "list", - "member": { - "locationName": "EventCategory" - } - }, - "S9": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sd": { - "type": "structure", - "members": { - "OwnerId": {}, - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "VpcId": {}, - "EC2SecurityGroups": { - "type": "list", - "member": { - "locationName": "EC2SecurityGroup", - "type": "structure", - "members": { - "Status": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - } - }, - "IPRanges": { - "type": "list", - "member": { - "locationName": "IPRange", - "type": "structure", - "members": { - "Status": {}, - "CIDRIP": {} - } - } - } - }, - "wrapper": true - }, - "Sk": { - "type": "structure", - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {}, - "SnapshotCreateTime": { - "type": "timestamp" - }, - "Engine": {}, - "AllocatedStorage": { - "type": "integer" - }, - "Status": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "VpcId": {}, - "InstanceCreateTime": { - "type": "timestamp" - }, - "MasterUsername": {}, - "EngineVersion": {}, - "LicenseModel": {}, - "SnapshotType": {}, - "Iops": { - "type": "integer" - } - }, - "wrapper": true - }, - "Sp": { - "type": "list", - "member": { - "locationName": "DBSecurityGroupName" - } - }, - "Sq": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupId" - } - }, - "St": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "Engine": {}, - "DBInstanceStatus": {}, - "MasterUsername": {}, - "DBName": {}, - "Endpoint": { - "type": "structure", - "members": { - "Address": {}, - "Port": { - "type": "integer" - } - } - }, - "AllocatedStorage": { - "type": "integer" - }, - "InstanceCreateTime": { - "type": "timestamp" - }, - "PreferredBackupWindow": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "DBSecurityGroups": { - "shape": "Sv" - }, - "VpcSecurityGroups": { - "shape": "Sx" - }, - "DBParameterGroups": { - "type": "list", - "member": { - "locationName": "DBParameterGroup", - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "ParameterApplyStatus": {} - } - } - }, - "AvailabilityZone": {}, - "DBSubnetGroup": { - "shape": "S11" - }, - "PreferredMaintenanceWindow": {}, - "PendingModifiedValues": { - "type": "structure", - "members": { - "DBInstanceClass": {}, - "AllocatedStorage": { - "type": "integer" - }, - "MasterUserPassword": {}, - "Port": { - "type": "integer" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "Iops": { - "type": "integer" - }, - "DBInstanceIdentifier": {} - } - }, - "LatestRestorableTime": { - "type": "timestamp" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "ReadReplicaSourceDBInstanceIdentifier": {}, - "ReadReplicaDBInstanceIdentifiers": { - "type": "list", - "member": { - "locationName": "ReadReplicaDBInstanceIdentifier" - } - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupMembership": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "Status": {} - } - }, - "CharacterSetName": {}, - "SecondaryAvailabilityZone": {}, - "PubliclyAccessible": { - "type": "boolean" - } - }, - "wrapper": true - }, - "Sv": { - "type": "list", - "member": { - "locationName": "DBSecurityGroup", - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Status": {} - } - } - }, - "Sx": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupMembership", - "type": "structure", - "members": { - "VpcSecurityGroupId": {}, - "Status": {} - } - } - }, - "S11": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "VpcId": {}, - "SubnetGroupStatus": {}, - "Subnets": { - "type": "list", - "member": { - "locationName": "Subnet", - "type": "structure", - "members": { - "SubnetIdentifier": {}, - "SubnetAvailabilityZone": { - "shape": "S14" - }, - "SubnetStatus": {} - } - } - } - }, - "wrapper": true - }, - "S14": { - "type": "structure", - "members": { - "Name": {}, - "ProvisionedIopsCapable": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S1c": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {} - }, - "wrapper": true - }, - "S1i": { - "type": "list", - "member": { - "locationName": "SubnetIdentifier" - } - }, - "S1o": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "OptionGroupDescription": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "Options": { - "type": "list", - "member": { - "locationName": "Option", - "type": "structure", - "members": { - "OptionName": {}, - "OptionDescription": {}, - "Port": { - "type": "integer" - }, - "DBSecurityGroupMemberships": { - "shape": "Sv" - }, - "VpcSecurityGroupMemberships": { - "shape": "Sx" - } - } - } - }, - "AllowsVpcAndNonVpcInstanceMemberships": { - "type": "boolean" - }, - "VpcId": {} - }, - "wrapper": true - }, - "S25": { - "type": "structure", - "members": { - "CharacterSetName": {}, - "CharacterSetDescription": {} - } - }, - "S2f": { - "type": "list", - "member": { - "locationName": "Parameter", - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterValue": {}, - "Description": {}, - "Source": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "MinimumEngineVersion": {}, - "ApplyMethod": {} - } - } - }, - "S3m": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "StartTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "DBInstanceCount": { - "type": "integer" - }, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "State": {}, - "RecurringCharges": { - "shape": "S3o" - } - }, - "wrapper": true - }, - "S3o": { - "type": "list", - "member": { - "locationName": "RecurringCharge", - "type": "structure", - "members": { - "RecurringChargeAmount": { - "type": "double" - }, - "RecurringChargeFrequency": {} - }, - "wrapper": true - } - }, - "S3z": { - "type": "structure", - "members": { - "DBParameterGroupName": {} - } - } - } -} -},{}],95:[function(require,module,exports){ -module.exports={ - "pagination": { - "DescribeDBEngineVersions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBEngineVersions" - }, - "DescribeDBInstances": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBInstances" - }, - "DescribeDBParameterGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBParameterGroups" - }, - "DescribeDBParameters": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Parameters" - }, - "DescribeDBSecurityGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBSecurityGroups" - }, - "DescribeDBSnapshots": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBSnapshots" - }, - "DescribeDBSubnetGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBSubnetGroups" - }, - "DescribeEngineDefaultParameters": { - "input_token": "Marker", - "output_token": "EngineDefaults.Marker", - "limit_key": "MaxRecords", - "result_key": "EngineDefaults.Parameters" - }, - "DescribeEventSubscriptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "EventSubscriptionsList" - }, - "DescribeEvents": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Events" - }, - "DescribeOptionGroupOptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OptionGroupOptions" - }, - "DescribeOptionGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OptionGroupsList" - }, - "DescribeOrderableDBInstanceOptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OrderableDBInstanceOptions" - }, - "DescribeReservedDBInstances": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedDBInstances" - }, - "DescribeReservedDBInstancesOfferings": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedDBInstancesOfferings" - }, - "ListTagsForResource": { - "result_key": "TagList" - } - } -} - -},{}],96:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2013-02-12", - "endpointPrefix": "rds", - "protocol": "query", - "serviceAbbreviation": "Amazon RDS", - "serviceFullName": "Amazon Relational Database Service", - "signatureVersion": "v4", - "xmlNamespace": "http://rds.amazonaws.com/doc/2013-02-12/" - }, - "operations": { - "AddSourceIdentifierToSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "AddSourceIdentifierToSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "Tags" - ], - "members": { - "ResourceName": {}, - "Tags": { - "shape": "S9" - } - } - } - }, - "AuthorizeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CopyDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceDBSnapshotIdentifier", - "TargetDBSnapshotIdentifier" - ], - "members": { - "SourceDBSnapshotIdentifier": {}, - "TargetDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "CopyDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "CreateDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "AllocatedStorage", - "DBInstanceClass", - "Engine", - "MasterUsername", - "MasterUserPassword" - ], - "members": { - "DBName": {}, - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "Engine": {}, - "MasterUsername": {}, - "MasterUserPassword": {}, - "DBSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "PreferredMaintenanceWindow": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "Port": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "CharacterSetName": {}, - "PubliclyAccessible": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "CreateDBInstanceReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "SourceDBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SourceDBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "AvailabilityZone": {}, - "Port": { - "type": "integer" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "PubliclyAccessible": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateDBInstanceReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "CreateDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "DBParameterGroupFamily", - "Description" - ], - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {} - } - }, - "output": { - "resultWrapper": "CreateDBParameterGroupResult", - "type": "structure", - "members": { - "DBParameterGroup": { - "shape": "S1d" - } - } - } - }, - "CreateDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName", - "DBSecurityGroupDescription" - ], - "members": { - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {} - } - }, - "output": { - "resultWrapper": "CreateDBSecurityGroupResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CreateDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier", - "DBInstanceIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {} - } - }, - "output": { - "resultWrapper": "CreateDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "CreateDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "DBSubnetGroupDescription", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1j" - } - } - }, - "output": { - "resultWrapper": "CreateDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S11" - } - } - } - }, - "CreateEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SnsTopicArn" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "SourceIds": { - "shape": "S5" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "CreateOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName", - "EngineName", - "MajorEngineVersion", - "OptionGroupDescription" - ], - "members": { - "OptionGroupName": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "OptionGroupDescription": {} - } - }, - "output": { - "resultWrapper": "CreateOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S1p" - } - } - } - }, - "DeleteDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SkipFinalSnapshot": { - "type": "boolean" - }, - "FinalDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "DeleteDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {} - } - } - }, - "DeleteDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {} - } - } - }, - "DeleteDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "DeleteDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName" - ], - "members": { - "DBSubnetGroupName": {} - } - } - }, - "DeleteEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {} - } - }, - "output": { - "resultWrapper": "DeleteEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "DeleteOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {} - } - } - }, - "DescribeDBEngineVersions": { - "input": { - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "DefaultOnly": { - "type": "boolean" - }, - "ListSupportedCharacterSets": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeDBEngineVersionsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBEngineVersions": { - "type": "list", - "member": { - "locationName": "DBEngineVersion", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "DBEngineDescription": {}, - "DBEngineVersionDescription": {}, - "DefaultCharacterSet": { - "shape": "S28" - }, - "SupportedCharacterSets": { - "type": "list", - "member": { - "shape": "S28", - "locationName": "CharacterSet" - } - } - } - } - } - } - } - }, - "DescribeDBInstances": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "DBInstances": { - "type": "list", - "member": { - "shape": "St", - "locationName": "DBInstance" - } - } - } - } - }, - "DescribeDBLogFiles": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "FilenameContains": {}, - "FileLastWritten": { - "type": "long" - }, - "FileSize": { - "type": "long" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBLogFilesResult", - "type": "structure", - "members": { - "DescribeDBLogFiles": { - "type": "list", - "member": { - "locationName": "DescribeDBLogFilesDetails", - "type": "structure", - "members": { - "LogFileName": {}, - "LastWritten": { - "type": "long" - }, - "Size": { - "type": "long" - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeDBParameterGroups": { - "input": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParameterGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBParameterGroups": { - "type": "list", - "member": { - "shape": "S1d", - "locationName": "DBParameterGroup" - } - } - } - } - }, - "DescribeDBParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "Source": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParametersResult", - "type": "structure", - "members": { - "Parameters": { - "shape": "S2n" - }, - "Marker": {} - } - } - }, - "DescribeDBSecurityGroups": { - "input": { - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSecurityGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSecurityGroups": { - "type": "list", - "member": { - "shape": "Sd", - "locationName": "DBSecurityGroup" - } - } - } - } - }, - "DescribeDBSnapshots": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "SnapshotType": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSnapshotsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSnapshots": { - "type": "list", - "member": { - "shape": "Sk", - "locationName": "DBSnapshot" - } - } - } - } - }, - "DescribeDBSubnetGroups": { - "input": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSubnetGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSubnetGroups": { - "type": "list", - "member": { - "shape": "S11", - "locationName": "DBSubnetGroup" - } - } - } - } - }, - "DescribeEngineDefaultParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupFamily" - ], - "members": { - "DBParameterGroupFamily": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEngineDefaultParametersResult", - "type": "structure", - "members": { - "EngineDefaults": { - "type": "structure", - "members": { - "DBParameterGroupFamily": {}, - "Marker": {}, - "Parameters": { - "shape": "S2n" - } - }, - "wrapper": true - } - } - } - }, - "DescribeEventCategories": { - "input": { - "type": "structure", - "members": { - "SourceType": {} - } - }, - "output": { - "resultWrapper": "DescribeEventCategoriesResult", - "type": "structure", - "members": { - "EventCategoriesMapList": { - "type": "list", - "member": { - "locationName": "EventCategoriesMap", - "type": "structure", - "members": { - "SourceType": {}, - "EventCategories": { - "shape": "S6" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeEventSubscriptions": { - "input": { - "type": "structure", - "members": { - "SubscriptionName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventSubscriptionsResult", - "type": "structure", - "members": { - "Marker": {}, - "EventSubscriptionsList": { - "type": "list", - "member": { - "shape": "S4", - "locationName": "EventSubscription" - } - } - } - } - }, - "DescribeEvents": { - "input": { - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "EventCategories": { - "shape": "S6" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventsResult", - "type": "structure", - "members": { - "Marker": {}, - "Events": { - "type": "list", - "member": { - "locationName": "Event", - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "Message": {}, - "EventCategories": { - "shape": "S6" - }, - "Date": { - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeOptionGroupOptions": { - "input": { - "type": "structure", - "required": [ - "EngineName" - ], - "members": { - "EngineName": {}, - "MajorEngineVersion": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupOptionsResult", - "type": "structure", - "members": { - "OptionGroupOptions": { - "type": "list", - "member": { - "locationName": "OptionGroupOption", - "type": "structure", - "members": { - "Name": {}, - "Description": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "MinimumRequiredMinorEngineVersion": {}, - "PortRequired": { - "type": "boolean" - }, - "DefaultPort": { - "type": "integer" - }, - "OptionsDependedOn": { - "type": "list", - "member": { - "locationName": "OptionName" - } - }, - "Persistent": { - "type": "boolean" - }, - "OptionGroupOptionSettings": { - "type": "list", - "member": { - "locationName": "OptionGroupOptionSetting", - "type": "structure", - "members": { - "SettingName": {}, - "SettingDescription": {}, - "DefaultValue": {}, - "ApplyType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - } - } - } - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeOptionGroups": { - "input": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "Marker": {}, - "MaxRecords": { - "type": "integer" - }, - "EngineName": {}, - "MajorEngineVersion": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupsResult", - "type": "structure", - "members": { - "OptionGroupsList": { - "type": "list", - "member": { - "shape": "S1p", - "locationName": "OptionGroup" - } - }, - "Marker": {} - } - } - }, - "DescribeOrderableDBInstanceOptions": { - "input": { - "type": "structure", - "required": [ - "Engine" - ], - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "Vpc": { - "type": "boolean" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOrderableDBInstanceOptionsResult", - "type": "structure", - "members": { - "OrderableDBInstanceOptions": { - "type": "list", - "member": { - "locationName": "OrderableDBInstanceOption", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "AvailabilityZones": { - "type": "list", - "member": { - "shape": "S14", - "locationName": "AvailabilityZone" - } - }, - "MultiAZCapable": { - "type": "boolean" - }, - "ReadReplicaCapable": { - "type": "boolean" - }, - "Vpc": { - "type": "boolean" - } - }, - "wrapper": true - } - }, - "Marker": {} - } - } - }, - "DescribeReservedDBInstances": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstances": { - "type": "list", - "member": { - "shape": "S3w", - "locationName": "ReservedDBInstance" - } - } - } - } - }, - "DescribeReservedDBInstancesOfferings": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesOfferingsResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstancesOfferings": { - "type": "list", - "member": { - "locationName": "ReservedDBInstancesOffering", - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "RecurringCharges": { - "shape": "S3y" - } - }, - "wrapper": true - } - } - } - } - }, - "DownloadDBLogFilePortion": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "LogFileName" - ], - "members": { - "DBInstanceIdentifier": {}, - "LogFileName": {}, - "Marker": {}, - "NumberOfLines": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DownloadDBLogFilePortionResult", - "type": "structure", - "members": { - "LogFileData": {}, - "Marker": {}, - "AdditionalDataPending": { - "type": "boolean" - } - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName" - ], - "members": { - "ResourceName": {} - } - }, - "output": { - "resultWrapper": "ListTagsForResourceResult", - "type": "structure", - "members": { - "TagList": { - "shape": "S9" - } - } - } - }, - "ModifyDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "DBSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "ApplyImmediately": { - "type": "boolean" - }, - "MasterUserPassword": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "NewDBInstanceIdentifier": {} - } - }, - "output": { - "resultWrapper": "ModifyDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "ModifyDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "Parameters" - ], - "members": { - "DBParameterGroupName": {}, - "Parameters": { - "shape": "S2n" - } - } - }, - "output": { - "shape": "S4b", - "resultWrapper": "ModifyDBParameterGroupResult" - } - }, - "ModifyDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1j" - } - } - }, - "output": { - "resultWrapper": "ModifyDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S11" - } - } - } - }, - "ModifyEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "ModifyOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {}, - "OptionsToInclude": { - "type": "list", - "member": { - "locationName": "OptionConfiguration", - "type": "structure", - "required": [ - "OptionName" - ], - "members": { - "OptionName": {}, - "Port": { - "type": "integer" - }, - "DBSecurityGroupMemberships": { - "shape": "Sp" - }, - "VpcSecurityGroupMemberships": { - "shape": "Sq" - }, - "OptionSettings": { - "type": "list", - "member": { - "shape": "S1t", - "locationName": "OptionSetting" - } - } - } - } - }, - "OptionsToRemove": { - "type": "list", - "member": {} - }, - "ApplyImmediately": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S1p" - } - } - } - }, - "PromoteReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {} - } - }, - "output": { - "resultWrapper": "PromoteReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "PurchaseReservedDBInstancesOffering": { - "input": { - "type": "structure", - "required": [ - "ReservedDBInstancesOfferingId" - ], - "members": { - "ReservedDBInstancesOfferingId": {}, - "ReservedDBInstanceId": {}, - "DBInstanceCount": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "PurchaseReservedDBInstancesOfferingResult", - "type": "structure", - "members": { - "ReservedDBInstance": { - "shape": "S3w" - } - } - } - }, - "RebootDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "ForceFailover": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "RebootDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RemoveSourceIdentifierFromSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "TagKeys" - ], - "members": { - "ResourceName": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "ResetDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S2n" - } - } - }, - "output": { - "shape": "S4b", - "resultWrapper": "ResetDBParameterGroupResult" - } - }, - "RestoreDBInstanceFromDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "DBSnapshotIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {} - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RestoreDBInstanceToPointInTime": { - "input": { - "type": "structure", - "required": [ - "SourceDBInstanceIdentifier", - "TargetDBInstanceIdentifier" - ], - "members": { - "SourceDBInstanceIdentifier": {}, - "TargetDBInstanceIdentifier": {}, - "RestoreTime": { - "type": "timestamp" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {} - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceToPointInTimeResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RevokeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "RevokeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "CustomerAwsId": {}, - "CustSubscriptionId": {}, - "SnsTopicArn": {}, - "Status": {}, - "SubscriptionCreationTime": {}, - "SourceType": {}, - "SourceIdsList": { - "shape": "S5" - }, - "EventCategoriesList": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S5": { - "type": "list", - "member": { - "locationName": "SourceId" - } - }, - "S6": { - "type": "list", - "member": { - "locationName": "EventCategory" - } - }, - "S9": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sd": { - "type": "structure", - "members": { - "OwnerId": {}, - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "VpcId": {}, - "EC2SecurityGroups": { - "type": "list", - "member": { - "locationName": "EC2SecurityGroup", - "type": "structure", - "members": { - "Status": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - } - }, - "IPRanges": { - "type": "list", - "member": { - "locationName": "IPRange", - "type": "structure", - "members": { - "Status": {}, - "CIDRIP": {} - } - } - } - }, - "wrapper": true - }, - "Sk": { - "type": "structure", - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {}, - "SnapshotCreateTime": { - "type": "timestamp" - }, - "Engine": {}, - "AllocatedStorage": { - "type": "integer" - }, - "Status": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "VpcId": {}, - "InstanceCreateTime": { - "type": "timestamp" - }, - "MasterUsername": {}, - "EngineVersion": {}, - "LicenseModel": {}, - "SnapshotType": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {} - }, - "wrapper": true - }, - "Sp": { - "type": "list", - "member": { - "locationName": "DBSecurityGroupName" - } - }, - "Sq": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupId" - } - }, - "St": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "Engine": {}, - "DBInstanceStatus": {}, - "MasterUsername": {}, - "DBName": {}, - "Endpoint": { - "type": "structure", - "members": { - "Address": {}, - "Port": { - "type": "integer" - } - } - }, - "AllocatedStorage": { - "type": "integer" - }, - "InstanceCreateTime": { - "type": "timestamp" - }, - "PreferredBackupWindow": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "DBSecurityGroups": { - "shape": "Sv" - }, - "VpcSecurityGroups": { - "shape": "Sx" - }, - "DBParameterGroups": { - "type": "list", - "member": { - "locationName": "DBParameterGroup", - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "ParameterApplyStatus": {} - } - } - }, - "AvailabilityZone": {}, - "DBSubnetGroup": { - "shape": "S11" - }, - "PreferredMaintenanceWindow": {}, - "PendingModifiedValues": { - "type": "structure", - "members": { - "DBInstanceClass": {}, - "AllocatedStorage": { - "type": "integer" - }, - "MasterUserPassword": {}, - "Port": { - "type": "integer" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "Iops": { - "type": "integer" - }, - "DBInstanceIdentifier": {} - } - }, - "LatestRestorableTime": { - "type": "timestamp" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "ReadReplicaSourceDBInstanceIdentifier": {}, - "ReadReplicaDBInstanceIdentifiers": { - "type": "list", - "member": { - "locationName": "ReadReplicaDBInstanceIdentifier" - } - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupMemberships": { - "type": "list", - "member": { - "locationName": "OptionGroupMembership", - "type": "structure", - "members": { - "OptionGroupName": {}, - "Status": {} - } - } - }, - "CharacterSetName": {}, - "SecondaryAvailabilityZone": {}, - "PubliclyAccessible": { - "type": "boolean" - } - }, - "wrapper": true - }, - "Sv": { - "type": "list", - "member": { - "locationName": "DBSecurityGroup", - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Status": {} - } - } - }, - "Sx": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupMembership", - "type": "structure", - "members": { - "VpcSecurityGroupId": {}, - "Status": {} - } - } - }, - "S11": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "VpcId": {}, - "SubnetGroupStatus": {}, - "Subnets": { - "type": "list", - "member": { - "locationName": "Subnet", - "type": "structure", - "members": { - "SubnetIdentifier": {}, - "SubnetAvailabilityZone": { - "shape": "S14" - }, - "SubnetStatus": {} - } - } - } - }, - "wrapper": true - }, - "S14": { - "type": "structure", - "members": { - "Name": {}, - "ProvisionedIopsCapable": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S1d": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {} - }, - "wrapper": true - }, - "S1j": { - "type": "list", - "member": { - "locationName": "SubnetIdentifier" - } - }, - "S1p": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "OptionGroupDescription": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "Options": { - "type": "list", - "member": { - "locationName": "Option", - "type": "structure", - "members": { - "OptionName": {}, - "OptionDescription": {}, - "Persistent": { - "type": "boolean" - }, - "Port": { - "type": "integer" - }, - "OptionSettings": { - "type": "list", - "member": { - "shape": "S1t", - "locationName": "OptionSetting" - } - }, - "DBSecurityGroupMemberships": { - "shape": "Sv" - }, - "VpcSecurityGroupMemberships": { - "shape": "Sx" - } - } - } - }, - "AllowsVpcAndNonVpcInstanceMemberships": { - "type": "boolean" - }, - "VpcId": {} - }, - "wrapper": true - }, - "S1t": { - "type": "structure", - "members": { - "Name": {}, - "Value": {}, - "DefaultValue": {}, - "Description": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "IsCollection": { - "type": "boolean" - } - } - }, - "S28": { - "type": "structure", - "members": { - "CharacterSetName": {}, - "CharacterSetDescription": {} - } - }, - "S2n": { - "type": "list", - "member": { - "locationName": "Parameter", - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterValue": {}, - "Description": {}, - "Source": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "MinimumEngineVersion": {}, - "ApplyMethod": {} - } - } - }, - "S3w": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "StartTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "DBInstanceCount": { - "type": "integer" - }, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "State": {}, - "RecurringCharges": { - "shape": "S3y" - } - }, - "wrapper": true - }, - "S3y": { - "type": "list", - "member": { - "locationName": "RecurringCharge", - "type": "structure", - "members": { - "RecurringChargeAmount": { - "type": "double" - }, - "RecurringChargeFrequency": {} - }, - "wrapper": true - } - }, - "S4b": { - "type": "structure", - "members": { - "DBParameterGroupName": {} - } - } - } -} -},{}],97:[function(require,module,exports){ -module.exports={ - "pagination": { - "DescribeDBEngineVersions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBEngineVersions" - }, - "DescribeDBInstances": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBInstances" - }, - "DescribeDBLogFiles": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DescribeDBLogFiles" - }, - "DescribeDBParameterGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBParameterGroups" - }, - "DescribeDBParameters": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Parameters" - }, - "DescribeDBSecurityGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBSecurityGroups" - }, - "DescribeDBSnapshots": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBSnapshots" - }, - "DescribeDBSubnetGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "DBSubnetGroups" - }, - "DescribeEngineDefaultParameters": { - "input_token": "Marker", - "output_token": "EngineDefaults.Marker", - "limit_key": "MaxRecords", - "result_key": "EngineDefaults.Parameters" - }, - "DescribeEventSubscriptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "EventSubscriptionsList" - }, - "DescribeEvents": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Events" - }, - "DescribeOptionGroupOptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OptionGroupOptions" - }, - "DescribeOptionGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OptionGroupsList" - }, - "DescribeOrderableDBInstanceOptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OrderableDBInstanceOptions" - }, - "DescribeReservedDBInstances": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedDBInstances" - }, - "DescribeReservedDBInstancesOfferings": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedDBInstancesOfferings" - }, - "DownloadDBLogFilePortion": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "NumberOfLines", - "more_results": "AdditionalDataPending", - "result_key": "LogFileData" - }, - "ListTagsForResource": { - "result_key": "TagList" - } - } -} - -},{}],98:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2013-09-09", - "endpointPrefix": "rds", - "protocol": "query", - "serviceAbbreviation": "Amazon RDS", - "serviceFullName": "Amazon Relational Database Service", - "signatureVersion": "v4", - "xmlNamespace": "http://rds.amazonaws.com/doc/2013-09-09/" - }, - "operations": { - "AddSourceIdentifierToSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "AddSourceIdentifierToSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "Tags" - ], - "members": { - "ResourceName": {}, - "Tags": { - "shape": "S9" - } - } - } - }, - "AuthorizeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CopyDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceDBSnapshotIdentifier", - "TargetDBSnapshotIdentifier" - ], - "members": { - "SourceDBSnapshotIdentifier": {}, - "TargetDBSnapshotIdentifier": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CopyDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "CreateDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "AllocatedStorage", - "DBInstanceClass", - "Engine", - "MasterUsername", - "MasterUserPassword" - ], - "members": { - "DBName": {}, - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "Engine": {}, - "MasterUsername": {}, - "MasterUserPassword": {}, - "DBSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "PreferredMaintenanceWindow": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "Port": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "CharacterSetName": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "CreateDBInstanceReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "SourceDBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SourceDBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "AvailabilityZone": {}, - "Port": { - "type": "integer" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "Tags": { - "shape": "S9" - }, - "DBSubnetGroupName": {} - } - }, - "output": { - "resultWrapper": "CreateDBInstanceReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "CreateDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "DBParameterGroupFamily", - "Description" - ], - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBParameterGroupResult", - "type": "structure", - "members": { - "DBParameterGroup": { - "shape": "S1f" - } - } - } - }, - "CreateDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName", - "DBSecurityGroupDescription" - ], - "members": { - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBSecurityGroupResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CreateDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier", - "DBInstanceIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "CreateDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "DBSubnetGroupDescription", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1l" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S11" - } - } - } - }, - "CreateEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SnsTopicArn" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "SourceIds": { - "shape": "S5" - }, - "Enabled": { - "type": "boolean" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "CreateOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName", - "EngineName", - "MajorEngineVersion", - "OptionGroupDescription" - ], - "members": { - "OptionGroupName": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "OptionGroupDescription": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S1r" - } - } - } - }, - "DeleteDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SkipFinalSnapshot": { - "type": "boolean" - }, - "FinalDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "DeleteDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {} - } - } - }, - "DeleteDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {} - } - } - }, - "DeleteDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "DeleteDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName" - ], - "members": { - "DBSubnetGroupName": {} - } - } - }, - "DeleteEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {} - } - }, - "output": { - "resultWrapper": "DeleteEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "DeleteOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {} - } - } - }, - "DescribeDBEngineVersions": { - "input": { - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "DefaultOnly": { - "type": "boolean" - }, - "ListSupportedCharacterSets": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeDBEngineVersionsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBEngineVersions": { - "type": "list", - "member": { - "locationName": "DBEngineVersion", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "DBEngineDescription": {}, - "DBEngineVersionDescription": {}, - "DefaultCharacterSet": { - "shape": "S2d" - }, - "SupportedCharacterSets": { - "type": "list", - "member": { - "shape": "S2d", - "locationName": "CharacterSet" - } - } - } - } - } - } - } - }, - "DescribeDBInstances": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "DBInstances": { - "type": "list", - "member": { - "shape": "St", - "locationName": "DBInstance" - } - } - } - } - }, - "DescribeDBLogFiles": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "FilenameContains": {}, - "FileLastWritten": { - "type": "long" - }, - "FileSize": { - "type": "long" - }, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBLogFilesResult", - "type": "structure", - "members": { - "DescribeDBLogFiles": { - "type": "list", - "member": { - "locationName": "DescribeDBLogFilesDetails", - "type": "structure", - "members": { - "LogFileName": {}, - "LastWritten": { - "type": "long" - }, - "Size": { - "type": "long" - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeDBParameterGroups": { - "input": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParameterGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBParameterGroups": { - "type": "list", - "member": { - "shape": "S1f", - "locationName": "DBParameterGroup" - } - } - } - } - }, - "DescribeDBParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "Source": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParametersResult", - "type": "structure", - "members": { - "Parameters": { - "shape": "S2s" - }, - "Marker": {} - } - } - }, - "DescribeDBSecurityGroups": { - "input": { - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSecurityGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSecurityGroups": { - "type": "list", - "member": { - "shape": "Sd", - "locationName": "DBSecurityGroup" - } - } - } - } - }, - "DescribeDBSnapshots": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "SnapshotType": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSnapshotsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSnapshots": { - "type": "list", - "member": { - "shape": "Sk", - "locationName": "DBSnapshot" - } - } - } - } - }, - "DescribeDBSubnetGroups": { - "input": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSubnetGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSubnetGroups": { - "type": "list", - "member": { - "shape": "S11", - "locationName": "DBSubnetGroup" - } - } - } - } - }, - "DescribeEngineDefaultParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupFamily" - ], - "members": { - "DBParameterGroupFamily": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEngineDefaultParametersResult", - "type": "structure", - "members": { - "EngineDefaults": { - "type": "structure", - "members": { - "DBParameterGroupFamily": {}, - "Marker": {}, - "Parameters": { - "shape": "S2s" - } - }, - "wrapper": true - } - } - } - }, - "DescribeEventCategories": { - "input": { - "type": "structure", - "members": { - "SourceType": {}, - "Filters": { - "shape": "S27" - } - } - }, - "output": { - "resultWrapper": "DescribeEventCategoriesResult", - "type": "structure", - "members": { - "EventCategoriesMapList": { - "type": "list", - "member": { - "locationName": "EventCategoriesMap", - "type": "structure", - "members": { - "SourceType": {}, - "EventCategories": { - "shape": "S6" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeEventSubscriptions": { - "input": { - "type": "structure", - "members": { - "SubscriptionName": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventSubscriptionsResult", - "type": "structure", - "members": { - "Marker": {}, - "EventSubscriptionsList": { - "type": "list", - "member": { - "shape": "S4", - "locationName": "EventSubscription" - } - } - } - } - }, - "DescribeEvents": { - "input": { - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "EventCategories": { - "shape": "S6" - }, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventsResult", - "type": "structure", - "members": { - "Marker": {}, - "Events": { - "type": "list", - "member": { - "locationName": "Event", - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "Message": {}, - "EventCategories": { - "shape": "S6" - }, - "Date": { - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeOptionGroupOptions": { - "input": { - "type": "structure", - "required": [ - "EngineName" - ], - "members": { - "EngineName": {}, - "MajorEngineVersion": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupOptionsResult", - "type": "structure", - "members": { - "OptionGroupOptions": { - "type": "list", - "member": { - "locationName": "OptionGroupOption", - "type": "structure", - "members": { - "Name": {}, - "Description": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "MinimumRequiredMinorEngineVersion": {}, - "PortRequired": { - "type": "boolean" - }, - "DefaultPort": { - "type": "integer" - }, - "OptionsDependedOn": { - "type": "list", - "member": { - "locationName": "OptionName" - } - }, - "Persistent": { - "type": "boolean" - }, - "Permanent": { - "type": "boolean" - }, - "OptionGroupOptionSettings": { - "type": "list", - "member": { - "locationName": "OptionGroupOptionSetting", - "type": "structure", - "members": { - "SettingName": {}, - "SettingDescription": {}, - "DefaultValue": {}, - "ApplyType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - } - } - } - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeOptionGroups": { - "input": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "Filters": { - "shape": "S27" - }, - "Marker": {}, - "MaxRecords": { - "type": "integer" - }, - "EngineName": {}, - "MajorEngineVersion": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupsResult", - "type": "structure", - "members": { - "OptionGroupsList": { - "type": "list", - "member": { - "shape": "S1r", - "locationName": "OptionGroup" - } - }, - "Marker": {} - } - } - }, - "DescribeOrderableDBInstanceOptions": { - "input": { - "type": "structure", - "required": [ - "Engine" - ], - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "Vpc": { - "type": "boolean" - }, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOrderableDBInstanceOptionsResult", - "type": "structure", - "members": { - "OrderableDBInstanceOptions": { - "type": "list", - "member": { - "locationName": "OrderableDBInstanceOption", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "AvailabilityZones": { - "type": "list", - "member": { - "shape": "S14", - "locationName": "AvailabilityZone" - } - }, - "MultiAZCapable": { - "type": "boolean" - }, - "ReadReplicaCapable": { - "type": "boolean" - }, - "Vpc": { - "type": "boolean" - } - }, - "wrapper": true - } - }, - "Marker": {} - } - } - }, - "DescribeReservedDBInstances": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstances": { - "type": "list", - "member": { - "shape": "S41", - "locationName": "ReservedDBInstance" - } - } - } - } - }, - "DescribeReservedDBInstancesOfferings": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesOfferingsResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstancesOfferings": { - "type": "list", - "member": { - "locationName": "ReservedDBInstancesOffering", - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "RecurringCharges": { - "shape": "S43" - } - }, - "wrapper": true - } - } - } - } - }, - "DownloadDBLogFilePortion": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "LogFileName" - ], - "members": { - "DBInstanceIdentifier": {}, - "LogFileName": {}, - "Marker": {}, - "NumberOfLines": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DownloadDBLogFilePortionResult", - "type": "structure", - "members": { - "LogFileData": {}, - "Marker": {}, - "AdditionalDataPending": { - "type": "boolean" - } - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName" - ], - "members": { - "ResourceName": {}, - "Filters": { - "shape": "S27" - } - } - }, - "output": { - "resultWrapper": "ListTagsForResourceResult", - "type": "structure", - "members": { - "TagList": { - "shape": "S9" - } - } - } - }, - "ModifyDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "DBSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "ApplyImmediately": { - "type": "boolean" - }, - "MasterUserPassword": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "NewDBInstanceIdentifier": {} - } - }, - "output": { - "resultWrapper": "ModifyDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "ModifyDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "Parameters" - ], - "members": { - "DBParameterGroupName": {}, - "Parameters": { - "shape": "S2s" - } - } - }, - "output": { - "shape": "S4g", - "resultWrapper": "ModifyDBParameterGroupResult" - } - }, - "ModifyDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1l" - } - } - }, - "output": { - "resultWrapper": "ModifyDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S11" - } - } - } - }, - "ModifyEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "ModifyOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {}, - "OptionsToInclude": { - "type": "list", - "member": { - "locationName": "OptionConfiguration", - "type": "structure", - "required": [ - "OptionName" - ], - "members": { - "OptionName": {}, - "Port": { - "type": "integer" - }, - "DBSecurityGroupMemberships": { - "shape": "Sp" - }, - "VpcSecurityGroupMemberships": { - "shape": "Sq" - }, - "OptionSettings": { - "type": "list", - "member": { - "shape": "S1v", - "locationName": "OptionSetting" - } - } - } - } - }, - "OptionsToRemove": { - "type": "list", - "member": {} - }, - "ApplyImmediately": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S1r" - } - } - } - }, - "PromoteReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {} - } - }, - "output": { - "resultWrapper": "PromoteReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "PurchaseReservedDBInstancesOffering": { - "input": { - "type": "structure", - "required": [ - "ReservedDBInstancesOfferingId" - ], - "members": { - "ReservedDBInstancesOfferingId": {}, - "ReservedDBInstanceId": {}, - "DBInstanceCount": { - "type": "integer" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "PurchaseReservedDBInstancesOfferingResult", - "type": "structure", - "members": { - "ReservedDBInstance": { - "shape": "S41" - } - } - } - }, - "RebootDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "ForceFailover": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "RebootDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RemoveSourceIdentifierFromSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "TagKeys" - ], - "members": { - "ResourceName": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "ResetDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S2s" - } - } - }, - "output": { - "shape": "S4g", - "resultWrapper": "ResetDBParameterGroupResult" - } - }, - "RestoreDBInstanceFromDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "DBSnapshotIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RestoreDBInstanceToPointInTime": { - "input": { - "type": "structure", - "required": [ - "SourceDBInstanceIdentifier", - "TargetDBInstanceIdentifier" - ], - "members": { - "SourceDBInstanceIdentifier": {}, - "TargetDBInstanceIdentifier": {}, - "RestoreTime": { - "type": "timestamp" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceToPointInTimeResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RevokeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "RevokeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "CustomerAwsId": {}, - "CustSubscriptionId": {}, - "SnsTopicArn": {}, - "Status": {}, - "SubscriptionCreationTime": {}, - "SourceType": {}, - "SourceIdsList": { - "shape": "S5" - }, - "EventCategoriesList": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S5": { - "type": "list", - "member": { - "locationName": "SourceId" - } - }, - "S6": { - "type": "list", - "member": { - "locationName": "EventCategory" - } - }, - "S9": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sd": { - "type": "structure", - "members": { - "OwnerId": {}, - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "VpcId": {}, - "EC2SecurityGroups": { - "type": "list", - "member": { - "locationName": "EC2SecurityGroup", - "type": "structure", - "members": { - "Status": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - } - }, - "IPRanges": { - "type": "list", - "member": { - "locationName": "IPRange", - "type": "structure", - "members": { - "Status": {}, - "CIDRIP": {} - } - } - } - }, - "wrapper": true - }, - "Sk": { - "type": "structure", - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {}, - "SnapshotCreateTime": { - "type": "timestamp" - }, - "Engine": {}, - "AllocatedStorage": { - "type": "integer" - }, - "Status": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "VpcId": {}, - "InstanceCreateTime": { - "type": "timestamp" - }, - "MasterUsername": {}, - "EngineVersion": {}, - "LicenseModel": {}, - "SnapshotType": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "PercentProgress": { - "type": "integer" - }, - "SourceRegion": {} - }, - "wrapper": true - }, - "Sp": { - "type": "list", - "member": { - "locationName": "DBSecurityGroupName" - } - }, - "Sq": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupId" - } - }, - "St": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "Engine": {}, - "DBInstanceStatus": {}, - "MasterUsername": {}, - "DBName": {}, - "Endpoint": { - "type": "structure", - "members": { - "Address": {}, - "Port": { - "type": "integer" - } - } - }, - "AllocatedStorage": { - "type": "integer" - }, - "InstanceCreateTime": { - "type": "timestamp" - }, - "PreferredBackupWindow": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "DBSecurityGroups": { - "shape": "Sv" - }, - "VpcSecurityGroups": { - "shape": "Sx" - }, - "DBParameterGroups": { - "type": "list", - "member": { - "locationName": "DBParameterGroup", - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "ParameterApplyStatus": {} - } - } - }, - "AvailabilityZone": {}, - "DBSubnetGroup": { - "shape": "S11" - }, - "PreferredMaintenanceWindow": {}, - "PendingModifiedValues": { - "type": "structure", - "members": { - "DBInstanceClass": {}, - "AllocatedStorage": { - "type": "integer" - }, - "MasterUserPassword": {}, - "Port": { - "type": "integer" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "Iops": { - "type": "integer" - }, - "DBInstanceIdentifier": {} - } - }, - "LatestRestorableTime": { - "type": "timestamp" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "ReadReplicaSourceDBInstanceIdentifier": {}, - "ReadReplicaDBInstanceIdentifiers": { - "type": "list", - "member": { - "locationName": "ReadReplicaDBInstanceIdentifier" - } - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupMemberships": { - "type": "list", - "member": { - "locationName": "OptionGroupMembership", - "type": "structure", - "members": { - "OptionGroupName": {}, - "Status": {} - } - } - }, - "CharacterSetName": {}, - "SecondaryAvailabilityZone": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "StatusInfos": { - "type": "list", - "member": { - "locationName": "DBInstanceStatusInfo", - "type": "structure", - "members": { - "StatusType": {}, - "Normal": { - "type": "boolean" - }, - "Status": {}, - "Message": {} - } - } - } - }, - "wrapper": true - }, - "Sv": { - "type": "list", - "member": { - "locationName": "DBSecurityGroup", - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Status": {} - } - } - }, - "Sx": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupMembership", - "type": "structure", - "members": { - "VpcSecurityGroupId": {}, - "Status": {} - } - } - }, - "S11": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "VpcId": {}, - "SubnetGroupStatus": {}, - "Subnets": { - "type": "list", - "member": { - "locationName": "Subnet", - "type": "structure", - "members": { - "SubnetIdentifier": {}, - "SubnetAvailabilityZone": { - "shape": "S14" - }, - "SubnetStatus": {} - } - } - } - }, - "wrapper": true - }, - "S14": { - "type": "structure", - "members": { - "Name": {}, - "ProvisionedIopsCapable": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S1f": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {} - }, - "wrapper": true - }, - "S1l": { - "type": "list", - "member": { - "locationName": "SubnetIdentifier" - } - }, - "S1r": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "OptionGroupDescription": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "Options": { - "type": "list", - "member": { - "locationName": "Option", - "type": "structure", - "members": { - "OptionName": {}, - "OptionDescription": {}, - "Persistent": { - "type": "boolean" - }, - "Permanent": { - "type": "boolean" - }, - "Port": { - "type": "integer" - }, - "OptionSettings": { - "type": "list", - "member": { - "shape": "S1v", - "locationName": "OptionSetting" - } - }, - "DBSecurityGroupMemberships": { - "shape": "Sv" - }, - "VpcSecurityGroupMemberships": { - "shape": "Sx" - } - } - } - }, - "AllowsVpcAndNonVpcInstanceMemberships": { - "type": "boolean" - }, - "VpcId": {} - }, - "wrapper": true - }, - "S1v": { - "type": "structure", - "members": { - "Name": {}, - "Value": {}, - "DefaultValue": {}, - "Description": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "IsCollection": { - "type": "boolean" - } - } - }, - "S27": { - "type": "list", - "member": { - "locationName": "Filter", - "type": "structure", - "required": [ - "Name", - "Values" - ], - "members": { - "Name": {}, - "Values": { - "type": "list", - "member": { - "locationName": "Value" - } - } - } - } - }, - "S2d": { - "type": "structure", - "members": { - "CharacterSetName": {}, - "CharacterSetDescription": {} - } - }, - "S2s": { - "type": "list", - "member": { - "locationName": "Parameter", - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterValue": {}, - "Description": {}, - "Source": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "MinimumEngineVersion": {}, - "ApplyMethod": {} - } - } - }, - "S41": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "StartTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "DBInstanceCount": { - "type": "integer" - }, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "State": {}, - "RecurringCharges": { - "shape": "S43" - } - }, - "wrapper": true - }, - "S43": { - "type": "list", - "member": { - "locationName": "RecurringCharge", - "type": "structure", - "members": { - "RecurringChargeAmount": { - "type": "double" - }, - "RecurringChargeFrequency": {} - }, - "wrapper": true - } - }, - "S4g": { - "type": "structure", - "members": { - "DBParameterGroupName": {} - } - } - } -} -},{}],99:[function(require,module,exports){ -arguments[4][97][0].apply(exports,arguments) -},{"dup":97}],100:[function(require,module,exports){ -module.exports={ - "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" - } - ] - } - } -} - -},{}],101:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2014-10-31", - "endpointPrefix": "rds", - "protocol": "query", - "serviceAbbreviation": "Amazon RDS", - "serviceFullName": "Amazon Relational Database Service", - "signatureVersion": "v4", - "xmlNamespace": "http://rds.amazonaws.com/doc/2014-10-31/" - }, - "operations": { - "AddSourceIdentifierToSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "AddSourceIdentifierToSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "Tags" - ], - "members": { - "ResourceName": {}, - "Tags": { - "shape": "S9" - } - } - } - }, - "ApplyPendingMaintenanceAction": { - "input": { - "type": "structure", - "required": [ - "ResourceIdentifier", - "ApplyAction", - "OptInType" - ], - "members": { - "ResourceIdentifier": {}, - "ApplyAction": {}, - "OptInType": {} - } - }, - "output": { - "resultWrapper": "ApplyPendingMaintenanceActionResult", - "type": "structure", - "members": { - "ResourcePendingMaintenanceActions": { - "shape": "Sd" - } - } - } - }, - "AuthorizeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sj" - } - } - } - }, - "CopyDBClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "SourceDBClusterParameterGroupIdentifier", - "TargetDBClusterParameterGroupIdentifier", - "TargetDBClusterParameterGroupDescription" - ], - "members": { - "SourceDBClusterParameterGroupIdentifier": {}, - "TargetDBClusterParameterGroupIdentifier": {}, - "TargetDBClusterParameterGroupDescription": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CopyDBClusterParameterGroupResult", - "type": "structure", - "members": { - "DBClusterParameterGroup": { - "shape": "Sq" - } - } - } - }, - "CopyDBClusterSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceDBClusterSnapshotIdentifier", - "TargetDBClusterSnapshotIdentifier" - ], - "members": { - "SourceDBClusterSnapshotIdentifier": {}, - "TargetDBClusterSnapshotIdentifier": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CopyDBClusterSnapshotResult", - "type": "structure", - "members": { - "DBClusterSnapshot": { - "shape": "St" - } - } - } - }, - "CopyDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "SourceDBParameterGroupIdentifier", - "TargetDBParameterGroupIdentifier", - "TargetDBParameterGroupDescription" - ], - "members": { - "SourceDBParameterGroupIdentifier": {}, - "TargetDBParameterGroupIdentifier": {}, - "TargetDBParameterGroupDescription": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CopyDBParameterGroupResult", - "type": "structure", - "members": { - "DBParameterGroup": { - "shape": "Sy" - } - } - } - }, - "CopyDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceDBSnapshotIdentifier", - "TargetDBSnapshotIdentifier" - ], - "members": { - "SourceDBSnapshotIdentifier": {}, - "TargetDBSnapshotIdentifier": {}, - "KmsKeyId": {}, - "Tags": { - "shape": "S9" - }, - "CopyTags": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CopyDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "S12" - } - } - } - }, - "CopyOptionGroup": { - "input": { - "type": "structure", - "required": [ - "SourceOptionGroupIdentifier", - "TargetOptionGroupIdentifier", - "TargetOptionGroupDescription" - ], - "members": { - "SourceOptionGroupIdentifier": {}, - "TargetOptionGroupIdentifier": {}, - "TargetOptionGroupDescription": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CopyOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S16" - } - } - } - }, - "CreateDBCluster": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier", - "Engine" - ], - "members": { - "AvailabilityZones": { - "shape": "Su" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "CharacterSetName": {}, - "DatabaseName": {}, - "DBClusterIdentifier": {}, - "DBClusterParameterGroupName": {}, - "VpcSecurityGroupIds": { - "shape": "S1g" - }, - "DBSubnetGroupName": {}, - "Engine": {}, - "EngineVersion": {}, - "Port": { - "type": "integer" - }, - "MasterUsername": {}, - "MasterUserPassword": {}, - "OptionGroupName": {}, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "ReplicationSourceIdentifier": {}, - "Tags": { - "shape": "S9" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "KmsKeyId": {} - } - }, - "output": { - "resultWrapper": "CreateDBClusterResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1i" - } - } - } - }, - "CreateDBClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBClusterParameterGroupName", - "DBParameterGroupFamily", - "Description" - ], - "members": { - "DBClusterParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBClusterParameterGroupResult", - "type": "structure", - "members": { - "DBClusterParameterGroup": { - "shape": "Sq" - } - } - } - }, - "CreateDBClusterSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBClusterSnapshotIdentifier", - "DBClusterIdentifier" - ], - "members": { - "DBClusterSnapshotIdentifier": {}, - "DBClusterIdentifier": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBClusterSnapshotResult", - "type": "structure", - "members": { - "DBClusterSnapshot": { - "shape": "St" - } - } - } - }, - "CreateDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "DBInstanceClass", - "Engine" - ], - "members": { - "DBName": {}, - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "Engine": {}, - "MasterUsername": {}, - "MasterUserPassword": {}, - "DBSecurityGroups": { - "shape": "S1t" - }, - "VpcSecurityGroupIds": { - "shape": "S1g" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "PreferredMaintenanceWindow": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "Port": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "CharacterSetName": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "Tags": { - "shape": "S9" - }, - "DBClusterIdentifier": {}, - "StorageType": {}, - "TdeCredentialArn": {}, - "TdeCredentialPassword": {}, - "StorageEncrypted": { - "type": "boolean" - }, - "KmsKeyId": {}, - "Domain": {}, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": {}, - "DomainIAMRoleName": {}, - "PromotionTier": { - "type": "integer" - }, - "Timezone": {} - } - }, - "output": { - "resultWrapper": "CreateDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1v" - } - } - } - }, - "CreateDBInstanceReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "SourceDBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SourceDBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "AvailabilityZone": {}, - "Port": { - "type": "integer" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "Tags": { - "shape": "S9" - }, - "DBSubnetGroupName": {}, - "StorageType": {}, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": {} - } - }, - "output": { - "resultWrapper": "CreateDBInstanceReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1v" - } - } - } - }, - "CreateDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "DBParameterGroupFamily", - "Description" - ], - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBParameterGroupResult", - "type": "structure", - "members": { - "DBParameterGroup": { - "shape": "Sy" - } - } - } - }, - "CreateDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName", - "DBSecurityGroupDescription" - ], - "members": { - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBSecurityGroupResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sj" - } - } - } - }, - "CreateDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier", - "DBInstanceIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "S12" - } - } - } - }, - "CreateDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "DBSubnetGroupDescription", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S2k" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S1z" - } - } - } - }, - "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": "S16" - } - } - } - }, - "DeleteDBCluster": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier" - ], - "members": { - "DBClusterIdentifier": {}, - "SkipFinalSnapshot": { - "type": "boolean" - }, - "FinalDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBClusterResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1i" - } - } - } - }, - "DeleteDBClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBClusterParameterGroupName" - ], - "members": { - "DBClusterParameterGroupName": {} - } - } - }, - "DeleteDBClusterSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBClusterSnapshotIdentifier" - ], - "members": { - "DBClusterSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBClusterSnapshotResult", - "type": "structure", - "members": { - "DBClusterSnapshot": { - "shape": "St" - } - } - } - }, - "DeleteDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SkipFinalSnapshot": { - "type": "boolean" - }, - "FinalDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1v" - } - } - } - }, - "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": "S12" - } - } - } - }, - "DeleteDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName" - ], - "members": { - "DBSubnetGroupName": {} - } - } - }, - "DeleteEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {} - } - }, - "output": { - "resultWrapper": "DeleteEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "DeleteOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {} - } - } - }, - "DescribeAccountAttributes": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "resultWrapper": "DescribeAccountAttributesResult", - "type": "structure", - "members": { - "AccountQuotas": { - "type": "list", - "member": { - "locationName": "AccountQuota", - "type": "structure", - "members": { - "AccountQuotaName": {}, - "Used": { - "type": "long" - }, - "Max": { - "type": "long" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeCertificates": { - "input": { - "type": "structure", - "members": { - "CertificateIdentifier": {}, - "Filters": { - "shape": "S3b" - }, - "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": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBClusterParameterGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBClusterParameterGroups": { - "type": "list", - "member": { - "shape": "Sq", - "locationName": "DBClusterParameterGroup" - } - } - } - } - }, - "DescribeDBClusterParameters": { - "input": { - "type": "structure", - "required": [ - "DBClusterParameterGroupName" - ], - "members": { - "DBClusterParameterGroupName": {}, - "Source": {}, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBClusterParametersResult", - "type": "structure", - "members": { - "Parameters": { - "shape": "S3m" - }, - "Marker": {} - } - } - }, - "DescribeDBClusterSnapshotAttributes": { - "input": { - "type": "structure", - "required": [ - "DBClusterSnapshotIdentifier" - ], - "members": { - "DBClusterSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DescribeDBClusterSnapshotAttributesResult", - "type": "structure", - "members": { - "DBClusterSnapshotAttributesResult": { - "shape": "S3r" - } - } - } - }, - "DescribeDBClusterSnapshots": { - "input": { - "type": "structure", - "members": { - "DBClusterIdentifier": {}, - "DBClusterSnapshotIdentifier": {}, - "SnapshotType": {}, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "IncludeShared": { - "type": "boolean" - }, - "IncludePublic": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeDBClusterSnapshotsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBClusterSnapshots": { - "type": "list", - "member": { - "shape": "St", - "locationName": "DBClusterSnapshot" - } - } - } - } - }, - "DescribeDBClusters": { - "input": { - "type": "structure", - "members": { - "DBClusterIdentifier": {}, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBClustersResult", - "type": "structure", - "members": { - "Marker": {}, - "DBClusters": { - "type": "list", - "member": { - "shape": "S1i", - "locationName": "DBCluster" - } - } - } - } - }, - "DescribeDBEngineVersions": { - "input": { - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "Filters": { - "shape": "S3b" - }, - "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": "S45" - }, - "SupportedCharacterSets": { - "type": "list", - "member": { - "shape": "S45", - "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": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "DBInstances": { - "type": "list", - "member": { - "shape": "S1v", - "locationName": "DBInstance" - } - } - } - } - }, - "DescribeDBLogFiles": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "FilenameContains": {}, - "FileLastWritten": { - "type": "long" - }, - "FileSize": { - "type": "long" - }, - "Filters": { - "shape": "S3b" - }, - "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": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParameterGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBParameterGroups": { - "type": "list", - "member": { - "shape": "Sy", - "locationName": "DBParameterGroup" - } - } - } - } - }, - "DescribeDBParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "Source": {}, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParametersResult", - "type": "structure", - "members": { - "Parameters": { - "shape": "S3m" - }, - "Marker": {} - } - } - }, - "DescribeDBSecurityGroups": { - "input": { - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSecurityGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSecurityGroups": { - "type": "list", - "member": { - "shape": "Sj", - "locationName": "DBSecurityGroup" - } - } - } - } - }, - "DescribeDBSnapshotAttributes": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSnapshotAttributesResult", - "type": "structure", - "members": { - "DBSnapshotAttributesResult": { - "shape": "S4s" - } - } - } - }, - "DescribeDBSnapshots": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "SnapshotType": {}, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "IncludeShared": { - "type": "boolean" - }, - "IncludePublic": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeDBSnapshotsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSnapshots": { - "type": "list", - "member": { - "shape": "S12", - "locationName": "DBSnapshot" - } - } - } - } - }, - "DescribeDBSubnetGroups": { - "input": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSubnetGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSubnetGroups": { - "type": "list", - "member": { - "shape": "S1z", - "locationName": "DBSubnetGroup" - } - } - } - } - }, - "DescribeEngineDefaultClusterParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupFamily" - ], - "members": { - "DBParameterGroupFamily": {}, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEngineDefaultClusterParametersResult", - "type": "structure", - "members": { - "EngineDefaults": { - "shape": "S53" - } - } - } - }, - "DescribeEngineDefaultParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupFamily" - ], - "members": { - "DBParameterGroupFamily": {}, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEngineDefaultParametersResult", - "type": "structure", - "members": { - "EngineDefaults": { - "shape": "S53" - } - } - } - }, - "DescribeEventCategories": { - "input": { - "type": "structure", - "members": { - "SourceType": {}, - "Filters": { - "shape": "S3b" - } - } - }, - "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": "S3b" - }, - "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": "S3b" - }, - "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" - }, - "SourceArn": {} - } - } - } - } - } - }, - "DescribeOptionGroupOptions": { - "input": { - "type": "structure", - "required": [ - "EngineName" - ], - "members": { - "EngineName": {}, - "MajorEngineVersion": {}, - "Filters": { - "shape": "S3b" - }, - "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": "S3b" - }, - "Marker": {}, - "MaxRecords": { - "type": "integer" - }, - "EngineName": {}, - "MajorEngineVersion": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupsResult", - "type": "structure", - "members": { - "OptionGroupsList": { - "type": "list", - "member": { - "shape": "S16", - "locationName": "OptionGroup" - } - }, - "Marker": {} - } - } - }, - "DescribeOrderableDBInstanceOptions": { - "input": { - "type": "structure", - "required": [ - "Engine" - ], - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "Vpc": { - "type": "boolean" - }, - "Filters": { - "shape": "S3b" - }, - "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": "S22", - "locationName": "AvailabilityZone" - } - }, - "MultiAZCapable": { - "type": "boolean" - }, - "ReadReplicaCapable": { - "type": "boolean" - }, - "Vpc": { - "type": "boolean" - }, - "SupportsStorageEncryption": { - "type": "boolean" - }, - "StorageType": {}, - "SupportsIops": { - "type": "boolean" - }, - "SupportsEnhancedMonitoring": { - "type": "boolean" - } - }, - "wrapper": true - } - }, - "Marker": {} - } - } - }, - "DescribePendingMaintenanceActions": { - "input": { - "type": "structure", - "members": { - "ResourceIdentifier": {}, - "Filters": { - "shape": "S3b" - }, - "Marker": {}, - "MaxRecords": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribePendingMaintenanceActionsResult", - "type": "structure", - "members": { - "PendingMaintenanceActions": { - "type": "list", - "member": { - "shape": "Sd", - "locationName": "ResourcePendingMaintenanceActions" - } - }, - "Marker": {} - } - } - }, - "DescribeReservedDBInstances": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "Filters": { - "shape": "S3b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstances": { - "type": "list", - "member": { - "shape": "S66", - "locationName": "ReservedDBInstance" - } - } - } - } - }, - "DescribeReservedDBInstancesOfferings": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "Filters": { - "shape": "S3b" - }, - "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": "S68" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeSourceRegions": { - "input": { - "type": "structure", - "members": { - "RegionName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "Filters": { - "shape": "S3b" - } - } - }, - "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": "S1i" - } - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName" - ], - "members": { - "ResourceName": {}, - "Filters": { - "shape": "S3b" - } - } - }, - "output": { - "resultWrapper": "ListTagsForResourceResult", - "type": "structure", - "members": { - "TagList": { - "shape": "S9" - } - } - } - }, - "ModifyDBCluster": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier" - ], - "members": { - "DBClusterIdentifier": {}, - "NewDBClusterIdentifier": {}, - "ApplyImmediately": { - "type": "boolean" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "DBClusterParameterGroupName": {}, - "VpcSecurityGroupIds": { - "shape": "S1g" - }, - "Port": { - "type": "integer" - }, - "MasterUserPassword": {}, - "OptionGroupName": {}, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {} - } - }, - "output": { - "resultWrapper": "ModifyDBClusterResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1i" - } - } - } - }, - "ModifyDBClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBClusterParameterGroupName", - "Parameters" - ], - "members": { - "DBClusterParameterGroupName": {}, - "Parameters": { - "shape": "S3m" - } - } - }, - "output": { - "shape": "S6r", - "resultWrapper": "ModifyDBClusterParameterGroupResult" - } - }, - "ModifyDBClusterSnapshotAttribute": { - "input": { - "type": "structure", - "required": [ - "DBClusterSnapshotIdentifier", - "AttributeName" - ], - "members": { - "DBClusterSnapshotIdentifier": {}, - "AttributeName": {}, - "ValuesToAdd": { - "shape": "S3u" - }, - "ValuesToRemove": { - "shape": "S3u" - } - } - }, - "output": { - "resultWrapper": "ModifyDBClusterSnapshotAttributeResult", - "type": "structure", - "members": { - "DBClusterSnapshotAttributesResult": { - "shape": "S3r" - } - } - } - }, - "ModifyDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "DBSubnetGroupName": {}, - "DBSecurityGroups": { - "shape": "S1t" - }, - "VpcSecurityGroupIds": { - "shape": "S1g" - }, - "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" - } - } - }, - "output": { - "resultWrapper": "ModifyDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1v" - } - } - } - }, - "ModifyDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "Parameters" - ], - "members": { - "DBParameterGroupName": {}, - "Parameters": { - "shape": "S3m" - } - } - }, - "output": { - "shape": "S6x", - "resultWrapper": "ModifyDBParameterGroupResult" - } - }, - "ModifyDBSnapshotAttribute": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier", - "AttributeName" - ], - "members": { - "DBSnapshotIdentifier": {}, - "AttributeName": {}, - "ValuesToAdd": { - "shape": "S3u" - }, - "ValuesToRemove": { - "shape": "S3u" - } - } - }, - "output": { - "resultWrapper": "ModifyDBSnapshotAttributeResult", - "type": "structure", - "members": { - "DBSnapshotAttributesResult": { - "shape": "S4s" - } - } - } - }, - "ModifyDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S2k" - } - } - }, - "output": { - "resultWrapper": "ModifyDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S1z" - } - } - } - }, - "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" - }, - "OptionVersion": {}, - "DBSecurityGroupMemberships": { - "shape": "S1t" - }, - "VpcSecurityGroupMemberships": { - "shape": "S1g" - }, - "OptionSettings": { - "type": "list", - "member": { - "shape": "S1a", - "locationName": "OptionSetting" - } - } - } - } - }, - "OptionsToRemove": { - "type": "list", - "member": {} - }, - "ApplyImmediately": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S16" - } - } - } - }, - "PromoteReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {} - } - }, - "output": { - "resultWrapper": "PromoteReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1v" - } - } - } - }, - "PromoteReadReplicaDBCluster": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier" - ], - "members": { - "DBClusterIdentifier": {} - } - }, - "output": { - "resultWrapper": "PromoteReadReplicaDBClusterResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1i" - } - } - } - }, - "PurchaseReservedDBInstancesOffering": { - "input": { - "type": "structure", - "required": [ - "ReservedDBInstancesOfferingId" - ], - "members": { - "ReservedDBInstancesOfferingId": {}, - "ReservedDBInstanceId": {}, - "DBInstanceCount": { - "type": "integer" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "PurchaseReservedDBInstancesOfferingResult", - "type": "structure", - "members": { - "ReservedDBInstance": { - "shape": "S66" - } - } - } - }, - "RebootDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "ForceFailover": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "RebootDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1v" - } - } - } - }, - "RemoveSourceIdentifierFromSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "TagKeys" - ], - "members": { - "ResourceName": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "ResetDBClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBClusterParameterGroupName" - ], - "members": { - "DBClusterParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S3m" - } - } - }, - "output": { - "shape": "S6r", - "resultWrapper": "ResetDBClusterParameterGroupResult" - } - }, - "ResetDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S3m" - } - } - }, - "output": { - "shape": "S6x", - "resultWrapper": "ResetDBParameterGroupResult" - } - }, - "RestoreDBClusterFromS3": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier", - "Engine", - "MasterUsername", - "MasterUserPassword", - "SourceEngine", - "SourceEngineVersion", - "S3BucketName", - "S3IngestionRoleArn" - ], - "members": { - "AvailabilityZones": { - "shape": "Su" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "CharacterSetName": {}, - "DatabaseName": {}, - "DBClusterIdentifier": {}, - "DBClusterParameterGroupName": {}, - "VpcSecurityGroupIds": { - "shape": "S1g" - }, - "DBSubnetGroupName": {}, - "Engine": {}, - "EngineVersion": {}, - "Port": { - "type": "integer" - }, - "MasterUsername": {}, - "MasterUserPassword": {}, - "OptionGroupName": {}, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "Tags": { - "shape": "S9" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "KmsKeyId": {}, - "SourceEngine": {}, - "SourceEngineVersion": {}, - "S3BucketName": {}, - "S3Prefix": {}, - "S3IngestionRoleArn": {} - } - }, - "output": { - "resultWrapper": "RestoreDBClusterFromS3Result", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1i" - } - } - } - }, - "RestoreDBClusterFromSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier", - "SnapshotIdentifier", - "Engine" - ], - "members": { - "AvailabilityZones": { - "shape": "Su" - }, - "DBClusterIdentifier": {}, - "SnapshotIdentifier": {}, - "Engine": {}, - "EngineVersion": {}, - "Port": { - "type": "integer" - }, - "DBSubnetGroupName": {}, - "DatabaseName": {}, - "OptionGroupName": {}, - "VpcSecurityGroupIds": { - "shape": "S1g" - }, - "Tags": { - "shape": "S9" - }, - "KmsKeyId": {} - } - }, - "output": { - "resultWrapper": "RestoreDBClusterFromSnapshotResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1i" - } - } - } - }, - "RestoreDBClusterToPointInTime": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier", - "SourceDBClusterIdentifier" - ], - "members": { - "DBClusterIdentifier": {}, - "SourceDBClusterIdentifier": {}, - "RestoreToTime": { - "type": "timestamp" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "Port": { - "type": "integer" - }, - "DBSubnetGroupName": {}, - "OptionGroupName": {}, - "VpcSecurityGroupIds": { - "shape": "S1g" - }, - "Tags": { - "shape": "S9" - }, - "KmsKeyId": {} - } - }, - "output": { - "resultWrapper": "RestoreDBClusterToPointInTimeResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1i" - } - } - } - }, - "RestoreDBInstanceFromDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "DBSnapshotIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "Tags": { - "shape": "S9" - }, - "StorageType": {}, - "TdeCredentialArn": {}, - "TdeCredentialPassword": {}, - "Domain": {}, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DomainIAMRoleName": {} - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1v" - } - } - } - }, - "RestoreDBInstanceToPointInTime": { - "input": { - "type": "structure", - "required": [ - "SourceDBInstanceIdentifier", - "TargetDBInstanceIdentifier" - ], - "members": { - "SourceDBInstanceIdentifier": {}, - "TargetDBInstanceIdentifier": {}, - "RestoreTime": { - "type": "timestamp" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "Tags": { - "shape": "S9" - }, - "StorageType": {}, - "TdeCredentialArn": {}, - "TdeCredentialPassword": {}, - "Domain": {}, - "DomainIAMRoleName": {} - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceToPointInTimeResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1v" - } - } - } - }, - "RevokeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "RevokeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sj" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "CustomerAwsId": {}, - "CustSubscriptionId": {}, - "SnsTopicArn": {}, - "Status": {}, - "SubscriptionCreationTime": {}, - "SourceType": {}, - "SourceIdsList": { - "shape": "S5" - }, - "EventCategoriesList": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - }, - "EventSubscriptionArn": {} - }, - "wrapper": true - }, - "S5": { - "type": "list", - "member": { - "locationName": "SourceId" - } - }, - "S6": { - "type": "list", - "member": { - "locationName": "EventCategory" - } - }, - "S9": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sd": { - "type": "structure", - "members": { - "ResourceIdentifier": {}, - "PendingMaintenanceActionDetails": { - "type": "list", - "member": { - "locationName": "PendingMaintenanceAction", - "type": "structure", - "members": { - "Action": {}, - "AutoAppliedAfterDate": { - "type": "timestamp" - }, - "ForcedApplyDate": { - "type": "timestamp" - }, - "OptInStatus": {}, - "CurrentApplyDate": { - "type": "timestamp" - }, - "Description": {} - } - } - } - }, - "wrapper": true - }, - "Sj": { - "type": "structure", - "members": { - "OwnerId": {}, - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "VpcId": {}, - "EC2SecurityGroups": { - "type": "list", - "member": { - "locationName": "EC2SecurityGroup", - "type": "structure", - "members": { - "Status": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - } - }, - "IPRanges": { - "type": "list", - "member": { - "locationName": "IPRange", - "type": "structure", - "members": { - "Status": {}, - "CIDRIP": {} - } - } - }, - "DBSecurityGroupArn": {} - }, - "wrapper": true - }, - "Sq": { - "type": "structure", - "members": { - "DBClusterParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {}, - "DBClusterParameterGroupArn": {} - }, - "wrapper": true - }, - "St": { - "type": "structure", - "members": { - "AvailabilityZones": { - "shape": "Su" - }, - "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": {} - }, - "wrapper": true - }, - "Su": { - "type": "list", - "member": { - "locationName": "AvailabilityZone" - } - }, - "Sy": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {}, - "DBParameterGroupArn": {} - }, - "wrapper": true - }, - "S12": { - "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": {} - }, - "wrapper": true - }, - "S16": { - "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": "S1a", - "locationName": "OptionSetting" - } - }, - "DBSecurityGroupMemberships": { - "shape": "S1b" - }, - "VpcSecurityGroupMemberships": { - "shape": "S1d" - } - } - } - }, - "AllowsVpcAndNonVpcInstanceMemberships": { - "type": "boolean" - }, - "VpcId": {}, - "OptionGroupArn": {} - }, - "wrapper": true - }, - "S1a": { - "type": "structure", - "members": { - "Name": {}, - "Value": {}, - "DefaultValue": {}, - "Description": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "IsCollection": { - "type": "boolean" - } - } - }, - "S1b": { - "type": "list", - "member": { - "locationName": "DBSecurityGroup", - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Status": {} - } - } - }, - "S1d": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupMembership", - "type": "structure", - "members": { - "VpcSecurityGroupId": {}, - "Status": {} - } - } - }, - "S1g": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupId" - } - }, - "S1i": { - "type": "structure", - "members": { - "AllocatedStorage": { - "type": "integer" - }, - "AvailabilityZones": { - "shape": "Su" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "CharacterSetName": {}, - "DatabaseName": {}, - "DBClusterIdentifier": {}, - "DBClusterParameterGroup": {}, - "DBSubnetGroup": {}, - "Status": {}, - "PercentProgress": {}, - "EarliestRestorableTime": { - "type": "timestamp" - }, - "Endpoint": {}, - "ReaderEndpoint": {}, - "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": "S1d" - }, - "HostedZoneId": {}, - "StorageEncrypted": { - "type": "boolean" - }, - "KmsKeyId": {}, - "DbClusterResourceId": {}, - "DBClusterArn": {} - }, - "wrapper": true - }, - "S1t": { - "type": "list", - "member": { - "locationName": "DBSecurityGroupName" - } - }, - "S1v": { - "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": "S1b" - }, - "VpcSecurityGroups": { - "shape": "S1d" - }, - "DBParameterGroups": { - "type": "list", - "member": { - "locationName": "DBParameterGroup", - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "ParameterApplyStatus": {} - } - } - }, - "AvailabilityZone": {}, - "DBSubnetGroup": { - "shape": "S1z" - }, - "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" - } - }, - "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": {} - }, - "wrapper": true - }, - "S1z": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "VpcId": {}, - "SubnetGroupStatus": {}, - "Subnets": { - "type": "list", - "member": { - "locationName": "Subnet", - "type": "structure", - "members": { - "SubnetIdentifier": {}, - "SubnetAvailabilityZone": { - "shape": "S22" - }, - "SubnetStatus": {} - } - } - }, - "DBSubnetGroupArn": {} - }, - "wrapper": true - }, - "S22": { - "type": "structure", - "members": { - "Name": {} - }, - "wrapper": true - }, - "S2k": { - "type": "list", - "member": { - "locationName": "SubnetIdentifier" - } - }, - "S3b": { - "type": "list", - "member": { - "locationName": "Filter", - "type": "structure", - "required": [ - "Name", - "Values" - ], - "members": { - "Name": {}, - "Values": { - "type": "list", - "member": { - "locationName": "Value" - } - } - } - } - }, - "S3m": { - "type": "list", - "member": { - "locationName": "Parameter", - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterValue": {}, - "Description": {}, - "Source": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "MinimumEngineVersion": {}, - "ApplyMethod": {} - } - } - }, - "S3r": { - "type": "structure", - "members": { - "DBClusterSnapshotIdentifier": {}, - "DBClusterSnapshotAttributes": { - "type": "list", - "member": { - "locationName": "DBClusterSnapshotAttribute", - "type": "structure", - "members": { - "AttributeName": {}, - "AttributeValues": { - "shape": "S3u" - } - } - } - } - }, - "wrapper": true - }, - "S3u": { - "type": "list", - "member": { - "locationName": "AttributeValue" - } - }, - "S45": { - "type": "structure", - "members": { - "CharacterSetName": {}, - "CharacterSetDescription": {} - } - }, - "S4s": { - "type": "structure", - "members": { - "DBSnapshotIdentifier": {}, - "DBSnapshotAttributes": { - "type": "list", - "member": { - "locationName": "DBSnapshotAttribute", - "type": "structure", - "members": { - "AttributeName": {}, - "AttributeValues": { - "shape": "S3u" - } - }, - "wrapper": true - } - } - }, - "wrapper": true - }, - "S53": { - "type": "structure", - "members": { - "DBParameterGroupFamily": {}, - "Marker": {}, - "Parameters": { - "shape": "S3m" - } - }, - "wrapper": true - }, - "S66": { - "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": "S68" - }, - "ReservedDBInstanceArn": {} - }, - "wrapper": true - }, - "S68": { - "type": "list", - "member": { - "locationName": "RecurringCharge", - "type": "structure", - "members": { - "RecurringChargeAmount": { - "type": "double" - }, - "RecurringChargeFrequency": {} - }, - "wrapper": true - } - }, - "S6r": { - "type": "structure", - "members": { - "DBClusterParameterGroupName": {} - } - }, - "S6x": { - "type": "structure", - "members": { - "DBParameterGroupName": {} - } - } - } -} -},{}],102:[function(require,module,exports){ -arguments[4][97][0].apply(exports,arguments) -},{"dup":97}],103:[function(require,module,exports){ -module.exports={ - "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" - } - ] - } - } -} - -},{}],104:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2012-12-01", - "endpointPrefix": "redshift", - "protocol": "query", - "serviceFullName": "Amazon Redshift", - "signatureVersion": "v4", - "xmlNamespace": "http://redshift.amazonaws.com/doc/2012-12-01/" - }, - "operations": { - "AuthorizeClusterSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "ClusterSecurityGroupName" - ], - "members": { - "ClusterSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeClusterSecurityGroupIngressResult", - "type": "structure", - "members": { - "ClusterSecurityGroup": { - "shape": "S4" - } - } - } - }, - "AuthorizeSnapshotAccess": { - "input": { - "type": "structure", - "required": [ - "SnapshotIdentifier", - "AccountWithRestoreAccess" - ], - "members": { - "SnapshotIdentifier": {}, - "SnapshotClusterIdentifier": {}, - "AccountWithRestoreAccess": {} - } - }, - "output": { - "resultWrapper": "AuthorizeSnapshotAccessResult", - "type": "structure", - "members": { - "Snapshot": { - "shape": "Sd" - } - } - } - }, - "CopyClusterSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceSnapshotIdentifier", - "TargetSnapshotIdentifier" - ], - "members": { - "SourceSnapshotIdentifier": {}, - "SourceSnapshotClusterIdentifier": {}, - "TargetSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "CopyClusterSnapshotResult", - "type": "structure", - "members": { - "Snapshot": { - "shape": "Sd" - } - } - } - }, - "CreateCluster": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier", - "NodeType", - "MasterUsername", - "MasterUserPassword" - ], - "members": { - "DBName": {}, - "ClusterIdentifier": {}, - "ClusterType": {}, - "NodeType": {}, - "MasterUsername": {}, - "MasterUserPassword": {}, - "ClusterSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "ClusterSubnetGroupName": {}, - "AvailabilityZone": {}, - "PreferredMaintenanceWindow": {}, - "ClusterParameterGroupName": {}, - "AutomatedSnapshotRetentionPeriod": { - "type": "integer" - }, - "Port": { - "type": "integer" - }, - "ClusterVersion": {}, - "AllowVersionUpgrade": { - "type": "boolean" - }, - "NumberOfNodes": { - "type": "integer" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "HsmClientCertificateIdentifier": {}, - "HsmConfigurationIdentifier": {}, - "ElasticIp": {}, - "Tags": { - "shape": "S7" - }, - "KmsKeyId": {}, - "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" - } - } - } - }, - "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": "S57", - "resultWrapper": "ModifyClusterParameterGroupResult" - } - }, - "ModifyClusterSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "ClusterSubnetGroupName", - "SubnetIds" - ], - "members": { - "ClusterSubnetGroupName": {}, - "Description": {}, - "SubnetIds": { - "shape": "S1m" - } - } - }, - "output": { - "resultWrapper": "ModifyClusterSubnetGroupResult", - "type": "structure", - "members": { - "ClusterSubnetGroup": { - "shape": "S1o" - } - } - } - }, - "ModifyEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "SourceIds": { - "shape": "S1t" - }, - "EventCategories": { - "shape": "S1u" - }, - "Severity": {}, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S1w" - } - } - } - }, - "ModifySnapshotCopyRetentionPeriod": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier", - "RetentionPeriod" - ], - "members": { - "ClusterIdentifier": {}, - "RetentionPeriod": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ModifySnapshotCopyRetentionPeriodResult", - "type": "structure", - "members": { - "Cluster": { - "shape": "Sv" - } - } - } - }, - "PurchaseReservedNodeOffering": { - "input": { - "type": "structure", - "required": [ - "ReservedNodeOfferingId" - ], - "members": { - "ReservedNodeOfferingId": {}, - "NodeCount": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "PurchaseReservedNodeOfferingResult", - "type": "structure", - "members": { - "ReservedNode": { - "shape": "S4c" - } - } - } - }, - "RebootCluster": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier" - ], - "members": { - "ClusterIdentifier": {} - } - }, - "output": { - "resultWrapper": "RebootClusterResult", - "type": "structure", - "members": { - "Cluster": { - "shape": "Sv" - } - } - } - }, - "ResetClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "ParameterGroupName" - ], - "members": { - "ParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S2q" - } - } - }, - "output": { - "shape": "S57", - "resultWrapper": "ResetClusterParameterGroupResult" - } - }, - "RestoreFromClusterSnapshot": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier", - "SnapshotIdentifier" - ], - "members": { - "ClusterIdentifier": {}, - "SnapshotIdentifier": {}, - "SnapshotClusterIdentifier": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "AllowVersionUpgrade": { - "type": "boolean" - }, - "ClusterSubnetGroupName": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "OwnerAccount": {}, - "HsmClientCertificateIdentifier": {}, - "HsmConfigurationIdentifier": {}, - "ElasticIp": {}, - "ClusterParameterGroupName": {}, - "ClusterSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "PreferredMaintenanceWindow": {}, - "AutomatedSnapshotRetentionPeriod": { - "type": "integer" - }, - "KmsKeyId": {}, - "NodeType": {}, - "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": {} - } - } - }, - "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 - }, - "S57": { - "type": "structure", - "members": { - "ParameterGroupName": {}, - "ParameterGroupStatus": {} - } - } - } -} -},{}],105:[function(require,module,exports){ -module.exports={ - "pagination": { - "DescribeClusterParameterGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ParameterGroups" - }, - "DescribeClusterParameters": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Parameters" - }, - "DescribeClusterSecurityGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ClusterSecurityGroups" - }, - "DescribeClusterSnapshots": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Snapshots" - }, - "DescribeClusterSubnetGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ClusterSubnetGroups" - }, - "DescribeClusterVersions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ClusterVersions" - }, - "DescribeClusters": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Clusters" - }, - "DescribeDefaultClusterParameters": { - "input_token": "Marker", - "output_token": "DefaultClusterParameters.Marker", - "limit_key": "MaxRecords", - "result_key": "DefaultClusterParameters.Parameters" - }, - "DescribeEventSubscriptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "EventSubscriptionsList" - }, - "DescribeEvents": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "Events" - }, - "DescribeHsmClientCertificates": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "HsmClientCertificates" - }, - "DescribeHsmConfigurations": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "HsmConfigurations" - }, - "DescribeOrderableClusterOptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "OrderableClusterOptions" - }, - "DescribeReservedNodeOfferings": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedNodeOfferings" - }, - "DescribeReservedNodes": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords", - "result_key": "ReservedNodes" - } - } -} - -},{}],106:[function(require,module,exports){ -module.exports={ - "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" - } - ] - } - } -} - -},{}],107:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2013-04-01", - "endpointPrefix": "route53", - "globalEndpoint": "route53.amazonaws.com", - "protocol": "rest-xml", - "serviceAbbreviation": "Route 53", - "serviceFullName": "Amazon Route 53", - "signatureVersion": "v4" - }, - "operations": { - "AssociateVPCWithHostedZone": { - "http": { - "requestUri": "/2013-04-01/hostedzone/{Id}/associatevpc" - }, - "input": { - "locationName": "AssociateVPCWithHostedZoneRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "HostedZoneId", - "VPC" - ], - "members": { - "HostedZoneId": { - "location": "uri", - "locationName": "Id" - }, - "VPC": { - "shape": "S3" - }, - "Comment": {} - } - }, - "output": { - "type": "structure", - "required": [ - "ChangeInfo" - ], - "members": { - "ChangeInfo": { - "shape": "S8" - } - } - } - }, - "ChangeResourceRecordSets": { - "http": { - "requestUri": "/2013-04-01/hostedzone/{Id}/rrset/" - }, - "input": { - "locationName": "ChangeResourceRecordSetsRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "HostedZoneId", - "ChangeBatch" - ], - "members": { - "HostedZoneId": { - "location": "uri", - "locationName": "Id" - }, - "ChangeBatch": { - "type": "structure", - "required": [ - "Changes" - ], - "members": { - "Comment": {}, - "Changes": { - "shape": "Se" - } - } - } - } - }, - "output": { - "type": "structure", - "required": [ - "ChangeInfo" - ], - "members": { - "ChangeInfo": { - "shape": "S8" - } - } - } - }, - "ChangeTagsForResource": { - "http": { - "requestUri": "/2013-04-01/tags/{ResourceType}/{ResourceId}" - }, - "input": { - "locationName": "ChangeTagsForResourceRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "ResourceType", - "ResourceId" - ], - "members": { - "ResourceType": { - "location": "uri", - "locationName": "ResourceType" - }, - "ResourceId": { - "location": "uri", - "locationName": "ResourceId" - }, - "AddTags": { - "shape": "S14" - }, - "RemoveTagKeys": { - "type": "list", - "member": { - "locationName": "Key" - } - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateHealthCheck": { - "http": { - "requestUri": "/2013-04-01/healthcheck", - "responseCode": 201 - }, - "input": { - "locationName": "CreateHealthCheckRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "CallerReference", - "HealthCheckConfig" - ], - "members": { - "CallerReference": {}, - "HealthCheckConfig": { - "shape": "S1c" - } - } - }, - "output": { - "type": "structure", - "required": [ - "HealthCheck", - "Location" - ], - "members": { - "HealthCheck": { - "shape": "S1x" - }, - "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": "S2d" - }, - "DelegationSetId": {} - } - }, - "output": { - "type": "structure", - "required": [ - "HostedZone", - "ChangeInfo", - "DelegationSet", - "Location" - ], - "members": { - "HostedZone": { - "shape": "S2g" - }, - "ChangeInfo": { - "shape": "S8" - }, - "DelegationSet": { - "shape": "S2i" - }, - "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": "S2i" - }, - "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": "S2r" - }, - "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": "S2w" - }, - "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": "S2r" - }, - "Location": { - "location": "header", - "locationName": "Location" - } - } - } - }, - "DeleteHealthCheck": { - "http": { - "method": "DELETE", - "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}" - }, - "input": { - "type": "structure", - "required": [ - "HealthCheckId" - ], - "members": { - "HealthCheckId": { - "location": "uri", - "locationName": "HealthCheckId" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteHostedZone": { - "http": { - "method": "DELETE", - "requestUri": "/2013-04-01/hostedzone/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "required": [ - "ChangeInfo" - ], - "members": { - "ChangeInfo": { - "shape": "S8" - } - } - } - }, - "DeleteReusableDelegationSet": { - "http": { - "method": "DELETE", - "requestUri": "/2013-04-01/delegationset/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteTrafficPolicy": { - "http": { - "method": "DELETE", - "requestUri": "/2013-04-01/trafficpolicy/{Id}/{Version}" - }, - "input": { - "type": "structure", - "required": [ - "Id", - "Version" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "Version": { - "location": "uri", - "locationName": "Version", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteTrafficPolicyInstance": { - "http": { - "method": "DELETE", - "requestUri": "/2013-04-01/trafficpolicyinstance/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DisassociateVPCFromHostedZone": { - "http": { - "requestUri": "/2013-04-01/hostedzone/{Id}/disassociatevpc" - }, - "input": { - "locationName": "DisassociateVPCFromHostedZoneRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "HostedZoneId", - "VPC" - ], - "members": { - "HostedZoneId": { - "location": "uri", - "locationName": "Id" - }, - "VPC": { - "shape": "S3" - }, - "Comment": {} - } - }, - "output": { - "type": "structure", - "required": [ - "ChangeInfo" - ], - "members": { - "ChangeInfo": { - "shape": "S8" - } - } - } - }, - "GetChange": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/change/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "required": [ - "ChangeInfo" - ], - "members": { - "ChangeInfo": { - "shape": "S8" - } - } - } - }, - "GetChangeDetails": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/changedetails/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - }, - "deprecated": true - }, - "output": { - "type": "structure", - "required": [ - "ChangeBatchRecord" - ], - "members": { - "ChangeBatchRecord": { - "shape": "S3i" - } - }, - "deprecated": true - }, - "deprecated": true - }, - "GetCheckerIpRanges": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/checkeripranges" - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "required": [ - "CheckerIpRanges" - ], - "members": { - "CheckerIpRanges": { - "type": "list", - "member": {} - } - } - } - }, - "GetGeoLocation": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/geolocation" - }, - "input": { - "type": "structure", - "members": { - "ContinentCode": { - "location": "querystring", - "locationName": "continentcode" - }, - "CountryCode": { - "location": "querystring", - "locationName": "countrycode" - }, - "SubdivisionCode": { - "location": "querystring", - "locationName": "subdivisioncode" - } - } - }, - "output": { - "type": "structure", - "required": [ - "GeoLocationDetails" - ], - "members": { - "GeoLocationDetails": { - "shape": "S3q" - } - } - } - }, - "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": "S1x" - } - } - } - }, - "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": "S41" - } - } - } - }, - "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": "S41" - } - } - } - }, - "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": "S2g" - }, - "DelegationSet": { - "shape": "S2i" - }, - "VPCs": { - "type": "list", - "member": { - "shape": "S3", - "locationName": "VPC" - } - } - } - } - }, - "GetHostedZoneCount": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/hostedzonecount" - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "required": [ - "HostedZoneCount" - ], - "members": { - "HostedZoneCount": { - "type": "long" - } - } - } - }, - "GetReusableDelegationSet": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/delegationset/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "required": [ - "DelegationSet" - ], - "members": { - "DelegationSet": { - "shape": "S2i" - } - } - } - }, - "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": "S2r" - } - } - } - }, - "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": "S2w" - } - } - } - }, - "GetTrafficPolicyInstanceCount": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/trafficpolicyinstancecount" - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "required": [ - "TrafficPolicyInstanceCount" - ], - "members": { - "TrafficPolicyInstanceCount": { - "type": "integer" - } - } - } - }, - "ListChangeBatchesByHostedZone": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/hostedzone/{Id}/changes" - }, - "input": { - "type": "structure", - "required": [ - "HostedZoneId", - "StartDate", - "EndDate" - ], - "members": { - "HostedZoneId": { - "location": "uri", - "locationName": "Id" - }, - "StartDate": { - "shape": "S4n", - "location": "querystring", - "locationName": "startDate" - }, - "EndDate": { - "shape": "S4n", - "location": "querystring", - "locationName": "endDate" - }, - "MaxItems": { - "location": "querystring", - "locationName": "maxItems" - }, - "Marker": { - "location": "querystring", - "locationName": "marker" - } - }, - "deprecated": true - }, - "output": { - "type": "structure", - "required": [ - "MaxItems", - "Marker", - "ChangeBatchRecords" - ], - "members": { - "MaxItems": {}, - "Marker": {}, - "IsTruncated": { - "type": "boolean" - }, - "ChangeBatchRecords": { - "shape": "S4s" - }, - "NextMarker": {} - }, - "deprecated": true - }, - "deprecated": true - }, - "ListChangeBatchesByRRSet": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/hostedzone/{Id}/rrsChanges" - }, - "input": { - "type": "structure", - "required": [ - "HostedZoneId", - "Name", - "Type", - "StartDate", - "EndDate" - ], - "members": { - "HostedZoneId": { - "location": "uri", - "locationName": "Id" - }, - "Name": { - "location": "querystring", - "locationName": "rrSet_name" - }, - "Type": { - "location": "querystring", - "locationName": "type" - }, - "SetIdentifier": { - "location": "querystring", - "locationName": "identifier" - }, - "StartDate": { - "shape": "S4n", - "location": "querystring", - "locationName": "startDate" - }, - "EndDate": { - "shape": "S4n", - "location": "querystring", - "locationName": "endDate" - }, - "MaxItems": { - "location": "querystring", - "locationName": "maxItems" - }, - "Marker": { - "location": "querystring", - "locationName": "marker" - } - }, - "deprecated": true - }, - "output": { - "type": "structure", - "required": [ - "MaxItems", - "Marker", - "ChangeBatchRecords" - ], - "members": { - "MaxItems": {}, - "Marker": {}, - "IsTruncated": { - "type": "boolean" - }, - "ChangeBatchRecords": { - "shape": "S4s" - }, - "NextMarker": {} - }, - "deprecated": true - }, - "deprecated": true - }, - "ListGeoLocations": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/geolocations" - }, - "input": { - "type": "structure", - "members": { - "StartContinentCode": { - "location": "querystring", - "locationName": "startcontinentcode" - }, - "StartCountryCode": { - "location": "querystring", - "locationName": "startcountrycode" - }, - "StartSubdivisionCode": { - "location": "querystring", - "locationName": "startsubdivisioncode" - }, - "MaxItems": { - "location": "querystring", - "locationName": "maxitems" - } - } - }, - "output": { - "type": "structure", - "required": [ - "GeoLocationDetailsList", - "IsTruncated", - "MaxItems" - ], - "members": { - "GeoLocationDetailsList": { - "type": "list", - "member": { - "shape": "S3q", - "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": "S1x", - "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": "S53" - }, - "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": "S53" - }, - "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": "S2i", - "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": "S5e" - } - } - } - }, - "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": "S5e", - "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": "S5p" - }, - "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": "S5p" - }, - "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": "S5p" - }, - "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": "S2r", - "locationName": "TrafficPolicy" - } - }, - "IsTruncated": { - "type": "boolean" - }, - "TrafficPolicyVersionMarker": {}, - "MaxItems": {} - } - } - }, - "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": "S1o" - }, - "EnableSNI": { - "type": "boolean" - }, - "Regions": { - "shape": "S1q" - }, - "AlarmIdentifier": { - "shape": "S1s" - }, - "InsufficientDataHealthStatus": {} - } - }, - "output": { - "type": "structure", - "required": [ - "HealthCheck" - ], - "members": { - "HealthCheck": { - "shape": "S1x" - } - } - } - }, - "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": "S2g" - } - } - } - }, - "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": "S2r" - } - } - } - }, - "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": "S2w" - } - } - } - } - }, - "shapes": { - "S3": { - "type": "structure", - "members": { - "VPCRegion": {}, - "VPCId": {} - } - }, - "S8": { - "type": "structure", - "required": [ - "Id", - "Status", - "SubmittedAt" - ], - "members": { - "Id": {}, - "Status": {}, - "SubmittedAt": { - "type": "timestamp" - }, - "Comment": {} - } - }, - "Se": { - "type": "list", - "member": { - "locationName": "Change", - "type": "structure", - "required": [ - "Action", - "ResourceRecordSet" - ], - "members": { - "Action": {}, - "ResourceRecordSet": { - "shape": "Sh" - } - } - } - }, - "Sh": { - "type": "structure", - "required": [ - "Name", - "Type" - ], - "members": { - "Name": {}, - "Type": {}, - "SetIdentifier": {}, - "Weight": { - "type": "long" - }, - "Region": {}, - "GeoLocation": { - "type": "structure", - "members": { - "ContinentCode": {}, - "CountryCode": {}, - "SubdivisionCode": {} - } - }, - "Failover": {}, - "TTL": { - "type": "long" - }, - "ResourceRecords": { - "type": "list", - "member": { - "locationName": "ResourceRecord", - "type": "structure", - "required": [ - "Value" - ], - "members": { - "Value": {} - } - } - }, - "AliasTarget": { - "type": "structure", - "required": [ - "HostedZoneId", - "DNSName", - "EvaluateTargetHealth" - ], - "members": { - "HostedZoneId": {}, - "DNSName": {}, - "EvaluateTargetHealth": { - "type": "boolean" - } - } - }, - "HealthCheckId": {}, - "TrafficPolicyInstanceId": {} - } - }, - "S14": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S1c": { - "type": "structure", - "required": [ - "Type" - ], - "members": { - "IPAddress": {}, - "Port": { - "type": "integer" - }, - "Type": {}, - "ResourcePath": {}, - "FullyQualifiedDomainName": {}, - "SearchString": {}, - "RequestInterval": { - "type": "integer" - }, - "FailureThreshold": { - "type": "integer" - }, - "MeasureLatency": { - "type": "boolean" - }, - "Inverted": { - "type": "boolean" - }, - "HealthThreshold": { - "type": "integer" - }, - "ChildHealthChecks": { - "shape": "S1o" - }, - "EnableSNI": { - "type": "boolean" - }, - "Regions": { - "shape": "S1q" - }, - "AlarmIdentifier": { - "shape": "S1s" - }, - "InsufficientDataHealthStatus": {} - } - }, - "S1o": { - "type": "list", - "member": { - "locationName": "ChildHealthCheck" - } - }, - "S1q": { - "type": "list", - "member": { - "locationName": "Region" - } - }, - "S1s": { - "type": "structure", - "required": [ - "Region", - "Name" - ], - "members": { - "Region": {}, - "Name": {} - } - }, - "S1x": { - "type": "structure", - "required": [ - "Id", - "CallerReference", - "HealthCheckConfig", - "HealthCheckVersion" - ], - "members": { - "Id": {}, - "CallerReference": {}, - "HealthCheckConfig": { - "shape": "S1c" - }, - "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": {} - } - } - } - } - } - } - }, - "S2d": { - "type": "structure", - "members": { - "Comment": {}, - "PrivateZone": { - "type": "boolean" - } - } - }, - "S2g": { - "type": "structure", - "required": [ - "Id", - "Name", - "CallerReference" - ], - "members": { - "Id": {}, - "Name": {}, - "CallerReference": {}, - "Config": { - "shape": "S2d" - }, - "ResourceRecordSetCount": { - "type": "long" - } - } - }, - "S2i": { - "type": "structure", - "required": [ - "NameServers" - ], - "members": { - "Id": {}, - "CallerReference": {}, - "NameServers": { - "type": "list", - "member": { - "locationName": "NameServer" - } - } - } - }, - "S2r": { - "type": "structure", - "required": [ - "Id", - "Version", - "Name", - "Type", - "Document" - ], - "members": { - "Id": {}, - "Version": { - "type": "integer" - }, - "Name": {}, - "Type": {}, - "Document": {}, - "Comment": {} - } - }, - "S2w": { - "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": {} - } - }, - "S3i": { - "type": "structure", - "required": [ - "Id", - "Status" - ], - "members": { - "Id": {}, - "SubmittedAt": { - "type": "timestamp" - }, - "Status": {}, - "Comment": {}, - "Submitter": {}, - "Changes": { - "shape": "Se" - } - }, - "deprecated": true - }, - "S3q": { - "type": "structure", - "members": { - "ContinentCode": {}, - "ContinentName": {}, - "CountryCode": {}, - "CountryName": {}, - "SubdivisionCode": {}, - "SubdivisionName": {} - } - }, - "S41": { - "type": "list", - "member": { - "locationName": "HealthCheckObservation", - "type": "structure", - "members": { - "Region": {}, - "IPAddress": {}, - "StatusReport": { - "type": "structure", - "members": { - "Status": {}, - "CheckedTime": { - "type": "timestamp" - } - } - } - } - } - }, - "S4n": { - "type": "string", - "deprecated": true - }, - "S4s": { - "type": "list", - "member": { - "shape": "S3i", - "locationName": "ChangeBatchRecord" - }, - "deprecated": true - }, - "S53": { - "type": "list", - "member": { - "shape": "S2g", - "locationName": "HostedZone" - } - }, - "S5e": { - "type": "structure", - "members": { - "ResourceType": {}, - "ResourceId": {}, - "Tags": { - "shape": "S14" - } - } - }, - "S5p": { - "type": "list", - "member": { - "shape": "S2w", - "locationName": "TrafficPolicyInstance" - } - } - } -} -},{}],108:[function(require,module,exports){ -module.exports={ - "pagination": { - "ListHealthChecks": { - "input_token": "Marker", - "output_token": "NextMarker", - "more_results": "IsTruncated", - "limit_key": "MaxItems", - "result_key": "HealthChecks" - }, - "ListHostedZones": { - "input_token": "Marker", - "output_token": "NextMarker", - "more_results": "IsTruncated", - "limit_key": "MaxItems", - "result_key": "HostedZones" - }, - "ListResourceRecordSets": { - "more_results": "IsTruncated", - "limit_key": "MaxItems", - "result_key": "ResourceRecordSets", - "input_token": [ - "StartRecordName", - "StartRecordType", - "StartRecordIdentifier" - ], - "output_token": [ - "NextRecordName", - "NextRecordType", - "NextRecordIdentifier" - ] - } - } -} - -},{}],109:[function(require,module,exports){ -module.exports={ - "version": 2, - "waiters": { - "ResourceRecordSetsChanged": { - "delay": 30, - "maxAttempts": 60, - "operation": "GetChange", - "acceptors": [ - { - "matcher": "path", - "expected": "INSYNC", - "argument": "ChangeInfo.Status", - "state": "success" - } - ] - } - } -} - -},{}],110:[function(require,module,exports){ -module.exports={ - "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" - }, - "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 - } - } -} -},{}],111:[function(require,module,exports){ -module.exports={ - "version": "1.0", - "pagination": { - "ListDomains": { - "limit_key": "MaxItems", - "input_token": "Marker", - "output_token": "NextPageMarker", - "result_key": "Domains" - }, - "ListOperations": { - "limit_key": "MaxItems", - "input_token": "Marker", - "output_token": "NextPageMarker", - "result_key": "Operations" - } - } -} - -},{}],112:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2006-03-01", - "checksumFormat": "md5", - "endpointPrefix": "s3", - "globalEndpoint": "s3.amazonaws.com", - "protocol": "rest-xml", - "serviceAbbreviation": "Amazon S3", - "serviceFullName": "Amazon Simple Storage Service", - "signatureVersion": "s3", - "timestampFormat": "rfc822" - }, - "operations": { - "AbortMultipartUpload": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key", - "UploadId" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "UploadId": { - "location": "querystring", - "locationName": "uploadId" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "CompleteMultipartUpload": { - "http": { - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key", - "UploadId" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "MultipartUpload": { - "locationName": "CompleteMultipartUpload", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "members": { - "Parts": { - "locationName": "Part", - "type": "list", - "member": { - "type": "structure", - "members": { - "ETag": {}, - "PartNumber": { - "type": "integer" - } - } - }, - "flattened": true - } - } - }, - "UploadId": { - "location": "querystring", - "locationName": "uploadId" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - }, - "payload": "MultipartUpload" - }, - "output": { - "type": "structure", - "members": { - "Location": {}, - "Bucket": {}, - "Key": {}, - "Expiration": { - "location": "header", - "locationName": "x-amz-expiration" - }, - "ETag": {}, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "VersionId": { - "location": "header", - "locationName": "x-amz-version-id" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "CopyObject": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "CopySource", - "Key" - ], - "members": { - "ACL": { - "location": "header", - "locationName": "x-amz-acl" - }, - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "CacheControl": { - "location": "header", - "locationName": "Cache-Control" - }, - "ContentDisposition": { - "location": "header", - "locationName": "Content-Disposition" - }, - "ContentEncoding": { - "location": "header", - "locationName": "Content-Encoding" - }, - "ContentLanguage": { - "location": "header", - "locationName": "Content-Language" - }, - "ContentType": { - "location": "header", - "locationName": "Content-Type" - }, - "CopySource": { - "location": "header", - "locationName": "x-amz-copy-source" - }, - "CopySourceIfMatch": { - "location": "header", - "locationName": "x-amz-copy-source-if-match" - }, - "CopySourceIfModifiedSince": { - "location": "header", - "locationName": "x-amz-copy-source-if-modified-since", - "type": "timestamp" - }, - "CopySourceIfNoneMatch": { - "location": "header", - "locationName": "x-amz-copy-source-if-none-match" - }, - "CopySourceIfUnmodifiedSince": { - "location": "header", - "locationName": "x-amz-copy-source-if-unmodified-since", - "type": "timestamp" - }, - "Expires": { - "location": "header", - "locationName": "Expires", - "type": "timestamp" - }, - "GrantFullControl": { - "location": "header", - "locationName": "x-amz-grant-full-control" - }, - "GrantRead": { - "location": "header", - "locationName": "x-amz-grant-read" - }, - "GrantReadACP": { - "location": "header", - "locationName": "x-amz-grant-read-acp" - }, - "GrantWriteACP": { - "location": "header", - "locationName": "x-amz-grant-write-acp" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "Metadata": { - "shape": "S11", - "location": "headers", - "locationName": "x-amz-meta-" - }, - "MetadataDirective": { - "location": "header", - "locationName": "x-amz-metadata-directive" - }, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "StorageClass": { - "location": "header", - "locationName": "x-amz-storage-class" - }, - "WebsiteRedirectLocation": { - "location": "header", - "locationName": "x-amz-website-redirect-location" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKey": { - "shape": "S18", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "CopySourceSSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-copy-source-server-side-encryption-customer-algorithm" - }, - "CopySourceSSECustomerKey": { - "shape": "S1b", - "location": "header", - "locationName": "x-amz-copy-source-server-side-encryption-customer-key" - }, - "CopySourceSSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-copy-source-server-side-encryption-customer-key-MD5" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "CopyObjectResult": { - "type": "structure", - "members": { - "ETag": {}, - "LastModified": { - "type": "timestamp" - } - } - }, - "Expiration": { - "location": "header", - "locationName": "x-amz-expiration" - }, - "CopySourceVersionId": { - "location": "header", - "locationName": "x-amz-copy-source-version-id" - }, - "VersionId": { - "location": "header", - "locationName": "x-amz-version-id" - }, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - }, - "payload": "CopyObjectResult" - }, - "alias": "PutObjectCopy" - }, - "CreateBucket": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "ACL": { - "location": "header", - "locationName": "x-amz-acl" - }, - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "CreateBucketConfiguration": { - "locationName": "CreateBucketConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "members": { - "LocationConstraint": {} - } - }, - "GrantFullControl": { - "location": "header", - "locationName": "x-amz-grant-full-control" - }, - "GrantRead": { - "location": "header", - "locationName": "x-amz-grant-read" - }, - "GrantReadACP": { - "location": "header", - "locationName": "x-amz-grant-read-acp" - }, - "GrantWrite": { - "location": "header", - "locationName": "x-amz-grant-write" - }, - "GrantWriteACP": { - "location": "header", - "locationName": "x-amz-grant-write-acp" - } - }, - "payload": "CreateBucketConfiguration" - }, - "output": { - "type": "structure", - "members": { - "Location": { - "location": "header", - "locationName": "Location" - } - } - }, - "alias": "PutBucket" - }, - "CreateMultipartUpload": { - "http": { - "requestUri": "/{Bucket}/{Key+}?uploads" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "ACL": { - "location": "header", - "locationName": "x-amz-acl" - }, - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "CacheControl": { - "location": "header", - "locationName": "Cache-Control" - }, - "ContentDisposition": { - "location": "header", - "locationName": "Content-Disposition" - }, - "ContentEncoding": { - "location": "header", - "locationName": "Content-Encoding" - }, - "ContentLanguage": { - "location": "header", - "locationName": "Content-Language" - }, - "ContentType": { - "location": "header", - "locationName": "Content-Type" - }, - "Expires": { - "location": "header", - "locationName": "Expires", - "type": "timestamp" - }, - "GrantFullControl": { - "location": "header", - "locationName": "x-amz-grant-full-control" - }, - "GrantRead": { - "location": "header", - "locationName": "x-amz-grant-read" - }, - "GrantReadACP": { - "location": "header", - "locationName": "x-amz-grant-read-acp" - }, - "GrantWriteACP": { - "location": "header", - "locationName": "x-amz-grant-write-acp" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "Metadata": { - "shape": "S11", - "location": "headers", - "locationName": "x-amz-meta-" - }, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "StorageClass": { - "location": "header", - "locationName": "x-amz-storage-class" - }, - "WebsiteRedirectLocation": { - "location": "header", - "locationName": "x-amz-website-redirect-location" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKey": { - "shape": "S18", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "AbortDate": { - "location": "header", - "locationName": "x-amz-abort-date", - "type": "timestamp" - }, - "AbortRuleId": { - "location": "header", - "locationName": "x-amz-abort-rule-id" - }, - "Bucket": { - "locationName": "Bucket" - }, - "Key": {}, - "UploadId": {}, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - }, - "alias": "InitiateMultipartUpload" - }, - "DeleteBucket": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteBucketCors": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?cors" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteBucketLifecycle": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?lifecycle" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteBucketPolicy": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?policy" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteBucketReplication": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?replication" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteBucketTagging": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?tagging" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteBucketWebsite": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?website" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteObject": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "MFA": { - "location": "header", - "locationName": "x-amz-mfa" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionId" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "DeleteMarker": { - "location": "header", - "locationName": "x-amz-delete-marker", - "type": "boolean" - }, - "VersionId": { - "location": "header", - "locationName": "x-amz-version-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "DeleteObjects": { - "http": { - "requestUri": "/{Bucket}?delete" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Delete" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Delete": { - "locationName": "Delete", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "required": [ - "Objects" - ], - "members": { - "Objects": { - "locationName": "Object", - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": {}, - "VersionId": {} - } - }, - "flattened": true - }, - "Quiet": { - "type": "boolean" - } - } - }, - "MFA": { - "location": "header", - "locationName": "x-amz-mfa" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - }, - "payload": "Delete" - }, - "output": { - "type": "structure", - "members": { - "Deleted": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "VersionId": {}, - "DeleteMarker": { - "type": "boolean" - }, - "DeleteMarkerVersionId": {} - } - }, - "flattened": true - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - }, - "Errors": { - "locationName": "Error", - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "VersionId": {}, - "Code": {}, - "Message": {} - } - }, - "flattened": true - } - } - }, - "alias": "DeleteMultipleObjects" - }, - "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": "S2k" - }, - "Grants": { - "shape": "S2n", - "locationName": "AccessControlList" - } - } - } - }, - "GetBucketCors": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?cors" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "output": { - "type": "structure", - "members": { - "CORSRules": { - "shape": "S2w", - "locationName": "CORSRule" - } - } - } - }, - "GetBucketLifecycle": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?lifecycle" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "output": { - "type": "structure", - "members": { - "Rules": { - "shape": "S39", - "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": "S3p", - "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": "S3x" - } - } - } - }, - "GetBucketNotification": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?notification" - }, - "input": { - "shape": "S43" - }, - "output": { - "shape": "S44" - }, - "deprecated": true - }, - "GetBucketNotificationConfiguration": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?notification" - }, - "input": { - "shape": "S43" - }, - "output": { - "shape": "S4f" - } - }, - "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": "S4y" - } - }, - "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": "S59" - } - } - } - }, - "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": "S5i" - }, - "IndexDocument": { - "shape": "S5l" - }, - "ErrorDocument": { - "shape": "S5n" - }, - "RoutingRules": { - "shape": "S5o" - } - } - } - }, - "GetObject": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - }, - "IfModifiedSince": { - "location": "header", - "locationName": "If-Modified-Since", - "type": "timestamp" - }, - "IfNoneMatch": { - "location": "header", - "locationName": "If-None-Match" - }, - "IfUnmodifiedSince": { - "location": "header", - "locationName": "If-Unmodified-Since", - "type": "timestamp" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "Range": { - "location": "header", - "locationName": "Range" - }, - "ResponseCacheControl": { - "location": "querystring", - "locationName": "response-cache-control" - }, - "ResponseContentDisposition": { - "location": "querystring", - "locationName": "response-content-disposition" - }, - "ResponseContentEncoding": { - "location": "querystring", - "locationName": "response-content-encoding" - }, - "ResponseContentLanguage": { - "location": "querystring", - "locationName": "response-content-language" - }, - "ResponseContentType": { - "location": "querystring", - "locationName": "response-content-type" - }, - "ResponseExpires": { - "location": "querystring", - "locationName": "response-expires", - "type": "timestamp" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionId" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKey": { - "shape": "S18", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - }, - "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" - } - }, - "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": "S2k" - }, - "Grants": { - "shape": "S2n", - "locationName": "AccessControlList" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "GetObjectTorrent": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}/{Key+}?torrent" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Body": { - "streaming": true, - "type": "blob" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - }, - "payload": "Body" - } - }, - "HeadBucket": { - "http": { - "method": "HEAD", - "requestUri": "/{Bucket}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "HeadObject": { - "http": { - "method": "HEAD", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - }, - "IfModifiedSince": { - "location": "header", - "locationName": "If-Modified-Since", - "type": "timestamp" - }, - "IfNoneMatch": { - "location": "header", - "locationName": "If-None-Match" - }, - "IfUnmodifiedSince": { - "location": "header", - "locationName": "If-Unmodified-Since", - "type": "timestamp" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "Range": { - "location": "header", - "locationName": "Range" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionId" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKey": { - "shape": "S18", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - }, - "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" - } - } - } - }, - "ListBuckets": { - "http": { - "method": "GET" - }, - "output": { - "type": "structure", - "members": { - "Buckets": { - "type": "list", - "member": { - "locationName": "Bucket", - "type": "structure", - "members": { - "Name": {}, - "CreationDate": { - "type": "timestamp" - } - } - } - }, - "Owner": { - "shape": "S2k" - } - } - }, - "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": "S2k" - }, - "Initiator": { - "shape": "S76" - } - } - }, - "flattened": true - }, - "CommonPrefixes": { - "shape": "S77" - }, - "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": "S2k" - } - } - }, - "flattened": true - }, - "DeleteMarkers": { - "locationName": "DeleteMarker", - "type": "list", - "member": { - "type": "structure", - "members": { - "Owner": { - "shape": "S2k" - }, - "Key": {}, - "VersionId": {}, - "IsLatest": { - "type": "boolean" - }, - "LastModified": { - "type": "timestamp" - } - } - }, - "flattened": true - }, - "Name": {}, - "Prefix": {}, - "Delimiter": {}, - "MaxKeys": { - "type": "integer" - }, - "CommonPrefixes": { - "shape": "S77" - }, - "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": "S7p" - }, - "Name": {}, - "Prefix": {}, - "Delimiter": {}, - "MaxKeys": { - "type": "integer" - }, - "CommonPrefixes": { - "shape": "S77" - }, - "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": "S7p" - }, - "Name": {}, - "Prefix": {}, - "Delimiter": {}, - "MaxKeys": { - "type": "integer" - }, - "CommonPrefixes": { - "shape": "S77" - }, - "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": "S76" - }, - "Owner": { - "shape": "S2k" - }, - "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": "S89", - "locationName": "AccessControlPolicy", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - } - }, - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "GrantFullControl": { - "location": "header", - "locationName": "x-amz-grant-full-control" - }, - "GrantRead": { - "location": "header", - "locationName": "x-amz-grant-read" - }, - "GrantReadACP": { - "location": "header", - "locationName": "x-amz-grant-read-acp" - }, - "GrantWrite": { - "location": "header", - "locationName": "x-amz-grant-write" - }, - "GrantWriteACP": { - "location": "header", - "locationName": "x-amz-grant-write-acp" - } - }, - "payload": "AccessControlPolicy" - } - }, - "PutBucketCors": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?cors" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "CORSConfiguration" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "CORSConfiguration": { - "locationName": "CORSConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "required": [ - "CORSRules" - ], - "members": { - "CORSRules": { - "shape": "S2w", - "locationName": "CORSRule" - } - } - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - } - }, - "payload": "CORSConfiguration" - } - }, - "PutBucketLifecycle": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?lifecycle" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "LifecycleConfiguration": { - "locationName": "LifecycleConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "required": [ - "Rules" - ], - "members": { - "Rules": { - "shape": "S39", - "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": "S3p", - "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": "S3x" - } - } - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - } - }, - "payload": "BucketLoggingStatus" - } - }, - "PutBucketNotification": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?notification" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "NotificationConfiguration" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "NotificationConfiguration": { - "shape": "S44", - "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": "S4f", - "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": "S4y", - "locationName": "ReplicationConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - } - } - }, - "payload": "ReplicationConfiguration" - } - }, - "PutBucketRequestPayment": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?requestPayment" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "RequestPaymentConfiguration" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "RequestPaymentConfiguration": { - "locationName": "RequestPaymentConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "required": [ - "Payer" - ], - "members": { - "Payer": {} - } - } - }, - "payload": "RequestPaymentConfiguration" - } - }, - "PutBucketTagging": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?tagging" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Tagging" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "Tagging": { - "locationName": "Tagging", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "required": [ - "TagSet" - ], - "members": { - "TagSet": { - "shape": "S59" - } - } - } - }, - "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": "S5n" - }, - "IndexDocument": { - "shape": "S5l" - }, - "RedirectAllRequestsTo": { - "shape": "S5i" - }, - "RoutingRules": { - "shape": "S5o" - } - } - } - }, - "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": "S18", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - }, - "payload": "Body" - }, - "output": { - "type": "structure", - "members": { - "Expiration": { - "location": "header", - "locationName": "x-amz-expiration" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - }, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "VersionId": { - "location": "header", - "locationName": "x-amz-version-id" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "PutObjectAcl": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}/{Key+}?acl" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "ACL": { - "location": "header", - "locationName": "x-amz-acl" - }, - "AccessControlPolicy": { - "shape": "S89", - "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" - } - } - } - }, - "RestoreObject": { - "http": { - "requestUri": "/{Bucket}/{Key+}?restore" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionId" - }, - "RestoreRequest": { - "locationName": "RestoreRequest", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "required": [ - "Days" - ], - "members": { - "Days": { - "type": "integer" - } - } - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - }, - "payload": "RestoreRequest" - }, - "output": { - "type": "structure", - "members": { - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - }, - "alias": "PostObjectRestore" - }, - "UploadPart": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key", - "PartNumber", - "UploadId" - ], - "members": { - "Body": { - "streaming": true, - "type": "blob" - }, - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentLength": { - "location": "header", - "locationName": "Content-Length", - "type": "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": "S18", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - }, - "payload": "Body" - }, - "output": { - "type": "structure", - "members": { - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "UploadPartCopy": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "CopySource", - "Key", - "PartNumber", - "UploadId" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "CopySource": { - "location": "header", - "locationName": "x-amz-copy-source" - }, - "CopySourceIfMatch": { - "location": "header", - "locationName": "x-amz-copy-source-if-match" - }, - "CopySourceIfModifiedSince": { - "location": "header", - "locationName": "x-amz-copy-source-if-modified-since", - "type": "timestamp" - }, - "CopySourceIfNoneMatch": { - "location": "header", - "locationName": "x-amz-copy-source-if-none-match" - }, - "CopySourceIfUnmodifiedSince": { - "location": "header", - "locationName": "x-amz-copy-source-if-unmodified-since", - "type": "timestamp" - }, - "CopySourceRange": { - "location": "header", - "locationName": "x-amz-copy-source-range" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "PartNumber": { - "location": "querystring", - "locationName": "partNumber", - "type": "integer" - }, - "UploadId": { - "location": "querystring", - "locationName": "uploadId" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKey": { - "shape": "S18", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "CopySourceSSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-copy-source-server-side-encryption-customer-algorithm" - }, - "CopySourceSSECustomerKey": { - "shape": "S1b", - "location": "header", - "locationName": "x-amz-copy-source-server-side-encryption-customer-key" - }, - "CopySourceSSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-copy-source-server-side-encryption-customer-key-MD5" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "CopySourceVersionId": { - "location": "header", - "locationName": "x-amz-copy-source-version-id" - }, - "CopyPartResult": { - "type": "structure", - "members": { - "ETag": {}, - "LastModified": { - "type": "timestamp" - } - } - }, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - }, - "payload": "CopyPartResult" - } - } - }, - "shapes": { - "Sj": { - "type": "string", - "sensitive": true - }, - "S11": { - "type": "map", - "key": {}, - "value": {} - }, - "S18": { - "type": "blob", - "sensitive": true - }, - "S1b": { - "type": "blob", - "sensitive": true - }, - "S2k": { - "type": "structure", - "members": { - "DisplayName": {}, - "ID": {} - } - }, - "S2n": { - "type": "list", - "member": { - "locationName": "Grant", - "type": "structure", - "members": { - "Grantee": { - "shape": "S2p" - }, - "Permission": {} - } - } - }, - "S2p": { - "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" - } - }, - "S2w": { - "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 - }, - "S39": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Prefix", - "Status" - ], - "members": { - "Expiration": { - "shape": "S3b" - }, - "ID": {}, - "Prefix": {}, - "Status": {}, - "Transition": { - "shape": "S3h" - }, - "NoncurrentVersionTransition": { - "shape": "S3j" - }, - "NoncurrentVersionExpiration": { - "shape": "S3k" - }, - "AbortIncompleteMultipartUpload": { - "shape": "S3l" - } - } - }, - "flattened": true - }, - "S3b": { - "type": "structure", - "members": { - "Date": { - "shape": "S3c" - }, - "Days": { - "type": "integer" - }, - "ExpiredObjectDeleteMarker": { - "type": "boolean" - } - } - }, - "S3c": { - "type": "timestamp", - "timestampFormat": "iso8601" - }, - "S3h": { - "type": "structure", - "members": { - "Date": { - "shape": "S3c" - }, - "Days": { - "type": "integer" - }, - "StorageClass": {} - } - }, - "S3j": { - "type": "structure", - "members": { - "NoncurrentDays": { - "type": "integer" - }, - "StorageClass": {} - } - }, - "S3k": { - "type": "structure", - "members": { - "NoncurrentDays": { - "type": "integer" - } - } - }, - "S3l": { - "type": "structure", - "members": { - "DaysAfterInitiation": { - "type": "integer" - } - } - }, - "S3p": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Prefix", - "Status" - ], - "members": { - "Expiration": { - "shape": "S3b" - }, - "ID": {}, - "Prefix": {}, - "Status": {}, - "Transitions": { - "locationName": "Transition", - "type": "list", - "member": { - "shape": "S3h" - }, - "flattened": true - }, - "NoncurrentVersionTransitions": { - "locationName": "NoncurrentVersionTransition", - "type": "list", - "member": { - "shape": "S3j" - }, - "flattened": true - }, - "NoncurrentVersionExpiration": { - "shape": "S3k" - }, - "AbortIncompleteMultipartUpload": { - "shape": "S3l" - } - } - }, - "flattened": true - }, - "S3x": { - "type": "structure", - "members": { - "TargetBucket": {}, - "TargetGrants": { - "type": "list", - "member": { - "locationName": "Grant", - "type": "structure", - "members": { - "Grantee": { - "shape": "S2p" - }, - "Permission": {} - } - } - }, - "TargetPrefix": {} - } - }, - "S43": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "S44": { - "type": "structure", - "members": { - "TopicConfiguration": { - "type": "structure", - "members": { - "Id": {}, - "Events": { - "shape": "S47", - "locationName": "Event" - }, - "Event": { - "deprecated": true - }, - "Topic": {} - } - }, - "QueueConfiguration": { - "type": "structure", - "members": { - "Id": {}, - "Event": { - "deprecated": true - }, - "Events": { - "shape": "S47", - "locationName": "Event" - }, - "Queue": {} - } - }, - "CloudFunctionConfiguration": { - "type": "structure", - "members": { - "Id": {}, - "Event": { - "deprecated": true - }, - "Events": { - "shape": "S47", - "locationName": "Event" - }, - "CloudFunction": {}, - "InvocationRole": {} - } - } - } - }, - "S47": { - "type": "list", - "member": {}, - "flattened": true - }, - "S4f": { - "type": "structure", - "members": { - "TopicConfigurations": { - "locationName": "TopicConfiguration", - "type": "list", - "member": { - "type": "structure", - "required": [ - "TopicArn", - "Events" - ], - "members": { - "Id": {}, - "TopicArn": { - "locationName": "Topic" - }, - "Events": { - "shape": "S47", - "locationName": "Event" - }, - "Filter": { - "shape": "S4i" - } - } - }, - "flattened": true - }, - "QueueConfigurations": { - "locationName": "QueueConfiguration", - "type": "list", - "member": { - "type": "structure", - "required": [ - "QueueArn", - "Events" - ], - "members": { - "Id": {}, - "QueueArn": { - "locationName": "Queue" - }, - "Events": { - "shape": "S47", - "locationName": "Event" - }, - "Filter": { - "shape": "S4i" - } - } - }, - "flattened": true - }, - "LambdaFunctionConfigurations": { - "locationName": "CloudFunctionConfiguration", - "type": "list", - "member": { - "type": "structure", - "required": [ - "LambdaFunctionArn", - "Events" - ], - "members": { - "Id": {}, - "LambdaFunctionArn": { - "locationName": "CloudFunction" - }, - "Events": { - "shape": "S47", - "locationName": "Event" - }, - "Filter": { - "shape": "S4i" - } - } - }, - "flattened": true - } - } - }, - "S4i": { - "type": "structure", - "members": { - "Key": { - "locationName": "S3Key", - "type": "structure", - "members": { - "FilterRules": { - "locationName": "FilterRule", - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Value": {} - } - }, - "flattened": true - } - } - } - } - }, - "S4y": { - "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 - } - } - }, - "S59": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S5i": { - "type": "structure", - "required": [ - "HostName" - ], - "members": { - "HostName": {}, - "Protocol": {} - } - }, - "S5l": { - "type": "structure", - "required": [ - "Suffix" - ], - "members": { - "Suffix": {} - } - }, - "S5n": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": {} - } - }, - "S5o": { - "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": {} - } - } - } - } - }, - "S76": { - "type": "structure", - "members": { - "ID": {}, - "DisplayName": {} - } - }, - "S77": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Prefix": {} - } - }, - "flattened": true - }, - "S7p": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "LastModified": { - "type": "timestamp" - }, - "ETag": {}, - "Size": { - "type": "integer" - }, - "StorageClass": {}, - "Owner": { - "shape": "S2k" - } - } - }, - "flattened": true - }, - "S89": { - "type": "structure", - "members": { - "Grants": { - "shape": "S2n", - "locationName": "AccessControlList" - }, - "Owner": { - "shape": "S2k" - } - } - } - } -} -},{}],113:[function(require,module,exports){ -module.exports={ - "pagination": { - "ListBuckets": { - "result_key": "Buckets" - }, - "ListMultipartUploads": { - "limit_key": "MaxUploads", - "more_results": "IsTruncated", - "output_token": [ - "NextKeyMarker", - "NextUploadIdMarker" - ], - "input_token": [ - "KeyMarker", - "UploadIdMarker" - ], - "result_key": [ - "Uploads", - "CommonPrefixes" - ] - }, - "ListObjectVersions": { - "more_results": "IsTruncated", - "limit_key": "MaxKeys", - "output_token": [ - "NextKeyMarker", - "NextVersionIdMarker" - ], - "input_token": [ - "KeyMarker", - "VersionIdMarker" - ], - "result_key": [ - "Versions", - "DeleteMarkers", - "CommonPrefixes" - ] - }, - "ListObjects": { - "more_results": "IsTruncated", - "limit_key": "MaxKeys", - "output_token": "NextMarker || Contents[-1].Key", - "input_token": "Marker", - "result_key": [ - "Contents", - "CommonPrefixes" - ] - }, - "ListObjectsV2": { - "limit_key": "MaxKeys", - "output_token": "NextContinuationToken", - "input_token": "ContinuationToken", - "result_key": [ - "Contents", - "CommonPrefixes" - ] - }, - "ListParts": { - "more_results": "IsTruncated", - "limit_key": "MaxParts", - "output_token": "NextPartNumberMarker", - "input_token": "PartNumberMarker", - "result_key": "Parts" - } - } -} - -},{}],114:[function(require,module,exports){ -module.exports={ - "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" - } - ] - } - } -} - -},{}],115:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2015-12-10", - "endpointPrefix": "servicecatalog", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWS Service Catalog", - "signatureVersion": "v4", - "targetPrefix": "AWS242ServiceCatalogService" - }, - "operations": { - "DescribeProduct": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProductViewSummary": { - "shape": "S5" - }, - "ProvisioningArtifacts": { - "shape": "Sf" - } - } - } - }, - "DescribeProductView": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProductViewSummary": { - "shape": "S5" - }, - "ProvisioningArtifacts": { - "shape": "Sf" - } - } - } - }, - "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": "Sy" - }, - "UsageInstructions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Type": {}, - "Value": {} - } - } - } - } - } - }, - "DescribeRecord": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {}, - "PageToken": {}, - "PageSize": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "RecordDetail": { - "shape": "S1a" - }, - "RecordOutputs": { - "type": "list", - "member": { - "type": "structure", - "members": { - "OutputKey": {}, - "OutputValue": {}, - "Description": {} - } - } - }, - "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": "Sy" - }, - "Tags": { - "shape": "S1x" - }, - "Name": {} - } - } - }, - "NextPageToken": {} - } - } - }, - "ListRecordHistory": { - "input": { - "type": "structure", - "members": { - "AcceptLanguage": {}, - "AccessLevelFilter": { - "shape": "S23" - }, - "SearchFilter": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - }, - "PageSize": { - "type": "integer" - }, - "PageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "RecordDetails": { - "type": "list", - "member": { - "shape": "S1a" - } - }, - "NextPageToken": {} - } - } - }, - "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": "S1x" - }, - "NotificationArns": { - "type": "list", - "member": {} - }, - "ProvisionToken": { - "idempotencyToken": true - } - } - }, - "output": { - "type": "structure", - "members": { - "RecordDetail": { - "shape": "S1a" - } - } - } - }, - "ScanProvisionedProducts": { - "input": { - "type": "structure", - "members": { - "AcceptLanguage": {}, - "AccessLevelFilter": { - "shape": "S23" - }, - "PageSize": { - "type": "integer" - }, - "PageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProvisionedProducts": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Arn": {}, - "Type": {}, - "Id": {}, - "Status": {}, - "StatusMessage": {}, - "CreatedTime": { - "type": "timestamp" - }, - "IdempotencyToken": {}, - "LastRecordId": {} - } - } - }, - "NextPageToken": {} - } - } - }, - "SearchProducts": { - "input": { - "type": "structure", - "members": { - "AcceptLanguage": {}, - "Filters": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": {} - } - }, - "PageSize": { - "type": "integer" - }, - "SortBy": {}, - "SortOrder": {}, - "PageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProductViewSummaries": { - "type": "list", - "member": { - "shape": "S5" - } - }, - "ProductViewAggregations": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Value": {}, - "ApproximateCount": { - "type": "integer" - } - } - } - } - }, - "NextPageToken": {} - } - } - }, - "TerminateProvisionedProduct": { - "input": { - "type": "structure", - "required": [ - "TerminateToken" - ], - "members": { - "ProvisionedProductName": {}, - "ProvisionedProductId": {}, - "TerminateToken": { - "idempotencyToken": true - }, - "IgnoreErrors": { - "type": "boolean" - }, - "AcceptLanguage": {} - } - }, - "output": { - "type": "structure", - "members": { - "RecordDetail": { - "shape": "S1a" - } - } - } - }, - "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": "S1a" - } - } - } - } - }, - "shapes": { - "S5": { - "type": "structure", - "members": { - "Id": {}, - "ProductId": {}, - "Name": {}, - "Owner": {}, - "ShortDescription": {}, - "Type": {}, - "Distributor": {}, - "HasDefaultPath": { - "type": "boolean" - }, - "SupportEmail": {}, - "SupportDescription": {}, - "SupportUrl": {} - } - }, - "Sf": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "Description": {}, - "CreatedTime": { - "type": "timestamp" - } - } - } - }, - "Sy": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Type": {}, - "Description": {} - } - } - }, - "S1a": { - "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": {} - } - } - } - } - }, - "S1x": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S23": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - } -} -},{}],116:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "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": {} - } - } - } - } -} -},{}],117:[function(require,module,exports){ -module.exports={ - "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" - } - } -} - -},{}],118:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2012-11-05", - "endpointPrefix": "sqs", - "protocol": "query", - "serviceAbbreviation": "Amazon SQS", - "serviceFullName": "Amazon Simple Queue Service", - "signatureVersion": "v4", - "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" - } - } - }, - "output": { - "resultWrapper": "ReceiveMessageResult", - "type": "structure", - "members": { - "Messages": { - "type": "list", - "member": { - "locationName": "Message", - "type": "structure", - "members": { - "MessageId": {}, - "ReceiptHandle": {}, - "MD5OfBody": {}, - "Body": {}, - "Attributes": { - "shape": "Sh", - "locationName": "Attribute" - }, - "MD5OfMessageAttributes": {}, - "MessageAttributes": { - "shape": "S19", - "locationName": "MessageAttribute" - } - } - }, - "flattened": true - } - } - } - }, - "RemovePermission": { - "input": { - "type": "structure", - "required": [ - "QueueUrl", - "Label" - ], - "members": { - "QueueUrl": {}, - "Label": {} - } - } - }, - "SendMessage": { - "input": { - "type": "structure", - "required": [ - "QueueUrl", - "MessageBody" - ], - "members": { - "QueueUrl": {}, - "MessageBody": {}, - "DelaySeconds": { - "type": "integer" - }, - "MessageAttributes": { - "shape": "S19", - "locationName": "MessageAttribute" - } - } - }, - "output": { - "resultWrapper": "SendMessageResult", - "type": "structure", - "members": { - "MD5OfMessageBody": {}, - "MD5OfMessageAttributes": {}, - "MessageId": {} - } - } - }, - "SendMessageBatch": { - "input": { - "type": "structure", - "required": [ - "QueueUrl", - "Entries" - ], - "members": { - "QueueUrl": {}, - "Entries": { - "type": "list", - "member": { - "locationName": "SendMessageBatchRequestEntry", - "type": "structure", - "required": [ - "Id", - "MessageBody" - ], - "members": { - "Id": {}, - "MessageBody": {}, - "DelaySeconds": { - "type": "integer" - }, - "MessageAttributes": { - "shape": "S19", - "locationName": "MessageAttribute" - } - } - }, - "flattened": true - } - } - }, - "output": { - "resultWrapper": "SendMessageBatchResult", - "type": "structure", - "required": [ - "Successful", - "Failed" - ], - "members": { - "Successful": { - "type": "list", - "member": { - "locationName": "SendMessageBatchResultEntry", - "type": "structure", - "required": [ - "Id", - "MessageId", - "MD5OfMessageBody" - ], - "members": { - "Id": {}, - "MessageId": {}, - "MD5OfMessageBody": {}, - "MD5OfMessageAttributes": {} - } - }, - "flattened": true - }, - "Failed": { - "shape": "Sd" - } - } - } - }, - "SetQueueAttributes": { - "input": { - "type": "structure", - "required": [ - "QueueUrl", - "Attributes" - ], - "members": { - "QueueUrl": {}, - "Attributes": { - "shape": "Sh", - "locationName": "Attribute" - } - } - } - } - }, - "shapes": { - "Sd": { - "type": "list", - "member": { - "locationName": "BatchResultErrorEntry", - "type": "structure", - "required": [ - "Id", - "SenderFault", - "Code" - ], - "members": { - "Id": {}, - "SenderFault": { - "type": "boolean" - }, - "Code": {}, - "Message": {} - } - }, - "flattened": true - }, - "Sh": { - "type": "map", - "key": { - "locationName": "Name" - }, - "value": { - "locationName": "Value" - }, - "flattened": true, - "locationName": "Attribute" - }, - "St": { - "type": "list", - "member": { - "locationName": "AttributeName" - }, - "flattened": true - }, - "Sz": { - "type": "list", - "member": { - "locationName": "QueueUrl" - }, - "flattened": true - }, - "S19": { - "type": "map", - "key": { - "locationName": "Name" - }, - "value": { - "locationName": "Value", - "type": "structure", - "required": [ - "DataType" - ], - "members": { - "StringValue": {}, - "BinaryValue": { - "type": "blob" - }, - "StringListValues": { - "flattened": true, - "locationName": "StringListValue", - "type": "list", - "member": { - "locationName": "StringListValue" - } - }, - "BinaryListValues": { - "flattened": true, - "locationName": "BinaryListValue", - "type": "list", - "member": { - "locationName": "BinaryListValue", - "type": "blob" - } - }, - "DataType": {} - } - }, - "flattened": true - } - } -} -},{}],119:[function(require,module,exports){ -module.exports={ - "pagination": { - "ListQueues": { - "result_key": "QueueUrls" - } - } -} - -},{}],120:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2014-11-06", - "endpointPrefix": "ssm", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Amazon SSM", - "serviceFullName": "Amazon Simple Systems Management Service", - "signatureVersion": "v4", - "targetPrefix": "AmazonSSM" - }, - "operations": { - "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", - "InstanceId" - ], - "members": { - "Name": {}, - "InstanceId": {}, - "Parameters": { - "shape": "Sp" - } - } - }, - "output": { - "type": "structure", - "members": { - "AssociationDescription": { - "shape": "Su" - } - } - } - }, - "CreateAssociationBatch": { - "input": { - "type": "structure", - "required": [ - "Entries" - ], - "members": { - "Entries": { - "type": "list", - "member": { - "shape": "S12", - "locationName": "entries" - } - } - } - }, - "output": { - "type": "structure", - "members": { - "Successful": { - "type": "list", - "member": { - "shape": "Su", - "locationName": "AssociationDescription" - } - }, - "Failed": { - "type": "list", - "member": { - "locationName": "FailedCreateAssociationEntry", - "type": "structure", - "members": { - "Entry": { - "shape": "S12" - }, - "Message": {}, - "Fault": {} - } - } - } - } - } - }, - "CreateDocument": { - "input": { - "type": "structure", - "required": [ - "Content", - "Name" - ], - "members": { - "Content": {}, - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "DocumentDescription": { - "shape": "S1c" - } - } - } - }, - "DeleteActivation": { - "input": { - "type": "structure", - "required": [ - "ActivationId" - ], - "members": { - "ActivationId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteAssociation": { - "input": { - "type": "structure", - "required": [ - "Name", - "InstanceId" - ], - "members": { - "Name": {}, - "InstanceId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteDocument": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeregisterManagedInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "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", - "required": [ - "Name", - "InstanceId" - ], - "members": { - "Name": {}, - "InstanceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "AssociationDescription": { - "shape": "Su" - } - } - } - }, - "DescribeDocument": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "Document": { - "shape": "S1c" - } - } - } - }, - "DescribeDocumentPermission": { - "input": { - "type": "structure", - "required": [ - "Name", - "PermissionType" - ], - "members": { - "Name": {}, - "PermissionType": {} - } - }, - "output": { - "type": "structure", - "members": { - "AccountIds": { - "shape": "S2m" - } - } - } - }, - "DescribeInstanceInformation": { - "input": { - "type": "structure", - "members": { - "InstanceInformationFilterList": { - "type": "list", - "member": { - "locationName": "InstanceInformationFilter", - "type": "structure", - "required": [ - "key", - "valueSet" - ], - "members": { - "key": {}, - "valueSet": { - "type": "list", - "member": { - "locationName": "InstanceInformationFilterValue" - } - } - } - } - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "InstanceInformationList": { - "type": "list", - "member": { - "locationName": "InstanceInformation", - "type": "structure", - "members": { - "InstanceId": {}, - "PingStatus": {}, - "LastPingDateTime": { - "type": "timestamp" - }, - "AgentVersion": {}, - "IsLatestVersion": { - "type": "boolean" - }, - "PlatformType": {}, - "PlatformName": {}, - "PlatformVersion": {}, - "ActivationId": {}, - "IamRole": {}, - "RegistrationDate": { - "type": "timestamp" - }, - "ResourceType": {}, - "Name": {}, - "IPAddress": {}, - "ComputerName": {} - } - } - }, - "NextToken": {} - } - } - }, - "GetDocument": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "Name": {}, - "Content": {} - } - } - }, - "ListAssociations": { - "input": { - "type": "structure", - "required": [ - "AssociationFilterList" - ], - "members": { - "AssociationFilterList": { - "type": "list", - "member": { - "locationName": "AssociationFilter", - "type": "structure", - "required": [ - "key", - "value" - ], - "members": { - "key": {}, - "value": {} - } - } - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Associations": { - "type": "list", - "member": { - "locationName": "Association", - "type": "structure", - "members": { - "Name": {}, - "InstanceId": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListCommandInvocations": { - "input": { - "type": "structure", - "members": { - "CommandId": {}, - "InstanceId": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {}, - "Filters": { - "shape": "S3f" - }, - "Details": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "CommandInvocations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CommandId": {}, - "InstanceId": {}, - "Comment": {}, - "DocumentName": {}, - "RequestedDateTime": { - "type": "timestamp" - }, - "Status": {}, - "TraceOutput": {}, - "CommandPlugins": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Status": {}, - "ResponseCode": { - "type": "integer" - }, - "ResponseStartDateTime": { - "type": "timestamp" - }, - "ResponseFinishDateTime": { - "type": "timestamp" - }, - "Output": {}, - "OutputS3BucketName": {}, - "OutputS3KeyPrefix": {} - } - } - }, - "ServiceRole": {}, - "NotificationConfig": { - "shape": "S3y" - } - } - } - }, - "NextToken": {} - } - } - }, - "ListCommands": { - "input": { - "type": "structure", - "members": { - "CommandId": {}, - "InstanceId": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {}, - "Filters": { - "shape": "S3f" - } - } - }, - "output": { - "type": "structure", - "members": { - "Commands": { - "type": "list", - "member": { - "shape": "S46" - } - }, - "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": "S1q" - } - } - } - }, - "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": "S2m" - }, - "AccountIdsToRemove": { - "shape": "S2m" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceType", - "ResourceId", - "TagKeys" - ], - "members": { - "ResourceType": {}, - "ResourceId": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "SendCommand": { - "input": { - "type": "structure", - "required": [ - "InstanceIds", - "DocumentName" - ], - "members": { - "InstanceIds": { - "shape": "Sb" - }, - "DocumentName": {}, - "DocumentHash": {}, - "DocumentHashType": {}, - "TimeoutSeconds": { - "type": "integer" - }, - "Comment": {}, - "Parameters": { - "shape": "Sp" - }, - "OutputS3BucketName": {}, - "OutputS3KeyPrefix": {}, - "ServiceRoleArn": {}, - "NotificationConfig": { - "shape": "S3y" - } - } - }, - "output": { - "type": "structure", - "members": { - "Command": { - "shape": "S46" - } - } - } - }, - "UpdateAssociationStatus": { - "input": { - "type": "structure", - "required": [ - "Name", - "InstanceId", - "AssociationStatus" - ], - "members": { - "Name": {}, - "InstanceId": {}, - "AssociationStatus": { - "shape": "Sw" - } - } - }, - "output": { - "type": "structure", - "members": { - "AssociationDescription": { - "shape": "Su" - } - } - } - }, - "UpdateManagedInstanceRole": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "IamRole" - ], - "members": { - "InstanceId": {}, - "IamRole": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "S4": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sb": { - "type": "list", - "member": {} - }, - "Sp": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": {} - } - }, - "Su": { - "type": "structure", - "members": { - "Name": {}, - "InstanceId": {}, - "Date": { - "type": "timestamp" - }, - "Status": { - "shape": "Sw" - }, - "Parameters": { - "shape": "Sp" - } - } - }, - "Sw": { - "type": "structure", - "required": [ - "Date", - "Name", - "Message" - ], - "members": { - "Date": { - "type": "timestamp" - }, - "Name": {}, - "Message": {}, - "AdditionalInfo": {} - } - }, - "S12": { - "type": "structure", - "members": { - "Name": {}, - "InstanceId": {}, - "Parameters": { - "shape": "Sp" - } - } - }, - "S1c": { - "type": "structure", - "members": { - "Sha1": {}, - "Hash": {}, - "HashType": {}, - "Name": {}, - "Owner": {}, - "CreatedDate": { - "type": "timestamp" - }, - "Status": {}, - "Description": {}, - "Parameters": { - "type": "list", - "member": { - "locationName": "DocumentParameter", - "type": "structure", - "members": { - "Name": {}, - "Type": {}, - "Description": {}, - "DefaultValue": {} - } - } - }, - "PlatformTypes": { - "shape": "S1q" - } - } - }, - "S1q": { - "type": "list", - "member": { - "locationName": "PlatformType" - } - }, - "S2m": { - "type": "list", - "member": { - "locationName": "AccountId" - } - }, - "S3f": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "key", - "value" - ], - "members": { - "key": {}, - "value": {} - } - } - }, - "S3y": { - "type": "structure", - "members": { - "NotificationArn": {}, - "NotificationEvents": { - "type": "list", - "member": {} - }, - "NotificationType": {} - } - }, - "S46": { - "type": "structure", - "members": { - "CommandId": {}, - "DocumentName": {}, - "Comment": {}, - "ExpiresAfter": { - "type": "timestamp" - }, - "Parameters": { - "shape": "Sp" - }, - "InstanceIds": { - "shape": "Sb" - }, - "RequestedDateTime": { - "type": "timestamp" - }, - "Status": {}, - "OutputS3BucketName": {}, - "OutputS3KeyPrefix": {}, - "ServiceRole": {}, - "NotificationConfig": { - "shape": "S3y" - } - } - } - } -} -},{}],121:[function(require,module,exports){ -module.exports={ - "pagination": { - "DescribeInstanceInformation": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "InstanceInformationList" - }, - "ListAssociations": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "Associations" - }, - "ListCommandInvocations": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "CommandInvocations" - }, - "ListCommands": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "Commands" - }, - "ListDocuments": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "DocumentIdentifiers" - }, - "DescribeActivations": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "ActivationList" - } - } -} - -},{}],122:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2013-06-30", - "endpointPrefix": "storagegateway", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWS Storage Gateway", - "signatureVersion": "v4", - "targetPrefix": "StorageGateway_20130630" - }, - "operations": { - "ActivateGateway": { - "input": { - "type": "structure", - "required": [ - "ActivationKey", - "GatewayName", - "GatewayTimezone", - "GatewayRegion" - ], - "members": { - "ActivationKey": {}, - "GatewayName": {}, - "GatewayTimezone": {}, - "GatewayRegion": {}, - "GatewayType": {}, - "TapeDriveType": {}, - "MediumChangerType": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "AddCache": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "DiskIds" - ], - "members": { - "GatewayARN": {}, - "DiskIds": { - "shape": "Sc" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceARN", - "Tags" - ], - "members": { - "ResourceARN": {}, - "Tags": { - "shape": "Sh" - } - } - }, - "output": { - "type": "structure", - "members": { - "ResourceARN": {} - } - } - }, - "AddUploadBuffer": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "DiskIds" - ], - "members": { - "GatewayARN": {}, - "DiskIds": { - "shape": "Sc" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "AddWorkingStorage": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "DiskIds" - ], - "members": { - "GatewayARN": {}, - "DiskIds": { - "shape": "Sc" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "CancelArchival": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "TapeARN" - ], - "members": { - "GatewayARN": {}, - "TapeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "CancelRetrieval": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "TapeARN" - ], - "members": { - "GatewayARN": {}, - "TapeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "CreateCachediSCSIVolume": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "VolumeSizeInBytes", - "TargetName", - "NetworkInterfaceId", - "ClientToken" - ], - "members": { - "GatewayARN": {}, - "VolumeSizeInBytes": { - "type": "long" - }, - "SnapshotId": {}, - "TargetName": {}, - "NetworkInterfaceId": {}, - "ClientToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {}, - "TargetARN": {} - } - } - }, - "CreateSnapshot": { - "input": { - "type": "structure", - "required": [ - "VolumeARN", - "SnapshotDescription" - ], - "members": { - "VolumeARN": {}, - "SnapshotDescription": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {}, - "SnapshotId": {} - } - } - }, - "CreateSnapshotFromVolumeRecoveryPoint": { - "input": { - "type": "structure", - "required": [ - "VolumeARN", - "SnapshotDescription" - ], - "members": { - "VolumeARN": {}, - "SnapshotDescription": {} - } - }, - "output": { - "type": "structure", - "members": { - "SnapshotId": {}, - "VolumeARN": {}, - "VolumeRecoveryPointTime": {} - } - } - }, - "CreateStorediSCSIVolume": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "DiskId", - "PreserveExistingData", - "TargetName", - "NetworkInterfaceId" - ], - "members": { - "GatewayARN": {}, - "DiskId": {}, - "SnapshotId": {}, - "PreserveExistingData": { - "type": "boolean" - }, - "TargetName": {}, - "NetworkInterfaceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {}, - "VolumeSizeInBytes": { - "type": "long" - }, - "TargetARN": {} - } - } - }, - "CreateTapeWithBarcode": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "TapeSizeInBytes", - "TapeBarcode" - ], - "members": { - "GatewayARN": {}, - "TapeSizeInBytes": { - "type": "long" - }, - "TapeBarcode": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "CreateTapes": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "TapeSizeInBytes", - "ClientToken", - "NumTapesToCreate", - "TapeBarcodePrefix" - ], - "members": { - "GatewayARN": {}, - "TapeSizeInBytes": { - "type": "long" - }, - "ClientToken": {}, - "NumTapesToCreate": { - "type": "integer" - }, - "TapeBarcodePrefix": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARNs": { - "shape": "S1l" - } - } - } - }, - "DeleteBandwidthRateLimit": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "BandwidthType" - ], - "members": { - "GatewayARN": {}, - "BandwidthType": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "DeleteChapCredentials": { - "input": { - "type": "structure", - "required": [ - "TargetARN", - "InitiatorName" - ], - "members": { - "TargetARN": {}, - "InitiatorName": {} - } - }, - "output": { - "type": "structure", - "members": { - "TargetARN": {}, - "InitiatorName": {} - } - } - }, - "DeleteGateway": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "DeleteSnapshotSchedule": { - "input": { - "type": "structure", - "required": [ - "VolumeARN" - ], - "members": { - "VolumeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {} - } - } - }, - "DeleteTape": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "TapeARN" - ], - "members": { - "GatewayARN": {}, - "TapeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "DeleteTapeArchive": { - "input": { - "type": "structure", - "required": [ - "TapeARN" - ], - "members": { - "TapeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "DeleteVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeARN" - ], - "members": { - "VolumeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {} - } - } - }, - "DescribeBandwidthRateLimit": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "AverageUploadRateLimitInBitsPerSec": { - "type": "long" - }, - "AverageDownloadRateLimitInBitsPerSec": { - "type": "long" - } - } - } - }, - "DescribeCache": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "DiskIds": { - "shape": "Sc" - }, - "CacheAllocatedInBytes": { - "type": "long" - }, - "CacheUsedPercentage": { - "type": "double" - }, - "CacheDirtyPercentage": { - "type": "double" - }, - "CacheHitPercentage": { - "type": "double" - }, - "CacheMissPercentage": { - "type": "double" - } - } - } - }, - "DescribeCachediSCSIVolumes": { - "input": { - "type": "structure", - "required": [ - "VolumeARNs" - ], - "members": { - "VolumeARNs": { - "shape": "S2a" - } - } - }, - "output": { - "type": "structure", - "members": { - "CachediSCSIVolumes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VolumeARN": {}, - "VolumeId": {}, - "VolumeType": {}, - "VolumeStatus": {}, - "VolumeSizeInBytes": { - "type": "long" - }, - "VolumeProgress": { - "type": "double" - }, - "SourceSnapshotId": {}, - "VolumeiSCSIAttributes": { - "shape": "S2i" - } - } - } - } - } - } - }, - "DescribeChapCredentials": { - "input": { - "type": "structure", - "required": [ - "TargetARN" - ], - "members": { - "TargetARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChapCredentials": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TargetARN": {}, - "SecretToAuthenticateInitiator": {}, - "InitiatorName": {}, - "SecretToAuthenticateTarget": {} - } - } - } - } - } - }, - "DescribeGatewayInformation": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "GatewayId": {}, - "GatewayName": {}, - "GatewayTimezone": {}, - "GatewayState": {}, - "GatewayNetworkInterfaces": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Ipv4Address": {}, - "MacAddress": {}, - "Ipv6Address": {} - } - } - }, - "GatewayType": {}, - "NextUpdateAvailabilityDate": {}, - "LastSoftwareUpdate": {} - } - } - }, - "DescribeMaintenanceStartTime": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "HourOfDay": { - "type": "integer" - }, - "MinuteOfHour": { - "type": "integer" - }, - "DayOfWeek": { - "type": "integer" - }, - "Timezone": {} - } - } - }, - "DescribeSnapshotSchedule": { - "input": { - "type": "structure", - "required": [ - "VolumeARN" - ], - "members": { - "VolumeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {}, - "StartAt": { - "type": "integer" - }, - "RecurrenceInHours": { - "type": "integer" - }, - "Description": {}, - "Timezone": {} - } - } - }, - "DescribeStorediSCSIVolumes": { - "input": { - "type": "structure", - "required": [ - "VolumeARNs" - ], - "members": { - "VolumeARNs": { - "shape": "S2a" - } - } - }, - "output": { - "type": "structure", - "members": { - "StorediSCSIVolumes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VolumeARN": {}, - "VolumeId": {}, - "VolumeType": {}, - "VolumeStatus": {}, - "VolumeSizeInBytes": { - "type": "long" - }, - "VolumeProgress": { - "type": "double" - }, - "VolumeDiskId": {}, - "SourceSnapshotId": {}, - "PreservedExistingData": { - "type": "boolean" - }, - "VolumeiSCSIAttributes": { - "shape": "S2i" - } - } - } - } - } - } - }, - "DescribeTapeArchives": { - "input": { - "type": "structure", - "members": { - "TapeARNs": { - "shape": "S1l" - }, - "Marker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "TapeArchives": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TapeARN": {}, - "TapeBarcode": {}, - "TapeSizeInBytes": { - "type": "long" - }, - "CompletionTime": { - "type": "timestamp" - }, - "RetrievedTo": {}, - "TapeStatus": {} - } - } - }, - "Marker": {} - } - } - }, - "DescribeTapeRecoveryPoints": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {}, - "Marker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "TapeRecoveryPointInfos": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TapeARN": {}, - "TapeRecoveryPointTime": { - "type": "timestamp" - }, - "TapeSizeInBytes": { - "type": "long" - }, - "TapeStatus": {} - } - } - }, - "Marker": {} - } - } - }, - "DescribeTapes": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {}, - "TapeARNs": { - "shape": "S1l" - }, - "Marker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Tapes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TapeARN": {}, - "TapeBarcode": {}, - "TapeSizeInBytes": { - "type": "long" - }, - "TapeStatus": {}, - "VTLDevice": {}, - "Progress": { - "type": "double" - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeUploadBuffer": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "DiskIds": { - "shape": "Sc" - }, - "UploadBufferUsedInBytes": { - "type": "long" - }, - "UploadBufferAllocatedInBytes": { - "type": "long" - } - } - } - }, - "DescribeVTLDevices": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {}, - "VTLDeviceARNs": { - "type": "list", - "member": {} - }, - "Marker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "VTLDevices": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VTLDeviceARN": {}, - "VTLDeviceType": {}, - "VTLDeviceVendor": {}, - "VTLDeviceProductIdentifier": {}, - "DeviceiSCSIAttributes": { - "type": "structure", - "members": { - "TargetARN": {}, - "NetworkInterfaceId": {}, - "NetworkInterfacePort": { - "type": "integer" - }, - "ChapEnabled": { - "type": "boolean" - } - } - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeWorkingStorage": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "DiskIds": { - "shape": "Sc" - }, - "WorkingStorageUsedInBytes": { - "type": "long" - }, - "WorkingStorageAllocatedInBytes": { - "type": "long" - } - } - } - }, - "DisableGateway": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "ListGateways": { - "input": { - "type": "structure", - "members": { - "Marker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Gateways": { - "type": "list", - "member": { - "type": "structure", - "members": { - "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": "S1l" - }, - "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" - } - } - } - } - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceARN", - "TagKeys" - ], - "members": { - "ResourceARN": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "ResourceARN": {} - } - } - }, - "ResetCache": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "RetrieveTapeArchive": { - "input": { - "type": "structure", - "required": [ - "TapeARN", - "GatewayARN" - ], - "members": { - "TapeARN": {}, - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "RetrieveTapeRecoveryPoint": { - "input": { - "type": "structure", - "required": [ - "TapeARN", - "GatewayARN" - ], - "members": { - "TapeARN": {}, - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "SetLocalConsolePassword": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "LocalConsolePassword" - ], - "members": { - "GatewayARN": {}, - "LocalConsolePassword": { - "type": "string", - "sensitive": true - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "ShutdownGateway": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "StartGateway": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "UpdateBandwidthRateLimit": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {}, - "AverageUploadRateLimitInBitsPerSec": { - "type": "long" - }, - "AverageDownloadRateLimitInBitsPerSec": { - "type": "long" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "UpdateChapCredentials": { - "input": { - "type": "structure", - "required": [ - "TargetARN", - "SecretToAuthenticateInitiator", - "InitiatorName" - ], - "members": { - "TargetARN": {}, - "SecretToAuthenticateInitiator": {}, - "InitiatorName": {}, - "SecretToAuthenticateTarget": {} - } - }, - "output": { - "type": "structure", - "members": { - "TargetARN": {}, - "InitiatorName": {} - } - } - }, - "UpdateGatewayInformation": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {}, - "GatewayName": {}, - "GatewayTimezone": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "GatewayName": {} - } - } - }, - "UpdateGatewaySoftwareNow": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "UpdateMaintenanceStartTime": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "HourOfDay", - "MinuteOfHour", - "DayOfWeek" - ], - "members": { - "GatewayARN": {}, - "HourOfDay": { - "type": "integer" - }, - "MinuteOfHour": { - "type": "integer" - }, - "DayOfWeek": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "UpdateSnapshotSchedule": { - "input": { - "type": "structure", - "required": [ - "VolumeARN", - "StartAt", - "RecurrenceInHours" - ], - "members": { - "VolumeARN": {}, - "StartAt": { - "type": "integer" - }, - "RecurrenceInHours": { - "type": "integer" - }, - "Description": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {} - } - } - }, - "UpdateVTLDeviceType": { - "input": { - "type": "structure", - "required": [ - "VTLDeviceARN", - "DeviceType" - ], - "members": { - "VTLDeviceARN": {}, - "DeviceType": {} - } - }, - "output": { - "type": "structure", - "members": { - "VTLDeviceARN": {} - } - } - } - }, - "shapes": { - "Sc": { - "type": "list", - "member": {} - }, - "Sh": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S1l": { - "type": "list", - "member": {} - }, - "S2a": { - "type": "list", - "member": {} - }, - "S2i": { - "type": "structure", - "members": { - "TargetARN": {}, - "NetworkInterfaceId": {}, - "NetworkInterfacePort": { - "type": "integer" - }, - "LunNumber": { - "type": "integer" - }, - "ChapEnabled": { - "type": "boolean" - } - } - } - } -} -},{}],123:[function(require,module,exports){ -module.exports={ - "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" - } - } -} - -},{}],124:[function(require,module,exports){ -module.exports={ - "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" - }, - "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": {} - } - } - } - } - }, - "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" - } - } - } - } -} -},{}],125:[function(require,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", - "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": {} - } - } - } -} -},{}],126:[function(require,module,exports){ -module.exports={ - "version": "2.0", - "metadata": { - "apiVersion": "2015-08-24", - "endpointPrefix": "waf", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "WAF", - "serviceFullName": "AWS WAF", - "signatureVersion": "v4", - "targetPrefix": "AWSWAF_20150824" - }, - "operations": { - "CreateByteMatchSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ByteMatchSet": { - "shape": "S5" - }, - "ChangeToken": {} - } - } - }, - "CreateIPSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "IPSet": { - "shape": "Sh" - }, - "ChangeToken": {} - } - } - }, - "CreateRule": { - "input": { - "type": "structure", - "required": [ - "Name", - "MetricName", - "ChangeToken" - ], - "members": { - "Name": {}, - "MetricName": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Rule": { - "shape": "Sp" - }, - "ChangeToken": {} - } - } - }, - "CreateSizeConstraintSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "SizeConstraintSet": { - "shape": "Sw" - }, - "ChangeToken": {} - } - } - }, - "CreateSqlInjectionMatchSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "SqlInjectionMatchSet": { - "shape": "S13" - }, - "ChangeToken": {} - } - } - }, - "CreateWebACL": { - "input": { - "type": "structure", - "required": [ - "Name", - "MetricName", - "DefaultAction", - "ChangeToken" - ], - "members": { - "Name": {}, - "MetricName": {}, - "DefaultAction": { - "shape": "S17" - }, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "WebACL": { - "shape": "S1a" - }, - "ChangeToken": {} - } - } - }, - "CreateXssMatchSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "XssMatchSet": { - "shape": "S1g" - }, - "ChangeToken": {} - } - } - }, - "DeleteByteMatchSet": { - "input": { - "type": "structure", - "required": [ - "ByteMatchSetId", - "ChangeToken" - ], - "members": { - "ByteMatchSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteIPSet": { - "input": { - "type": "structure", - "required": [ - "IPSetId", - "ChangeToken" - ], - "members": { - "IPSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteRule": { - "input": { - "type": "structure", - "required": [ - "RuleId", - "ChangeToken" - ], - "members": { - "RuleId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteSizeConstraintSet": { - "input": { - "type": "structure", - "required": [ - "SizeConstraintSetId", - "ChangeToken" - ], - "members": { - "SizeConstraintSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteSqlInjectionMatchSet": { - "input": { - "type": "structure", - "required": [ - "SqlInjectionMatchSetId", - "ChangeToken" - ], - "members": { - "SqlInjectionMatchSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteWebACL": { - "input": { - "type": "structure", - "required": [ - "WebACLId", - "ChangeToken" - ], - "members": { - "WebACLId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteXssMatchSet": { - "input": { - "type": "structure", - "required": [ - "XssMatchSetId", - "ChangeToken" - ], - "members": { - "XssMatchSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "GetByteMatchSet": { - "input": { - "type": "structure", - "required": [ - "ByteMatchSetId" - ], - "members": { - "ByteMatchSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ByteMatchSet": { - "shape": "S5" - } - } - } - }, - "GetChangeToken": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "GetChangeTokenStatus": { - "input": { - "type": "structure", - "required": [ - "ChangeToken" - ], - "members": { - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeTokenStatus": {} - } - } - }, - "GetIPSet": { - "input": { - "type": "structure", - "required": [ - "IPSetId" - ], - "members": { - "IPSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "IPSet": { - "shape": "Sh" - } - } - } - }, - "GetRule": { - "input": { - "type": "structure", - "required": [ - "RuleId" - ], - "members": { - "RuleId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Rule": { - "shape": "Sp" - } - } - } - }, - "GetSampledRequests": { - "input": { - "type": "structure", - "required": [ - "WebAclId", - "RuleId", - "TimeWindow", - "MaxItems" - ], - "members": { - "WebAclId": {}, - "RuleId": {}, - "TimeWindow": { - "shape": "S29" - }, - "MaxItems": { - "type": "long" - } - } - }, - "output": { - "type": "structure", - "members": { - "SampledRequests": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Request", - "Weight" - ], - "members": { - "Request": { - "type": "structure", - "members": { - "ClientIP": {}, - "Country": {}, - "URI": {}, - "Method": {}, - "HTTPVersion": {}, - "Headers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Value": {} - } - } - } - } - }, - "Weight": { - "type": "long" - }, - "Timestamp": { - "type": "timestamp" - }, - "Action": {} - } - } - }, - "PopulationSize": { - "type": "long" - }, - "TimeWindow": { - "shape": "S29" - } - } - } - }, - "GetSizeConstraintSet": { - "input": { - "type": "structure", - "required": [ - "SizeConstraintSetId" - ], - "members": { - "SizeConstraintSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "SizeConstraintSet": { - "shape": "Sw" - } - } - } - }, - "GetSqlInjectionMatchSet": { - "input": { - "type": "structure", - "required": [ - "SqlInjectionMatchSetId" - ], - "members": { - "SqlInjectionMatchSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "SqlInjectionMatchSet": { - "shape": "S13" - } - } - } - }, - "GetWebACL": { - "input": { - "type": "structure", - "required": [ - "WebACLId" - ], - "members": { - "WebACLId": {} - } - }, - "output": { - "type": "structure", - "members": { - "WebACL": { - "shape": "S1a" - } - } - } - }, - "GetXssMatchSet": { - "input": { - "type": "structure", - "required": [ - "XssMatchSetId" - ], - "members": { - "XssMatchSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "XssMatchSet": { - "shape": "S1g" - } - } - } - }, - "ListByteMatchSets": { - "input": { - "type": "structure", - "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": {} - } - } - } - } - } - }, - "ListRules": { - "input": { - "type": "structure", - "members": { - "NextMarker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "Rules": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "RuleId", - "Name" - ], - "members": { - "RuleId": {}, - "Name": {} - } - } - } - } - } - }, - "ListSizeConstraintSets": { - "input": { - "type": "structure", - "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": {} - } - } - }, - "UpdateRule": { - "input": { - "type": "structure", - "required": [ - "RuleId", - "ChangeToken", - "Updates" - ], - "members": { - "RuleId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "Predicate" - ], - "members": { - "Action": {}, - "Predicate": { - "shape": "Sr" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateSizeConstraintSet": { - "input": { - "type": "structure", - "required": [ - "SizeConstraintSetId", - "ChangeToken", - "Updates" - ], - "members": { - "SizeConstraintSetId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "SizeConstraint" - ], - "members": { - "Action": {}, - "SizeConstraint": { - "shape": "Sy" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateSqlInjectionMatchSet": { - "input": { - "type": "structure", - "required": [ - "SqlInjectionMatchSetId", - "ChangeToken", - "Updates" - ], - "members": { - "SqlInjectionMatchSetId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "SqlInjectionMatchTuple" - ], - "members": { - "Action": {}, - "SqlInjectionMatchTuple": { - "shape": "S15" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateWebACL": { - "input": { - "type": "structure", - "required": [ - "WebACLId", - "ChangeToken" - ], - "members": { - "WebACLId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "ActivatedRule" - ], - "members": { - "Action": {}, - "ActivatedRule": { - "shape": "S1c" - } - } - } - }, - "DefaultAction": { - "shape": "S17" - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateXssMatchSet": { - "input": { - "type": "structure", - "required": [ - "XssMatchSetId", - "ChangeToken", - "Updates" - ], - "members": { - "XssMatchSetId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "XssMatchTuple" - ], - "members": { - "Action": {}, - "XssMatchTuple": { - "shape": "S1i" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - } - }, - "shapes": { - "S5": { - "type": "structure", - "required": [ - "ByteMatchSetId", - "ByteMatchTuples" - ], - "members": { - "ByteMatchSetId": {}, - "Name": {}, - "ByteMatchTuples": { - "type": "list", - "member": { - "shape": "S8" - } - } - } - }, - "S8": { - "type": "structure", - "required": [ - "FieldToMatch", - "TargetString", - "TextTransformation", - "PositionalConstraint" - ], - "members": { - "FieldToMatch": { - "shape": "S9" - }, - "TargetString": { - "type": "blob" - }, - "TextTransformation": {}, - "PositionalConstraint": {} - } - }, - "S9": { - "type": "structure", - "required": [ - "Type" - ], - "members": { - "Type": {}, - "Data": {} - } - }, - "Sh": { - "type": "structure", - "required": [ - "IPSetId", - "IPSetDescriptors" - ], - "members": { - "IPSetId": {}, - "Name": {}, - "IPSetDescriptors": { - "type": "list", - "member": { - "shape": "Sj" - } - } - } - }, - "Sj": { - "type": "structure", - "required": [ - "Type", - "Value" - ], - "members": { - "Type": {}, - "Value": {} - } - }, - "Sp": { - "type": "structure", - "required": [ - "RuleId", - "Predicates" - ], - "members": { - "RuleId": {}, - "Name": {}, - "MetricName": {}, - "Predicates": { - "type": "list", - "member": { - "shape": "Sr" - } - } - } - }, - "Sr": { - "type": "structure", - "required": [ - "Negated", - "Type", - "DataId" - ], - "members": { - "Negated": { - "type": "boolean" - }, - "Type": {}, - "DataId": {} - } - }, - "Sw": { - "type": "structure", - "required": [ - "SizeConstraintSetId", - "SizeConstraints" - ], - "members": { - "SizeConstraintSetId": {}, - "Name": {}, - "SizeConstraints": { - "type": "list", - "member": { - "shape": "Sy" - } - } - } - }, - "Sy": { - "type": "structure", - "required": [ - "FieldToMatch", - "TextTransformation", - "ComparisonOperator", - "Size" - ], - "members": { - "FieldToMatch": { - "shape": "S9" - }, - "TextTransformation": {}, - "ComparisonOperator": {}, - "Size": { - "type": "long" - } - } - }, - "S13": { - "type": "structure", - "required": [ - "SqlInjectionMatchSetId", - "SqlInjectionMatchTuples" - ], - "members": { - "SqlInjectionMatchSetId": {}, - "Name": {}, - "SqlInjectionMatchTuples": { - "type": "list", - "member": { - "shape": "S15" - } - } - } - }, - "S15": { - "type": "structure", - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "members": { - "FieldToMatch": { - "shape": "S9" - }, - "TextTransformation": {} - } - }, - "S17": { - "type": "structure", - "required": [ - "Type" - ], - "members": { - "Type": {} - } - }, - "S1a": { - "type": "structure", - "required": [ - "WebACLId", - "DefaultAction", - "Rules" - ], - "members": { - "WebACLId": {}, - "Name": {}, - "MetricName": {}, - "DefaultAction": { - "shape": "S17" - }, - "Rules": { - "type": "list", - "member": { - "shape": "S1c" - } - } - } - }, - "S1c": { - "type": "structure", - "required": [ - "Priority", - "RuleId", - "Action" - ], - "members": { - "Priority": { - "type": "integer" - }, - "RuleId": {}, - "Action": { - "shape": "S17" - } - } - }, - "S1g": { - "type": "structure", - "required": [ - "XssMatchSetId", - "XssMatchTuples" - ], - "members": { - "XssMatchSetId": {}, - "Name": {}, - "XssMatchTuples": { - "type": "list", - "member": { - "shape": "S1i" - } - } - } - }, - "S1i": { - "type": "structure", - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "members": { - "FieldToMatch": { - "shape": "S9" - }, - "TextTransformation": {} - } - }, - "S29": { - "type": "structure", - "required": [ - "StartTime", - "EndTime" - ], - "members": { - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - } - } - } - } -} -},{}],127:[function(require,module,exports){ -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; - -},{"../apis/acm-2015-12-08.min.json":1,"../apis/acm-2015-12-08.paginators.json":2,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],128:[function(require,module,exports){ -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; - -},{"../apis/apigateway-2015-07-09.min.json":3,"../apis/apigateway-2015-07-09.paginators.json":4,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/apigateway":226}],129:[function(require,module,exports){ -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; - -},{"../apis/application-autoscaling-2016-02-06.min.json":5,"../apis/application-autoscaling-2016-02-06.paginators.json":6,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],130:[function(require,module,exports){ -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; - -},{"../apis/autoscaling-2011-01-01.min.json":7,"../apis/autoscaling-2011-01-01.paginators.json":8,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],131:[function(require,module,exports){ -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'), - DeviceFarm: require('./devicefarm'), - DirectConnect: require('./directconnect'), - DynamoDB: require('./dynamodb'), - DynamoDBStreams: require('./dynamodbstreams'), - EC2: require('./ec2'), - ECR: require('./ecr'), - ECS: require('./ecs'), - 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'), - MachineLearning: require('./machinelearning'), - MarketplaceCommerceAnalytics: require('./marketplacecommerceanalytics'), - MobileAnalytics: require('./mobileanalytics'), - OpsWorks: require('./opsworks'), - RDS: require('./rds'), - Redshift: require('./redshift'), - 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') -}; -},{"../lib/core":188,"../lib/node_loader":185,"./acm":127,"./apigateway":128,"./applicationautoscaling":129,"./autoscaling":130,"./cloudformation":132,"./cloudfront":133,"./cloudhsm":134,"./cloudtrail":135,"./cloudwatch":136,"./cloudwatchevents":137,"./cloudwatchlogs":138,"./codecommit":139,"./codedeploy":140,"./codepipeline":141,"./cognitoidentity":142,"./cognitoidentityserviceprovider":143,"./cognitosync":144,"./configservice":145,"./devicefarm":146,"./directconnect":147,"./dynamodb":148,"./dynamodbstreams":149,"./ec2":150,"./ecr":151,"./ecs":152,"./elasticache":153,"./elasticbeanstalk":154,"./elastictranscoder":155,"./elb":156,"./elbv2":157,"./emr":158,"./firehose":159,"./gamelift":160,"./inspector":161,"./iot":162,"./iotdata":163,"./kinesis":164,"./kms":165,"./lambda":166,"./machinelearning":167,"./marketplacecommerceanalytics":168,"./mobileanalytics":169,"./opsworks":170,"./rds":171,"./redshift":172,"./route53":173,"./route53domains":174,"./s3":175,"./servicecatalog":176,"./ses":177,"./sns":178,"./sqs":179,"./ssm":180,"./storagegateway":181,"./sts":182,"./waf":183}],132:[function(require,module,exports){ -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; - -},{"../apis/cloudformation-2010-05-15.min.json":9,"../apis/cloudformation-2010-05-15.paginators.json":10,"../apis/cloudformation-2010-05-15.waiters2.json":11,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],133:[function(require,module,exports){ -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']); -require('../lib/services/cloudfront'); -Object.defineProperty(apiLoader.services['cloudfront'], '2016-09-07', { - get: function get() { - var model = require('../apis/cloudfront-2016-09-07.min.json'); - model.paginators = require('../apis/cloudfront-2016-09-07.paginators.json').pagination; - model.waiters = require('../apis/cloudfront-2016-09-07.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudFront; - -},{"../apis/cloudfront-2016-09-07.min.json":12,"../apis/cloudfront-2016-09-07.paginators.json":13,"../apis/cloudfront-2016-09-07.waiters2.json":14,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/cloudfront":227}],134:[function(require,module,exports){ -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; - -},{"../apis/cloudhsm-2014-05-30.min.json":15,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],135:[function(require,module,exports){ -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; - -},{"../apis/cloudtrail-2013-11-01.min.json":16,"../apis/cloudtrail-2013-11-01.paginators.json":17,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],136:[function(require,module,exports){ -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; - -},{"../apis/monitoring-2010-08-01.min.json":88,"../apis/monitoring-2010-08-01.paginators.json":89,"../apis/monitoring-2010-08-01.waiters2.json":90,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],137:[function(require,module,exports){ -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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudWatchEvents; - -},{"../apis/events-2015-10-07.min.json":65,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],138:[function(require,module,exports){ -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; - -},{"../apis/logs-2014-03-28.min.json":80,"../apis/logs-2014-03-28.paginators.json":81,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],139:[function(require,module,exports){ -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; - -},{"../apis/codecommit-2015-04-13.min.json":18,"../apis/codecommit-2015-04-13.paginators.json":19,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],140:[function(require,module,exports){ -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; - -},{"../apis/codedeploy-2014-10-06.min.json":20,"../apis/codedeploy-2014-10-06.paginators.json":21,"../apis/codedeploy-2014-10-06.waiters2.json":22,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],141:[function(require,module,exports){ -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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodePipeline; - -},{"../apis/codepipeline-2015-07-09.min.json":23,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],142:[function(require,module,exports){ -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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CognitoIdentity; - -},{"../apis/cognito-identity-2014-06-30.min.json":24,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/cognitoidentity":228}],143:[function(require,module,exports){ -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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CognitoIdentityServiceProvider; - -},{"../apis/cognito-idp-2016-04-18.min.json":25,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],144:[function(require,module,exports){ -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; - -},{"../apis/cognito-sync-2014-06-30.min.json":26,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],145:[function(require,module,exports){ -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; - -},{"../apis/config-2014-11-12.min.json":27,"../apis/config-2014-11-12.paginators.json":28,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],146:[function(require,module,exports){ -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; - -},{"../apis/devicefarm-2015-06-23.min.json":29,"../apis/devicefarm-2015-06-23.paginators.json":30,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],147:[function(require,module,exports){ -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; - -},{"../apis/directconnect-2012-10-25.min.json":31,"../apis/directconnect-2012-10-25.paginators.json":32,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],148:[function(require,module,exports){ -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; - -},{"../apis/dynamodb-2011-12-05.min.json":33,"../apis/dynamodb-2011-12-05.paginators.json":34,"../apis/dynamodb-2011-12-05.waiters2.json":35,"../apis/dynamodb-2012-08-10.min.json":36,"../apis/dynamodb-2012-08-10.paginators.json":37,"../apis/dynamodb-2012-08-10.waiters2.json":38,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/dynamodb":229}],149:[function(require,module,exports){ -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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DynamoDBStreams; - -},{"../apis/streams.dynamodb-2012-08-10.min.json":124,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],150:[function(require,module,exports){ -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']); -require('../lib/services/ec2'); -Object.defineProperty(apiLoader.services['ec2'], '2016-09-15', { - get: function get() { - var model = require('../apis/ec2-2016-09-15.min.json'); - model.paginators = require('../apis/ec2-2016-09-15.paginators.json').pagination; - model.waiters = require('../apis/ec2-2016-09-15.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.EC2; - -},{"../apis/ec2-2016-09-15.min.json":39,"../apis/ec2-2016-09-15.paginators.json":40,"../apis/ec2-2016-09-15.waiters2.json":41,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/ec2":230}],151:[function(require,module,exports){ -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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ECR; - -},{"../apis/ecr-2015-09-21.min.json":42,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],152:[function(require,module,exports){ -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; - -},{"../apis/ecs-2014-11-13.min.json":43,"../apis/ecs-2014-11-13.paginators.json":44,"../apis/ecs-2014-11-13.waiters2.json":45,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],153:[function(require,module,exports){ -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; - -},{"../apis/elasticache-2015-02-02.min.json":46,"../apis/elasticache-2015-02-02.paginators.json":47,"../apis/elasticache-2015-02-02.waiters2.json":48,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],154:[function(require,module,exports){ -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; - -},{"../apis/elasticbeanstalk-2010-12-01.min.json":49,"../apis/elasticbeanstalk-2010-12-01.paginators.json":50,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],155:[function(require,module,exports){ -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; - -},{"../apis/elastictranscoder-2012-09-25.min.json":59,"../apis/elastictranscoder-2012-09-25.paginators.json":60,"../apis/elastictranscoder-2012-09-25.waiters2.json":61,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],156:[function(require,module,exports){ -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; - -},{"../apis/elasticloadbalancing-2012-06-01.min.json":51,"../apis/elasticloadbalancing-2012-06-01.paginators.json":52,"../apis/elasticloadbalancing-2012-06-01.waiters2.json":53,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],157:[function(require,module,exports){ -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; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ELBv2; - -},{"../apis/elasticloadbalancingv2-2015-12-01.min.json":54,"../apis/elasticloadbalancingv2-2015-12-01.paginators.json":55,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],158:[function(require,module,exports){ -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; - -},{"../apis/elasticmapreduce-2009-03-31.min.json":56,"../apis/elasticmapreduce-2009-03-31.paginators.json":57,"../apis/elasticmapreduce-2009-03-31.waiters2.json":58,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],159:[function(require,module,exports){ -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; - -},{"../apis/firehose-2015-08-04.min.json":66,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],160:[function(require,module,exports){ -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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.GameLift; - -},{"../apis/gamelift-2015-10-01.min.json":67,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],161:[function(require,module,exports){ -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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Inspector; - -},{"../apis/inspector-2016-02-16.min.json":68,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],162:[function(require,module,exports){ -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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Iot; - -},{"../apis/iot-2015-05-28.min.json":69,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],163:[function(require,module,exports){ -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; - -},{"../apis/iot-data-2015-05-28.min.json":70,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/iotdata":231}],164:[function(require,module,exports){ -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; - -},{"../apis/kinesis-2013-12-02.min.json":71,"../apis/kinesis-2013-12-02.paginators.json":72,"../apis/kinesis-2013-12-02.waiters2.json":73,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],165:[function(require,module,exports){ -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; - -},{"../apis/kms-2014-11-01.min.json":74,"../apis/kms-2014-11-01.paginators.json":75,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],166:[function(require,module,exports){ -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']); -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; - -},{"../apis/lambda-2014-11-11.min.json":76,"../apis/lambda-2014-11-11.paginators.json":77,"../apis/lambda-2015-03-31.min.json":78,"../apis/lambda-2015-03-31.paginators.json":79,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],167:[function(require,module,exports){ -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; - -},{"../apis/machinelearning-2014-12-12.min.json":82,"../apis/machinelearning-2014-12-12.paginators.json":83,"../apis/machinelearning-2014-12-12.waiters2.json":84,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/machinelearning":232}],168:[function(require,module,exports){ -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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MarketplaceCommerceAnalytics; - -},{"../apis/marketplacecommerceanalytics-2015-07-01.min.json":85,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],169:[function(require,module,exports){ -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; - -},{"../apis/mobileanalytics-2014-06-05.min.json":87,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],170:[function(require,module,exports){ -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; - -},{"../apis/opsworks-2013-02-18.min.json":91,"../apis/opsworks-2013-02-18.paginators.json":92,"../apis/opsworks-2013-02-18.waiters2.json":93,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],171:[function(require,module,exports){ -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-10-31']); -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-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; - -},{"../apis/rds-2013-01-10.min.json":94,"../apis/rds-2013-01-10.paginators.json":95,"../apis/rds-2013-02-12.min.json":96,"../apis/rds-2013-02-12.paginators.json":97,"../apis/rds-2013-09-09.min.json":98,"../apis/rds-2013-09-09.paginators.json":99,"../apis/rds-2013-09-09.waiters2.json":100,"../apis/rds-2014-10-31.min.json":101,"../apis/rds-2014-10-31.paginators.json":102,"../apis/rds-2014-10-31.waiters2.json":103,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],172:[function(require,module,exports){ -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; - -},{"../apis/redshift-2012-12-01.min.json":104,"../apis/redshift-2012-12-01.paginators.json":105,"../apis/redshift-2012-12-01.waiters2.json":106,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],173:[function(require,module,exports){ -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; - -},{"../apis/route53-2013-04-01.min.json":107,"../apis/route53-2013-04-01.paginators.json":108,"../apis/route53-2013-04-01.waiters2.json":109,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/route53":233}],174:[function(require,module,exports){ -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; - -},{"../apis/route53domains-2014-05-15.min.json":110,"../apis/route53domains-2014-05-15.paginators.json":111,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],175:[function(require,module,exports){ -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; - -},{"../apis/s3-2006-03-01.min.json":112,"../apis/s3-2006-03-01.paginators.json":113,"../apis/s3-2006-03-01.waiters2.json":114,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/s3":234}],176:[function(require,module,exports){ -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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ServiceCatalog; - -},{"../apis/servicecatalog-2015-12-10.min.json":115,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],177:[function(require,module,exports){ -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; - -},{"../apis/email-2010-12-01.min.json":62,"../apis/email-2010-12-01.paginators.json":63,"../apis/email-2010-12-01.waiters2.json":64,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],178:[function(require,module,exports){ -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; - -},{"../apis/sns-2010-03-31.min.json":116,"../apis/sns-2010-03-31.paginators.json":117,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],179:[function(require,module,exports){ -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; - -},{"../apis/sqs-2012-11-05.min.json":118,"../apis/sqs-2012-11-05.paginators.json":119,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/sqs":235}],180:[function(require,module,exports){ -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; - -},{"../apis/ssm-2014-11-06.min.json":120,"../apis/ssm-2014-11-06.paginators.json":121,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],181:[function(require,module,exports){ -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; - -},{"../apis/storagegateway-2013-06-30.min.json":122,"../apis/storagegateway-2013-06-30.paginators.json":123,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],182:[function(require,module,exports){ -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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.STS; - -},{"../apis/sts-2011-06-15.min.json":125,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/sts":236}],183:[function(require,module,exports){ -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'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.WAF; - -},{"../apis/waf-2015-08-24.min.json":126,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],184:[function(require,module,exports){ -var AWS = require('./core'); - -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]; -}; - -AWS.apiLoader.services = {}; - -module.exports = AWS.apiLoader; -},{"./core":188}],185:[function(require,module,exports){ -(function (process){ -var util = require('./util'); - -util.crypto.lib = require('crypto-browserify'); -util.Buffer = require('buffer/').Buffer; -util.url = require('url/'); -util.querystring = require('querystring/'); - -var AWS = require('./core'); - -require('./api_loader'); - -AWS.XML.Parser = require('./xml/browser_parser'); - -require('./http/xhr'); - -if (typeof process === 'undefined') { - process = { - browser: true - }; -} -}).call(this,require('_process')) -},{"./api_loader":184,"./core":188,"./http/xhr":202,"./util":245,"./xml/browser_parser":246,"_process":250,"buffer/":258,"crypto-browserify":263,"querystring/":271,"url/":272}],186:[function(require,module,exports){ -var AWS = require('../core'), - url = AWS.util.url, - crypto = AWS.util.crypto.lib, - base64Encode = AWS.util.base64.encode, - inherit = AWS.util.inherit; - -var queryEncode = function (string) { - var replacements = { - '+': '-', - '=': '_', - '/': '~' - }; - return string.replace(/[\+=\/]/g, function (match) { - return replacements[match]; - }); -}; - -var signPolicy = function (policy, privateKey) { - var sign = crypto.createSign('RSA-SHA1'); - sign.write(policy); - return queryEncode(sign.sign(privateKey, 'base64')) -}; - -var signWithCannedPolicy = function (url, expires, keyPairId, privateKey) { - var policy = JSON.stringify({ - Statement: [ - { - Resource: url, - Condition: { DateLessThan: { 'AWS:EpochTime': expires } } - } - ] - }); - - return { - Expires: expires, - 'Key-Pair-Id': keyPairId, - Signature: signPolicy(policy.toString(), privateKey) - }; -}; - -var signWithCustomPolicy = function (policy, keyPairId, privateKey) { - policy = policy.replace(/\s/mg, policy); - - return { - Policy: queryEncode(base64Encode(policy)), - 'Key-Pair-Id': keyPairId, - Signature: signPolicy(policy, privateKey) - } -}; - -var determineScheme = function (url) { - var parts = url.split('://'); - if (parts.length < 2) { - throw new Error('Invalid URL.'); - } - - return parts[0].replace('*', ''); -}; - -var getRtmpUrl = function (rtmpUrl) { - var parsed = url.parse(rtmpUrl); - return parsed.path.replace(/^\//, '') + (parsed.hash || ''); -}; - -var getResource = function (url) { - switch (determineScheme(url)) { - case 'http': - case 'https': - return url; - case 'rtmp': - return getRtmpUrl(url); - default: - throw new Error('Invalid URI scheme. Scheme must be one of' - + ' http, https, or rtmp'); - } -}; - -var handleError = function (err, callback) { - if (!callback || typeof callback !== 'function') { - throw err; - } - - callback(err); -}; - -var handleSuccess = function (result, callback) { - if (!callback || typeof callback !== 'function') { - return result; - } - - callback(null, result); -}; - -AWS.CloudFront.Signer = inherit({ - - constructor: function Signer(keyPairId, privateKey) { - if (keyPairId === void 0 || privateKey === void 0) { - throw new Error('A key pair ID and private key are required'); - } - - this.keyPairId = keyPairId; - this.privateKey = privateKey; - }, - - - getSignedCookie: function (options, cb) { - var signatureHash = 'policy' in options - ? signWithCustomPolicy(options.policy, this.keyPairId, this.privateKey) - : signWithCannedPolicy(options.url, options.expires, this.keyPairId, this.privateKey); - - var cookieHash = {}; - for (var key in signatureHash) { - if (Object.prototype.hasOwnProperty.call(signatureHash, key)) { - cookieHash['CloudFront-' + key] = signatureHash[key]; - } - } - - return handleSuccess(cookieHash, cb); - }, - - - getSignedUrl: function (options, cb) { - try { - var resource = getResource(options.url); - } catch (err) { - return handleError(err, cb); - } - - var parsedUrl = url.parse(options.url, true), - signatureHash = Object.prototype.hasOwnProperty.call(options, 'policy') - ? signWithCustomPolicy(options.policy, this.keyPairId, this.privateKey) - : signWithCannedPolicy(resource, options.expires, this.keyPairId, this.privateKey); - - parsedUrl.search = null; - for (var key in signatureHash) { - if (Object.prototype.hasOwnProperty.call(signatureHash, key)) { - parsedUrl.query[key] = signatureHash[key]; - } - } - - try { - var signedUrl = determineScheme(options.url) === 'rtmp' - ? getRtmpUrl(url.format(parsedUrl)) - : url.format(parsedUrl); - } catch (err) { - return handleError(err, cb); - } - - return handleSuccess(signedUrl, cb); - } -}); - -module.exports = AWS.CloudFront.Signer; - -},{"../core":188}],187:[function(require,module,exports){ -var AWS = require('./core'); -require('./credentials'); -require('./credentials/credential_provider_chain'); - - -AWS.Config = AWS.util.inherit({ - - - - 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); - }); - }, - - - - - getCredentials: function getCredentials(callback) { - var self = this; - - function finish(err) { - callback(err, err ? null : self.credentials); - } - - function credError(msg, err) { - return new AWS.util.error(err || new Error(), { - code: 'CredentialsError', message: msg - }); - } - - function getAsyncCredentials() { - self.credentials.get(function(err) { - if (err) { - var msg = 'Could not load credentials from ' + - self.credentials.constructor.name; - err = credError(msg, err); - } - finish(err); - }); - } - - function getStaticCredentials() { - var err = null; - if (!self.credentials.accessKeyId || !self.credentials.secretAccessKey) { - err = credError('Missing credentials'); - } - finish(err); - } - - if (self.credentials) { - if (typeof self.credentials.get === 'function') { - getAsyncCredentials(); - } else { // static credentials - getStaticCredentials(); - } - } else if (self.credentialProvider) { - self.credentialProvider.resolve(function(err, creds) { - if (err) { - err = credError('Could not load credentials from any providers', err); - } - self.credentials = creds; - finish(err); - }); - } else { - finish(credError('No credentials to load')); - } - }, - - - - - 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); - } - }); - }, - - - 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; - }, - - - clear: function clear() { - - AWS.util.each.call(this, this.keys, function (key) { - delete this[key]; - }); - - this.set('credentials', undefined); - this.set('credentialProvider', undefined); - }, - - - 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]) { - this[property] = AWS.util.merge(this[property], value); - } else { - this[property] = value; - } - }, - - - 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: { - base: 100 - }, - useAccelerateEndpoint: false - }, - - - extractCredentials: function extractCredentials(options) { - if (options.accessKeyId && options.secretAccessKey) { - options = AWS.util.copy(options); - options.credentials = new AWS.Credentials(options); - } - return options; - }, - - - setPromisesDependency: function setPromisesDependency(dep) { - AWS.util.addPromisesToRequests(AWS.Request, dep); - } -}); - - -AWS.config = new AWS.Config(); - -},{"./core":188,"./credentials":189,"./credentials/credential_provider_chain":191}],188:[function(require,module,exports){ - -var AWS = { util: require('./util') }; - - -var _hidden = {}; _hidden.toString(); // hack to parse macro - -module.exports = AWS; - -AWS.util.update(AWS, { - - - VERSION: '2.6.8', - - - Signers: {}, - - - Protocol: { - Json: require('./protocol/json'), - Query: require('./protocol/query'), - Rest: require('./protocol/rest'), - RestJson: require('./protocol/rest_json'), - RestXml: require('./protocol/rest_xml') - }, - - - XML: { - Builder: require('./xml/builder'), - Parser: null // conditionally set based on environment - }, - - - JSON: { - Builder: require('./json/builder'), - Parser: require('./json/parser') - }, - - - Model: { - Api: require('./model/api'), - Operation: require('./model/operation'), - Shape: require('./model/shape'), - Paginator: require('./model/paginator'), - ResourceWaiter: require('./model/resource_waiter') - }, - - util: require('./util'), - - - apiLoader: function() { throw new Error('No API loader set'); } -}); - -require('./service'); - -require('./credentials'); -require('./credentials/credential_provider_chain'); -require('./credentials/temporary_credentials'); -require('./credentials/web_identity_credentials'); -require('./credentials/cognito_identity_credentials'); -require('./credentials/saml_credentials'); - -require('./config'); -require('./http'); -require('./sequential_executor'); -require('./event_listeners'); -require('./request'); -require('./response'); -require('./resource_waiter'); -require('./signers/request_signer'); -require('./param_validator'); - - -AWS.events = new AWS.SequentialExecutor(); - -},{"./config":187,"./credentials":189,"./credentials/cognito_identity_credentials":190,"./credentials/credential_provider_chain":191,"./credentials/saml_credentials":192,"./credentials/temporary_credentials":193,"./credentials/web_identity_credentials":194,"./event_listeners":200,"./http":201,"./json/builder":203,"./json/parser":204,"./model/api":205,"./model/operation":207,"./model/paginator":208,"./model/resource_waiter":209,"./model/shape":210,"./param_validator":211,"./protocol/json":212,"./protocol/query":213,"./protocol/rest":214,"./protocol/rest_json":215,"./protocol/rest_xml":216,"./request":220,"./resource_waiter":221,"./response":222,"./sequential_executor":224,"./service":225,"./signers/request_signer":238,"./util":245,"./xml/builder":247}],189:[function(require,module,exports){ -var AWS = require('./core'); - - -AWS.Credentials = AWS.util.inherit({ - - constructor: function Credentials() { - 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]; - } - }, - - - expiryWindow: 15, - - - 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; - } - }, - - - get: function get(callback) { - var self = this; - if (this.needsRefresh()) { - this.refresh(function(err) { - if (!err) self.expired = false; // reset expired flag - if (callback) callback(err); - }); - } else if (callback) { - callback(); - } - }, - - - refresh: function refresh(callback) { - this.expired = false; - callback(); - } -}); - -},{"./core":188}],190:[function(require,module,exports){ -var AWS = require('../core'); -var CognitoIdentity = require('../../clients/cognitoidentity'); -var STS = require('../../clients/sts'); - - -AWS.CognitoIdentityCredentials = AWS.util.inherit(AWS.Credentials, { - - localStorageKey: { - id: 'aws.cognito.identity-id.', - providers: 'aws.cognito.identity-providers.' - }, - - - constructor: function CognitoIdentityCredentials(params) { - AWS.Credentials.call(this); - this.expired = true; - this.params = params; - this.data = null; - this.identityId = null; - this.loadCachedId(); - }, - - - refresh: function refresh(callback) { - var self = this; - self.createClients(); - self.data = null; - self.identityId = null; - self.getId(function(err) { - if (!err) { - if (!self.params.RoleArn) { - self.getCredentialsForIdentity(callback); - } else { - self.getCredentialsFromSTS(callback); - } - } else { - self.clearIdOnNotAuthorized(err); - callback(err); - } - }); - }, - - - clearCachedId: function clearCache() { - this.identityId = null; - delete this.params.IdentityId; - - var poolId = this.params.IdentityPoolId; - var loginId = this.params.LoginId || ''; - delete this.storage[this.localStorageKey.id + poolId + loginId]; - delete this.storage[this.localStorageKey.providers + poolId + loginId]; - }, - - - clearIdOnNotAuthorized: function clearIdOnNotAuthorized(err) { - var self = this; - if (err.code == 'NotAuthorizedException') { - self.clearCachedId(); - } - }, - - - getId: function getId(callback) { - var self = this; - if (typeof self.params.IdentityId === 'string') { - return callback(null, self.params.IdentityId); - } - - self.cognito.getId(function(err, data) { - if (!err && data.IdentityId) { - self.params.IdentityId = data.IdentityId; - callback(null, data.IdentityId); - } else { - callback(err); - } - }); - }, - - - - loadCredentials: function loadCredentials(data, credentials) { - if (!data || !credentials) return; - credentials.expired = false; - credentials.accessKeyId = data.Credentials.AccessKeyId; - credentials.secretAccessKey = data.Credentials.SecretKey; - credentials.sessionToken = data.Credentials.SessionToken; - credentials.expireTime = data.Credentials.Expiration; - }, - - - getCredentialsForIdentity: function getCredentialsForIdentity(callback) { - var self = this; - self.cognito.getCredentialsForIdentity(function(err, data) { - if (!err) { - self.cacheId(data); - self.data = data; - self.loadCredentials(self.data, self); - } else { - self.clearIdOnNotAuthorized(err); - } - callback(err); - }); - }, - - - getCredentialsFromSTS: function getCredentialsFromSTS(callback) { - var self = this; - self.cognito.getOpenIdToken(function(err, data) { - if (!err) { - self.cacheId(data); - self.params.WebIdentityToken = data.Token; - self.webIdentityCredentials.refresh(function(webErr) { - if (!webErr) { - self.data = self.webIdentityCredentials.data; - self.sts.credentialsFrom(self.data, self); - } - callback(webErr); - }); - } else { - self.clearIdOnNotAuthorized(err); - callback(err); - } - }); - }, - - - loadCachedId: function loadCachedId() { - var self = this; - - if (AWS.util.isBrowser() && !self.params.IdentityId) { - var id = self.getStorage('id'); - if (id && self.params.Logins) { - var actualProviders = Object.keys(self.params.Logins); - var cachedProviders = - (self.getStorage('providers') || '').split(','); - - var intersect = cachedProviders.filter(function(n) { - return actualProviders.indexOf(n) !== -1; - }); - if (intersect.length !== 0) { - self.params.IdentityId = id; - } - } else if (id) { - self.params.IdentityId = id; - } - } - }, - - - createClients: function() { - this.webIdentityCredentials = this.webIdentityCredentials || - new AWS.WebIdentityCredentials(this.params); - this.cognito = this.cognito || - new CognitoIdentity({params: this.params}); - this.sts = this.sts || new STS(); - }, - - - cacheId: function cacheId(data) { - this.identityId = data.IdentityId; - this.params.IdentityId = this.identityId; - - if (AWS.util.isBrowser()) { - this.setStorage('id', data.IdentityId); - - if (this.params.Logins) { - this.setStorage('providers', Object.keys(this.params.Logins).join(',')); - } - } - }, - - - getStorage: function getStorage(key) { - return this.storage[this.localStorageKey[key] + this.params.IdentityPoolId + (this.params.LoginId || '')]; - }, - - - setStorage: function setStorage(key, val) { - try { - this.storage[this.localStorageKey[key] + this.params.IdentityPoolId + (this.params.LoginId || '')] = val; - } catch (_) {} - }, - - - storage: (function() { - try { - return AWS.util.isBrowser() && window.localStorage !== null && typeof window.localStorage === 'object' ? - window.localStorage : {}; - } catch (_) { - return {}; - } - })() -}); - -},{"../../clients/cognitoidentity":142,"../../clients/sts":182,"../core":188}],191:[function(require,module,exports){ -var AWS = require('../core'); - - -AWS.CredentialProviderChain = AWS.util.inherit(AWS.Credentials, { - - - constructor: function CredentialProviderChain(providers) { - if (providers) { - this.providers = providers; - } else { - this.providers = AWS.CredentialProviderChain.defaultProviders.slice(0); - } - }, - - - resolve: function resolve(callback) { - if (this.providers.length === 0) { - callback(new Error('No providers')); - return this; - } - - var index = 0; - var providers = this.providers.slice(0); - - function resolveNext(err, creds) { - if ((!err && creds) || index === providers.length) { - callback(err, creds); - return; - } - - var provider = providers[index++]; - if (typeof provider === 'function') { - creds = provider.call(); - } else { - creds = provider; - } - - if (creds.get) { - creds.get(function(getErr) { - resolveNext(getErr, getErr ? null : creds); - }); - } else { - resolveNext(null, creds); - } - } - - resolveNext(); - return this; - } - -}); - - -AWS.CredentialProviderChain.defaultProviders = []; - -},{"../core":188}],192:[function(require,module,exports){ -var AWS = require('../core'); -var STS = require('../../clients/sts'); - - -AWS.SAMLCredentials = AWS.util.inherit(AWS.Credentials, { - - constructor: function SAMLCredentials(params) { - AWS.Credentials.call(this); - this.expired = true; - this.params = params; - }, - - - refresh: function refresh(callback) { - var self = this; - self.createClients(); - if (!callback) callback = function(err) { if (err) throw err; }; - - self.service.assumeRoleWithSAML(function (err, data) { - if (!err) { - self.service.credentialsFrom(data, self); - } - callback(err); - }); - }, - - - createClients: function() { - this.service = this.service || new STS({params: this.params}); - } - -}); - -},{"../../clients/sts":182,"../core":188}],193:[function(require,module,exports){ -var AWS = require('../core'); -var STS = require('../../clients/sts'); - - -AWS.TemporaryCredentials = AWS.util.inherit(AWS.Credentials, { - - constructor: function TemporaryCredentials(params) { - AWS.Credentials.call(this); - this.loadMasterCredentials(); - this.expired = true; - - this.params = params || {}; - if (this.params.RoleArn) { - this.params.RoleSessionName = - this.params.RoleSessionName || 'temporary-credentials'; - } - }, - - - refresh: function refresh(callback) { - var self = this; - self.createClients(); - if (!callback) callback = function(err) { if (err) throw err; }; - - self.service.config.credentials = self.masterCredentials; - var operation = self.params.RoleArn ? - self.service.assumeRole : self.service.getSessionToken; - operation.call(self.service, function (err, data) { - if (!err) { - self.service.credentialsFrom(data, self); - } - callback(err); - }); - }, - - - loadMasterCredentials: function loadMasterCredentials() { - this.masterCredentials = AWS.config.credentials; - while (this.masterCredentials.masterCredentials) { - this.masterCredentials = this.masterCredentials.masterCredentials; - } - }, - - - createClients: function() { - this.service = this.service || new STS({params: this.params}); - } - -}); - -},{"../../clients/sts":182,"../core":188}],194:[function(require,module,exports){ -var AWS = require('../core'); -var STS = require('../../clients/sts'); - - -AWS.WebIdentityCredentials = AWS.util.inherit(AWS.Credentials, { - - constructor: function WebIdentityCredentials(params) { - AWS.Credentials.call(this); - this.expired = true; - this.params = params; - this.params.RoleSessionName = this.params.RoleSessionName || 'web-identity'; - this.data = null; - }, - - - refresh: function refresh(callback) { - var self = this; - self.createClients(); - if (!callback) callback = function(err) { if (err) throw err; }; - - self.service.assumeRoleWithWebIdentity(function (err, data) { - self.data = null; - if (!err) { - self.data = data; - self.service.credentialsFrom(data, self); - } - callback(err); - }); - }, - - - createClients: function() { - this.service = this.service || new STS({params: this.params}); - } - -}); - -},{"../../clients/sts":182,"../core":188}],195:[function(require,module,exports){ -var util = require('../core').util; -var typeOf = require('./types').typeOf; -var DynamoDBSet = require('./set'); - -function convertInput(data) { - if (typeOf(data) === 'Object') { - var map = {M: {}}; - for (var key in data) { - map['M'][key] = convertInput(data[key]); - } - return map; - } else if (typeOf(data) === 'Array') { - var list = {L: []}; - for (var i = 0; i < data.length; i++) { - list['L'].push(convertInput(data[i])); - } - return list; - } else if (typeOf(data) === 'Set') { - return formatSet(data); - } else if (typeOf(data) === 'String') { - return { 'S': data }; - } else if (typeOf(data) === 'Number') { - return { 'N': data.toString() }; - } else if (typeOf(data) === 'Binary') { - return { 'B': data }; - } else if (typeOf(data) === 'Boolean') { - return {'BOOL': data}; - } else if (typeOf(data) === 'null') { - return {'NULL': true}; - } -} - -function formatSet(data) { - var map = {}; - switch (data.type) { - case 'String': map['SS'] = data.values; break; - case 'Binary': map['BS'] = data.values; break; - case 'Number': map['NS'] = data.values.map(function (value) { - return value.toString(); - }); - } - return map; -} - -function convertOutput(data) { - var list, map, i; - for (var type in data) { - var values = data[type]; - if (type === 'M') { - map = {}; - for (var key in values) { - map[key] = convertOutput(values[key]); - } - return map; - } else if (type === 'L') { - list = []; - for (i = 0; i < values.length; i++) { - list.push(convertOutput(values[i])); - } - return list; - } else if (type === 'SS') { - list = []; - for (i = 0; i < values.length; i++) { - list.push(values[i] + ''); - } - return new DynamoDBSet(list); - } else if (type === 'NS') { - list = []; - for (i = 0; i < values.length; i++) { - list.push(Number(values[i])); - } - return new DynamoDBSet(list); - } else if (type === 'BS') { - list = []; - for (i = 0; i < values.length; i++) { - list.push(new util.Buffer(values[i])); - } - return new DynamoDBSet(list); - } else if (type === 'S') { - return values + ''; - } else if (type === 'N') { - return Number(values); - } else if (type === 'B') { - return new util.Buffer(values); - } else if (type === 'BOOL') { - return (values === 'true' || values === 'TRUE' || values === true); - } else if (type === 'NULL') { - return null; - } - } -} - -module.exports = { - input: convertInput, - output: convertOutput -}; - -},{"../core":188,"./set":197,"./types":199}],196:[function(require,module,exports){ -var AWS = require('../core'); -var Translator = require('./translator'); -var DynamoDBSet = require('./set'); - - -AWS.DynamoDB.DocumentClient = AWS.util.inherit({ - - - operations: { - batchGetItem: 'batchGet', - batchWriteItem: 'batchWrite', - putItem: 'put', - getItem: 'get', - deleteItem: 'delete', - updateItem: 'update', - scan: 'scan', - query: 'query' - }, - - - constructor: function DocumentClient(options) { - var self = this; - self.options = options || {}; - self.configure(self.options); - }, - - - configure: function configure(options) { - var self = this; - self.service = options.service; - self.bindServiceObject(options); - self.attrValue = - self.service.api.operations.putItem.input.members.Item.value.shape; - }, - - - bindServiceObject: function bindServiceObject(options) { - var self = this; - options = options || {}; - - if (!self.service) { - self.service = new AWS.DynamoDB(options); - } else { - var config = AWS.util.copy(self.service.config); - self.service = new self.service.constructor.__super__(config); - self.service.config.params = - AWS.util.merge(self.service.config.params || {}, options.params); - } - }, - - - batchGet: function(params, callback) { - var self = this; - var request = self.service.batchGetItem(params); - self.setupRequest(request); - self.setupResponse(request); - if (typeof callback === 'function') { - request.send(callback); - } - return request; - }, - - - batchWrite: function(params, callback) { - var self = this; - var request = self.service.batchWriteItem(params); - self.setupRequest(request); - self.setupResponse(request); - if (typeof callback === 'function') { - request.send(callback); - } - return request; - }, - - - delete: function(params, callback) { - var self = this; - var request = self.service.deleteItem(params); - self.setupRequest(request); - self.setupResponse(request); - if (typeof callback === 'function') { - request.send(callback); - } - return request; - }, - - - get: function(params, callback) { - var self = this; - var request = self.service.getItem(params); - self.setupRequest(request); - self.setupResponse(request); - if (typeof callback === 'function') { - request.send(callback); - } - return request; - }, - - - put: function put(params, callback) { - var self = this; - var request = self.service.putItem(params); - self.setupRequest(request); - self.setupResponse(request); - if (typeof callback === 'function') { - request.send(callback); - } - return request; - }, - - - update: function(params, callback) { - var self = this; - var request = self.service.updateItem(params); - self.setupRequest(request); - self.setupResponse(request); - if (typeof callback === 'function') { - request.send(callback); - } - return request; - }, - - - scan: function(params, callback) { - var self = this; - var request = self.service.scan(params); - self.setupRequest(request); - self.setupResponse(request); - if (typeof callback === 'function') { - request.send(callback); - } - return request; - }, - - - query: function(params, callback) { - var self = this; - var request = self.service.query(params); - self.setupRequest(request); - self.setupResponse(request); - if (typeof callback === 'function') { - request.send(callback); - } - return request; - }, - - - createSet: function(list, options) { - options = options || {}; - return new DynamoDBSet(list, options); - }, - - - getTranslator: function() { - return new Translator({attrValue: this.attrValue}); - }, - - - setupRequest: function setupRequest(request) { - var self = this; - var translator = self.getTranslator(); - var operation = request.operation; - var inputShape = request.service.api.operations[operation].input; - request._events.validate.unshift(function(req) { - req.rawParams = AWS.util.copy(req.params); - req.params = translator.translateInput(req.rawParams, inputShape); - }); - }, - - - setupResponse: function setupResponse(request) { - var self = this; - var translator = self.getTranslator(); - var outputShape = self.service.api.operations[request.operation].output; - request.on('extractData', function(response) { - response.data = translator.translateOutput(response.data, outputShape); - }); - - var response = request.response; - response.nextPage = function(cb) { - var resp = this; - var req = resp.request; - var config; - var service = req.service; - var operation = req.operation; - try { - config = service.paginationConfig(operation, true); - } catch (e) { resp.error = e; } - - if (!resp.hasNextPage()) { - if (cb) cb(resp.error, null); - else if (resp.error) throw resp.error; - return null; - } - - var params = AWS.util.copy(req.rawParams); - if (!resp.nextPageTokens) { - return cb ? cb(null, null) : null; - } else { - var inputTokens = config.inputToken; - if (typeof inputTokens === 'string') inputTokens = [inputTokens]; - for (var i = 0; i < inputTokens.length; i++) { - params[inputTokens[i]] = resp.nextPageTokens[i]; - } - return self[operation](params, cb); - } - }; - } - -}); - -module.exports = AWS.DynamoDB.DocumentClient; - -},{"../core":188,"./set":197,"./translator":198}],197:[function(require,module,exports){ -var util = require('../core').util; -var typeOf = require('./types').typeOf; - -var DynamoDBSet = util.inherit({ - - constructor: function Set(list, options) { - options = options || {}; - this.initialize(list, options.validate); - }, - - initialize: function(list, validate) { - var self = this; - self.values = [].concat(list); - self.detectType(); - if (validate) { - self.validate(); - } - }, - - detectType: function() { - var self = this; - var value = self.values[0]; - if (typeOf(value) === 'String') { - self.type = 'String'; - } else if (typeOf(value) === 'Number') { - self.type = 'Number'; - } else if (typeOf(value) === 'Binary') { - self.type = 'Binary'; - } else { - throw util.error(new Error(), { - code: 'InvalidSetType', - message: 'Sets can contain string, number, or binary values' - }); - } - }, - - validate: function() { - var self = this; - var length = self.values.length; - var values = self.values; - for (var i = 0; i < length; i++) { - if (typeOf(values[i]) !== self.type) { - throw util.error(new Error(), { - code: 'InvalidType', - message: self.type + ' Set contains ' + typeOf(values[i]) + ' value' - }); - } - } - } - -}); - -module.exports = DynamoDBSet; - -},{"../core":188,"./types":199}],198:[function(require,module,exports){ -var util = require('../core').util; -var convert = require('./converter'); - -var Translator = function(options) { - options = options || {}; - this.attrValue = options.attrValue; -}; - -Translator.prototype.translateInput = function(value, shape) { - this.mode = 'input'; - return this.translate(value, shape); -}; - -Translator.prototype.translateOutput = function(value, shape) { - this.mode = 'output'; - return this.translate(value, shape); -}; - -Translator.prototype.translate = function(value, shape) { - var self = this; - if (!shape || value === undefined) return undefined; - - if (shape.shape === self.attrValue) { - return convert[self.mode](value); - } - switch (shape.type) { - case 'structure': return self.translateStructure(value, shape); - case 'map': return self.translateMap(value, shape); - case 'list': return self.translateList(value, shape); - default: return self.translateScalar(value, shape); - } -}; - -Translator.prototype.translateStructure = function(structure, shape) { - var self = this; - if (structure == null) return undefined; - - var struct = {}; - util.each(structure, function(name, value) { - var memberShape = shape.members[name]; - if (memberShape) { - var result = self.translate(value, memberShape); - if (result !== undefined) struct[name] = result; - } - }); - return struct; -}; - -Translator.prototype.translateList = function(list, shape) { - var self = this; - if (list == null) return undefined; - - var out = []; - util.arrayEach(list, function(value) { - var result = self.translate(value, shape.member); - if (result === undefined) out.push(null); - else out.push(result); - }); - return out; -}; - -Translator.prototype.translateMap = function(map, shape) { - var self = this; - if (map == null) return undefined; - - var out = {}; - util.each(map, function(key, value) { - var result = self.translate(value, shape.value); - if (result === undefined) out[key] = null; - else out[key] = result; - }); - return out; -}; - -Translator.prototype.translateScalar = function(value, shape) { - return shape.toType(value); -}; - -module.exports = Translator; - -},{"../core":188,"./converter":195}],199:[function(require,module,exports){ -var util = require('../core').util; - -function typeOf(data) { - if (data === null && typeof data === 'object') { - return 'null'; - } else if (data !== undefined && isBinary(data)) { - return 'Binary'; - } else if (data !== undefined && data.constructor) { - return util.typeName(data.constructor); - } else { - return 'undefined'; - } -} - -function isBinary(data) { - var types = [ - 'Buffer', 'File', 'Blob', 'ArrayBuffer', 'DataView', - 'Int8Array', 'Uint8Array', 'Uint8ClampedArray', - 'Int16Array', 'Uint16Array', 'Int32Array', 'Uint32Array', - 'Float32Array', 'Float64Array' - ]; - if (util.isNode()) { - var Stream = util.stream.Stream; - if (util.Buffer.isBuffer(data) || data instanceof Stream) - return true; - } else { - for (var i = 0; i < types.length; i++) { - if (data !== undefined && data.constructor) { - if (util.isType(data, types[i])) return true; - if (util.typeName(data.constructor) === types[i]) return true; - } - } - } - return false; -} - -module.exports = { - typeOf: typeOf, - isBinary: isBinary -}; - -},{"../core":188}],200:[function(require,module,exports){ -var AWS = require('./core'); -var SequentialExecutor = require('./sequential_executor'); - - -AWS.EventListeners = { - - Core: {} /* doc hack */ -}; - -AWS.EventListeners = { - Core: new SequentialExecutor().addNamedListeners(function(add, addAsync) { - addAsync('VALIDATE_CREDENTIALS', 'validate', - function VALIDATE_CREDENTIALS(req, done) { - if (!req.service.api.signatureVersion) return done(); // none - req.service.config.getCredentials(function(err) { - if (err) { - req.response.error = AWS.util.error(err, - {code: 'CredentialsError', message: 'Missing credentials in config'}); - } - done(); - }); - }); - - add('VALIDATE_REGION', 'validate', function VALIDATE_REGION(req) { - if (!req.service.config.region && !req.service.isGlobalEndpoint) { - req.response.error = AWS.util.error(new Error(), - {code: 'ConfigError', message: 'Missing region in config'}); - } - }); - - add('VALIDATE_PARAMETERS', 'validate', function VALIDATE_PARAMETERS(req) { - var rules = req.service.api.operations[req.operation].input; - var validation = req.service.config.paramValidation; - new AWS.ParamValidator(validation).validate(rules, req.params); - }); - - addAsync('COMPUTE_SHA256', 'afterBuild', function COMPUTE_SHA256(req, done) { - req.haltHandlersOnError(); - if (!req.service.api.signatureVersion) return done(); // none - if (req.service.getSignerClass(req) === AWS.Signers.V4) { - var body = req.httpRequest.body || ''; - AWS.util.computeSha256(body, function(err, sha) { - if (err) { - done(err); - } - else { - req.httpRequest.headers['X-Amz-Content-Sha256'] = sha; - done(); - } - }); - } else { - done(); - } - }); - - add('SET_CONTENT_LENGTH', 'afterBuild', function SET_CONTENT_LENGTH(req) { - if (req.httpRequest.headers['Content-Length'] === undefined) { - var length = AWS.util.string.byteLength(req.httpRequest.body); - req.httpRequest.headers['Content-Length'] = length; - } - }); - - add('SET_HTTP_HOST', 'afterBuild', function SET_HTTP_HOST(req) { - req.httpRequest.headers['Host'] = req.httpRequest.endpoint.host; - }); - - add('RESTART', 'restart', function RESTART() { - var err = this.response.error; - if (!err || !err.retryable) return; - - this.httpRequest = new AWS.HttpRequest( - this.service.endpoint, - this.service.region - ); - - if (this.response.retryCount < this.service.config.maxRetries) { - this.response.retryCount++; - } else { - this.response.error = null; - } - }); - - addAsync('SIGN', 'sign', function SIGN(req, done) { - var service = req.service; - if (!service.api.signatureVersion) 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, - service.config.signatureCache); - signer.setServiceClientId(service._clientId); - - delete req.httpRequest.headers['Authorization']; - delete req.httpRequest.headers['Date']; - delete req.httpRequest.headers['X-Amz-Date']; - - signer.addAuthorization(credentials, date); - req.signedAt = date; - } catch (e) { - req.response.error = e; - } - done(); - }); - }); - - add('VALIDATE_RESPONSE', 'validateResponse', function VALIDATE_RESPONSE(resp) { - if (this.service.successfulResponse(resp, this)) { - resp.data = {}; - resp.error = null; - } else { - resp.data = null; - resp.error = AWS.util.error(new Error(), - {code: 'UnknownError', message: 'An unknown error occurred.'}); - } - }); - - addAsync('SEND', 'send', function SEND(resp, done) { - resp.httpResponse._abortCallback = done; - resp.error = null; - resp.data = null; - - function callback(httpResp) { - resp.httpResponse.stream = httpResp; - - httpResp.on('headers', function onHeaders(statusCode, headers) { - resp.request.emit('httpHeaders', [statusCode, headers, resp]); - - if (!resp.httpResponse.streaming) { - if (AWS.HttpClient.streamsApiVersion === 2) { // streams2 API check - httpResp.on('readable', function onReadable() { - var data = httpResp.read(); - if (data !== null) { - resp.request.emit('httpData', [data, resp]); - } - }); - } else { // legacy streams API - httpResp.on('data', function onData(data) { - resp.request.emit('httpData', [data, resp]); - }); - } - } - }); - - httpResp.on('end', function onEnd() { - resp.request.emit('httpDone'); - done(); - }); - } - - function progress(httpResp) { - httpResp.on('sendProgress', function onSendProgress(value) { - resp.request.emit('httpUploadProgress', [value, resp]); - }); - - httpResp.on('receiveProgress', function onReceiveProgress(value) { - resp.request.emit('httpDownloadProgress', [value, resp]); - }); - } - - function error(err) { - resp.error = AWS.util.error(err, { - code: 'NetworkingError', - region: resp.request.httpRequest.region, - hostname: resp.request.httpRequest.endpoint.hostname, - retryable: true - }); - resp.request.emit('httpError', [resp.error, resp], function() { - done(); - }); - } - - function executeSend() { - var http = AWS.HttpClient.getInstance(); - var httpOptions = resp.request.service.config.httpOptions || {}; - try { - var stream = http.handleRequest(resp.request.httpRequest, httpOptions, - callback, error); - progress(stream); - } catch (err) { - error(err); - } - } - - var timeDiff = (AWS.util.date.getDate() - this.signedAt) / 1000; - if (timeDiff >= 60 * 10) { // if we signed 10min ago, re-sign - this.emit('sign', [this], function(err) { - if (err) done(err); - else executeSend(); - }); - } else { - executeSend(); - } - }); - - add('HTTP_HEADERS', 'httpHeaders', - function HTTP_HEADERS(statusCode, headers, resp) { - resp.httpResponse.statusCode = statusCode; - resp.httpResponse.headers = headers; - resp.httpResponse.body = new AWS.util.Buffer(''); - resp.httpResponse.buffers = []; - resp.httpResponse.numBytes = 0; - var dateHeader = headers.date || headers.Date; - if (dateHeader) { - var serverTime = Date.parse(dateHeader); - if (resp.request.service.config.correctClockSkew - && AWS.util.isClockSkewed(serverTime)) { - AWS.util.applyClockOffset(serverTime); - } - } - }); - - add('HTTP_DATA', 'httpData', function HTTP_DATA(chunk, resp) { - if (chunk) { - if (AWS.util.isNode()) { - resp.httpResponse.numBytes += chunk.length; - - var total = resp.httpResponse.headers['content-length']; - var progress = { loaded: resp.httpResponse.numBytes, total: total }; - resp.request.emit('httpDownloadProgress', [progress, resp]); - } - - resp.httpResponse.buffers.push(new AWS.util.Buffer(chunk)); - } - }); - - add('HTTP_DONE', 'httpDone', function HTTP_DONE(resp) { - if (resp.httpResponse.buffers && resp.httpResponse.buffers.length > 0) { - var body = AWS.util.buffer.concat(resp.httpResponse.buffers); - resp.httpResponse.body = body; - } - delete resp.httpResponse.numBytes; - delete resp.httpResponse.buffers; - }); - - add('FINALIZE_ERROR', 'retry', function FINALIZE_ERROR(resp) { - if (resp.httpResponse.statusCode) { - resp.error.statusCode = resp.httpResponse.statusCode; - if (resp.error.retryable === undefined) { - resp.error.retryable = this.service.retryableError(resp.error, this); - } - } - }); - - add('INVALIDATE_CREDENTIALS', 'retry', function INVALIDATE_CREDENTIALS(resp) { - if (!resp.error) return; - switch (resp.error.code) { - case 'RequestExpired': // EC2 only - case 'ExpiredTokenException': - case 'ExpiredToken': - resp.error.retryable = true; - resp.request.service.config.credentials.expired = true; - } - }); - - add('EXPIRED_SIGNATURE', 'retry', function EXPIRED_SIGNATURE(resp) { - var err = resp.error; - if (!err) return; - if (typeof err.code === 'string' && typeof err.message === 'string') { - if (err.code.match(/Signature/) && err.message.match(/expired/)) { - resp.error.retryable = true; - } - } - }); - - add('CLOCK_SKEWED', 'retry', function CLOCK_SKEWED(resp) { - if (!resp.error) return; - if (this.service.clockSkewError(resp.error) - && this.service.config.correctClockSkew - && AWS.config.isClockSkewed) { - resp.error.retryable = true; - } - }); - - add('REDIRECT', 'retry', function REDIRECT(resp) { - if (resp.error && resp.error.statusCode >= 300 && - resp.error.statusCode < 400 && resp.httpResponse.headers['location']) { - this.httpRequest.endpoint = - new AWS.Endpoint(resp.httpResponse.headers['location']); - this.httpRequest.headers['Host'] = this.httpRequest.endpoint.host; - resp.error.redirect = true; - resp.error.retryable = true; - } - }); - - add('RETRY_CHECK', 'retry', function RETRY_CHECK(resp) { - if (resp.error) { - if (resp.error.redirect && resp.redirectCount < resp.maxRedirects) { - resp.error.retryDelay = 0; - } else if (resp.retryCount < resp.maxRetries) { - resp.error.retryDelay = this.service.retryDelays(resp.retryCount) || 0; - } - } - }); - - addAsync('RESET_RETRY_STATE', 'afterRetry', function RESET_RETRY_STATE(resp, done) { - var delay, willRetry = false; - - if (resp.error) { - delay = resp.error.retryDelay || 0; - if (resp.error.retryable && resp.retryCount < resp.maxRetries) { - resp.retryCount++; - willRetry = true; - } else if (resp.error.redirect && resp.redirectCount < resp.maxRedirects) { - resp.redirectCount++; - willRetry = true; - } - } - - if (willRetry) { - resp.error = null; - setTimeout(done, delay); - } else { - done(); - } - }); - }), - - CorePost: new SequentialExecutor().addNamedListeners(function(add) { - add('EXTRACT_REQUEST_ID', 'extractData', AWS.util.extractRequestId); - add('EXTRACT_REQUEST_ID', 'extractError', AWS.util.extractRequestId); - - add('ENOTFOUND_ERROR', 'httpError', function ENOTFOUND_ERROR(err) { - if (err.code === 'NetworkingError' && err.errno === 'ENOTFOUND') { - var message = 'Inaccessible host: `' + err.hostname + - '\'. This service may not be available in the `' + err.region + - '\' region.'; - this.response.error = AWS.util.error(new Error(message), { - code: 'UnknownEndpoint', - region: err.region, - hostname: err.hostname, - retryable: true, - originalError: err - }); - } - }); - }), - - Logger: new SequentialExecutor().addNamedListeners(function(add) { - add('LOG_REQUEST', 'complete', function LOG_REQUEST(resp) { - var req = resp.request; - var logger = req.service.config.logger; - if (!logger) return; - - function buildMessage() { - var time = AWS.util.date.getDate().getTime(); - var delta = (time - req.startTime.getTime()) / 1000; - var ansi = logger.isTTY ? true : false; - var status = resp.httpResponse.statusCode; - var params = require('util').inspect(req.params, true, null); - - var message = ''; - if (ansi) message += '\x1B[33m'; - message += '[AWS ' + req.service.serviceIdentifier + ' ' + status; - message += ' ' + delta.toString() + 's ' + resp.retryCount + ' retries]'; - if (ansi) message += '\x1B[0;1m'; - message += ' ' + AWS.util.string.lowerFirst(req.operation); - message += '(' + params + ')'; - if (ansi) message += '\x1B[0m'; - return message; - } - - var line = buildMessage(); - if (typeof logger.log === 'function') { - logger.log(line); - } else if (typeof logger.write === 'function') { - logger.write(line + '\n'); - } - }); - }), - - Json: new SequentialExecutor().addNamedListeners(function(add) { - var svc = require('./protocol/json'); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }), - - Rest: new SequentialExecutor().addNamedListeners(function(add) { - var svc = require('./protocol/rest'); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }), - - RestJson: new SequentialExecutor().addNamedListeners(function(add) { - var svc = require('./protocol/rest_json'); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }), - - RestXml: new SequentialExecutor().addNamedListeners(function(add) { - var svc = require('./protocol/rest_xml'); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }), - - Query: new SequentialExecutor().addNamedListeners(function(add) { - var svc = require('./protocol/query'); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }) -}; - -},{"./core":188,"./protocol/json":212,"./protocol/query":213,"./protocol/rest":214,"./protocol/rest_json":215,"./protocol/rest_xml":216,"./sequential_executor":224,"util":257}],201:[function(require,module,exports){ -var AWS = require('./core'); -var inherit = AWS.util.inherit; - - -AWS.Endpoint = inherit({ - - - constructor: function Endpoint(endpoint, config) { - AWS.util.hideProperties(this, ['slashes', 'auth', 'hash', 'search', 'query']); - - if (typeof endpoint === 'undefined' || endpoint === null) { - throw new Error('Invalid endpoint: ' + endpoint); - } else if (typeof endpoint !== 'string') { - return AWS.util.copy(endpoint); - } - - if (!endpoint.match(/^http/)) { - var useSSL = config && config.sslEnabled !== undefined ? - config.sslEnabled : AWS.config.sslEnabled; - endpoint = (useSSL ? 'https' : 'http') + '://' + endpoint; - } - - AWS.util.update(this, AWS.util.urlParse(endpoint)); - - if (this.port) { - this.port = parseInt(this.port, 10); - } else { - this.port = this.protocol === 'https:' ? 443 : 80; - } - } - -}); - - -AWS.HttpRequest = inherit({ - - - constructor: function HttpRequest(endpoint, region, customUserAgent) { - endpoint = new AWS.Endpoint(endpoint); - this.method = 'POST'; - this.path = endpoint.path || '/'; - this.headers = {}; - this.body = ''; - this.endpoint = endpoint; - this.region = region; - this.setUserAgent(customUserAgent); - }, - - - setUserAgent: function setUserAgent(customUserAgent) { - var prefix = AWS.util.isBrowser() ? 'X-Amz-' : ''; - var customSuffix = ''; - if (typeof customUserAgent === 'string' && customUserAgent) { - customSuffix += ' ' + customUserAgent; - } - this.headers[prefix + 'User-Agent'] = AWS.util.userAgent() + customSuffix; - }, - - - pathname: function pathname() { - return this.path.split('?', 1)[0]; - }, - - - search: function search() { - var query = this.path.split('?', 2)[1]; - if (query) { - query = AWS.util.queryStringParse(query); - return AWS.util.queryParamsToString(query); - } - return ''; - } - -}); - - -AWS.HttpResponse = inherit({ - - - constructor: function HttpResponse() { - this.statusCode = undefined; - this.headers = {}; - this.body = undefined; - this.streaming = false; - this.stream = null; - }, - - - createUnbufferedStream: function createUnbufferedStream() { - this.streaming = true; - return this.stream; - } -}); - - -AWS.HttpClient = inherit({}); - - -AWS.HttpClient.getInstance = function getInstance() { - if (this.singleton === undefined) { - this.singleton = new this(); - } - return this.singleton; -}; - -},{"./core":188}],202:[function(require,module,exports){ -var AWS = require('../core'); -var EventEmitter = require('events').EventEmitter; -require('../http'); - - -AWS.XHRClient = AWS.util.inherit({ - handleRequest: function handleRequest(httpRequest, httpOptions, callback, errCallback) { - var self = this; - var endpoint = httpRequest.endpoint; - var emitter = new EventEmitter(); - var href = endpoint.protocol + '//' + endpoint.hostname; - if (endpoint.port !== 80 && endpoint.port !== 443) { - href += ':' + endpoint.port; - } - href += httpRequest.path; - - var xhr = new XMLHttpRequest(), headersEmitted = false; - httpRequest.stream = xhr; - - xhr.addEventListener('readystatechange', function() { - try { - if (xhr.status === 0) return; // 0 code is invalid - } catch (e) { return; } - - if (this.readyState >= this.HEADERS_RECEIVED && !headersEmitted) { - try { xhr.responseType = 'arraybuffer'; } catch (e) {} - emitter.statusCode = xhr.status; - emitter.headers = self.parseHeaders(xhr.getAllResponseHeaders()); - emitter.emit('headers', emitter.statusCode, emitter.headers); - headersEmitted = true; - } - if (this.readyState === this.DONE) { - self.finishRequest(xhr, emitter); - } - }, false); - xhr.upload.addEventListener('progress', function (evt) { - emitter.emit('sendProgress', evt); - }); - xhr.addEventListener('progress', function (evt) { - emitter.emit('receiveProgress', evt); - }, false); - xhr.addEventListener('timeout', function () { - errCallback(AWS.util.error(new Error('Timeout'), {code: 'TimeoutError'})); - }, false); - xhr.addEventListener('error', function () { - errCallback(AWS.util.error(new Error('Network Failure'), { - code: 'NetworkingError' - })); - }, false); - - callback(emitter); - xhr.open(httpRequest.method, href, httpOptions.xhrAsync !== false); - AWS.util.each(httpRequest.headers, function (key, value) { - if (key !== 'Content-Length' && key !== 'User-Agent' && key !== 'Host') { - xhr.setRequestHeader(key, value); - } - }); - - if (httpOptions.timeout && httpOptions.xhrAsync !== false) { - xhr.timeout = httpOptions.timeout; - } - - if (httpOptions.xhrWithCredentials) { - xhr.withCredentials = true; - } - - try { - xhr.send(httpRequest.body); - } catch (err) { - if (httpRequest.body && typeof httpRequest.body.buffer === 'object') { - xhr.send(httpRequest.body.buffer); // send ArrayBuffer directly - } else { - throw err; - } - } - - return emitter; - }, - - parseHeaders: function parseHeaders(rawHeaders) { - var headers = {}; - AWS.util.arrayEach(rawHeaders.split(/\r?\n/), function (line) { - var key = line.split(':', 1)[0]; - var value = line.substring(key.length + 2); - if (key.length > 0) headers[key.toLowerCase()] = value; - }); - return headers; - }, - - finishRequest: function finishRequest(xhr, emitter) { - var buffer; - if (xhr.responseType === 'arraybuffer' && xhr.response) { - var ab = xhr.response; - buffer = new AWS.util.Buffer(ab.byteLength); - var view = new Uint8Array(ab); - for (var i = 0; i < buffer.length; ++i) { - buffer[i] = view[i]; - } - } - - try { - if (!buffer && typeof xhr.responseText === 'string') { - buffer = new AWS.util.Buffer(xhr.responseText); - } - } catch (e) {} - - if (buffer) emitter.emit('data', buffer); - emitter.emit('end'); - } -}); - - -AWS.HttpClient.prototype = AWS.XHRClient.prototype; - - -AWS.HttpClient.streamsApiVersion = 1; - -},{"../core":188,"../http":201,"events":249}],203:[function(require,module,exports){ -var util = require('../util'); - -function JsonBuilder() { } - -JsonBuilder.prototype.build = function(value, shape) { - return JSON.stringify(translate(value, shape)); -}; - -function translate(value, shape) { - if (!shape || value === undefined || value === null) return undefined; - - switch (shape.type) { - case 'structure': return translateStructure(value, shape); - case 'map': return translateMap(value, shape); - case 'list': return translateList(value, shape); - default: return translateScalar(value, shape); - } -} - -function translateStructure(structure, shape) { - var struct = {}; - util.each(structure, function(name, value) { - var memberShape = shape.members[name]; - if (memberShape) { - if (memberShape.location !== 'body') return; - var locationName = memberShape.isLocationName ? memberShape.name : name; - var result = translate(value, memberShape); - if (result !== undefined) struct[locationName] = result; - } - }); - return struct; -} - -function translateList(list, shape) { - var out = []; - util.arrayEach(list, function(value) { - var result = translate(value, shape.member); - if (result !== undefined) out.push(result); - }); - return out; -} - -function translateMap(map, shape) { - var out = {}; - util.each(map, function(key, value) { - var result = translate(value, shape.value); - if (result !== undefined) out[key] = result; - }); - return out; -} - -function translateScalar(value, shape) { - return shape.toWireFormat(value); -} - -module.exports = JsonBuilder; - -},{"../util":245}],204:[function(require,module,exports){ -var util = require('../util'); - -function JsonParser() { } - -JsonParser.prototype.parse = function(value, shape) { - return translate(JSON.parse(value), shape); -}; - -function translate(value, shape) { - if (!shape || value === undefined) return undefined; - - switch (shape.type) { - case 'structure': return translateStructure(value, shape); - case 'map': return translateMap(value, shape); - case 'list': return translateList(value, shape); - default: return translateScalar(value, shape); - } -} - -function translateStructure(structure, shape) { - if (structure == null) return undefined; - - var struct = {}; - var shapeMembers = shape.members; - util.each(shapeMembers, function(name, memberShape) { - var locationName = memberShape.isLocationName ? memberShape.name : name; - if (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; - -},{"../util":245}],205:[function(require,module,exports){ -var Collection = require('./collection'); -var Operation = require('./operation'); -var Shape = require('./shape'); -var Paginator = require('./paginator'); -var ResourceWaiter = require('./resource_waiter'); - -var util = require('../util'); -var property = util.property; -var memoizedProperty = util.memoizedProperty; - -function Api(api, options) { - api = api || {}; - options = options || {}; - options.api = this; - - api.metadata = api.metadata || {}; - - property(this, 'isApi', true, false); - property(this, 'apiVersion', api.metadata.apiVersion); - property(this, 'endpointPrefix', api.metadata.endpointPrefix); - property(this, 'signingName', api.metadata.signingName); - property(this, 'globalEndpoint', api.metadata.globalEndpoint); - property(this, 'signatureVersion', api.metadata.signatureVersion); - property(this, 'jsonVersion', api.metadata.jsonVersion); - property(this, 'targetPrefix', api.metadata.targetPrefix); - property(this, 'protocol', api.metadata.protocol); - property(this, 'timestampFormat', api.metadata.timestampFormat); - property(this, 'xmlNamespaceUri', api.metadata.xmlNamespace); - property(this, 'abbreviation', api.metadata.serviceAbbreviation); - property(this, 'fullName', api.metadata.serviceFullName); - - memoizedProperty(this, 'className', function() { - var name = api.metadata.serviceAbbreviation || api.metadata.serviceFullName; - if (!name) return null; - - name = name.replace(/^Amazon|AWS\s*|\(.*|\s+|\W+/g, ''); - if (name === 'ElasticLoadBalancing') name = 'ELB'; - return name; - }); - - property(this, 'operations', new Collection(api.operations, options, function(name, operation) { - return new Operation(name, operation, options); - }, util.string.lowerFirst)); - - property(this, 'shapes', new Collection(api.shapes, options, function(name, shape) { - return Shape.create(shape, options); - })); - - property(this, 'paginators', new Collection(api.paginators, options, function(name, paginator) { - return new Paginator(name, paginator, options); - })); - - property(this, 'waiters', new Collection(api.waiters, options, function(name, waiter) { - return new ResourceWaiter(name, waiter, options); - }, util.string.lowerFirst)); - - if (options.documentation) { - property(this, 'documentation', api.documentation); - property(this, 'documentationUrl', api.documentationUrl); - } -} - -module.exports = Api; - -},{"../util":245,"./collection":206,"./operation":207,"./paginator":208,"./resource_waiter":209,"./shape":210}],206:[function(require,module,exports){ -var memoizedProperty = require('../util').memoizedProperty; - -function memoize(name, value, fn, nameTr) { - memoizedProperty(this, nameTr(name), function() { - return fn(name, value); - }); -} - -function Collection(iterable, options, fn, nameTr) { - nameTr = nameTr || String; - var self = this; - - for (var id in iterable) { - if (Object.prototype.hasOwnProperty.call(iterable, id)) { - memoize.call(self, id, iterable[id], fn, nameTr); - } - } -} - -module.exports = Collection; - -},{"../util":245}],207:[function(require,module,exports){ -var Shape = require('./shape'); - -var util = require('../util'); -var property = util.property; -var memoizedProperty = util.memoizedProperty; - -function Operation(name, operation, options) { - options = options || {}; - - property(this, 'name', operation.name || name); - property(this, 'api', options.api, false); - - operation.http = operation.http || {}; - property(this, 'httpMethod', operation.http.method || 'POST'); - property(this, 'httpPath', operation.http.requestUri || '/'); - 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); - } -} - -module.exports = Operation; - -},{"../util":245,"./shape":210}],208:[function(require,module,exports){ -var property = require('../util').property; - -function Paginator(name, paginator) { - property(this, 'inputToken', paginator.input_token); - property(this, 'limitKey', paginator.limit_key); - property(this, 'moreResults', paginator.more_results); - property(this, 'outputToken', paginator.output_token); - property(this, 'resultKey', paginator.result_key); -} - -module.exports = Paginator; - -},{"../util":245}],209:[function(require,module,exports){ -var util = require('../util'); -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; - -},{"../util":245}],210:[function(require,module,exports){ -var Collection = require('./collection'); - -var util = require('../util'); - -function property(obj, name, value) { - if (value !== null && value !== undefined) { - util.property.apply(this, arguments); - } -} - -function memoizedProperty(obj, name) { - if (!obj.constructor.prototype[name]) { - util.memoizedProperty.apply(this, arguments); - } -} - -function Shape(shape, options, memberName) { - options = options || {}; - - property(this, 'shape', shape.shape); - property(this, 'api', options.api, false); - property(this, 'type', shape.type); - property(this, 'enum', shape.enum); - property(this, 'min', shape.min); - property(this, 'max', shape.max); - property(this, 'pattern', shape.pattern); - property(this, 'location', shape.location || this.location || 'body'); - property(this, 'name', this.name || shape.xmlName || shape.queryName || - shape.locationName || memberName); - property(this, 'isStreaming', shape.streaming || this.isStreaming || false); - property(this, 'isComposite', shape.isComposite || false); - property(this, 'isShape', true, false); - property(this, 'isQueryName', shape.queryName ? true : false, false); - property(this, 'isLocationName', shape.locationName ? true : false, false); - - if (options.documentation) { - property(this, 'documentation', shape.documentation); - property(this, 'documentationUrl', shape.documentationUrl); - } - - if (shape.xmlAttribute) { - property(this, 'isXmlAttribute', shape.xmlAttribute || false); - } - - property(this, 'defaultValue', null); - this.toWireFormat = function(value) { - if (value === null || value === undefined) return ''; - return value; - }; - this.toType = function(value) { return value; }; -} - - -Shape.normalizedTypes = { - character: 'string', - double: 'float', - long: 'integer', - short: 'integer', - biginteger: 'integer', - bigdecimal: 'float', - blob: 'binary' -}; - - -Shape.types = { - 'structure': StructureShape, - 'list': ListShape, - 'map': MapShape, - 'boolean': BooleanShape, - 'timestamp': TimestampShape, - 'float': FloatShape, - 'integer': IntegerShape, - 'string': StringShape, - 'base64': Base64Shape, - 'binary': BinaryShape -}; - -Shape.resolve = function resolve(shape, options) { - if (shape.shape) { - var refShape = options.api.shapes[shape.shape]; - if (!refShape) { - throw new Error('Cannot find shape reference: ' + shape.shape); - } - - return refShape; - } else { - return null; - } -}; - -Shape.create = function create(shape, options, memberName) { - if (shape.isShape) return shape; - - var refShape = Shape.resolve(shape, options); - if (refShape) { - var filteredKeys = Object.keys(shape); - if (!options.documentation) { - filteredKeys = filteredKeys.filter(function(name) { - return !name.match(/documentation/); - }); - } - if (filteredKeys === ['shape']) { // no inline customizations - return refShape; - } - - var InlineShape = function() { - refShape.constructor.call(this, shape, options, memberName); - }; - InlineShape.prototype = refShape; - return new InlineShape(); - } else { - if (!shape.type) { - if (shape.members) shape.type = 'structure'; - else if (shape.member) shape.type = 'list'; - else if (shape.key) shape.type = 'map'; - else shape.type = 'string'; - } - - var origType = shape.type; - if (Shape.normalizedTypes[shape.type]) { - shape.type = Shape.normalizedTypes[shape.type]; - } - - if (Shape.types[shape.type]) { - return new Shape.types[shape.type](shape, options, memberName); - } else { - throw new Error('Unrecognized shape type: ' + origType); - } - } -}; - -function CompositeShape(shape) { - Shape.apply(this, arguments); - property(this, 'isComposite', true); - - if (shape.flattened) { - property(this, 'flattened', shape.flattened || false); - } -} - -function StructureShape(shape, options) { - var requiredMap = null, firstInit = !this.isShape; - - CompositeShape.apply(this, arguments); - - if (firstInit) { - property(this, 'defaultValue', function() { return {}; }); - property(this, 'members', {}); - property(this, 'memberNames', []); - property(this, 'required', []); - property(this, 'isRequired', function() { return false; }); - } - - if (shape.members) { - property(this, 'members', new Collection(shape.members, options, function(name, member) { - return Shape.create(member, options, name); - })); - memoizedProperty(this, 'memberNames', function() { - return shape.xmlOrder || Object.keys(shape.members); - }); - } - - if (shape.required) { - property(this, 'required', shape.required); - property(this, 'isRequired', function(name) { - if (!requiredMap) { - requiredMap = {}; - for (var i = 0; i < shape.required.length; i++) { - requiredMap[shape.required[i]] = true; - } - } - - return requiredMap[name]; - }, false, true); - } - - property(this, 'resultWrapper', shape.resultWrapper || null); - - if (shape.payload) { - property(this, 'payload', shape.payload); - } - - if (typeof shape.xmlNamespace === 'string') { - property(this, 'xmlNamespaceUri', shape.xmlNamespace); - } else if (typeof shape.xmlNamespace === 'object') { - property(this, 'xmlNamespacePrefix', shape.xmlNamespace.prefix); - property(this, 'xmlNamespaceUri', shape.xmlNamespace.uri); - } -} - -function ListShape(shape, options) { - var self = this, firstInit = !this.isShape; - CompositeShape.apply(this, arguments); - - if (firstInit) { - property(this, 'defaultValue', function() { return []; }); - } - - if (shape.member) { - memoizedProperty(this, 'member', function() { - return Shape.create(shape.member, options); - }); - } - - if (this.flattened) { - var oldName = this.name; - memoizedProperty(this, 'name', function() { - return self.member.name || oldName; - }); - } -} - -function MapShape(shape, options) { - var firstInit = !this.isShape; - CompositeShape.apply(this, arguments); - - if (firstInit) { - property(this, 'defaultValue', function() { return {}; }); - property(this, 'key', Shape.create({type: 'string'}, options)); - property(this, 'value', Shape.create({type: 'string'}, options)); - } - - if (shape.key) { - memoizedProperty(this, 'key', function() { - return Shape.create(shape.key, options); - }); - } - if (shape.value) { - memoizedProperty(this, 'value', function() { - return Shape.create(shape.value, options); - }); - } -} - -function TimestampShape(shape) { - var self = this; - Shape.apply(this, arguments); - - if (this.location === 'header') { - property(this, 'timestampFormat', 'rfc822'); - } else if (shape.timestampFormat) { - property(this, 'timestampFormat', shape.timestampFormat); - } else if (this.api) { - if (this.api.timestampFormat) { - property(this, 'timestampFormat', this.api.timestampFormat); - } else { - switch (this.api.protocol) { - case 'json': - case 'rest-json': - property(this, 'timestampFormat', 'unixTimestamp'); - break; - case 'rest-xml': - case 'query': - case 'ec2': - property(this, 'timestampFormat', 'iso8601'); - break; - } - } - } - - this.toType = function(value) { - if (value === null || value === undefined) return null; - if (typeof value.toUTCString === 'function') return value; - return typeof value === 'string' || typeof value === 'number' ? - util.date.parseTimestamp(value) : null; - }; - - this.toWireFormat = function(value) { - return util.date.format(value, self.timestampFormat); - }; -} - -function StringShape() { - Shape.apply(this, arguments); - - if (this.api) { - switch (this.api.protocol) { - case 'rest-xml': - case 'query': - case 'ec2': - this.toType = function(value) { return value || ''; }; - } - } -} - -function FloatShape() { - Shape.apply(this, arguments); - - this.toType = function(value) { - if (value === null || value === undefined) return null; - return parseFloat(value); - }; - this.toWireFormat = this.toType; -} - -function IntegerShape() { - Shape.apply(this, arguments); - - this.toType = function(value) { - if (value === null || value === undefined) return null; - return parseInt(value, 10); - }; - this.toWireFormat = this.toType; -} - -function BinaryShape() { - Shape.apply(this, arguments); - this.toType = util.base64.decode; - this.toWireFormat = util.base64.encode; -} - -function Base64Shape() { - BinaryShape.apply(this, arguments); -} - -function BooleanShape() { - Shape.apply(this, arguments); - - this.toType = function(value) { - if (typeof value === 'boolean') return value; - if (value === null || value === undefined) return null; - return value === 'true'; - }; -} - - -Shape.shapes = { - StructureShape: StructureShape, - ListShape: ListShape, - MapShape: MapShape, - StringShape: StringShape, - BooleanShape: BooleanShape, - Base64Shape: Base64Shape -}; - -module.exports = Shape; - -},{"../util":245,"./collection":206}],211:[function(require,module,exports){ -var AWS = require('./core'); - - -AWS.ParamValidator = AWS.util.inherit({ - - constructor: function ParamValidator(validation) { - if (validation === true || validation === undefined) { - validation = {'min': true}; - } - this.validation = validation; - }, - - validate: function validate(shape, params, context) { - this.errors = []; - this.validateMember(shape, params || {}, context || 'params'); - - if (this.errors.length > 1) { - var msg = this.errors.join('\n* '); - msg = 'There were ' + this.errors.length + - ' validation errors:\n* ' + msg; - throw AWS.util.error(new Error(msg), - {code: 'MultipleValidationErrors', errors: this.errors}); - } else if (this.errors.length === 1) { - throw this.errors[0]; - } else { - return true; - } - }, - - fail: function fail(code, message) { - this.errors.push(AWS.util.error(new Error(message), {code: code})); - }, - - validateStructure: function validateStructure(shape, params, context) { - this.validateType(params, context, ['object'], 'structure'); - - var paramName; - for (var i = 0; shape.required && i < shape.required.length; i++) { - paramName = shape.required[i]; - var value = params[paramName]; - if (value === undefined || value === null) { - this.fail('MissingRequiredParameter', - 'Missing required key \'' + paramName + '\' in ' + context); - } - } - - for (paramName in params) { - if (!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'); - for (var i = 0; i < params.length; i++) { - this.validateMember(shape.member, params[i], context + '[' + i + ']'); - } - } - }, - - validateMap: function validateMap(shape, params, context) { - if (this.validateType(params, context, ['object'], 'map')) { - var mapCount = 0; - for (var param in params) { - if (!Object.prototype.hasOwnProperty.call(params, param)) continue; - this.validateMember(shape.key, param, - context + '[key=\'' + param + '\']') - this.validateMember(shape.value, params[param], - context + '[\'' + param + '\']'); - mapCount++; - } - this.validateRange(shape, mapCount, context, 'map member count'); - } - }, - - validateScalar: function validateScalar(shape, value, context) { - switch (shape.type) { - case null: - case undefined: - case 'string': - return this.validateString(shape, value, context); - case 'base64': - case 'binary': - return this.validatePayload(value, context); - case 'integer': - case 'float': - return this.validateNumber(shape, value, context); - case 'boolean': - return this.validateType(value, context, ['boolean']); - case 'timestamp': - return this.validateType(value, context, [Date, - /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z$/, 'number'], - 'Date object, ISO-8601 string, or a UNIX timestamp'); - default: - return this.fail('UnkownType', 'Unhandled type ' + - shape.type + ' for ' + context); - } - }, - - validateString: function validateString(shape, value, context) { - if (this.validateType(value, context, ['string'])) { - this.validateEnum(shape, value, context); - this.validateRange(shape, value.length, context, 'string length'); - this.validatePattern(shape, value, context); - } - }, - - validatePattern: function validatePattern(shape, value, context) { - if (this.validation['pattern'] && shape['pattern'] !== undefined) { - if (!(new RegExp(shape['pattern'])).test(value)) { - this.fail('PatternMatchError', 'Provided value "' + value + '" ' - + 'does not match regex pattern /' + shape['pattern'] + '/ for ' - + context); - } - } - }, - - validateRange: function validateRange(shape, value, context, descriptor) { - if (this.validation['min']) { - if (shape['min'] !== undefined && value < shape['min']) { - this.fail('MinRangeError', 'Expected ' + descriptor + ' >= ' - + shape['min'] + ', but found ' + value + ' for ' + context); - } - } - if (this.validation['max']) { - if (shape['max'] !== undefined && value > shape['max']) { - this.fail('MaxRangeError', 'Expected ' + descriptor + ' <= ' - + shape['max'] + ', but found ' + value + ' for ' + context); - } - } - }, - - validateEnum: function validateRange(shape, value, context) { - if (this.validation['enum'] && shape['enum'] !== undefined) { - if (shape['enum'].indexOf(value) === -1) { - this.fail('EnumError', 'Found string value of ' + value + ', but ' - + 'expected ' + shape['enum'].join('|') + ' for ' + context); - } - } - }, - - validateType: function validateType(value, context, acceptedTypes, type) { - if (value === null || value === undefined) return false; - - var foundInvalidType = false; - for (var i = 0; i < acceptedTypes.length; i++) { - if (typeof acceptedTypes[i] === 'string') { - if (typeof value === acceptedTypes[i]) return true; - } else if (acceptedTypes[i] instanceof RegExp) { - if ((value || '').toString().match(acceptedTypes[i])) return true; - } else { - if (value instanceof acceptedTypes[i]) return true; - if (AWS.util.isType(value, acceptedTypes[i])) return true; - if (!type && !foundInvalidType) acceptedTypes = acceptedTypes.slice(); - acceptedTypes[i] = AWS.util.typeName(acceptedTypes[i]); - } - foundInvalidType = true; - } - - var acceptedType = type; - if (!acceptedType) { - acceptedType = acceptedTypes.join(', ').replace(/,([^,]+)$/, ', or$1'); - } - - var vowel = acceptedType.match(/^[aeiou]/i) ? 'n' : ''; - this.fail('InvalidParameterType', 'Expected ' + context + ' to be a' + - vowel + ' ' + acceptedType); - return false; - }, - - validateNumber: function validateNumber(shape, value, context) { - if (value === null || value === undefined) return; - if (typeof value === 'string') { - var castedValue = parseFloat(value); - if (castedValue.toString() === value) value = castedValue; - } - if (this.validateType(value, context, ['number'])) { - this.validateRange(shape, value, context, 'numeric value'); - } - }, - - validatePayload: function validatePayload(value, context) { - if (value === null || value === undefined) return; - if (typeof value === 'string') return; - if (value && typeof value.byteLength === 'number') return; // typed arrays - if (AWS.util.isNode()) { // special check for buffer/stream in Node.js - var Stream = AWS.util.stream.Stream; - if (AWS.util.Buffer.isBuffer(value) || value instanceof Stream) return; - } - - var types = ['Buffer', 'Stream', 'File', 'Blob', 'ArrayBuffer', 'DataView']; - if (value) { - for (var i = 0; i < types.length; i++) { - if (AWS.util.isType(value, types[i])) return; - if (AWS.util.typeName(value.constructor) === types[i]) return; - } - } - - this.fail('InvalidParameterType', 'Expected ' + context + ' to be a ' + - 'string, Buffer, Stream, Blob, or typed array object'); - } -}); - -},{"./core":188}],212:[function(require,module,exports){ -var util = require('../util'); -var JsonBuilder = require('../json/builder'); -var JsonParser = require('../json/parser'); - -function buildRequest(req) { - var httpRequest = req.httpRequest; - var api = req.service.api; - var target = api.targetPrefix + '.' + api.operations[req.operation].name; - var version = api.jsonVersion || '1.0'; - var input = api.operations[req.operation].input; - var builder = new JsonBuilder(); - - if (version === 1) version = '1.0'; - httpRequest.body = builder.build(req.params || {}, input); - httpRequest.headers['Content-Type'] = 'application/x-amz-json-' + version; - httpRequest.headers['X-Amz-Target'] = target; -} - -function extractError(resp) { - var error = {}; - var httpResponse = resp.httpResponse; - - error.code = httpResponse.headers['x-amzn-errortype'] || 'UnknownError'; - if (typeof error.code === 'string') { - error.code = error.code.split(':')[0]; - } - - if (httpResponse.body.length > 0) { - var e = JSON.parse(httpResponse.body.toString()); - if (e.__type || e.code) { - error.code = (e.__type || e.code).split('#').pop(); - } - if (error.code === 'RequestEntityTooLarge') { - error.message = 'Request body must be less than 1 MB'; - } else { - error.message = (e.message || e.Message || null); - } - } else { - error.statusCode = httpResponse.statusCode; - error.message = httpResponse.statusCode.toString(); - } - - resp.error = util.error(new Error(), error); -} - -function extractData(resp) { - var body = resp.httpResponse.body.toString() || '{}'; - if (resp.request.service.config.convertResponseTypes === false) { - resp.data = JSON.parse(body); - } else { - var operation = resp.request.service.api.operations[resp.request.operation]; - var shape = operation.output || {}; - var parser = new JsonParser(); - resp.data = parser.parse(body, shape); - } -} - -module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData -}; - -},{"../json/builder":203,"../json/parser":204,"../util":245}],213:[function(require,module,exports){ -var AWS = require('../core'); -var util = require('../util'); -var QueryParamSerializer = require('../query/query_param_serializer'); -var Shape = require('../model/shape'); - -function buildRequest(req) { - var operation = req.service.api.operations[req.operation]; - var httpRequest = req.httpRequest; - httpRequest.headers['Content-Type'] = - 'application/x-www-form-urlencoded; charset=utf-8'; - httpRequest.params = { - Version: req.service.api.apiVersion, - Action: operation.name - }; - - var builder = new QueryParamSerializer(); - builder.serialize(req.params, operation.input, function(name, value) { - httpRequest.params[name] = value; - }); - httpRequest.body = util.queryParamsToString(httpRequest.params); -} - -function extractError(resp) { - var data, body = resp.httpResponse.body.toString(); - if (body.match('= 0 ? '&' : '?'); - var parts = []; - util.arrayEach(Object.keys(queryString).sort(), function(key) { - if (!Array.isArray(queryString[key])) { - queryString[key] = [queryString[key]]; - } - for (var i = 0; i < queryString[key].length; i++) { - parts.push(util.uriEscape(String(key)) + '=' + queryString[key][i]); - } - }); - uri += parts.join('&'); - } - - req.httpRequest.path = uri; -} - -function populateHeaders(req) { - var operation = req.service.api.operations[req.operation]; - util.each(operation.input.members, function (name, member) { - var value = req.params[name]; - if (value === null || value === undefined) return; - - if (member.location === 'headers' && member.type === 'map') { - util.each(value, function(key, memberValue) { - req.httpRequest.headers[member.name + key] = memberValue; - }); - } else if (member.location === 'header') { - value = member.toWireFormat(value).toString(); - req.httpRequest.headers[member.name] = value; - } - }); -} - -function buildRequest(req) { - populateMethod(req); - populateURI(req); - populateHeaders(req); -} - -function extractError() { -} - -function extractData(resp) { - var req = resp.request; - var data = {}; - var r = resp.httpResponse; - var operation = req.service.api.operations[req.operation]; - var output = operation.output; - - var headers = {}; - util.each(r.headers, function (k, v) { - headers[k.toLowerCase()] = v; - }); - - util.each(output.members, function(name, member) { - var header = (member.name || name).toLowerCase(); - if (member.location === 'headers' && member.type === 'map') { - data[name] = {}; - var location = member.isLocationName ? member.name : ''; - var pattern = new RegExp('^' + location + '(.+)', 'i'); - util.each(r.headers, function (k, v) { - var result = k.match(pattern); - if (result !== null) { - data[name][result[1]] = v; - } - }); - } else if (member.location === 'header') { - if (headers[header] !== undefined) { - data[name] = headers[header]; - } - } else if (member.location === 'statusCode') { - data[name] = parseInt(r.statusCode, 10); - } - }); - - resp.data = data; -} - -module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData -}; - -},{"../util":245}],215:[function(require,module,exports){ -var util = require('../util'); -var Rest = require('./rest'); -var Json = require('./json'); -var JsonBuilder = require('../json/builder'); -var JsonParser = require('../json/parser'); - -function populateBody(req) { - var builder = new JsonBuilder(); - var input = req.service.api.operations[req.operation].input; - - if (input.payload) { - var params = {}; - var payloadShape = input.members[input.payload]; - params = req.params[input.payload]; - if (params === undefined) return; - - if (payloadShape.type === 'structure') { - req.httpRequest.body = builder.build(params, payloadShape); - } else { // non-JSON payload - req.httpRequest.body = params; - } - } else { - req.httpRequest.body = builder.build(req.params, input); - } -} - -function buildRequest(req) { - Rest.buildRequest(req); - - if (['GET', 'HEAD', 'DELETE'].indexOf(req.httpRequest.method) < 0) { - populateBody(req); - } -} - -function extractError(resp) { - Json.extractError(resp); -} - -function extractData(resp) { - Rest.extractData(resp); - - var req = resp.request; - var rules = req.service.api.operations[req.operation].output || {}; - if (rules.payload) { - var payloadMember = rules.members[rules.payload]; - var body = resp.httpResponse.body; - if (payloadMember.isStreaming) { - resp.data[rules.payload] = body; - } else if (payloadMember.type === 'structure' || payloadMember.type === 'list') { - var parser = new JsonParser(); - resp.data[rules.payload] = parser.parse(body, payloadMember); - } else { - resp.data[rules.payload] = body.toString(); - } - } else { - var data = resp.data; - Json.extractData(resp); - resp.data = util.merge(data, resp.data); - } -} - -module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData -}; - -},{"../json/builder":203,"../json/parser":204,"../util":245,"./json":212,"./rest":214}],216:[function(require,module,exports){ -var AWS = require('../core'); -var util = require('../util'); -var Rest = require('./rest'); - -function populateBody(req) { - var input = req.service.api.operations[req.operation].input; - var builder = new AWS.XML.Builder(); - var params = req.params; - - var payload = input.payload; - if (payload) { - var payloadMember = input.members[payload]; - params = params[payload]; - if (params === undefined) return; - - if (payloadMember.type === 'structure') { - var rootElement = payloadMember.name; - req.httpRequest.body = builder.toXML(params, payloadMember, rootElement, true); - } else { // non-xml payload - req.httpRequest.body = params; - } - } else { - req.httpRequest.body = builder.toXML(params, input, input.name || - input.shape || util.string.upperFirst(req.operation) + 'Request'); - } -} - -function buildRequest(req) { - Rest.buildRequest(req); - - if (['GET', 'HEAD'].indexOf(req.httpRequest.method) < 0) { - populateBody(req); - } -} - -function extractError(resp) { - Rest.extractError(resp); - - var data = new AWS.XML.Parser().parse(resp.httpResponse.body.toString()); - if (data.Errors) data = data.Errors; - if (data.Error) data = data.Error; - if (data.Code) { - resp.error = util.error(new Error(), { - code: data.Code, - message: data.Message - }); - } else { - resp.error = util.error(new Error(), { - code: resp.httpResponse.statusCode, - message: null - }); - } -} - -function extractData(resp) { - Rest.extractData(resp); - - var parser; - var req = resp.request; - var body = resp.httpResponse.body; - var operation = req.service.api.operations[req.operation]; - var output = operation.output; - - var payload = output.payload; - if (payload) { - var payloadMember = output.members[payload]; - if (payloadMember.isStreaming) { - resp.data[payload] = body; - } else if (payloadMember.type === 'structure') { - parser = new AWS.XML.Parser(); - resp.data[payload] = parser.parse(body.toString(), payloadMember); - } else { - resp.data[payload] = body.toString(); - } - } else if (body.length > 0) { - parser = new AWS.XML.Parser(); - var data = parser.parse(body.toString(), output); - util.update(resp.data, data); - } -} - -module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData -}; - -},{"../core":188,"../util":245,"./rest":214}],217:[function(require,module,exports){ -var util = require('../util'); - -function QueryParamSerializer() { -} - -QueryParamSerializer.prototype.serialize = function(params, shape, fn) { - serializeStructure('', params, shape, fn); -}; - -function ucfirst(shape) { - if (shape.isQueryName || shape.api.protocol !== 'ec2') { - return shape.name; - } else { - return shape.name[0].toUpperCase() + shape.name.substr(1); - } -} - -function serializeStructure(prefix, struct, rules, fn) { - util.each(rules.members, function(name, member) { - var value = struct[name]; - if (value === null || value === undefined) return; - - var memberName = ucfirst(member); - memberName = prefix ? prefix + '.' + memberName : memberName; - serializeMember(memberName, value, member, fn); - }); -} - -function serializeMap(name, map, rules, fn) { - var i = 1; - util.each(map, function (key, value) { - var prefix = rules.flattened ? '.' : '.entry.'; - var position = prefix + (i++) + '.'; - var keyName = position + (rules.key.name || 'key'); - var valueName = position + (rules.value.name || 'value'); - serializeMember(name + keyName, key, rules.key, fn); - serializeMember(name + valueName, value, rules.value, fn); - }); -} - -function serializeList(name, list, rules, fn) { - var memberRules = rules.member || {}; - - if (list.length === 0) { - fn.call(this, name, null); - return; - } - - util.arrayEach(list, function (v, n) { - var suffix = '.' + (n + 1); - if (rules.api.protocol === 'ec2') { - suffix = suffix + ''; // make linter happy - } else if (rules.flattened) { - if (memberRules.name) { - var parts = name.split('.'); - parts.pop(); - parts.push(ucfirst(memberRules)); - name = parts.join('.'); - } - } else { - suffix = '.member' + suffix; - } - serializeMember(name + suffix, v, memberRules, fn); - }); -} - -function serializeMember(name, value, rules, fn) { - if (value === null || value === undefined) return; - if (rules.type === 'structure') { - serializeStructure(name, value, rules, fn); - } else if (rules.type === 'list') { - serializeList(name, value, rules, fn); - } else if (rules.type === 'map') { - serializeMap(name, value, rules, fn); - } else { - fn(name, rules.toWireFormat(value).toString()); - } -} - -module.exports = QueryParamSerializer; - -},{"../util":245}],218:[function(require,module,exports){ -module.exports={ - "rules": { - "*/*": { - "endpoint": "{service}.{region}.amazonaws.com" - }, - "cn-*/*": { - "endpoint": "{service}.{region}.amazonaws.com.cn" - }, - "*/cloudfront": "globalSSL", - "*/iam": "globalSSL", - "*/sts": "globalSSL", - "*/importexport": { - "endpoint": "{service}.amazonaws.com", - "signatureVersion": "v2", - "globalEndpoint": true - }, - "*/route53": { - "endpoint": "https://{service}.amazonaws.com", - "signatureVersion": "v3https", - "globalEndpoint": true - }, - "*/waf": "globalSSL", - "us-gov-*/iam": "globalGovCloud", - "us-gov-*/sts": { - "endpoint": "{service}.{region}.amazonaws.com" - }, - "us-gov-west-1/s3": "s3dash", - "us-west-1/s3": "s3dash", - "us-west-2/s3": "s3dash", - "eu-west-1/s3": "s3dash", - "ap-southeast-1/s3": "s3dash", - "ap-southeast-2/s3": "s3dash", - "ap-northeast-1/s3": "s3dash", - "sa-east-1/s3": "s3dash", - "us-east-1/s3": { - "endpoint": "{service}.amazonaws.com", - "signatureVersion": "s3" - }, - "us-east-1/sdb": { - "endpoint": "{service}.amazonaws.com", - "signatureVersion": "v2" - }, - "*/sdb": { - "endpoint": "{service}.{region}.amazonaws.com", - "signatureVersion": "v2" - } - }, - - "patterns": { - "globalSSL": { - "endpoint": "https://{service}.amazonaws.com", - "globalEndpoint": true - }, - "globalGovCloud": { - "endpoint": "{service}.us-gov.amazonaws.com" - }, - "s3dash": { - "endpoint": "{service}-{region}.amazonaws.com", - "signatureVersion": "s3" - } - } -} - -},{}],219:[function(require,module,exports){ -var util = require('./util'); -var regionConfig = require('./region_config.json'); - -function generateRegionPrefix(region) { - if (!region) return null; - - var parts = region.split('-'); - if (parts.length < 3) return null; - return parts.slice(0, parts.length - 2).join('-') + '-*'; -} - -function derivedKeys(service) { - var region = service.config.region; - var regionPrefix = generateRegionPrefix(region); - var endpointPrefix = service.api.endpointPrefix; - - return [ - [region, endpointPrefix], - [regionPrefix, endpointPrefix], - [region, '*'], - [regionPrefix, '*'], - ['*', endpointPrefix], - ['*', '*'] - ].map(function(item) { - return item[0] && item[1] ? item.join('/') : null; - }); -} - -function applyConfig(service, config) { - util.each(config, function(key, value) { - if (key === 'globalEndpoint') return; - if (service.config[key] === undefined || service.config[key] === null) { - service.config[key] = value; - } - }); -} - -function configureEndpoint(service) { - var keys = derivedKeys(service); - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - if (!key) continue; - - if (Object.prototype.hasOwnProperty.call(regionConfig.rules, key)) { - var config = regionConfig.rules[key]; - if (typeof config === 'string') { - config = regionConfig.patterns[config]; - } - - if (service.config.useDualstack && util.isDualstackAvailable(service)) { - config = util.copy(config); - config.endpoint = '{service}.dualstack.{region}.amazonaws.com'; - } - - service.isGlobalEndpoint = !!config.globalEndpoint; - - if (!config.signatureVersion) config.signatureVersion = 'v4'; - - applyConfig(service, config); - return; - } - } -} - -module.exports = configureEndpoint; - -},{"./region_config.json":218,"./util":245}],220:[function(require,module,exports){ -(function (process){ -var AWS = require('./core'); -var AcceptorStateMachine = require('./state_machine'); -var inherit = AWS.util.inherit; -var domain = AWS.util.domain; -var jmespath = require('jmespath'); - - -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(); - - -AWS.Request = inherit({ - - - constructor: function Request(service, operation, params) { - var endpoint = service.endpoint; - var region = service.config.region; - var customUserAgent = service.config.customUserAgent; - - if (service.isGlobalEndpoint) region = 'us-east-1'; - - this.domain = domain && domain.active; - this.service = service; - this.operation = operation; - this.params = params || {}; - this.httpRequest = new AWS.HttpRequest(endpoint, region, customUserAgent); - this.startTime = AWS.util.date.getDate(); - - this.response = new AWS.Response(this); - this._asm = new AcceptorStateMachine(fsm.states, 'validate'); - this._haltHandlersOnError = false; - - AWS.SequentialExecutor.call(this); - this.emit = this.emitEvent; - }, - - - - - send: function send(callback) { - if (callback) { - this.on('complete', function (resp) { - callback.call(resp, resp.error, resp.data); - }); - } - this.runTo(); - - return this.response; - }, - - - - - build: function build(callback) { - return this.runTo('send', callback); - }, - - - runTo: function runTo(state, done) { - this._asm.runTo(state, done, this); - return this; - }, - - - abort: function abort() { - this.removeAllListeners('validateResponse'); - this.removeAllListeners('extractError'); - this.on('validateResponse', function addAbortedError(resp) { - resp.error = AWS.util.error(new Error('Request aborted by user'), { - code: 'RequestAbortedError', retryable: false - }); - }); - - if (this.httpRequest.stream) { // abort HTTP stream - this.httpRequest.stream.abort(); - if (this.httpRequest._abortCallback) { - this.httpRequest._abortCallback(); - } else { - this.removeAllListeners('send'); // haven't sent yet, so let's not - } - } - - return this; - }, - - - eachPage: function eachPage(callback) { - callback = AWS.util.fn.makeAsync(callback, 3); - - function wrappedCallback(response) { - callback.call(response, response.error, response.data, function (result) { - if (result === false) return; - - if (response.hasNextPage()) { - response.nextPage().on('complete', wrappedCallback).send(); - } else { - callback.call(response, null, null, AWS.util.fn.noop); - } - }); - } - - this.on('complete', wrappedCallback).send(); - }, - - - eachItem: function eachItem(callback) { - var self = this; - function wrappedCallback(err, data) { - if (err) return callback(err, null); - if (data === null) return callback(null, null); - - var config = self.service.paginationConfig(self.operation); - var resultKey = config.resultKey; - if (Array.isArray(resultKey)) resultKey = resultKey[0]; - var 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); - }, - - - isPageable: function isPageable() { - return this.service.paginationConfig(this.operation) ? true : false; - }, - - - createReadStream: function createReadStream() { - var streams = AWS.util.stream; - var req = this; - var stream = null; - - if (AWS.HttpClient.streamsApiVersion === 2) { - stream = new streams.PassThrough(); - req.send(); - } else { - stream = new streams.Stream(); - stream.readable = true; - - stream.sent = false; - stream.on('newListener', function(event) { - if (!stream.sent && event === 'data') { - stream.sent = true; - process.nextTick(function() { req.send(); }); - } - }); - } - - this.on('httpHeaders', function streamHeaders(statusCode, headers, resp) { - if (statusCode < 300) { - req.removeListener('httpData', AWS.EventListeners.Core.HTTP_DATA); - req.removeListener('httpError', AWS.EventListeners.Core.HTTP_ERROR); - req.on('httpError', function streamHttpError(error) { - resp.error = error; - resp.error.retryable = false; - }); - - var 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); - 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); - }); - } - }); - - this.on('error', function(err) { - stream.emit('error', err); - }); - - return stream; - }, - - - emitEvent: function emit(eventName, args, done) { - if (typeof args === 'function') { done = args; args = null; } - if (!done) done = function() { }; - if (!args) args = this.eventParameters(eventName, this.response); - - var origEmit = AWS.SequentialExecutor.prototype.emit; - origEmit.call(this, eventName, args, function (err) { - if (err) this.response.error = err; - done.call(this, err); - }); - }, - - - eventParameters: function eventParameters(eventName) { - switch (eventName) { - case 'restart': - case 'validate': - case 'sign': - case 'build': - case 'afterValidate': - case 'afterBuild': - return [this]; - case 'error': - return [this.response.error, this.response]; - default: - return [this.response]; - } - }, - - - presign: function presign(expires, callback) { - if (!callback && typeof expires === 'function') { - callback = expires; - expires = null; - } - return new AWS.Signers.Presign().sign(this.toGet(), expires, callback); - }, - - - isPresigned: function isPresigned() { - return Object.prototype.hasOwnProperty.call(this.httpRequest.headers, 'presigned-expires'); - }, - - - toUnauthenticated: function toUnauthenticated() { - this.removeListener('validate', AWS.EventListeners.Core.VALIDATE_CREDENTIALS); - this.removeListener('sign', AWS.EventListeners.Core.SIGN); - return this; - }, - - - toGet: function toGet() { - if (this.service.api.protocol === 'query' || - this.service.api.protocol === 'ec2') { - this.removeListener('build', this.buildAsGet); - this.addListener('build', this.buildAsGet); - } - return this; - }, - - - buildAsGet: function buildAsGet(request) { - request.httpRequest.method = 'GET'; - request.httpRequest.path = request.service.endpoint.path + - '?' + request.httpRequest.body; - request.httpRequest.body = ''; - - delete request.httpRequest.headers['Content-Length']; - delete request.httpRequest.headers['Content-Type']; - }, - - - haltHandlersOnError: function haltHandlersOnError() { - this._haltHandlersOnError = true; - } -}); - -AWS.util.addPromisesToRequests(AWS.Request); - -AWS.util.mixin(AWS.Request, AWS.SequentialExecutor); - -}).call(this,require('_process')) -},{"./core":188,"./state_machine":244,"_process":250,"jmespath":268}],221:[function(require,module,exports){ - - -var AWS = require('./core'); -var inherit = AWS.util.inherit; -var jmespath = require('jmespath'); - - -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'); - } -} - - -AWS.ResourceWaiter = inherit({ - - 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) { - var result = jmespath.search(resp.data, argument); - return jmespath.strictDeepEqual(result,expected); - }, - - pathAll: function(resp, expected, argument) { - var results = jmespath.search(resp.data, argument); - 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) { - var results = jmespath.search(resp.data, argument); - 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; - } - 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); - }), - - - wait: function wait(params, callback) { - if (typeof params === 'function') { - callback = params; params = undefined; - } - - 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 - }); - }, - - - 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 = this.service.api.waiters[state]; - } -}); - -},{"./core":188,"jmespath":268}],222:[function(require,module,exports){ -var AWS = require('./core'); -var inherit = AWS.util.inherit; -var jmespath = require('jmespath'); - - -AWS.Response = inherit({ - - - constructor: function Response(request) { - this.request = request; - this.data = null; - this.error = null; - this.retryCount = 0; - this.redirectCount = 0; - this.httpResponse = new AWS.HttpResponse(); - if (request) { - this.maxRetries = request.service.numRetries(); - this.maxRedirects = request.service.config.maxRedirects; - } - }, - - - nextPage: function nextPage(callback) { - var config; - var service = this.request.service; - var operation = this.request.operation; - try { - config = service.paginationConfig(operation, true); - } catch (e) { this.error = e; } - - if (!this.hasNextPage()) { - if (callback) callback(this.error, null); - else if (this.error) throw this.error; - return null; - } - - var params = AWS.util.copy(this.request.params); - if (!this.nextPageTokens) { - return callback ? callback(null, null) : null; - } else { - var inputTokens = config.inputToken; - if (typeof inputTokens === 'string') inputTokens = [inputTokens]; - for (var i = 0; i < inputTokens.length; i++) { - params[inputTokens[i]] = this.nextPageTokens[i]; - } - return service.makeRequest(this.request.operation, params, callback); - } - }, - - - hasNextPage: function hasNextPage() { - this.cacheNextPageTokens(); - if (this.nextPageTokens) return true; - if (this.nextPageTokens === undefined) return undefined; - else return false; - }, - - - cacheNextPageTokens: function cacheNextPageTokens() { - if (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; - } - -}); - -},{"./core":188,"jmespath":268}],223:[function(require,module,exports){ -var AWS = require('../core'); -var byteLength = AWS.util.string.byteLength; -var Buffer = AWS.util.Buffer; - - -AWS.S3.ManagedUpload = AWS.util.inherit({ - - constructor: function ManagedUpload(options) { - var self = this; - AWS.SequentialExecutor.call(self); - self.body = null; - self.sliceFn = null; - self.callback = null; - self.parts = {}; - self.completeInfo = []; - self.fillQueue = function() { - self.callback(new Error('Unsupported body payload ' + typeof self.body)); - }; - - self.configure(options); - }, - - - configure: function configure(options) { - options = options || {}; - this.partSize = this.minPartSize; - - if (options.queueSize) this.queueSize = options.queueSize; - if (options.partSize) this.partSize = options.partSize; - if (options.leavePartsOnError) this.leavePartsOnError = true; - - if (this.partSize < this.minPartSize) { - throw new Error('partSize must be greater than ' + - this.minPartSize); - } - - this.service = options.service; - this.bindServiceObject(options.params); - this.validateBody(); - this.adjustTotalBytes(); - }, - - - leavePartsOnError: false, - - - queueSize: 4, - - - partSize: null, - - - minPartSize: 1024 * 1024 * 5, - - - maxTotalParts: 10000, - - - send: function(callback) { - var self = this; - self.failed = false; - self.callback = callback || function(err) { if (err) throw err; }; - - var runFill = true; - if (self.sliceFn) { - self.fillQueue = self.fillBuffer; - } else if (AWS.util.isNode()) { - var Stream = AWS.util.stream.Stream; - if (self.body instanceof Stream) { - runFill = false; - self.fillQueue = self.fillStream; - self.partBuffers = []; - self.body. - on('readable', function() { self.fillQueue(); }). - on('end', function() { - self.isDoneChunking = true; - self.numParts = self.totalPartNumbers; - self.fillQueue.call(self); - }); - } - } - - if (runFill) self.fillQueue.call(self); - }, - - - abort: function() { - this.cleanup(AWS.util.error(new Error('Request aborted by user'), { - code: 'RequestAbortedError', retryable: false - })); - }, - - - validateBody: function validateBody() { - var self = this; - self.body = self.service.config.params.Body; - if (!self.body) throw new Error('params.Body is required'); - if (typeof self.body === 'string') { - self.body = new AWS.util.Buffer(self.body); - } - self.sliceFn = AWS.util.arraySliceFn(self.body); - }, - - - bindServiceObject: function bindServiceObject(params) { - params = params || {}; - var self = this; - - if (!self.service) { - self.service = new AWS.S3({params: params}); - } else { - var config = AWS.util.copy(self.service.config); - self.service = new self.service.constructor.__super__(config); - self.service.config.params = - AWS.util.merge(self.service.config.params || {}, params); - } - }, - - - adjustTotalBytes: function adjustTotalBytes() { - var self = this; - try { // try to get totalBytes - self.totalBytes = byteLength(self.body); - } catch (e) { } - - if (self.totalBytes) { - var newPartSize = Math.ceil(self.totalBytes / self.maxTotalParts); - if (newPartSize > self.partSize) self.partSize = newPartSize; - } else { - self.totalBytes = undefined; - } - }, - - - isDoneChunking: false, - - - partPos: 0, - - - totalChunkedBytes: 0, - - - totalUploadedBytes: 0, - - - totalBytes: undefined, - - - numParts: 0, - - - totalPartNumbers: 0, - - - activeParts: 0, - - - doneParts: 0, - - - parts: null, - - - completeInfo: null, - - - failed: false, - - - multipartReq: null, - - - partBuffers: null, - - - partBufferLength: 0, - - - fillBuffer: function fillBuffer() { - var self = this; - var bodyLen = byteLength(self.body); - - if (bodyLen === 0) { - self.isDoneChunking = true; - self.numParts = 1; - self.nextChunk(self.body); - return; - } - - while (self.activeParts < self.queueSize && self.partPos < bodyLen) { - var endPos = Math.min(self.partPos + self.partSize, bodyLen); - var buf = self.sliceFn.call(self.body, self.partPos, endPos); - self.partPos += self.partSize; - - if (byteLength(buf) < self.partSize || self.partPos === bodyLen) { - self.isDoneChunking = true; - self.numParts = self.totalPartNumbers + 1; - } - self.nextChunk(buf); - } - }, - - - fillStream: function fillStream() { - var self = this; - if (self.activeParts >= self.queueSize) return; - - var buf = self.body.read(self.partSize - self.partBufferLength) || - self.body.read(); - if (buf) { - self.partBuffers.push(buf); - self.partBufferLength += buf.length; - self.totalChunkedBytes += buf.length; - } - - if (self.partBufferLength >= self.partSize) { - var pbuf = self.partBuffers.length === 1 ? - self.partBuffers[0] : Buffer.concat(self.partBuffers); - self.partBuffers = []; - self.partBufferLength = 0; - - if (pbuf.length > self.partSize) { - var rest = pbuf.slice(self.partSize); - self.partBuffers.push(rest); - self.partBufferLength += rest.length; - pbuf = pbuf.slice(0, self.partSize); - } - - self.nextChunk(pbuf); - } - - if (self.isDoneChunking && !self.isDoneSending) { - pbuf = self.partBuffers.length === 1 ? - self.partBuffers[0] : Buffer.concat(self.partBuffers); - self.partBuffers = []; - self.partBufferLength = 0; - self.totalBytes = self.totalChunkedBytes; - self.isDoneSending = true; - - if (self.numParts === 0 || pbuf.length > 0) { - self.numParts++; - self.nextChunk(pbuf); - } - } - - self.body.read(0); - }, - - - nextChunk: function nextChunk(chunk) { - var self = this; - if (self.failed) return null; - - var partNumber = ++self.totalPartNumbers; - if (self.isDoneChunking && partNumber === 1) { - var req = self.service.putObject({Body: chunk}); - req._managedUpload = self; - req.on('httpUploadProgress', self.progress).send(self.finishSinglePart); - return null; - } else if (self.service.config.params.ContentMD5) { - var err = AWS.util.error(new Error('The Content-MD5 you specified is invalid for multi-part uploads.'), { - code: 'InvalidDigest', retryable: false - }); - - self.cleanup(err); - return null; - } - - if (self.completeInfo[partNumber] && self.completeInfo[partNumber].ETag !== null) { - return null; // Already uploaded this part. - } - - self.activeParts++; - if (!self.service.config.params.UploadId) { - - if (!self.multipartReq) { // create multipart - self.multipartReq = self.service.createMultipartUpload(); - self.multipartReq.on('success', function(resp) { - self.service.config.params.UploadId = resp.data.UploadId; - self.multipartReq = null; - }); - self.queueChunks(chunk, partNumber); - self.multipartReq.on('error', function(err) { - self.cleanup(err); - }); - self.multipartReq.send(); - } else { - self.queueChunks(chunk, partNumber); - } - } else { // multipart is created, just send - self.uploadPart(chunk, partNumber); - } - }, - - - uploadPart: function uploadPart(chunk, partNumber) { - var self = this; - - var partParams = { - Body: chunk, - ContentLength: AWS.util.string.byteLength(chunk), - PartNumber: partNumber - }; - - var partInfo = {ETag: null, PartNumber: partNumber}; - self.completeInfo[partNumber] = partInfo; - - var req = self.service.uploadPart(partParams); - self.parts[partNumber] = req; - req._lastUploadedBytes = 0; - req._managedUpload = self; - req.on('httpUploadProgress', self.progress); - req.send(function(err, data) { - delete self.parts[partParams.PartNumber]; - self.activeParts--; - - if (!err && (!data || !data.ETag)) { - var message = 'No access to ETag property on response.'; - if (AWS.util.isBrowser()) { - message += ' Check CORS configuration to expose ETag header.'; - } - - err = AWS.util.error(new Error(message), { - code: 'ETagMissing', retryable: false - }); - } - if (err) return self.cleanup(err); - - partInfo.ETag = data.ETag; - self.doneParts++; - if (self.isDoneChunking && self.doneParts === self.numParts) { - self.finishMultiPart(); - } else { - self.fillQueue.call(self); - } - }); - }, - - - queueChunks: function queueChunks(chunk, partNumber) { - var self = this; - self.multipartReq.on('success', function() { - self.uploadPart(chunk, partNumber); - }); - }, - - - cleanup: function cleanup(err) { - var self = this; - if (self.failed) return; - - if (typeof self.body.removeAllListeners === 'function' && - typeof self.body.resume === 'function') { - self.body.removeAllListeners('readable'); - self.body.removeAllListeners('end'); - self.body.resume(); - } - - if (self.service.config.params.UploadId && !self.leavePartsOnError) { - self.service.abortMultipartUpload().send(); - } - - AWS.util.each(self.parts, function(partNumber, part) { - part.removeAllListeners('complete'); - part.abort(); - }); - - self.activeParts = 0; - self.partPos = 0; - self.numParts = 0; - self.totalPartNumbers = 0; - self.parts = {}; - self.failed = true; - self.callback(err); - }, - - - finishMultiPart: function finishMultiPart() { - var self = this; - var completeParams = { MultipartUpload: { Parts: self.completeInfo.slice(1) } }; - self.service.completeMultipartUpload(completeParams, function(err, data) { - if (err) return self.cleanup(err); - else self.callback(err, data); - }); - }, - - - finishSinglePart: function finishSinglePart(err, data) { - var upload = this.request._managedUpload; - var httpReq = this.request.httpRequest; - var endpoint = httpReq.endpoint; - if (err) return upload.callback(err); - data.Location = - [endpoint.protocol, '//', endpoint.host, httpReq.path].join(''); - data.key = this.request.params.Key; // will stay undocumented - data.Key = this.request.params.Key; - data.Bucket = this.request.params.Bucket; - upload.callback(err, data); - }, - - - progress: function progress(info) { - var upload = this._managedUpload; - if (this.operation === 'putObject') { - info.part = 1; - info.key = this.params.Key; - } else { - upload.totalUploadedBytes += info.loaded - this._lastUploadedBytes; - this._lastUploadedBytes = info.loaded; - info = { - loaded: upload.totalUploadedBytes, - total: upload.totalBytes, - part: this.params.PartNumber, - key: this.params.Key - }; - } - upload.emit('httpUploadProgress', [info]); - } -}); - -AWS.util.mixin(AWS.S3.ManagedUpload, AWS.SequentialExecutor); -module.exports = AWS.S3.ManagedUpload; - -},{"../core":188}],224:[function(require,module,exports){ -var AWS = require('./core'); - - -AWS.SequentialExecutor = AWS.util.inherit({ - - constructor: function SequentialExecutor() { - this._events = {}; - }, - - - listeners: function listeners(eventName) { - return this._events[eventName] ? this._events[eventName].slice(0) : []; - }, - - on: function on(eventName, listener) { - if (this._events[eventName]) { - this._events[eventName].push(listener); - } else { - this._events[eventName] = [listener]; - } - return this; - }, - - - onAsync: function onAsync(eventName, listener) { - listener._isAsync = true; - return this.on(eventName, listener); - }, - - removeListener: function removeListener(eventName, listener) { - var listeners = this._events[eventName]; - if (listeners) { - var length = listeners.length; - var position = -1; - for (var i = 0; i < length; ++i) { - if (listeners[i] === listener) { - position = i; - } - } - if (position > -1) { - listeners.splice(position, 1); - } - } - return this; - }, - - removeAllListeners: function removeAllListeners(eventName) { - if (eventName) { - delete this._events[eventName]; - } else { - this._events = {}; - } - return this; - }, - - - emit: function emit(eventName, eventArgs, doneCallback) { - if (!doneCallback) doneCallback = function() { }; - var listeners = this.listeners(eventName); - var count = listeners.length; - this.callListeners(listeners, eventArgs, doneCallback); - return count > 0; - }, - - - callListeners: function callListeners(listeners, args, doneCallback, prevError) { - var self = this; - var error = prevError || null; - - function callNextListener(err) { - if (err) { - error = AWS.util.error(error || new Error(), err); - if (self._haltHandlersOnError) { - return doneCallback.call(self, error); - } - } - self.callListeners(listeners, args, doneCallback, error); - } - - while (listeners.length > 0) { - var listener = listeners.shift(); - if (listener._isAsync) { // asynchronous listener - listener.apply(self, args.concat([callNextListener])); - return; // stop here, callNextListener will continue - } else { // synchronous listener - try { - listener.apply(self, args); - } catch (err) { - error = AWS.util.error(error || new Error(), err); - } - if (error && self._haltHandlersOnError) { - doneCallback.call(self, error); - return; - } - } - } - doneCallback.call(self, error); - }, - - - addListeners: function addListeners(listeners) { - var self = this; - - if (listeners._events) listeners = listeners._events; - - AWS.util.each(listeners, function(event, callbacks) { - if (typeof callbacks === 'function') callbacks = [callbacks]; - AWS.util.arrayEach(callbacks, function(callback) { - self.on(event, callback); - }); - }); - - return self; - }, - - - addNamedListener: function addNamedListener(name, eventName, callback) { - this[name] = callback; - this.addListener(eventName, callback); - return this; - }, - - - addNamedAsyncListener: function addNamedAsyncListener(name, eventName, callback) { - callback._isAsync = true; - return this.addNamedListener(name, eventName, callback); - }, - - - addNamedListeners: function addNamedListeners(callback) { - var self = this; - callback( - function() { - self.addNamedListener.apply(self, arguments); - }, - function() { - self.addNamedAsyncListener.apply(self, arguments); - } - ); - return this; - } -}); - - -AWS.SequentialExecutor.prototype.addListener = AWS.SequentialExecutor.prototype.on; - -module.exports = AWS.SequentialExecutor; - -},{"./core":188}],225:[function(require,module,exports){ -var AWS = require('./core'); -var Api = require('./model/api'); -var regionConfig = require('./region_config'); -var inherit = AWS.util.inherit; -var clientCount = 0; - - -AWS.Service = inherit({ - - constructor: function Service(config) { - if (!this.loadServiceClass) { - throw AWS.util.error(new Error(), - 'Service must be constructed with `new\' operator'); - } - var ServiceClass = this.loadServiceClass(config || {}); - if (ServiceClass) { - 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); - }, - - - initialize: function initialize(config) { - var svcConfig = AWS.config[this.serviceIdentifier]; - - this.config = new AWS.Config(AWS.config); - if (svcConfig) this.config.update(svcConfig, true); - if (config) this.config.update(config, true); - - this.validateService(); - if (!this.config.endpoint) regionConfig(this); - - this.config.endpoint = this.endpointFromTemplate(this.config.endpoint); - this.setEndpoint(this.config.endpoint); - }, - - - validateService: function validateService() { - }, - - - loadServiceClass: function loadServiceClass(serviceConfig) { - var config = serviceConfig; - if (!AWS.util.isEmpty(this.api)) { - return null; - } else if (config.apiConfig) { - return AWS.Service.defineServiceApi(this.constructor, config.apiConfig); - } else if (!this.constructor.services) { - return null; - } else { - config = new AWS.Config(AWS.config); - config.update(serviceConfig, true); - var version = config.apiVersions[this.constructor.serviceIdentifier]; - version = version || config.apiVersion; - return this.getLatestServiceClass(version); - } - }, - - - getLatestServiceClass: function getLatestServiceClass(version) { - version = this.getLatestServiceVersion(version); - if (this.constructor.services[version] === null) { - AWS.Service.defineServiceApi(this.constructor, version); - } - - return this.constructor.services[version]; - }, - - - getLatestServiceVersion: function getLatestServiceVersion(version) { - if (!this.constructor.services || this.constructor.services.length === 0) { - throw new Error('No services defined on ' + - this.constructor.serviceIdentifier); - } - - if (!version) { - version = 'latest'; - } else if (AWS.util.isType(version, Date)) { - version = AWS.util.date.iso8601(version).split('T')[0]; - } - - if (Object.hasOwnProperty(this.constructor.services, version)) { - return version; - } - - var keys = Object.keys(this.constructor.services).sort(); - var selectedVersion = null; - for (var i = keys.length - 1; i >= 0; i--) { - if (keys[i][keys[i].length - 1] !== '*') { - selectedVersion = keys[i]; - } - if (keys[i].substr(0, 10) <= version) { - return selectedVersion; - } - } - - throw new Error('Could not find ' + this.constructor.serviceIdentifier + - ' API to satisfy version constraint `' + version + '\''); - }, - - - api: {}, - - - defaultRetryCount: 3, - - - makeRequest: function makeRequest(operation, params, callback) { - if (typeof params === 'function') { - callback = params; - params = null; - } - - params = params || {}; - if (this.config.params) { // copy only toplevel bound params - var rules = this.api.operations[operation]; - if (rules) { - params = AWS.util.copy(params); - AWS.util.each(this.config.params, function(key, value) { - if (rules.input.members[key]) { - if (params[key] === undefined || params[key] === null) { - params[key] = value; - } - } - }); - } - } - - var request = new AWS.Request(this, operation, params); - this.addAllRequestListeners(request); - - if (callback) request.send(callback); - return request; - }, - - - makeUnauthenticatedRequest: function makeUnauthenticatedRequest(operation, params, callback) { - if (typeof params === 'function') { - callback = params; - params = {}; - } - - var request = this.makeRequest(operation, params).toUnauthenticated(); - return callback ? request.send(callback) : request; - }, - - - waitFor: function waitFor(state, params, callback) { - var waiter = new AWS.ResourceWaiter(this, state); - return waiter.wait(params, callback); - }, - - - addAllRequestListeners: function addAllRequestListeners(request) { - var list = [AWS.events, AWS.EventListeners.Core, this.serviceInterface(), - AWS.EventListeners.CorePost]; - for (var i = 0; i < list.length; i++) { - if (list[i]) request.addListeners(list[i]); - } - - if (!this.config.paramValidation) { - request.removeListener('validate', - AWS.EventListeners.Core.VALIDATE_PARAMETERS); - } - - if (this.config.logger) { // add logging events - request.addListeners(AWS.EventListeners.Logger); - } - - this.setupRequestListeners(request); - }, - - - setupRequestListeners: function setupRequestListeners() { - }, - - - getSignerClass: function getSignerClass() { - var version; - if (this.config.signatureVersion) { - version = this.config.signatureVersion; - } else { - version = this.api.signatureVersion; - } - return AWS.Signers.RequestSigner.getVersion(version); - }, - - - serviceInterface: function serviceInterface() { - switch (this.api.protocol) { - case 'ec2': return AWS.EventListeners.Query; - case 'query': return AWS.EventListeners.Query; - case 'json': return AWS.EventListeners.Json; - case 'rest-json': return AWS.EventListeners.RestJson; - case 'rest-xml': return AWS.EventListeners.RestXml; - } - if (this.api.protocol) { - throw new Error('Invalid service `protocol\' ' + - this.api.protocol + ' in API config'); - } - }, - - - successfulResponse: function successfulResponse(resp) { - return resp.httpResponse.statusCode < 300; - }, - - - numRetries: function numRetries() { - if (this.config.maxRetries !== undefined) { - return this.config.maxRetries; - } else { - return this.defaultRetryCount; - } - }, - - - retryDelays: function retryDelays(retryCount) { - return AWS.util.calculateRetryDelay(retryCount, this.config.retryDelayOptions); - }, - - - retryableError: function retryableError(error) { - if (this.networkingError(error)) return true; - if (this.expiredCredentialsError(error)) return true; - if (this.throttledError(error)) return true; - if (error.statusCode >= 500) return true; - return false; - }, - - - networkingError: function networkingError(error) { - return error.code === 'NetworkingError'; - }, - - - expiredCredentialsError: function expiredCredentialsError(error) { - return (error.code === 'ExpiredTokenException'); - }, - - - clockSkewError: function clockSkewError(error) { - switch (error.code) { - case 'RequestTimeTooSkewed': - case 'RequestExpired': - case 'InvalidSignatureException': - case 'SignatureDoesNotMatch': - case 'AuthFailure': - case 'RequestInTheFuture': - return true; - default: return false; - } - }, - - - throttledError: function throttledError(error) { - switch (error.code) { - case 'ProvisionedThroughputExceededException': - case 'Throttling': - case 'ThrottlingException': - case 'RequestLimitExceeded': - case 'RequestThrottled': - return true; - default: - return false; - } - }, - - - endpointFromTemplate: function endpointFromTemplate(endpoint) { - if (typeof endpoint !== 'string') return endpoint; - - var e = endpoint; - e = e.replace(/\{service\}/g, this.api.endpointPrefix); - e = e.replace(/\{region\}/g, this.config.region); - e = e.replace(/\{scheme\}/g, this.config.sslEnabled ? 'https' : 'http'); - return e; - }, - - - setEndpoint: function setEndpoint(endpoint) { - this.endpoint = new AWS.Endpoint(endpoint, this.config); - }, - - - paginationConfig: function paginationConfig(operation, throwException) { - var paginator = this.api.operations[operation].paginator; - if (!paginator) { - if (throwException) { - var e = new Error(); - throw AWS.util.error(e, 'No pagination configuration for ' + operation); - } - return null; - } - - return paginator; - } -}); - -AWS.util.update(AWS.Service, { - - - defineMethods: function defineMethods(svc) { - AWS.util.each(svc.prototype.api.operations, function iterator(method) { - if (svc.prototype[method]) return; - 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); - }; - } - }); - }, - - - defineService: function defineService(serviceIdentifier, versions, features) { - AWS.Service._serviceMap[serviceIdentifier] = true; - if (!Array.isArray(versions)) { - features = versions; - versions = []; - } - - var svc = inherit(AWS.Service, features || {}); - - if (typeof serviceIdentifier === 'string') { - AWS.Service.addVersions(svc, versions); - - var identifier = svc.serviceIdentifier || serviceIdentifier; - svc.serviceIdentifier = identifier; - } else { // defineService called with an API - svc.prototype.api = serviceIdentifier; - AWS.Service.defineMethods(svc); - } - - return svc; - }, - - - addVersions: function addVersions(svc, versions) { - if (!Array.isArray(versions)) versions = [versions]; - - svc.services = svc.services || {}; - for (var i = 0; i < versions.length; i++) { - if (svc.services[versions[i]] === undefined) { - svc.services[versions[i]] = null; - } - } - - svc.apiVersions = Object.keys(svc.services).sort(); - }, - - - defineServiceApi: function defineServiceApi(superclass, version, apiConfig) { - var svc = inherit(superclass, { - serviceIdentifier: superclass.serviceIdentifier - }); - - function setApi(api) { - if (api.isApi) { - svc.prototype.api = api; - } else { - svc.prototype.api = new Api(api); - } - } - - if (typeof version === 'string') { - if (apiConfig) { - setApi(apiConfig); - } else { - try { - setApi(AWS.apiLoader(superclass.serviceIdentifier, version)); - } catch (err) { - throw AWS.util.error(err, { - message: 'Could not find API configuration ' + - superclass.serviceIdentifier + '-' + version - }); - } - } - if (!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; - }, - - - hasService: function(identifier) { - return Object.prototype.hasOwnProperty.call(AWS.Service._serviceMap, identifier); - }, - - - _serviceMap: {} -}); - -module.exports = AWS.Service; -},{"./core":188,"./model/api":205,"./region_config":219}],226:[function(require,module,exports){ -var AWS = require('../core'); - -AWS.util.update(AWS.APIGateway.prototype, { - - setAcceptHeader: function setAcceptHeader(req) { - var httpRequest = req.httpRequest; - httpRequest.headers['Accept'] = 'application/json'; - }, - - - setupRequestListeners: function setupRequestListeners(request) { - request.addListener('build', this.setAcceptHeader); - if (request.operation === 'getSdk') { - request.addListener('extractData', this.useRawPayload); - } - }, - - useRawPayload: function useRawPayload(resp) { - var req = resp.request; - var operation = req.operation; - var rules = req.service.api.operations[operation].output || {}; - if (rules.payload) { - var body = resp.httpResponse.body; - resp.data[rules.payload] = body; - } - } -}); - - -},{"../core":188}],227:[function(require,module,exports){ -var AWS = require('../core'); - -require('../cloudfront/signer'); - -AWS.util.update(AWS.CloudFront.prototype, { - - setupRequestListeners: function setupRequestListeners(request) { - request.addListener('extractData', AWS.util.hoistPayloadMember); - } - -}); - -},{"../cloudfront/signer":186,"../core":188}],228:[function(require,module,exports){ -var AWS = require('../core'); - -AWS.util.update(AWS.CognitoIdentity.prototype, { - getOpenIdToken: function getOpenIdToken(params, callback) { - return this.makeUnauthenticatedRequest('getOpenIdToken', params, callback); - }, - - getId: function getId(params, callback) { - return this.makeUnauthenticatedRequest('getId', params, callback); - }, - - getCredentialsForIdentity: function getCredentialsForIdentity(params, callback) { - return this.makeUnauthenticatedRequest('getCredentialsForIdentity', params, callback); - } -}); - -},{"../core":188}],229:[function(require,module,exports){ -var AWS = require('../core'); -require('../dynamodb/document_client'); - -AWS.util.update(AWS.DynamoDB.prototype, { - - setupRequestListeners: function setupRequestListeners(request) { - if (request.service.config.dynamoDbCrc32) { - request.removeListener('extractData', AWS.EventListeners.Json.EXTRACT_DATA); - request.addListener('extractData', this.checkCrc32); - request.addListener('extractData', AWS.EventListeners.Json.EXTRACT_DATA); - } - }, - - - checkCrc32: function checkCrc32(resp) { - if (!resp.httpResponse.streaming && !resp.request.service.crc32IsValid(resp)) { - resp.data = null; - resp.error = AWS.util.error(new Error(), { - code: 'CRC32CheckFailed', - message: 'CRC32 integrity check failed', - retryable: true - }); - resp.request.haltHandlersOnError(); - throw (resp.error); - } - }, - - - crc32IsValid: function crc32IsValid(resp) { - var crc = resp.httpResponse.headers['x-amz-crc32']; - if (!crc) return true; // no (valid) CRC32 header - return parseInt(crc, 10) === AWS.util.crypto.crc32(resp.httpResponse.body); - }, - - - defaultRetryCount: 10, - - - retryDelays: function retryDelays(retryCount) { - var delay = retryCount > 0 ? (50 * Math.pow(2, retryCount - 1)) : 0; - return delay; - } -}); - -},{"../core":188,"../dynamodb/document_client":196}],230:[function(require,module,exports){ -var AWS = require('../core'); - -AWS.util.update(AWS.EC2.prototype, { - - setupRequestListeners: function setupRequestListeners(request) { - request.removeListener('extractError', AWS.EventListeners.Query.EXTRACT_ERROR); - request.addListener('extractError', this.extractError); - - if (request.operation === 'copySnapshot') { - request.onAsync('validate', this.buildCopySnapshotPresignedUrl); - } - }, - - - buildCopySnapshotPresignedUrl: function buildCopySnapshotPresignedUrl(req, done) { - if (req.params.PresignedUrl || req._subRequest) { - return done(); - } - - req.params = AWS.util.copy(req.params); - req.params.DestinationRegion = req.service.config.region; - - var config = AWS.util.copy(req.service.config); - delete config.endpoint; - config.region = req.params.SourceRegion; - var svc = new req.service.constructor(config); - var newReq = svc[req.operation](req.params); - newReq._subRequest = true; - newReq.presign(function(err, url) { - if (err) done(err); - else { - req.params.PresignedUrl = url; - done(); - } - }); - }, - - - extractError: function extractError(resp) { - var httpResponse = resp.httpResponse; - var data = new AWS.XML.Parser().parse(httpResponse.body.toString() || ''); - if (data.Errors) { - resp.error = AWS.util.error(new Error(), { - code: data.Errors.Error.Code, - message: data.Errors.Error.Message - }); - } else { - resp.error = AWS.util.error(new Error(), { - code: httpResponse.statusCode, - message: null - }); - } - resp.error.requestId = data.RequestID || null; - } -}); - -},{"../core":188}],231:[function(require,module,exports){ -var AWS = require('../core'); - - -AWS.util.update(AWS.IotData.prototype, { - - validateService: function validateService() { - if (!this.config.endpoint || this.config.endpoint.indexOf('{') >= 0) { - var msg = 'AWS.IotData requires an explicit ' + - '`endpoint\' configuration option.'; - throw AWS.util.error(new Error(), - {name: 'InvalidEndpoint', message: msg}); - } - }, - - - setupRequestListeners: function setupRequestListeners(request) { - request.addListener('validateResponse', this.validateResponseBody) - }, - - - validateResponseBody: function validateResponseBody(resp) { - var body = resp.httpResponse.body.toString() || '{}'; - var bodyCheck = body.trim(); - if (!bodyCheck || bodyCheck.charAt(0) !== '{') { - resp.httpResponse.body = ''; - } - } - -}); - -},{"../core":188}],232:[function(require,module,exports){ -var AWS = require('../core'); - -AWS.util.update(AWS.MachineLearning.prototype, { - - setupRequestListeners: function setupRequestListeners(request) { - if (request.operation === 'predict') { - request.addListener('build', this.buildEndpoint); - } - }, - - - buildEndpoint: function buildEndpoint(request) { - var url = request.params.PredictEndpoint; - if (url) { - request.httpRequest.endpoint = new AWS.Endpoint(url); - } - } - -}); - -},{"../core":188}],233:[function(require,module,exports){ -var AWS = require('../core'); - -AWS.util.update(AWS.Route53.prototype, { - - setupRequestListeners: function setupRequestListeners(request) { - request.on('build', this.sanitizeUrl); - }, - - - sanitizeUrl: function sanitizeUrl(request) { - var path = request.httpRequest.path; - request.httpRequest.path = path.replace(/\/%2F\w+%2F/, '/'); - }, - - - retryableError: function retryableError(error) { - if (error.code === 'PriorRequestNotComplete' && - error.statusCode === 400) { - return true; - } else { - var _super = AWS.Service.prototype.retryableError; - return _super.call(this, error); - } - } -}); - -},{"../core":188}],234:[function(require,module,exports){ -var AWS = require('../core'); - -require('../s3/managed_upload'); - - -var operationsWith200StatusCodeError = { - 'completeMultipartUpload': true, - 'copyObject': true, - 'uploadPartCopy': true -}; - - - var regionRedirectErrorCodes = [ - 'AuthorizationHeaderMalformed', // non-head operations on virtual-hosted global bucket endpoints - 'BadRequest', // head operations on virtual-hosted global bucket endpoints - 'PermanentRedirect', // non-head operations on path-style or regional endpoints - 301 // head operations on path-style or regional endpoints - ]; - -AWS.util.update(AWS.S3.prototype, { - - getSignerClass: function getSignerClass(request) { - var defaultApiVersion = this.api.signatureVersion; - var userDefinedVersion = this._originalConfig ? this._originalConfig.signatureVersion : null; - var regionDefinedVersion = this.config.signatureVersion; - var isPresigned = request ? request.isPresigned() : false; - - if (userDefinedVersion) { - userDefinedVersion = userDefinedVersion === 'v2' ? 's3' : userDefinedVersion; - return AWS.Signers.RequestSigner.getVersion(userDefinedVersion); - } - if (regionDefinedVersion) { - defaultApiVersion = regionDefinedVersion; - } - - return AWS.Signers.RequestSigner.getVersion(defaultApiVersion); - }, - - - validateService: function validateService() { - var msg; - var messages = []; - - if (!this.config.region) this.config.region = 'us-east-1'; - - if (!this.config.endpoint && this.config.s3BucketEndpoint) { - messages.push('An endpoint must be provided when configuring ' + - '`s3BucketEndpoint` to true.'); - } - if (this.config.useAccelerateEndpoint && this.config.useDualstack) { - messages.push('`useAccelerateEndpoint` and `useDualstack` ' + - 'cannot both be configured to true.'); - } - if (messages.length === 1) { - msg = messages[0]; - } else if (messages.length > 1) { - msg = 'Multiple configuration errors:\n' + messages.join('\n'); - } - if (msg) { - throw AWS.util.error(new Error(), - {name: 'InvalidEndpoint', message: msg}); - } - }, - - - shouldDisableBodySigning: function shouldDisableBodySigning(request) { - var signerClass = this.getSignerClass(); - if (this.config.s3DisableBodySigning === true && signerClass === AWS.Signers.V4 - && request.httpRequest.endpoint.protocol === 'https:') { - return true; - } - return false; - }, - - - setupRequestListeners: function setupRequestListeners(request) { - request.addListener('validate', this.validateScheme); - request.addListener('validate', this.validateBucketEndpoint); - request.addListener('validate', this.correctBucketRegionFromCache); - request.addListener('build', this.addContentType); - request.addListener('build', this.populateURI); - request.addListener('build', this.computeContentMd5); - request.addListener('build', this.computeSseCustomerKeyMd5); - request.addListener('afterBuild', this.addExpect100Continue); - request.removeListener('validate', - AWS.EventListeners.Core.VALIDATE_REGION); - request.addListener('extractError', this.extractError); - request.onAsync('extractError', this.requestBucketRegion); - request.addListener('extractData', this.extractData); - request.addListener('extractData', AWS.util.hoistPayloadMember); - request.addListener('beforePresign', this.prepareSignedUrl); - if (AWS.util.isBrowser()) { - request.onAsync('retry', this.reqRegionForNetworkingError); - } - if (this.shouldDisableBodySigning(request)) { - request.removeListener('afterBuild', AWS.EventListeners.Core.COMPUTE_SHA256); - request.addListener('afterBuild', this.disableBodySigning); - } - }, - - - validateScheme: function(req) { - var params = req.params, - scheme = req.httpRequest.endpoint.protocol, - sensitive = params.SSECustomerKey || params.CopySourceSSECustomerKey; - if (sensitive && scheme !== 'https:') { - var msg = 'Cannot send SSE keys over HTTP. Set \'sslEnabled\'' + - 'to \'true\' in your configuration'; - throw AWS.util.error(new Error(), - { code: 'ConfigError', message: msg }); - } - }, - - - validateBucketEndpoint: function(req) { - if (!req.params.Bucket && req.service.config.s3BucketEndpoint) { - var msg = 'Cannot send requests to root API with `s3BucketEndpoint` set.'; - throw AWS.util.error(new Error(), - { code: 'ConfigError', message: msg }); - } - }, - - - isValidAccelerateOperation: function isValidAccelerateOperation(operation) { - var invalidOperations = [ - 'createBucket', - 'deleteBucket', - 'listBuckets' - ]; - return invalidOperations.indexOf(operation) === -1; - }, - - - - populateURI: function populateURI(req) { - var httpRequest = req.httpRequest; - var b = req.params.Bucket; - var service = req.service; - var endpoint = httpRequest.endpoint; - - if (b) { - if (!service.pathStyleBucketName(b)) { - if (service.config.useAccelerateEndpoint && service.isValidAccelerateOperation(req.operation)) { - endpoint.hostname = b + '.s3-accelerate.amazonaws.com'; - } else if (!service.config.s3BucketEndpoint) { - endpoint.hostname = - b + '.' + endpoint.hostname; - } - - var port = endpoint.port; - if (port !== 80 && port !== 443) { - endpoint.host = endpoint.hostname + ':' + - endpoint.port; - } else { - endpoint.host = endpoint.hostname; - } - - httpRequest.virtualHostedBucket = b; // needed for signing the request - service.removeVirtualHostedBucketFromPath(req); - } - } - }, - - - removeVirtualHostedBucketFromPath: function removeVirtualHostedBucketFromPath(req) { - var httpRequest = req.httpRequest; - var bucket = httpRequest.virtualHostedBucket; - if (bucket && httpRequest.path) { - httpRequest.path = httpRequest.path.replace(new RegExp('/' + bucket), ''); - if (httpRequest.path[0] !== '/') { - httpRequest.path = '/' + httpRequest.path; - } - } - }, - - - addExpect100Continue: function addExpect100Continue(req) { - var len = req.httpRequest.headers['Content-Length']; - if (AWS.util.isNode() && len >= 1024 * 1024) { - req.httpRequest.headers['Expect'] = '100-continue'; - } - }, - - - addContentType: function addContentType(req) { - var httpRequest = req.httpRequest; - if (httpRequest.method === 'GET' || httpRequest.method === 'HEAD') { - delete httpRequest.headers['Content-Type']; - return; - } - - if (!httpRequest.headers['Content-Type']) { // always have a Content-Type - httpRequest.headers['Content-Type'] = 'application/octet-stream'; - } - - var contentType = httpRequest.headers['Content-Type']; - if (AWS.util.isBrowser()) { - if (typeof httpRequest.body === 'string' && !contentType.match(/;\s*charset=/)) { - var charset = '; charset=UTF-8'; - httpRequest.headers['Content-Type'] += charset; - } else { - var replaceFn = function(_, prefix, charsetName) { - return prefix + charsetName.toUpperCase(); - }; - - httpRequest.headers['Content-Type'] = - contentType.replace(/(;\s*charset=)(.+)$/, replaceFn); - } - } - }, - - - computableChecksumOperations: { - putBucketCors: true, - putBucketLifecycle: true, - putBucketLifecycleConfiguration: true, - putBucketTagging: true, - deleteObjects: true, - putBucketReplication: true - }, - - - willComputeChecksums: function willComputeChecksums(req) { - if (this.computableChecksumOperations[req.operation]) return true; - if (!this.config.computeChecksums) return false; - - if (!AWS.util.Buffer.isBuffer(req.httpRequest.body) && - typeof req.httpRequest.body !== 'string') { - return false; - } - - var rules = req.service.api.operations[req.operation].input.members; - - if (req.service.shouldDisableBodySigning(req) && !Object.prototype.hasOwnProperty.call(req.httpRequest.headers, 'presigned-expires')) { - if (rules.ContentMD5 && !req.params.ContentMD5) { - return true; - } - } - - if (req.service.getSignerClass(req) === AWS.Signers.V4) { - if (rules.ContentMD5 && !rules.ContentMD5.required) return false; - } - - if (rules.ContentMD5 && !req.params.ContentMD5) return true; - }, - - - computeContentMd5: function computeContentMd5(req) { - if (req.service.willComputeChecksums(req)) { - var md5 = AWS.util.crypto.md5(req.httpRequest.body, 'base64'); - req.httpRequest.headers['Content-MD5'] = md5; - } - }, - - - computeSseCustomerKeyMd5: function computeSseCustomerKeyMd5(req) { - var keys = { - SSECustomerKey: 'x-amz-server-side-encryption-customer-key-MD5', - CopySourceSSECustomerKey: 'x-amz-copy-source-server-side-encryption-customer-key-MD5' - }; - AWS.util.each(keys, function(key, header) { - if (req.params[key]) { - var value = AWS.util.crypto.md5(req.params[key], 'base64'); - req.httpRequest.headers[header] = value; - } - }); - }, - - - pathStyleBucketName: function pathStyleBucketName(bucketName) { - if (this.config.s3ForcePathStyle) return true; - if (this.config.s3BucketEndpoint) return false; - - if (this.dnsCompatibleBucketName(bucketName)) { - return (this.config.sslEnabled && bucketName.match(/\./)) ? true : false; - } else { - return true; // not dns compatible names must always use path style - } - }, - - - dnsCompatibleBucketName: function dnsCompatibleBucketName(bucketName) { - var b = bucketName; - var domain = new RegExp(/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/); - var ipAddress = new RegExp(/(\d+\.){3}\d+/); - var dots = new RegExp(/\.\./); - return (b.match(domain) && !b.match(ipAddress) && !b.match(dots)) ? true : false; - }, - - - successfulResponse: function successfulResponse(resp) { - var req = resp.request; - var httpResponse = resp.httpResponse; - if (operationsWith200StatusCodeError[req.operation] && - httpResponse.body.toString().match('')) { - return false; - } else { - return httpResponse.statusCode < 300; - } - }, - - - retryableError: function retryableError(error, request) { - if (operationsWith200StatusCodeError[request.operation] && - error.statusCode === 200) { - return true; - } else if (request._requestRegionForBucket && - request.service.bucketRegionCache[request._requestRegionForBucket]) { - return false; - } else if (error && error.code === 'RequestTimeout') { - return true; - } else if (error && - regionRedirectErrorCodes.indexOf(error.code) != -1 && - error.region && error.region != request.httpRequest.region) { - request.httpRequest.region = error.region; - if (error.statusCode === 301) { - request.service.updateReqBucketRegion(request); - } - return true; - } else { - var _super = AWS.Service.prototype.retryableError; - return _super.call(this, error, request); - } - }, - - - updateReqBucketRegion: function updateReqBucketRegion(request, region) { - var httpRequest = request.httpRequest; - if (typeof region === 'string' && region.length) { - httpRequest.region = region; - } - if (!httpRequest.endpoint.host.match(/s3(?!-accelerate).*\.amazonaws\.com$/)) { - return; - } - var service = request.service; - var s3Config = service.config; - var s3BucketEndpoint = s3Config.s3BucketEndpoint; - if (s3BucketEndpoint) { - delete s3Config.s3BucketEndpoint; - } - var newConfig = AWS.util.copy(s3Config); - delete newConfig.endpoint; - newConfig.region = httpRequest.region; - - httpRequest.endpoint = (new AWS.S3(newConfig)).endpoint; - service.populateURI(request); - s3Config.s3BucketEndpoint = s3BucketEndpoint; - httpRequest.headers.Host = httpRequest.endpoint.host; - - if (request._asm.currentState === 'validate') { - request.removeListener('build', service.populateURI); - request.addListener('build', service.removeVirtualHostedBucketFromPath); - } - }, - - - extractData: function extractData(resp) { - var req = resp.request; - if (req.operation === 'getBucketLocation') { - var match = resp.httpResponse.body.toString().match(/>(.+)<\/Location/); - delete resp.data['_']; - if (match) { - resp.data.LocationConstraint = match[1]; - } else { - resp.data.LocationConstraint = ''; - } - } - var bucket = req.params.Bucket || null; - if (req.operation === 'deleteBucket' && typeof bucket === 'string' && !resp.error) { - req.service.clearBucketRegionCache(bucket); - } else { - var headers = resp.httpResponse.headers || {}; - var region = headers['x-amz-bucket-region'] || null; - if (!region && req.operation === 'createBucket' && !resp.error) { - var createBucketConfiguration = req.params.CreateBucketConfiguration; - if (!createBucketConfiguration) { - region = 'us-east-1'; - } else if (createBucketConfiguration.LocationConstraint === 'EU') { - region = 'eu-west-1'; - } else { - region = createBucketConfiguration.LocationConstraint; - } - } - if (region) { - if (bucket && region !== req.service.bucketRegionCache[bucket]) { - req.service.bucketRegionCache[bucket] = region; - } - } - } - req.service.extractRequestIds(resp); - }, - - - extractError: function extractError(resp) { - var codes = { - 304: 'NotModified', - 403: 'Forbidden', - 400: 'BadRequest', - 404: 'NotFound' - }; - - var req = resp.request; - var code = resp.httpResponse.statusCode; - var body = resp.httpResponse.body || ''; - - var headers = resp.httpResponse.headers || {}; - var region = headers['x-amz-bucket-region'] || null; - var bucket = req.params.Bucket || null; - var bucketRegionCache = req.service.bucketRegionCache; - if (region && bucket && region !== bucketRegionCache[bucket]) { - bucketRegionCache[bucket] = region; - } - - var cachedRegion; - if (codes[code] && body.length === 0) { - if (bucket && !region) { - cachedRegion = bucketRegionCache[bucket] || null; - if (cachedRegion !== req.httpRequest.region) { - region = cachedRegion; - } - } - resp.error = AWS.util.error(new Error(), { - code: codes[code], - message: null, - region: region - }); - } else { - var data = new AWS.XML.Parser().parse(body.toString()); - - if (data.Region && !region) { - region = data.Region; - if (bucket && region !== bucketRegionCache[bucket]) { - bucketRegionCache[bucket] = region; - } - } else if (bucket && !region && !data.Region) { - cachedRegion = bucketRegionCache[bucket] || null; - if (cachedRegion !== req.httpRequest.region) { - region = cachedRegion; - } - } - - resp.error = AWS.util.error(new Error(), { - code: data.Code || code, - message: data.Message || null, - region: region - }); - } - req.service.extractRequestIds(resp); - }, - - - requestBucketRegion: function requestBucketRegion(resp, done) { - var error = resp.error; - var req = resp.request; - var bucket = req.params.Bucket || null; - - if (!error || !bucket || error.region || req.operation === 'listObjects' || - (AWS.util.isNode() && req.operation === 'headBucket') || - (error.statusCode === 400 && req.operation !== 'headObject') || - regionRedirectErrorCodes.indexOf(error.code) === -1) { - return done(); - } - var reqOperation = AWS.util.isNode() ? 'headBucket' : 'listObjects'; - var reqParams = {Bucket: bucket}; - if (reqOperation === 'listObjects') reqParams.MaxKeys = 0; - var regionReq = req.service[reqOperation](reqParams); - regionReq._requestRegionForBucket = bucket; - regionReq.send(function() { - var region = req.service.bucketRegionCache[bucket] || null; - error.region = region; - done(); - }); - }, - - - reqRegionForNetworkingError: function reqRegionForNetworkingError(resp, done) { - if (!AWS.util.isBrowser()) { - return done(); - } - var error = resp.error; - var request = resp.request; - var bucket = request.params.Bucket; - if (!error || error.code !== 'NetworkingError' || !bucket || - request.httpRequest.region === 'us-east-1') { - return done(); - } - var service = request.service; - var bucketRegionCache = service.bucketRegionCache; - var cachedRegion = bucketRegionCache[bucket] || null; - - if (cachedRegion && cachedRegion !== request.httpRequest.region) { - service.updateReqBucketRegion(request, cachedRegion); - done(); - } else if (!service.dnsCompatibleBucketName(bucket)) { - service.updateReqBucketRegion(request, 'us-east-1'); - if (bucketRegionCache[bucket] !== 'us-east-1') { - bucketRegionCache[bucket] = 'us-east-1'; - } - done(); - } else if (request.httpRequest.virtualHostedBucket) { - var getRegionReq = service.listObjects({Bucket: bucket, MaxKeys: 0}); - service.updateReqBucketRegion(getRegionReq, 'us-east-1'); - getRegionReq._requestRegionForBucket = bucket; - - getRegionReq.send(function() { - var region = service.bucketRegionCache[bucket] || null; - if (region && region !== request.httpRequest.region) { - service.updateReqBucketRegion(request, region); - } - done(); - }); - } else { - done(); - } - }, - - - bucketRegionCache: {}, - - - clearBucketRegionCache: function(buckets) { - var bucketRegionCache = this.bucketRegionCache; - if (!buckets) { - buckets = Object.keys(bucketRegionCache); - } else if (typeof buckets === 'string') { - buckets = [buckets]; - } - for (var i = 0; i < buckets.length; i++) { - delete bucketRegionCache[buckets[i]]; - } - return bucketRegionCache; - }, - - - correctBucketRegionFromCache: function correctBucketRegionFromCache(req) { - var bucket = req.params.Bucket || null; - if (bucket) { - var service = req.service; - var requestRegion = req.httpRequest.region; - var cachedRegion = service.bucketRegionCache[bucket]; - if (cachedRegion && cachedRegion !== requestRegion) { - service.updateReqBucketRegion(req, cachedRegion); - } - } - }, - - - extractRequestIds: function extractRequestIds(resp) { - var extendedRequestId = resp.httpResponse.headers ? resp.httpResponse.headers['x-amz-id-2'] : null; - var cfId = resp.httpResponse.headers ? resp.httpResponse.headers['x-amz-cf-id'] : null; - resp.extendedRequestId = extendedRequestId; - resp.cfId = cfId; - - if (resp.error) { - resp.error.requestId = resp.requestId || null; - resp.error.extendedRequestId = extendedRequestId; - resp.error.cfId = cfId; - } - }, - - - getSignedUrl: function getSignedUrl(operation, params, callback) { - params = AWS.util.copy(params || {}); - var expires = params.Expires || 900; - delete params.Expires; // we can't validate this - var request = this.makeRequest(operation, params); - return request.presign(expires, callback); - }, - - - prepareSignedUrl: function prepareSignedUrl(request) { - request.addListener('validate', request.service.noPresignedContentLength); - request.removeListener('build', request.service.addContentType); - if (!request.params.Body) { - request.removeListener('build', request.service.computeContentMd5); - } else { - request.addListener('afterBuild', AWS.EventListeners.Core.COMPUTE_SHA256); - } - }, - - - disableBodySigning: function disableBodySigning(request) { - var headers = request.httpRequest.headers; - if (!Object.prototype.hasOwnProperty.call(headers, 'presigned-expires')) { - headers['X-Amz-Content-Sha256'] = 'UNSIGNED-PAYLOAD'; - } - }, - - - noPresignedContentLength: function noPresignedContentLength(request) { - if (request.params.ContentLength !== undefined) { - throw AWS.util.error(new Error(), {code: 'UnexpectedParameter', - message: 'ContentLength is not supported in pre-signed URLs.'}); - } - }, - - createBucket: function createBucket(params, callback) { - if (typeof params === 'function' || !params) { - callback = callback || params; - params = {}; - } - var hostname = this.endpoint.hostname; - if (hostname !== this.api.globalEndpoint && !params.CreateBucketConfiguration) { - params.CreateBucketConfiguration = { LocationConstraint: this.config.region }; - } - return this.makeRequest('createBucket', params, callback); - }, - - - upload: function upload(params, options, callback) { - if (typeof options === 'function' && callback === undefined) { - callback = options; - options = null; - } - - options = options || {}; - options = AWS.util.merge(options || {}, {service: this, params: params}); - - var uploader = new AWS.S3.ManagedUpload(options); - if (typeof callback === 'function') uploader.send(callback); - return uploader; - } -}); - -},{"../core":188,"../s3/managed_upload":223}],235:[function(require,module,exports){ -var AWS = require('../core'); - -AWS.util.update(AWS.SQS.prototype, { - - setupRequestListeners: function setupRequestListeners(request) { - request.addListener('build', this.buildEndpoint); - - if (request.service.config.computeChecksums) { - if (request.operation === 'sendMessage') { - request.addListener('extractData', this.verifySendMessageChecksum); - } else if (request.operation === 'sendMessageBatch') { - request.addListener('extractData', this.verifySendMessageBatchChecksum); - } else if (request.operation === 'receiveMessage') { - request.addListener('extractData', this.verifyReceiveMessageChecksum); - } - } - }, - - - verifySendMessageChecksum: function verifySendMessageChecksum(response) { - if (!response.data) return; - - var md5 = response.data.MD5OfMessageBody; - var body = this.params.MessageBody; - var calculatedMd5 = this.service.calculateChecksum(body); - if (calculatedMd5 !== md5) { - var msg = 'Got "' + response.data.MD5OfMessageBody + - '", expecting "' + calculatedMd5 + '".'; - this.service.throwInvalidChecksumError(response, - [response.data.MessageId], msg); - } - }, - - - verifySendMessageBatchChecksum: function verifySendMessageBatchChecksum(response) { - if (!response.data) return; - - var service = this.service; - var entries = {}; - var errors = []; - var messageIds = []; - AWS.util.arrayEach(response.data.Successful, function (entry) { - entries[entry.Id] = entry; - }); - AWS.util.arrayEach(this.params.Entries, function (entry) { - if (entries[entry.Id]) { - var md5 = entries[entry.Id].MD5OfMessageBody; - var body = entry.MessageBody; - if (!service.isChecksumValid(md5, body)) { - errors.push(entry.Id); - messageIds.push(entries[entry.Id].MessageId); - } - } - }); - - if (errors.length > 0) { - service.throwInvalidChecksumError(response, messageIds, - 'Invalid messages: ' + errors.join(', ')); - } - }, - - - verifyReceiveMessageChecksum: function verifyReceiveMessageChecksum(response) { - if (!response.data) return; - - var service = this.service; - var messageIds = []; - AWS.util.arrayEach(response.data.Messages, function(message) { - var md5 = message.MD5OfBody; - var body = message.Body; - if (!service.isChecksumValid(md5, body)) { - messageIds.push(message.MessageId); - } - }); - - if (messageIds.length > 0) { - service.throwInvalidChecksumError(response, messageIds, - 'Invalid messages: ' + messageIds.join(', ')); - } - }, - - - throwInvalidChecksumError: function throwInvalidChecksumError(response, ids, message) { - response.error = AWS.util.error(new Error(), { - retryable: true, - code: 'InvalidChecksum', - messageIds: ids, - message: response.request.operation + - ' returned an invalid MD5 response. ' + message - }); - }, - - - isChecksumValid: function isChecksumValid(checksum, data) { - return this.calculateChecksum(data) === checksum; - }, - - - calculateChecksum: function calculateChecksum(data) { - return AWS.util.crypto.md5(data, 'hex'); - }, - - - buildEndpoint: function buildEndpoint(request) { - var url = request.httpRequest.params.QueueUrl; - if (url) { - request.httpRequest.endpoint = new AWS.Endpoint(url); - - var matches = request.httpRequest.endpoint.host.match(/^sqs\.(.+?)\./); - if (matches) request.httpRequest.region = matches[1]; - } - } -}); - -},{"../core":188}],236:[function(require,module,exports){ -var AWS = require('../core'); - -AWS.util.update(AWS.STS.prototype, { - - credentialsFrom: function credentialsFrom(data, credentials) { - if (!data) return null; - if (!credentials) credentials = new AWS.TemporaryCredentials(); - credentials.expired = false; - credentials.accessKeyId = data.Credentials.AccessKeyId; - credentials.secretAccessKey = data.Credentials.SecretAccessKey; - credentials.sessionToken = data.Credentials.SessionToken; - credentials.expireTime = data.Credentials.Expiration; - return credentials; - }, - - assumeRoleWithWebIdentity: function assumeRoleWithWebIdentity(params, callback) { - return this.makeUnauthenticatedRequest('assumeRoleWithWebIdentity', params, callback); - }, - - assumeRoleWithSAML: function assumeRoleWithSAML(params, callback) { - return this.makeUnauthenticatedRequest('assumeRoleWithSAML', params, callback); - } -}); - -},{"../core":188}],237:[function(require,module,exports){ -var AWS = require('../core'); -var inherit = AWS.util.inherit; - - -var expiresHeader = 'presigned-expires'; - - -function signedUrlBuilder(request) { - var expires = request.httpRequest.headers[expiresHeader]; - 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 - }); - } -} - - -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 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']; - - endpoint.pathname = parsedUrl.pathname; - endpoint.search = AWS.util.queryParamsToString(queryParams); -} - - -AWS.Signers.Presign = inherit({ - - sign: function sign(request, expireTime, callback) { - request.httpRequest.headers[expiresHeader] = expireTime || 3600; - request.on('build', signedUrlBuilder); - request.on('sign', signedUrlSigner); - request.removeListener('afterBuild', - AWS.EventListeners.Core.SET_CONTENT_LENGTH); - request.removeListener('afterBuild', - AWS.EventListeners.Core.COMPUTE_SHA256); - - request.emit('beforePresign', [request]); - - if (callback) { - request.build(function() { - if (this.response.error) callback(this.response.error); - else { - callback(null, AWS.util.urlFormat(request.httpRequest.endpoint)); - } - }); - } else { - request.build(); - if (request.response.error) throw request.response.error; - return AWS.util.urlFormat(request.httpRequest.endpoint); - } - } -}); - -module.exports = AWS.Signers.Presign; - -},{"../core":188}],238:[function(require,module,exports){ -var AWS = require('../core'); -var inherit = AWS.util.inherit; - - -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); -}; - -require('./v2'); -require('./v3'); -require('./v3https'); -require('./v4'); -require('./s3'); -require('./presign'); - -},{"../core":188,"./presign":237,"./s3":239,"./v2":240,"./v3":241,"./v3https":242,"./v4":243}],239:[function(require,module,exports){ -var AWS = require('../core'); -var inherit = AWS.util.inherit; - - -AWS.Signers.S3 = inherit(AWS.Signers.RequestSigner, { - - subResources: { - 'acl': 1, - 'accelerate': 1, - 'cors': 1, - 'lifecycle': 1, - 'delete': 1, - 'location': 1, - 'logging': 1, - 'notification': 1, - 'partNumber': 1, - 'policy': 1, - 'requestPayment': 1, - 'replication': 1, - 'restore': 1, - 'tagging': 1, - 'torrent': 1, - 'uploadId': 1, - 'uploads': 1, - 'versionId': 1, - 'versioning': 1, - 'versions': 1, - 'website': 1 - }, - - responseHeaders: { - 'response-content-type': 1, - 'response-content-language': 1, - 'response-expires': 1, - 'response-cache-control': 1, - 'response-content-disposition': 1, - 'response-content-encoding': 1 - }, - - addAuthorization: function addAuthorization(credentials, date) { - if (!this.request.headers['presigned-expires']) { - this.request.headers['X-Amz-Date'] = AWS.util.date.rfc822(date); - } - - if (credentials.sessionToken) { - this.request.headers['x-amz-security-token'] = credentials.sessionToken; - } - - var signature = this.sign(credentials.secretAccessKey, this.stringToSign()); - var auth = 'AWS ' + credentials.accessKeyId + ':' + signature; - - this.request.headers['Authorization'] = auth; - }, - - stringToSign: function stringToSign() { - var r = this.request; - - var parts = []; - parts.push(r.method); - parts.push(r.headers['Content-MD5'] || ''); - parts.push(r.headers['Content-Type'] || ''); - - parts.push(r.headers['presigned-expires'] || ''); - - var headers = this.canonicalizedAmzHeaders(); - if (headers) parts.push(headers); - parts.push(this.canonicalizedResource()); - - return parts.join('\n'); - - }, - - canonicalizedAmzHeaders: function canonicalizedAmzHeaders() { - - var amzHeaders = []; - - AWS.util.each(this.request.headers, function (name) { - if (name.match(/^x-amz-/i)) - amzHeaders.push(name); - }); - - amzHeaders.sort(function (a, b) { - return a.toLowerCase() < b.toLowerCase() ? -1 : 1; - }); - - var parts = []; - AWS.util.arrayEach.call(this, amzHeaders, function (name) { - parts.push(name.toLowerCase() + ':' + String(this.request.headers[name])); - }); - - return parts.join('\n'); - - }, - - canonicalizedResource: function canonicalizedResource() { - - var r = this.request; - - var parts = r.path.split('?'); - var path = parts[0]; - var querystring = parts[1]; - - var resource = ''; - - if (r.virtualHostedBucket) - resource += '/' + r.virtualHostedBucket; - - resource += path; - - if (querystring) { - - var resources = []; - - AWS.util.arrayEach.call(this, querystring.split('&'), function (param) { - var name = param.split('=')[0]; - var value = param.split('=')[1]; - if (this.subResources[name] || this.responseHeaders[name]) { - var subresource = { name: name }; - if (value !== undefined) { - if (this.subResources[name]) { - subresource.value = value; - } else { - subresource.value = decodeURIComponent(value); - } - } - resources.push(subresource); - } - }); - - resources.sort(function (a, b) { return a.name < b.name ? -1 : 1; }); - - if (resources.length) { - - querystring = []; - AWS.util.arrayEach(resources, function (res) { - if (res.value === undefined) { - querystring.push(res.name); - } else { - querystring.push(res.name + '=' + res.value); - } - }); - - resource += '?' + querystring.join('&'); - } - - } - - return resource; - - }, - - sign: function sign(secret, string) { - return AWS.util.crypto.hmac(secret, string, 'base64', 'sha1'); - } -}); - -module.exports = AWS.Signers.S3; - -},{"../core":188}],240:[function(require,module,exports){ -var AWS = require('../core'); -var inherit = AWS.util.inherit; - - -AWS.Signers.V2 = inherit(AWS.Signers.RequestSigner, { - addAuthorization: function addAuthorization(credentials, date) { - - if (!date) date = AWS.util.date.getDate(); - - var r = this.request; - - r.params.Timestamp = AWS.util.date.iso8601(date); - r.params.SignatureVersion = '2'; - r.params.SignatureMethod = 'HmacSHA256'; - r.params.AWSAccessKeyId = credentials.accessKeyId; - - if (credentials.sessionToken) { - r.params.SecurityToken = credentials.sessionToken; - } - - delete r.params.Signature; // delete old Signature for re-signing - r.params.Signature = this.signature(credentials); - - r.body = AWS.util.queryParamsToString(r.params); - r.headers['Content-Length'] = r.body.length; - }, - - signature: function signature(credentials) { - return AWS.util.crypto.hmac(credentials.secretAccessKey, this.stringToSign(), 'base64'); - }, - - stringToSign: function stringToSign() { - var parts = []; - parts.push(this.request.method); - parts.push(this.request.endpoint.host.toLowerCase()); - parts.push(this.request.pathname()); - parts.push(AWS.util.queryParamsToString(this.request.params)); - return parts.join('\n'); - } - -}); - -module.exports = AWS.Signers.V2; - -},{"../core":188}],241:[function(require,module,exports){ -var AWS = require('../core'); -var inherit = AWS.util.inherit; - - -AWS.Signers.V3 = inherit(AWS.Signers.RequestSigner, { - addAuthorization: function addAuthorization(credentials, date) { - - var datetime = AWS.util.date.rfc822(date); - - this.request.headers['X-Amz-Date'] = datetime; - - if (credentials.sessionToken) { - this.request.headers['x-amz-security-token'] = credentials.sessionToken; - } - - this.request.headers['X-Amzn-Authorization'] = - this.authorization(credentials, datetime); - - }, - - authorization: function authorization(credentials) { - return 'AWS3 ' + - 'AWSAccessKeyId=' + credentials.accessKeyId + ',' + - 'Algorithm=HmacSHA256,' + - 'SignedHeaders=' + this.signedHeaders() + ',' + - 'Signature=' + this.signature(credentials); - }, - - signedHeaders: function signedHeaders() { - var headers = []; - AWS.util.arrayEach(this.headersToSign(), function iterator(h) { - headers.push(h.toLowerCase()); - }); - return headers.sort().join(';'); - }, - - canonicalHeaders: function canonicalHeaders() { - var headers = this.request.headers; - var parts = []; - AWS.util.arrayEach(this.headersToSign(), function iterator(h) { - parts.push(h.toLowerCase().trim() + ':' + String(headers[h]).trim()); - }); - return parts.sort().join('\n') + '\n'; - }, - - headersToSign: function headersToSign() { - var headers = []; - AWS.util.each(this.request.headers, function iterator(k) { - if (k === 'Host' || k === 'Content-Encoding' || k.match(/^X-Amz/i)) { - headers.push(k); - } - }); - return headers; - }, - - signature: function signature(credentials) { - return AWS.util.crypto.hmac(credentials.secretAccessKey, this.stringToSign(), 'base64'); - }, - - stringToSign: function stringToSign() { - var parts = []; - parts.push(this.request.method); - parts.push('/'); - parts.push(''); - parts.push(this.canonicalHeaders()); - parts.push(this.request.body); - return AWS.util.crypto.sha256(parts.join('\n')); - } - -}); - -module.exports = AWS.Signers.V3; - -},{"../core":188}],242:[function(require,module,exports){ -var AWS = require('../core'); -var inherit = AWS.util.inherit; - -require('./v3'); - - -AWS.Signers.V3Https = inherit(AWS.Signers.V3, { - authorization: function authorization(credentials) { - return 'AWS3-HTTPS ' + - 'AWSAccessKeyId=' + credentials.accessKeyId + ',' + - 'Algorithm=HmacSHA256,' + - 'Signature=' + this.signature(credentials); - }, - - stringToSign: function stringToSign() { - return this.request.headers['X-Amz-Date']; - } -}); - -module.exports = AWS.Signers.V3Https; - -},{"../core":188,"./v3":241}],243:[function(require,module,exports){ -var AWS = require('../core'); -var inherit = AWS.util.inherit; - - -var cachedSecret = {}; - - -var cacheQueue = []; - - -var maxCacheEntries = 50; - - -var expiresHeader = 'presigned-expires'; - - -AWS.Signers.V4 = inherit(AWS.Signers.RequestSigner, { - constructor: function V4(request, serviceName, signatureCache) { - AWS.Signers.RequestSigner.call(this, request); - this.serviceName = serviceName; - this.signatureCache = signatureCache; - }, - - algorithm: 'AWS4-HMAC-SHA256', - - addAuthorization: function addAuthorization(credentials, date) { - var datetime = AWS.util.date.iso8601(date).replace(/[:\-]|\.\d{3}/g, ''); - - if (this.isPresigned()) { - this.updateForPresigned(credentials, datetime); - } else { - this.addHeaders(credentials, datetime); - } - - this.request.headers['Authorization'] = - this.authorization(credentials, datetime); - }, - - addHeaders: function addHeaders(credentials, datetime) { - this.request.headers['X-Amz-Date'] = datetime; - if (credentials.sessionToken) { - this.request.headers['x-amz-security-token'] = credentials.sessionToken; - } - }, - - updateForPresigned: function updateForPresigned(credentials, datetime) { - var credString = this.credentialString(datetime); - var qs = { - 'X-Amz-Date': datetime, - 'X-Amz-Algorithm': this.algorithm, - 'X-Amz-Credential': credentials.accessKeyId + '/' + credString, - 'X-Amz-Expires': this.request.headers[expiresHeader], - 'X-Amz-SignedHeaders': this.signedHeaders() - }; - - if (credentials.sessionToken) { - qs['X-Amz-Security-Token'] = credentials.sessionToken; - } - - if (this.request.headers['Content-Type']) { - qs['Content-Type'] = this.request.headers['Content-Type']; - } - if (this.request.headers['Content-MD5']) { - qs['Content-MD5'] = this.request.headers['Content-MD5']; - } - if (this.request.headers['Cache-Control']) { - qs['Cache-Control'] = this.request.headers['Cache-Control']; - } - - AWS.util.each.call(this, this.request.headers, function(key, value) { - if (key === expiresHeader) return; - if (this.isSignableHeader(key)) { - var lowerKey = key.toLowerCase(); - 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 cache = null; - var cacheIdentifier = this.serviceName + (this.getServiceClientId() ? '_' + this.getServiceClientId() : ''); - if (this.signatureCache) { - var cache = cachedSecret[cacheIdentifier]; - if (!cache) { - cacheQueue.push(cacheIdentifier); - if (cacheQueue.length > maxCacheEntries) { - delete cachedSecret[cacheQueue.shift()]; - } - } - - } - var date = datetime.substr(0, 8); - - if (!cache || - cache.akid !== credentials.accessKeyId || - cache.region !== this.request.region || - cache.date !== date) { - - var kSecret = credentials.secretAccessKey; - var kDate = AWS.util.crypto.hmac('AWS4' + kSecret, date, 'buffer'); - var kRegion = AWS.util.crypto.hmac(kDate, this.request.region, 'buffer'); - var kService = AWS.util.crypto.hmac(kRegion, this.serviceName, 'buffer'); - var kCredentials = AWS.util.crypto.hmac(kService, 'aws4_request', 'buffer'); - - if (!this.signatureCache) { - return AWS.util.crypto.hmac(kCredentials, this.stringToSign(datetime), 'hex'); - } - - cachedSecret[cacheIdentifier] = { - region: this.request.region, date: date, - key: kCredentials, akid: credentials.accessKeyId - }; - } - - var key = cachedSecret[cacheIdentifier].key; - return AWS.util.crypto.hmac(key, this.stringToSign(datetime), 'hex'); - }, - - stringToSign: function stringToSign(datetime) { - var parts = []; - parts.push('AWS4-HMAC-SHA256'); - parts.push(datetime); - parts.push(this.credentialString(datetime)); - parts.push(this.hexEncodedHash(this.canonicalString())); - return parts.join('\n'); - }, - - canonicalString: function canonicalString() { - var parts = [], pathname = this.request.pathname(); - if (this.serviceName !== 's3') pathname = AWS.util.uriEscapePath(pathname); - - parts.push(this.request.method); - parts.push(pathname); - parts.push(this.request.search()); - parts.push(this.canonicalHeaders() + '\n'); - parts.push(this.signedHeaders()); - parts.push(this.hexEncodedBodyHash()); - return parts.join('\n'); - }, - - canonicalHeaders: function canonicalHeaders() { - var headers = []; - AWS.util.each.call(this, this.request.headers, function (key, item) { - headers.push([key, item]); - }); - headers.sort(function (a, b) { - return a[0].toLowerCase() < b[0].toLowerCase() ? -1 : 1; - }); - var parts = []; - AWS.util.arrayEach.call(this, headers, function (item) { - var key = item[0].toLowerCase(); - if (this.isSignableHeader(key)) { - parts.push(key + ':' + - this.canonicalHeaderValues(item[1].toString())); - } - }); - return parts.join('\n'); - }, - - canonicalHeaderValues: function canonicalHeaderValues(values) { - return values.replace(/\s+/g, ' ').replace(/^\s+|\s+$/g, ''); - }, - - signedHeaders: function signedHeaders() { - var keys = []; - AWS.util.each.call(this, this.request.headers, function (key) { - key = key.toLowerCase(); - if (this.isSignableHeader(key)) keys.push(key); - }); - return keys.sort().join(';'); - }, - - credentialString: function credentialString(datetime) { - var parts = []; - parts.push(datetime.substr(0, 8)); - parts.push(this.request.region); - parts.push(this.serviceName); - parts.push('aws4_request'); - return parts.join('/'); - }, - - hexEncodedHash: function hash(string) { - return AWS.util.crypto.sha256(string, 'hex'); - }, - - hexEncodedBodyHash: function hexEncodedBodyHash() { - if (this.isPresigned() && this.serviceName === 's3' && !this.request.body) { - return 'UNSIGNED-PAYLOAD'; - } else if (this.request.headers['X-Amz-Content-Sha256']) { - return this.request.headers['X-Amz-Content-Sha256']; - } else { - return this.hexEncodedHash(this.request.body || ''); - } - }, - - unsignableHeaders: ['authorization', 'content-type', 'content-length', - 'user-agent', expiresHeader, 'expect'], - - isSignableHeader: function isSignableHeader(key) { - if (key.toLowerCase().indexOf('x-amz-') === 0) return true; - return this.unsignableHeaders.indexOf(key) < 0; - }, - - isPresigned: function isPresigned() { - return this.request.headers[expiresHeader] ? true : false; - } - -}); - -module.exports = AWS.Signers.V4; - -},{"../core":188}],244:[function(require,module,exports){ -function AcceptorStateMachine(states, state) { - this.currentState = state || null; - this.states = states || {}; -} - -AcceptorStateMachine.prototype.runTo = function runTo(finalState, done, bindObject, inputError) { - if (typeof finalState === 'function') { - inputError = bindObject; bindObject = done; - done = finalState; finalState = null; - } - - var self = this; - var state = self.states[self.currentState]; - state.fn.call(bindObject || self, inputError, function(err) { - if (err) { - if (state.fail) self.currentState = state.fail; - else return done ? done.call(bindObject, err) : null; - } else { - if (state.accept) self.currentState = state.accept; - else return done ? done.call(bindObject) : null; - } - if (self.currentState === finalState) { - return done ? done.call(bindObject, err) : null; - } - - self.runTo(finalState, done, bindObject, err); - }); -}; - -AcceptorStateMachine.prototype.addState = function addState(name, acceptState, failState, fn) { - if (typeof acceptState === 'function') { - fn = acceptState; acceptState = null; failState = null; - } else if (typeof failState === 'function') { - fn = failState; failState = null; - } - - if (!this.currentState) this.currentState = name; - this.states[name] = { accept: acceptState, fail: failState, fn: fn }; - return this; -}; - -module.exports = AcceptorStateMachine; - -},{}],245:[function(require,module,exports){ -(function (process){ - -var AWS; - - -var util = { - engine: function engine() { - if (util.isBrowser() && typeof navigator !== 'undefined') { - return navigator.userAgent; - } else { - return process.platform + '/' + process.version; - } - }, - - userAgent: function userAgent() { - var name = util.isBrowser() ? 'js' : 'nodejs'; - var agent = 'aws-sdk-' + name + '/' + require('./core').VERSION; - if (name === 'nodejs') agent += ' ' + util.engine(); - return agent; - }, - - isBrowser: function isBrowser() { return process && process.browser; }, - isNode: function isNode() { return !util.isBrowser(); }, - uriEscape: function uriEscape(string) { - var output = encodeURIComponent(string); - output = output.replace(/[^A-Za-z0-9_.~\-%]+/g, escape); - - output = output.replace(/[*]/g, function(ch) { - return '%' + ch.charCodeAt(0).toString(16).toUpperCase(); - }); - - return output; - }, - - uriEscapePath: function uriEscapePath(string) { - var parts = []; - util.arrayEach(string.split('/'), function (part) { - parts.push(util.uriEscape(part)); - }); - return parts.join('/'); - }, - - urlParse: function urlParse(url) { - return 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 require('fs').readFileSync(path, 'utf-8'); - }, - - base64: { - - encode: function encode64(string) { - return new util.Buffer(string).toString('base64'); - }, - - decode: function decode64(string) { - return 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; - }, - - - 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 require('fs').lstatSync(string.path).size; - } else { - throw util.error(new Error('Cannot determine length of ' + string), - { object: string }); - } - }, - - upperFirst: function upperFirst(string) { - return string[0].toUpperCase() + string.substr(1); - }, - - lowerFirst: function lowerFirst(string) { - return string[0].toLowerCase() + string.substr(1); - } - }, - - ini: { - parse: function string(ini) { - var currentSection, map = {}; - util.arrayEach(ini.split(/\r?\n/), function(line) { - line = line.split(/(^|\s)[;#]/)[0]; // remove comments - var section = line.match(/^\s*\[([^\[\]]+)\]\s*$/); - if (section) { - currentSection = section[1]; - } else if (currentSection) { - var item = line.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/); - if (item) { - map[currentSection] = map[currentSection] || {}; - map[currentSection][item[1]] = item[2]; - } - } - }); - - return map; - } - }, - - fn: { - noop: function() {}, - - - makeAsync: function makeAsync(fn, expectedArgs) { - if (expectedArgs && expectedArgs <= fn.length) { - return fn; - } - - return function() { - var args = Array.prototype.slice.call(arguments, 0); - var callback = args.pop(); - var result = fn.apply(null, args); - callback(result); - }; - } - }, - - - date: { - - - getDate: function getDate() { - if (!AWS) AWS = require('./core'); - if (AWS.config.systemClockOffset) { // use offset when non-zero - return new Date(new Date().getTime() + AWS.config.systemClockOffset); - } else { - return new Date(); - } - }, - - - iso8601: function iso8601(date) { - if (date === undefined) { date = util.date.getDate(); } - return date.toISOString().replace(/\.\d{3}Z$/, 'Z'); - }, - - - rfc822: function rfc822(date) { - if (date === undefined) { date = util.date.getDate(); } - return date.toUTCString(); - }, - - - unixTimestamp: function unixTimestamp(date) { - if (date === undefined) { date = util.date.getDate(); } - return date.getTime() / 1000; - }, - - - from: function format(date) { - if (typeof date === 'number') { - return new Date(date * 1000); // unix timestamp - } else { - return new Date(date); - } - }, - - - format: function format(date, formatter) { - if (!formatter) formatter = 'iso8601'; - return util.date[formatter](util.date.from(date)); - }, - - parseTimestamp: function parseTimestamp(value) { - if (typeof value === 'number') { // unix timestamp (number) - return new Date(value * 1000); - } else if (value.match(/^\d+$/)) { // unix timestamp - return new Date(value * 1000); - } else if (value.match(/^\d{4}/)) { // iso8601 - return new Date(value); - } else if (value.match(/^\w{3},/)) { // rfc822 - return new Date(value); - } else { - throw util.error( - new Error('unhandled timestamp format: ' + value), - {code: 'TimestampParserError'}); - } - } - - }, - - crypto: { - crc32Table: [ - 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419, - 0x706AF48F, 0xE963A535, 0x9E6495A3, 0x0EDB8832, 0x79DCB8A4, - 0xE0D5E91E, 0x97D2D988, 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, - 0x90BF1D91, 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE, - 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7, 0x136C9856, - 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, 0x14015C4F, 0x63066CD9, - 0xFA0F3D63, 0x8D080DF5, 0x3B6E20C8, 0x4C69105E, 0xD56041E4, - 0xA2677172, 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B, - 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940, 0x32D86CE3, - 0x45DF5C75, 0xDCD60DCF, 0xABD13D59, 0x26D930AC, 0x51DE003A, - 0xC8D75180, 0xBFD06116, 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, - 0xB8BDA50F, 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924, - 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D, 0x76DC4190, - 0x01DB7106, 0x98D220BC, 0xEFD5102A, 0x71B18589, 0x06B6B51F, - 0x9FBFE4A5, 0xE8B8D433, 0x7807C9A2, 0x0F00F934, 0x9609A88E, - 0xE10E9818, 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01, - 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E, 0x6C0695ED, - 0x1B01A57B, 0x8208F4C1, 0xF50FC457, 0x65B0D9C6, 0x12B7E950, - 0x8BBEB8EA, 0xFCB9887C, 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, - 0xFBD44C65, 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2, - 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB, 0x4369E96A, - 0x346ED9FC, 0xAD678846, 0xDA60B8D0, 0x44042D73, 0x33031DE5, - 0xAA0A4C5F, 0xDD0D7CC9, 0x5005713C, 0x270241AA, 0xBE0B1010, - 0xC90C2086, 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F, - 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, 0x59B33D17, - 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD, 0xEDB88320, 0x9ABFB3B6, - 0x03B6E20C, 0x74B1D29A, 0xEAD54739, 0x9DD277AF, 0x04DB2615, - 0x73DC1683, 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8, - 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1, 0xF00F9344, - 0x8708A3D2, 0x1E01F268, 0x6906C2FE, 0xF762575D, 0x806567CB, - 0x196C3671, 0x6E6B06E7, 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, - 0x67DD4ACC, 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5, - 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252, 0xD1BB67F1, - 0xA6BC5767, 0x3FB506DD, 0x48B2364B, 0xD80D2BDA, 0xAF0A1B4C, - 0x36034AF6, 0x41047A60, 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, - 0x4669BE79, 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236, - 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F, 0xC5BA3BBE, - 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04, 0xC2D7FFA7, 0xB5D0CF31, - 0x2CD99E8B, 0x5BDEAE1D, 0x9B64C2B0, 0xEC63F226, 0x756AA39C, - 0x026D930A, 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713, - 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38, 0x92D28E9B, - 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, 0x86D3D2D4, 0xF1D4E242, - 0x68DDB3F8, 0x1FDA836E, 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, - 0x18B74777, 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C, - 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45, 0xA00AE278, - 0xD70DD2EE, 0x4E048354, 0x3903B3C2, 0xA7672661, 0xD06016F7, - 0x4969474D, 0x3E6E77DB, 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, - 0x37D83BF0, 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9, - 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, 0xBAD03605, - 0xCDD70693, 0x54DE5729, 0x23D967BF, 0xB3667A2E, 0xC4614AB8, - 0x5D681B02, 0x2A6F2B94, 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, - 0x2D02EF8D], - - crc32: function crc32(data) { - var tbl = util.crypto.crc32Table; - var crc = 0 ^ -1; - - if (typeof data === 'string') { - data = new 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); - if (util.isBrowser() && typeof ArrayBuffer !== 'undefined' && data && data.buffer instanceof ArrayBuffer) isBuffer = true; - - if (callback && typeof data === 'object' && - typeof data.on === 'function' && !isBuffer) { - data.on('data', function(chunk) { hash.update(chunk); }); - data.on('error', function(err) { callback(err); }); - data.on('end', function() { callback(null, hash.digest(digest)); }); - } else if (callback && sliceFn && !isBuffer && - typeof FileReader !== 'undefined') { - var index = 0, size = 1024 * 512; - var reader = new FileReader(); - reader.onerror = function() { - callback(new Error('Failed to read data.')); - }; - reader.onload = function() { - var buf = new 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); - } - - }, - - - - - 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 = {}; - 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) { - 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; - }, - - - inherit: function inherit(klass, features) { - var newObject = null; - if (features === undefined) { - features = klass; - klass = Object; - newObject = {}; - } else { - var ctor = function ConstructorWrapper() {}; - ctor.prototype = klass.prototype; - newObject = new ctor(); - } - - if (features.constructor === Object) { - features.constructor = function() { - if (klass !== Object) { - return klass.apply(this, arguments); - } - }; - } - - features.constructor.prototype = newObject; - util.update(features.constructor.prototype, features); - features.constructor.__super__ = klass; - return features.constructor; - }, - - - mixin: function mixin() { - var klass = arguments[0]; - for (var i = 1; i < arguments.length; i++) { - for (var prop in arguments[i].prototype) { - var fn = arguments[i].prototype[prop]; - if (prop !== 'constructor') { - klass.prototype[prop] = fn; - } - } - } - return klass; - }, - - - hideProperties: function hideProperties(obj, props) { - if (typeof Object.defineProperty !== 'function') return; - - util.arrayEach(props, function (key) { - Object.defineProperty(obj, key, { - enumerable: false, writable: true, configurable: true }); - }); - }, - - - property: function property(obj, name, value, enumerable, isValue) { - var opts = { - configurable: true, - enumerable: enumerable !== undefined ? enumerable : true - }; - if (typeof value === 'function' && !isValue) { - opts.get = value; - } - else { - opts.value = value; opts.writable = true; - } - - Object.defineProperty(obj, name, opts); - }, - - - memoizedProperty: function memoizedProperty(obj, name, get, enumerable) { - var cachedValue = null; - - util.property(obj, name, function() { - if (cachedValue === null) { - cachedValue = get(); - } - return cachedValue; - }, enumerable); - }, - - - hoistPayloadMember: function hoistPayloadMember(resp) { - var req = resp.request; - var operation = req.operation; - var output = req.service.api.operations[operation].output; - if (output.payload) { - var payloadMember = output.members[output.payload]; - var responsePayload = resp.data[output.payload]; - if (payloadMember.type === 'structure') { - util.each(responsePayload, function(key, value) { - util.property(resp.data, key, value, false); - }); - } - } - }, - - - computeSha256: function computeSha256(body, done) { - if (util.isNode()) { - var Stream = util.stream.Stream; - var fs = require('fs'); - 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); - }); - }, - - - isClockSkewed: function isClockSkewed(serverTime) { - if (serverTime) { - util.property(AWS.config, 'isClockSkewed', - Math.abs(new Date().getTime() - serverTime) >= 300000, false); - return AWS.config.isClockSkewed; - } - }, - - applyClockOffset: function applyClockOffset(serverTime) { - if (serverTime) - AWS.config.systemClockOffset = serverTime - new Date().getTime(); - }, - - - extractRequestId: function extractRequestId(resp) { - var requestId = resp.httpResponse.headers['x-amz-request-id'] || - resp.httpResponse.headers['x-amzn-requestid']; - - if (!requestId && resp.data && resp.data.ResponseMetadata) { - requestId = resp.data.ResponseMetadata.RequestId; - } - - if (requestId) { - resp.requestId = requestId; - } - - if (resp.error) { - resp.error.requestId = requestId; - } - }, - - - addPromisesToRequests: function addPromisesToRequests(constructor, PromiseDependency) { - PromiseDependency = PromiseDependency || null; - if (!PromiseDependency && typeof Promise !== 'undefined') { - PromiseDependency = Promise; - } - if (typeof PromiseDependency !== 'function') { - delete constructor.prototype.promise; - return; - } - constructor.prototype.promise = function promise() { - var self = this; - return new PromiseDependency(function(resolve, reject) { - self.on('complete', function(resp) { - if (resp.error) { - reject(resp.error); - } else { - resolve(resp.data); - } - }); - self.runTo(); - }); - } - }, - - - isDualstackAvailable: function isDualstackAvailable(service) { - if (!service) return false; - var metadata = require('../apis/metadata.json'); - if (typeof service !== 'string') service = service.serviceIdentifier; - if (typeof service !== 'string' || !metadata.hasOwnProperty(service)) return false; - return !!metadata[service].dualstackAvailable; - }, - - - calculateRetryDelay: function calculateRetryDelay(retryCount, retryDelayOptions) { - if (!retryDelayOptions) retryDelayOptions = {}; - var customBackoff = retryDelayOptions.customBackoff || null; - if (typeof customBackoff === 'function') { - return customBackoff(retryCount); - } - var base = retryDelayOptions.base || 100; - var delay = Math.random() * (Math.pow(2, retryCount) * base); - return delay; - }, - - - 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); - } - -}; - -module.exports = util; - -}).call(this,require('_process')) -},{"../apis/metadata.json":86,"./core":188,"_process":250,"fs":248}],246:[function(require,module,exports){ -var util = require('../util'); -var Shape = require('../model/shape'); - -function DomXmlParser() { } - -DomXmlParser.prototype.parse = function(xml, shape) { - if (xml.replace(/^\s+/, '') === '') return {}; - - var result, error; - try { - if (window.DOMParser) { - try { - var parser = new DOMParser(); - result = parser.parseFromString(xml, 'text/xml'); - } catch (syntaxError) { - throw util.error(new Error('Parse error in document'), - { - originalError: syntaxError, - code: 'XMLParserError', - retryable: true - }); - } - - if (result.documentElement === null) { - throw util.error(new Error('Cannot parse empty document.'), - { - code: 'XMLParserError', - retryable: true - }); - } - - var isError = result.getElementsByTagName('parsererror')[0]; - if (isError && (isError.parentNode === result || - isError.parentNode.nodeName === 'body' || - isError.parentNode.parentNode === result || - isError.parentNode.parentNode.nodeName === 'body')) { - var errorElement = isError.getElementsByTagName('div')[0] || isError; - throw util.error(new Error(errorElement.textContent || 'Parser error in document'), - { - code: 'XMLParserError', - retryable: true - }); - } - } else if (window.ActiveXObject) { - result = new window.ActiveXObject('Microsoft.XMLDOM'); - result.async = false; - - if (!result.loadXML(xml)) { - throw util.error(new Error('Parse error in document'), - { - code: 'XMLParserError', - retryable: true - }); - } - } else { - throw new Error('Cannot load XML parser'); - } - } catch (e) { - error = e; - } - - if (result && result.documentElement && !error) { - var data = parseXml(result.documentElement, shape); - var metadata = result.getElementsByTagName('ResponseMetadata')[0]; - if (metadata) { - data.ResponseMetadata = parseXml(metadata, {}); - } - return data; - } else if (error) { - throw util.error(error || new Error(), {code: 'XMLParserError', retryable: true}); - } else { // empty xml document - return {}; - } -}; - -function parseXml(xml, shape) { - if (!shape) shape = {}; - switch (shape.type) { - case 'structure': return parseStructure(xml, shape); - case 'map': return parseMap(xml, shape); - case 'list': return parseList(xml, shape); - case undefined: case null: return parseUnknown(xml); - default: return parseScalar(xml, shape); - } -} - -function parseStructure(xml, shape) { - var data = {}; - if (xml === null) return data; - - util.each(shape.members, function(memberName, memberShape) { - if (memberShape.isXmlAttribute) { - if (Object.prototype.hasOwnProperty.call(xml.attributes, memberShape.name)) { - var value = xml.attributes[memberShape.name].value; - data[memberName] = parseXml({textContent: value}, memberShape); - } - } else { - var xmlChild = memberShape.flattened ? xml : - xml.getElementsByTagName(memberShape.name)[0]; - if (xmlChild) { - data[memberName] = parseXml(xmlChild, memberShape); - } else if (!memberShape.flattened && memberShape.type === 'list') { - data[memberName] = memberShape.defaultValue; - } - } - }); - - return data; -} - -function parseMap(xml, shape) { - var data = {}; - var xmlKey = shape.key.name || 'key'; - var xmlValue = shape.value.name || 'value'; - var tagName = shape.flattened ? shape.name : 'entry'; - - var child = xml.firstElementChild; - while (child) { - if (child.nodeName === tagName) { - var key = child.getElementsByTagName(xmlKey)[0].textContent; - var value = child.getElementsByTagName(xmlValue)[0]; - data[key] = parseXml(value, shape.value); - } - child = child.nextElementSibling; - } - return data; -} - -function parseList(xml, shape) { - var data = []; - var tagName = shape.flattened ? shape.name : (shape.member.name || 'member'); - - var child = xml.firstElementChild; - while (child) { - if (child.nodeName === tagName) { - data.push(parseXml(child, shape.member)); - } - child = child.nextElementSibling; - } - return data; -} - -function parseScalar(xml, shape) { - if (xml.getAttribute) { - var encoding = xml.getAttribute('encoding'); - if (encoding === 'base64') { - shape = new Shape.create({type: encoding}); - } - } - - var text = xml.textContent; - if (text === '') text = null; - if (typeof shape.toType === 'function') { - return shape.toType(text); - } else { - return text; - } -} - -function parseUnknown(xml) { - if (xml === undefined || xml === null) return ''; - - if (!xml.firstElementChild) { - if (xml.parentNode.parentNode === null) return {}; - if (xml.childNodes.length === 0) return ''; - else return xml.textContent; - } - - var shape = {type: 'structure', members: {}}; - var child = xml.firstElementChild; - while (child) { - var tag = child.nodeName; - if (Object.prototype.hasOwnProperty.call(shape.members, tag)) { - shape.members[tag].type = 'list'; - } else { - shape.members[tag] = {name: tag}; - } - child = child.nextElementSibling; - } - return parseStructure(xml, shape); -} - -module.exports = DomXmlParser; - -},{"../model/shape":210,"../util":245}],247:[function(require,module,exports){ -var util = require('../util'); -var builder = require('xmlbuilder'); - -function XmlBuilder() { } - -XmlBuilder.prototype.toXML = function(params, shape, rootElement, noEmpty) { - var xml = builder.create(rootElement); - applyNamespaces(xml, shape); - serialize(xml, params, shape); - return xml.children.length > 0 || noEmpty ? xml.root().toString() : ''; -}; - -function serialize(xml, value, shape) { - switch (shape.type) { - case 'structure': return serializeStructure(xml, value, shape); - case 'map': return serializeMap(xml, value, shape); - case 'list': return serializeList(xml, value, shape); - default: return serializeScalar(xml, value, shape); - } -} - -function serializeStructure(xml, params, shape) { - util.arrayEach(shape.memberNames, function(memberName) { - var memberShape = shape.members[memberName]; - if (memberShape.location !== 'body') return; - - var value = params[memberName]; - var name = memberShape.name; - if (value !== undefined && value !== null) { - if (memberShape.isXmlAttribute) { - xml.att(name, value); - } else if (memberShape.flattened) { - serialize(xml, value, memberShape); - } else { - var element = xml.ele(name); - applyNamespaces(element, memberShape); - serialize(element, value, memberShape); - } - } - }); -} - -function serializeMap(xml, map, shape) { - var xmlKey = shape.key.name || 'key'; - var xmlValue = shape.value.name || 'value'; - - util.each(map, function(key, value) { - var entry = xml.ele(shape.flattened ? shape.name : 'entry'); - serialize(entry.ele(xmlKey), key, shape.key); - serialize(entry.ele(xmlValue), value, shape.value); - }); -} - -function serializeList(xml, list, shape) { - if (shape.flattened) { - util.arrayEach(list, function(value) { - var name = shape.member.name || shape.name; - var element = xml.ele(name); - serialize(element, value, shape.member); - }); - } else { - util.arrayEach(list, function(value) { - var name = shape.member.name || 'member'; - var element = xml.ele(name); - serialize(element, value, shape.member); - }); - } -} - -function serializeScalar(xml, value, shape) { - xml.txt(shape.toWireFormat(value)); -} - -function applyNamespaces(xml, shape) { - var uri, prefix = 'xmlns'; - if (shape.xmlNamespaceUri) { - uri = shape.xmlNamespaceUri; - if (shape.xmlNamespacePrefix) prefix += ':' + shape.xmlNamespacePrefix; - } else if (xml.isRoot && shape.api.xmlNamespaceUri) { - uri = shape.api.xmlNamespaceUri; - } - - if (uri) xml.att(prefix, uri); -} - -module.exports = XmlBuilder; - -},{"../util":245,"xmlbuilder":289}],248:[function(require,module,exports){ - -},{}],249:[function(require,module,exports){ - -function EventEmitter() { - this._events = this._events || {}; - this._maxListeners = this._maxListeners || undefined; -} -module.exports = EventEmitter; - -EventEmitter.EventEmitter = EventEmitter; - -EventEmitter.prototype._events = undefined; -EventEmitter.prototype._maxListeners = undefined; - -EventEmitter.defaultMaxListeners = 10; - -EventEmitter.prototype.setMaxListeners = function(n) { - if (!isNumber(n) || n < 0 || isNaN(n)) - throw TypeError('n must be a positive number'); - this._maxListeners = n; - return this; -}; - -EventEmitter.prototype.emit = function(type) { - var er, handler, len, args, i, listeners; - - if (!this._events) - this._events = {}; - - if (type === 'error') { - if (!this._events.error || - (isObject(this._events.error) && !this._events.error.length)) { - er = arguments[1]; - if (er instanceof Error) { - throw er; // Unhandled 'error' event - } else { - 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) { - case 1: - handler.call(this); - break; - case 2: - handler.call(this, arguments[1]); - break; - case 3: - handler.call(this, arguments[1], arguments[2]); - break; - default: - 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 = {}; - - if (this._events.newListener) - this.emit('newListener', type, - isFunction(listener.listener) ? - listener.listener : listener); - - if (!this._events[type]) - this._events[type] = listener; - else if (isObject(this._events[type])) - this._events[type].push(listener); - else - this._events[type] = [this._events[type], listener]; - - if (isObject(this._events[type]) && !this._events[type].warned) { - if (!isUndefined(this._maxListeners)) { - m = this._maxListeners; - } else { - m = EventEmitter.defaultMaxListeners; - } - - if (m && m > 0 && this._events[type].length > m) { - this._events[type].warned = true; - console.error('(node) warning: possible EventEmitter memory ' + - 'leak detected. %d listeners added. ' + - 'Use emitter.setMaxListeners() to increase limit.', - this._events[type].length); - if (typeof console.trace === 'function') { - console.trace(); - } - } - } - - return this; -}; - -EventEmitter.prototype.on = EventEmitter.prototype.addListener; - -EventEmitter.prototype.once = function(type, listener) { - if (!isFunction(listener)) - throw TypeError('listener must be a function'); - - var fired = false; - - function g() { - this.removeListener(type, g); - - if (!fired) { - fired = true; - listener.apply(this, arguments); - } - } - - g.listener = listener; - this.on(type, g); - - return this; -}; - -EventEmitter.prototype.removeListener = function(type, listener) { - var list, position, length, i; - - if (!isFunction(listener)) - throw TypeError('listener must be a function'); - - if (!this._events || !this._events[type]) - return this; - - list = this._events[type]; - length = list.length; - position = -1; - - if (list === listener || - (isFunction(list.listener) && list.listener === listener)) { - delete this._events[type]; - if (this._events.removeListener) - this.emit('removeListener', type, listener); - - } else if (isObject(list)) { - for (i = length; i-- > 0;) { - if (list[i] === listener || - (list[i].listener && list[i].listener === listener)) { - position = i; - break; - } - } - - if (position < 0) - return this; - - if (list.length === 1) { - list.length = 0; - delete this._events[type]; - } else { - list.splice(position, 1); - } - - if (this._events.removeListener) - this.emit('removeListener', type, listener); - } - - return this; -}; - -EventEmitter.prototype.removeAllListeners = function(type) { - var key, listeners; - - if (!this._events) - return this; - - if (!this._events.removeListener) { - if (arguments.length === 0) - this._events = {}; - else if (this._events[type]) - delete this._events[type]; - return this; - } - - if (arguments.length === 0) { - for (key in this._events) { - if (key === 'removeListener') continue; - this.removeAllListeners(key); - } - this.removeAllListeners('removeListener'); - this._events = {}; - return this; - } - - listeners = this._events[type]; - - if (isFunction(listeners)) { - this.removeListener(type, listeners); - } else if (listeners) { - 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; -} - -},{}],250:[function(require,module,exports){ -var process = module.exports = {}; - - -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) { - return setTimeout(fun, 0); - } - if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { - cachedSetTimeout = setTimeout; - return setTimeout(fun, 0); - } - try { - return cachedSetTimeout(fun, 0); - } catch(e){ - try { - return cachedSetTimeout.call(null, fun, 0); - } catch(e){ - return cachedSetTimeout.call(this, fun, 0); - } - } - - -} -function runClearTimeout(marker) { - if (cachedClearTimeout === clearTimeout) { - return clearTimeout(marker); - } - if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { - cachedClearTimeout = clearTimeout; - return clearTimeout(marker); - } - try { - return cachedClearTimeout(marker); - } catch (e){ - try { - return cachedClearTimeout.call(null, marker); - } catch (e){ - 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); - } -}; - -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.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; }; - -},{}],251:[function(require,module,exports){ -(function (global){ - -;(function(root) { - - - 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; - } - - - var punycode, - - - maxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1 - - - base = 36, - tMin = 1, - tMax = 26, - skew = 38, - damp = 700, - initialBias = 72, - initialN = 128, // 0x80 - delimiter = '-', // '\x2D' - - - regexPunycode = /^xn--/, - regexNonASCII = /[^\x20-\x7E]/, // unprintable ASCII chars + non-ASCII chars - regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g, // RFC 3490 separators - - - errors = { - 'overflow': 'Overflow: input needs wider integers to process', - 'not-basic': 'Illegal input >= 0x80 (not a basic code point)', - 'invalid-input': 'Invalid input' - }, - - - baseMinusTMin = base - tMin, - floor = Math.floor, - stringFromCharCode = String.fromCharCode, - - - key; - - - - - function error(type) { - throw new RangeError(errors[type]); - } - - - function map(array, fn) { - var length = array.length; - var result = []; - while (length--) { - result[length] = fn(array[length]); - } - return result; - } - - - function mapDomain(string, fn) { - var parts = string.split('@'); - var result = ''; - if (parts.length > 1) { - result = parts[0] + '@'; - string = parts[1]; - } - string = string.replace(regexSeparators, '\x2E'); - var labels = string.split('.'); - var encoded = map(labels, fn).join('.'); - return result + encoded; - } - - - function ucs2decode(string) { - var output = [], - counter = 0, - length = string.length, - value, - extra; - while (counter < length) { - value = string.charCodeAt(counter++); - if (value >= 0xD800 && value <= 0xDBFF && counter < length) { - extra = string.charCodeAt(counter++); - if ((extra & 0xFC00) == 0xDC00) { // low surrogate - output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000); - } else { - output.push(value); - counter--; - } - } else { - output.push(value); - } - } - return output; - } - - - function ucs2encode(array) { - return map(array, function(value) { - var output = ''; - if (value > 0xFFFF) { - value -= 0x10000; - output += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800); - value = 0xDC00 | value & 0x3FF; - } - output += stringFromCharCode(value); - return output; - }).join(''); - } - - - function basicToDigit(codePoint) { - if (codePoint - 48 < 10) { - return codePoint - 22; - } - if (codePoint - 65 < 26) { - return codePoint - 65; - } - if (codePoint - 97 < 26) { - return codePoint - 97; - } - return base; - } - - - function digitToBasic(digit, flag) { - return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5); - } - - - function adapt(delta, numPoints, firstTime) { - var k = 0; - delta = firstTime ? floor(delta / damp) : delta >> 1; - delta += floor(delta / numPoints); - for (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) { - delta = floor(delta / baseMinusTMin); - } - return floor(k + (baseMinusTMin + 1) * delta / (delta + skew)); - } - - - function decode(input) { - var output = [], - inputLength = input.length, - out, - i = 0, - n = initialN, - bias = initialBias, - basic, - j, - index, - oldi, - w, - k, - digit, - t, - - baseMinusT; - - - basic = input.lastIndexOf(delimiter); - if (basic < 0) { - basic = 0; - } - - for (j = 0; j < basic; ++j) { - if (input.charCodeAt(j) >= 0x80) { - error('not-basic'); - } - output.push(input.charCodeAt(j)); - } - - - for (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) { - - for (oldi = i, w = 1, k = base; /* no condition */; k += base) { - - if (index >= inputLength) { - error('invalid-input'); - } - - digit = basicToDigit(input.charCodeAt(index++)); - - if (digit >= base || digit > floor((maxInt - i) / w)) { - error('overflow'); - } - - i += digit * w; - t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias); - - if (digit < t) { - break; - } - - baseMinusT = base - t; - if (w > floor(maxInt / baseMinusT)) { - error('overflow'); - } - - w *= baseMinusT; - - } - - out = output.length + 1; - bias = adapt(i - oldi, out, oldi == 0); - - if (floor(i / out) > maxInt - n) { - error('overflow'); - } - - n += floor(i / out); - i %= out; - - output.splice(i++, 0, n); - - } - - return ucs2encode(output); - } - - - function encode(input) { - var n, - delta, - handledCPCount, - basicLength, - bias, - j, - m, - q, - k, - t, - currentValue, - output = [], - - inputLength, - - handledCPCountPlusOne, - baseMinusT, - qMinusT; - - input = ucs2decode(input); - - inputLength = input.length; - - n = initialN; - delta = 0; - bias = initialBias; - - for (j = 0; j < inputLength; ++j) { - currentValue = input[j]; - if (currentValue < 0x80) { - output.push(stringFromCharCode(currentValue)); - } - } - - handledCPCount = basicLength = output.length; - - - if (basicLength) { - output.push(delimiter); - } - - while (handledCPCount < inputLength) { - - for (m = maxInt, j = 0; j < inputLength; ++j) { - currentValue = input[j]; - if (currentValue >= n && currentValue < m) { - m = currentValue; - } - } - - handledCPCountPlusOne = handledCPCount + 1; - if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) { - error('overflow'); - } - - delta += (m - n) * handledCPCountPlusOne; - n = m; - - for (j = 0; j < inputLength; ++j) { - currentValue = input[j]; - - if (currentValue < n && ++delta > maxInt) { - error('overflow'); - } - - if (currentValue == n) { - for (q = delta, k = base; /* no condition */; k += base) { - t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias); - if (q < t) { - break; - } - qMinusT = q - t; - baseMinusT = base - t; - output.push( - stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0)) - ); - q = floor(qMinusT / baseMinusT); - } - - output.push(stringFromCharCode(digitToBasic(q, 0))); - bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength); - delta = 0; - ++handledCPCount; - } - } - - ++delta; - ++n; - - } - return output.join(''); - } - - - function toUnicode(input) { - return mapDomain(input, function(string) { - return regexPunycode.test(string) - ? decode(string.slice(4).toLowerCase()) - : string; - }); - } - - - function toASCII(input) { - return mapDomain(input, function(string) { - return regexNonASCII.test(string) - ? 'xn--' + encode(string) - : string; - }); - } - - - - - punycode = { - - 'version': '1.4.1', - - 'ucs2': { - 'decode': ucs2decode, - 'encode': ucs2encode - }, - 'decode': decode, - 'encode': encode, - 'toASCII': toASCII, - 'toUnicode': toUnicode - }; - - - if ( - typeof define == 'function' && - typeof define.amd == 'object' && - define.amd - ) { - define('punycode', function() { - return punycode; - }); - } else if (freeExports && freeModule) { - if (module.exports == freeExports) { - freeModule.exports = punycode; - } else { - for (key in punycode) { - punycode.hasOwnProperty(key) && (freeExports[key] = punycode[key]); - } - } - } else { - root.punycode = punycode; - } - -}(this)); - -}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],252:[function(require,module,exports){ - -'use strict'; - -function hasOwnProperty(obj, prop) { - return Object.prototype.hasOwnProperty.call(obj, prop); -} - -module.exports = function(qs, sep, eq, options) { - sep = sep || '&'; - eq = eq || '='; - var obj = {}; - - if (typeof qs !== 'string' || qs.length === 0) { - return obj; - } - - var regexp = /\+/g; - qs = qs.split(sep); - - var maxKeys = 1000; - if (options && typeof options.maxKeys === 'number') { - maxKeys = options.maxKeys; - } - - var len = qs.length; - if (maxKeys > 0 && len > maxKeys) { - len = maxKeys; - } - - for (var i = 0; i < len; ++i) { - var x = qs[i].replace(regexp, '%20'), - idx = x.indexOf(eq), - kstr, vstr, k, v; - - if (idx >= 0) { - kstr = x.substr(0, idx); - vstr = x.substr(idx + 1); - } else { - kstr = x; - vstr = ''; - } - - k = decodeURIComponent(kstr); - v = decodeURIComponent(vstr); - - if (!hasOwnProperty(obj, k)) { - obj[k] = v; - } else if (isArray(obj[k])) { - obj[k].push(v); - } else { - obj[k] = [obj[k], v]; - } - } - - return obj; -}; - -var isArray = Array.isArray || function (xs) { - return Object.prototype.toString.call(xs) === '[object Array]'; -}; - -},{}],253:[function(require,module,exports){ - -'use strict'; - -var stringifyPrimitive = function(v) { - switch (typeof v) { - case 'string': - return v; - - case 'boolean': - return v ? 'true' : 'false'; - - case 'number': - return isFinite(v) ? v : ''; - - default: - return ''; - } -}; - -module.exports = function(obj, sep, eq, name) { - sep = sep || '&'; - eq = eq || '='; - if (obj === null) { - obj = undefined; - } - - if (typeof obj === 'object') { - return map(objectKeys(obj), function(k) { - var ks = encodeURIComponent(stringifyPrimitive(k)) + eq; - if (isArray(obj[k])) { - return map(obj[k], function(v) { - return ks + encodeURIComponent(stringifyPrimitive(v)); - }).join(sep); - } else { - return ks + encodeURIComponent(stringifyPrimitive(obj[k])); - } - }).join(sep); - - } - - if (!name) return ''; - return encodeURIComponent(stringifyPrimitive(name)) + eq + - encodeURIComponent(stringifyPrimitive(obj)); -}; - -var isArray = Array.isArray || function (xs) { - return Object.prototype.toString.call(xs) === '[object Array]'; -}; - -function map (xs, f) { - if (xs.map) return xs.map(f); - var res = []; - for (var i = 0; i < xs.length; i++) { - res.push(f(xs[i], i)); - } - return res; -} - -var objectKeys = Object.keys || function (obj) { - var res = []; - for (var key in obj) { - if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key); - } - return res; -}; - -},{}],254:[function(require,module,exports){ -'use strict'; - -exports.decode = exports.parse = require('./decode'); -exports.encode = exports.stringify = require('./encode'); - -},{"./decode":252,"./encode":253}],255:[function(require,module,exports){ -if (typeof Object.create === 'function') { - module.exports = function inherits(ctor, superCtor) { - ctor.super_ = superCtor - ctor.prototype = Object.create(superCtor.prototype, { - constructor: { - value: ctor, - enumerable: false, - writable: true, - configurable: true - } - }); - }; -} else { - module.exports = function inherits(ctor, superCtor) { - ctor.super_ = superCtor - var TempCtor = function () {} - TempCtor.prototype = superCtor.prototype - ctor.prototype = new TempCtor() - ctor.prototype.constructor = ctor - } -} - -},{}],256:[function(require,module,exports){ -module.exports = function isBuffer(arg) { - return arg && typeof arg === 'object' - && typeof arg.copy === 'function' - && typeof arg.fill === 'function' - && typeof arg.readUInt8 === 'function'; -} -},{}],257:[function(require,module,exports){ -(function (process,global){ - -var formatRegExp = /%[sdj%]/g; -exports.format = function(f) { - if (!isString(f)) { - var objects = []; - for (var i = 0; i < arguments.length; i++) { - objects.push(inspect(arguments[i])); - } - return objects.join(' '); - } - - var i = 1; - var args = arguments; - var len = args.length; - var str = String(f).replace(formatRegExp, function(x) { - if (x === '%') return '%'; - if (i >= len) return x; - switch (x) { - case '%s': return String(args[i++]); - case '%d': return Number(args[i++]); - case '%j': - try { - return JSON.stringify(args[i++]); - } catch (_) { - return '[Circular]'; - } - default: - return x; - } - }); - for (var x = args[i]; i < len; x = args[++i]) { - if (isNull(x) || !isObject(x)) { - str += ' ' + x; - } else { - str += ' ' + inspect(x); - } - } - return str; -}; - - -exports.deprecate = function(fn, msg) { - if (isUndefined(global.process)) { - return function() { - return exports.deprecate(fn, msg).apply(this, arguments); - }; - } - - if (process.noDeprecation === true) { - return fn; - } - - var warned = false; - function deprecated() { - if (!warned) { - if (process.throwDeprecation) { - throw new Error(msg); - } else if (process.traceDeprecation) { - console.trace(msg); - } else { - console.error(msg); - } - warned = true; - } - return fn.apply(this, arguments); - } - - return deprecated; -}; - - -var debugs = {}; -var debugEnviron; -exports.debuglog = function(set) { - if (isUndefined(debugEnviron)) - debugEnviron = process.env.NODE_DEBUG || ''; - set = set.toUpperCase(); - if (!debugs[set]) { - if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) { - var pid = process.pid; - debugs[set] = function() { - var msg = exports.format.apply(exports, arguments); - console.error('%s %d: %s', set, pid, msg); - }; - } else { - debugs[set] = function() {}; - } - } - return debugs[set]; -}; - - - - -function inspect(obj, opts) { - var ctx = { - seen: [], - stylize: stylizeNoColor - }; - if (arguments.length >= 3) ctx.depth = arguments[2]; - if (arguments.length >= 4) ctx.colors = arguments[3]; - if (isBoolean(opts)) { - ctx.showHidden = opts; - } else if (opts) { - exports._extend(ctx, opts); - } - if (isUndefined(ctx.showHidden)) ctx.showHidden = false; - if (isUndefined(ctx.depth)) ctx.depth = 2; - if (isUndefined(ctx.colors)) ctx.colors = false; - if (isUndefined(ctx.customInspect)) ctx.customInspect = true; - if (ctx.colors) ctx.stylize = stylizeWithColor; - return formatValue(ctx, obj, ctx.depth); -} -exports.inspect = inspect; - - -inspect.colors = { - 'bold' : [1, 22], - 'italic' : [3, 23], - 'underline' : [4, 24], - 'inverse' : [7, 27], - 'white' : [37, 39], - 'grey' : [90, 39], - 'black' : [30, 39], - 'blue' : [34, 39], - 'cyan' : [36, 39], - 'green' : [32, 39], - 'magenta' : [35, 39], - 'red' : [31, 39], - 'yellow' : [33, 39] -}; - -inspect.styles = { - 'special': 'cyan', - 'number': 'yellow', - 'boolean': 'yellow', - 'undefined': 'grey', - 'null': 'bold', - 'string': 'green', - 'date': 'magenta', - 'regexp': 'red' -}; - - -function stylizeWithColor(str, styleType) { - var style = inspect.styles[styleType]; - - if (style) { - return '\u001b[' + inspect.colors[style][0] + 'm' + str + - '\u001b[' + inspect.colors[style][1] + 'm'; - } else { - return str; - } -} - - -function stylizeNoColor(str, styleType) { - return str; -} - - -function arrayToHash(array) { - var hash = {}; - - array.forEach(function(val, idx) { - hash[val] = true; - }); - - return hash; -} - - -function formatValue(ctx, value, recurseTimes) { - if (ctx.customInspect && - value && - isFunction(value.inspect) && - value.inspect !== exports.inspect && - !(value.constructor && value.constructor.prototype === value)) { - var ret = value.inspect(recurseTimes, ctx); - if (!isString(ret)) { - ret = formatValue(ctx, ret, recurseTimes); - } - return ret; - } - - var primitive = formatPrimitive(ctx, value); - if (primitive) { - return primitive; - } - - var keys = Object.keys(value); - var visibleKeys = arrayToHash(keys); - - if (ctx.showHidden) { - keys = Object.getOwnPropertyNames(value); - } - - if (isError(value) - && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) { - return formatError(value); - } - - if (keys.length === 0) { - if (isFunction(value)) { - var name = value.name ? ': ' + value.name : ''; - return ctx.stylize('[Function' + name + ']', 'special'); - } - if (isRegExp(value)) { - return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); - } - if (isDate(value)) { - return ctx.stylize(Date.prototype.toString.call(value), 'date'); - } - if (isError(value)) { - return formatError(value); - } - } - - var base = '', array = false, braces = ['{', '}']; - - if (isArray(value)) { - array = true; - braces = ['[', ']']; - } - - if (isFunction(value)) { - var n = value.name ? ': ' + value.name : ''; - base = ' [Function' + n + ']'; - } - - if (isRegExp(value)) { - base = ' ' + RegExp.prototype.toString.call(value); - } - - if (isDate(value)) { - base = ' ' + Date.prototype.toUTCString.call(value); - } - - if (isError(value)) { - base = ' ' + formatError(value); - } - - if (keys.length === 0 && (!array || value.length == 0)) { - return braces[0] + base + braces[1]; - } - - if (recurseTimes < 0) { - if (isRegExp(value)) { - return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); - } else { - return ctx.stylize('[Object]', 'special'); - } - } - - ctx.seen.push(value); - - var output; - if (array) { - output = formatArray(ctx, value, recurseTimes, visibleKeys, keys); - } else { - output = keys.map(function(key) { - return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array); - }); - } - - ctx.seen.pop(); - - return reduceToSingleString(output, base, braces); -} - - -function formatPrimitive(ctx, value) { - if (isUndefined(value)) - return ctx.stylize('undefined', 'undefined'); - if (isString(value)) { - var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '') - .replace(/'/g, "\\'") - .replace(/\\"/g, '"') + '\''; - return ctx.stylize(simple, 'string'); - } - if (isNumber(value)) - return ctx.stylize('' + value, 'number'); - if (isBoolean(value)) - return ctx.stylize('' + value, 'boolean'); - if (isNull(value)) - return ctx.stylize('null', 'null'); -} - - -function formatError(value) { - return '[' + Error.prototype.toString.call(value) + ']'; -} - - -function formatArray(ctx, value, recurseTimes, visibleKeys, keys) { - var output = []; - for (var i = 0, l = value.length; i < l; ++i) { - if (hasOwnProperty(value, String(i))) { - output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, - String(i), true)); - } else { - output.push(''); - } - } - keys.forEach(function(key) { - if (!key.match(/^\d+$/)) { - output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, - key, true)); - } - }); - return output; -} - - -function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) { - var name, str, desc; - desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] }; - if (desc.get) { - if (desc.set) { - str = ctx.stylize('[Getter/Setter]', 'special'); - } else { - str = ctx.stylize('[Getter]', 'special'); - } - } else { - if (desc.set) { - str = ctx.stylize('[Setter]', 'special'); - } - } - if (!hasOwnProperty(visibleKeys, key)) { - name = '[' + key + ']'; - } - if (!str) { - if (ctx.seen.indexOf(desc.value) < 0) { - if (isNull(recurseTimes)) { - str = formatValue(ctx, desc.value, null); - } else { - str = formatValue(ctx, desc.value, recurseTimes - 1); - } - if (str.indexOf('\n') > -1) { - if (array) { - str = str.split('\n').map(function(line) { - return ' ' + line; - }).join('\n').substr(2); - } else { - str = '\n' + str.split('\n').map(function(line) { - return ' ' + line; - }).join('\n'); - } - } - } else { - str = ctx.stylize('[Circular]', 'special'); - } - } - if (isUndefined(name)) { - if (array && key.match(/^\d+$/)) { - return str; - } - name = JSON.stringify('' + key); - if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) { - name = name.substr(1, name.length - 2); - name = ctx.stylize(name, 'name'); - } else { - name = name.replace(/'/g, "\\'") - .replace(/\\"/g, '"') - .replace(/(^"|"$)/g, "'"); - name = ctx.stylize(name, 'string'); - } - } - - return name + ': ' + str; -} - - -function reduceToSingleString(output, base, braces) { - var numLinesEst = 0; - var length = output.reduce(function(prev, cur) { - numLinesEst++; - if (cur.indexOf('\n') >= 0) numLinesEst++; - return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1; - }, 0); - - if (length > 60) { - return braces[0] + - (base === '' ? '' : base + '\n ') + - ' ' + - output.join(',\n ') + - ' ' + - braces[1]; - } - - return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1]; -} - - -function isArray(ar) { - return Array.isArray(ar); -} -exports.isArray = isArray; - -function isBoolean(arg) { - return typeof arg === 'boolean'; -} -exports.isBoolean = isBoolean; - -function isNull(arg) { - return arg === null; -} -exports.isNull = isNull; - -function isNullOrUndefined(arg) { - return arg == null; -} -exports.isNullOrUndefined = isNullOrUndefined; - -function isNumber(arg) { - return typeof arg === 'number'; -} -exports.isNumber = isNumber; - -function isString(arg) { - return typeof arg === 'string'; -} -exports.isString = isString; - -function isSymbol(arg) { - return typeof arg === 'symbol'; -} -exports.isSymbol = isSymbol; - -function isUndefined(arg) { - return arg === void 0; -} -exports.isUndefined = isUndefined; - -function isRegExp(re) { - return isObject(re) && objectToString(re) === '[object RegExp]'; -} -exports.isRegExp = isRegExp; - -function isObject(arg) { - return typeof arg === 'object' && arg !== null; -} -exports.isObject = isObject; - -function isDate(d) { - return isObject(d) && objectToString(d) === '[object Date]'; -} -exports.isDate = isDate; - -function isError(e) { - return isObject(e) && - (objectToString(e) === '[object Error]' || e instanceof Error); -} -exports.isError = isError; - -function isFunction(arg) { - return typeof arg === 'function'; -} -exports.isFunction = isFunction; - -function isPrimitive(arg) { - return arg === null || - typeof arg === 'boolean' || - typeof arg === 'number' || - typeof arg === 'string' || - typeof arg === 'symbol' || // ES6 symbol - typeof arg === 'undefined'; -} -exports.isPrimitive = isPrimitive; - -exports.isBuffer = require('./support/isBuffer'); - -function objectToString(o) { - return Object.prototype.toString.call(o); -} - - -function pad(n) { - return n < 10 ? '0' + n.toString(10) : n.toString(10); -} - - -var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', - 'Oct', 'Nov', 'Dec']; - -function timestamp() { - var d = new Date(); - var time = [pad(d.getHours()), - pad(d.getMinutes()), - pad(d.getSeconds())].join(':'); - return [d.getDate(), months[d.getMonth()], time].join(' '); -} - - -exports.log = function() { - console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments)); -}; - - - -exports.inherits = require('inherits'); - -exports._extend = function(origin, add) { - if (!add || !isObject(add)) return origin; - - var keys = Object.keys(add); - var i = keys.length; - while (i--) { - origin[keys[i]] = add[keys[i]]; - } - return origin; -}; - -function hasOwnProperty(obj, prop) { - return Object.prototype.hasOwnProperty.call(obj, prop); -} - -}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./support/isBuffer":256,"_process":250,"inherits":255}],258:[function(require,module,exports){ -(function (global){ - - - -'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 - - -Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined - ? global.TYPED_ARRAY_SUPPORT - : typedArraySupport() - - -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) { - that = new Uint8Array(length) - that.__proto__ = Buffer.prototype - } else { - if (that === null) { - that = new Buffer(length) - } - that.length = length - } - - return that -} - - - -function Buffer (arg, encodingOrOffset, length) { - if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) { - return new Buffer(arg, encodingOrOffset, length) - } - - 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 - -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) -} - - -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) { - 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) { - return typeof encoding === 'string' - ? createBuffer(that, size).fill(fill, encoding) - : createBuffer(that, size).fill(fill) - } - return createBuffer(that, size) -} - - -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 -} - - -Buffer.allocUnsafe = function (size) { - return allocUnsafe(null, size) -} - -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) { - 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) { - that = array - that.__proto__ = Buffer.prototype - } else { - 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) { - 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 - - 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 - - - if (start === undefined || start < 0) { - start = 0 - } - if (start > this.length) { - return '' - } - - if (end === undefined || end > this.length) { - end = this.length - } - - if (end <= 0) { - return '' - } - - 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 - } - } -} - -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 -} - -function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) { - if (buffer.length === 0) return -1 - - 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 = dir ? 0 : (buffer.length - 1) - } - - 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 - } - - if (typeof val === 'string') { - val = Buffer.from(val, encoding) - } - - if (Buffer.isBuffer(val)) { - 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 - } - } - - 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) { - if (offset === undefined) { - encoding = 'utf8' - length = this.length - offset = 0 - } else if (length === undefined && typeof offset === 'string') { - encoding = offset - length = this.length - offset = 0 - } else if (isFinite(offset)) { - offset = offset | 0 - if (isFinite(length)) { - length = length | 0 - if (encoding === undefined) encoding = 'utf8' - } else { - encoding = length - length = undefined - } - } 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': - 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) { - codePoint = 0xFFFD - bytesPerSequence = 1 - } else if (codePoint > 0xFFFF) { - codePoint -= 0x10000 - res.push(codePoint >>> 10 & 0x3FF | 0xD800) - codePoint = 0xDC00 | codePoint & 0x3FF - } - - res.push(codePoint) - i += bytesPerSequence - } - - return decodeCodePointsArray(res) -} - -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() - } - - 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 -} - - -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) -} - -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 - - if (end === start) return 0 - if (target.length === 0 || this.length === 0) return 0 - - 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') - - 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) { - for (i = len - 1; i >= 0; --i) { - target[i + targetStart] = this[i + start] - } - } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) { - 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 -} - -Buffer.prototype.fill = function fill (val, start, end, encoding) { - 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 - } - - 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 -} - - -var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g - -function base64clean (str) { - str = stringtrim(str).replace(INVALID_BASE64_RE, '') - if (str.length < 2) return '' - 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) - - if (codePoint > 0xD7FF && codePoint < 0xE000) { - if (!leadSurrogate) { - if (codePoint > 0xDBFF) { - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - continue - } else if (i + 1 === length) { - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - continue - } - - leadSurrogate = codePoint - - continue - } - - if (codePoint < 0xDC00) { - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - leadSurrogate = codePoint - continue - } - - codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000 - } else if (leadSurrogate) { - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - } - - leadSurrogate = null - - 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) { - 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 -} - -}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"base64-js":259,"ieee754":260,"isarray":261}],259:[function(require,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') - } - - return b64[len - 2] === '=' ? 2 : b64[len - 1] === '=' ? 1 : 0 -} - -function byteLength (b64) { - return b64.length * 3 / 4 - placeHoldersCount(b64) -} - -function toByteArray (b64) { - var i, j, l, tmp, placeHolders, arr - var len = b64.length - placeHolders = placeHoldersCount(b64) - - arr = new Arr(len * 3 / 4 - placeHolders) - - l = placeHolders > 0 ? len - 4 : len - - var L = 0 - - for (i = 0, j = 0; i < l; i += 4, j += 3) { - 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 - - for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) { - parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength))) - } - - 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('') -} - -},{}],260:[function(require,module,exports){ -exports.read = function (buffer, offset, isLE, mLen, nBytes) { - var e, m - var eLen = nBytes * 8 - mLen - 1 - var eMax = (1 << eLen) - 1 - var eBias = eMax >> 1 - var nBits = -7 - var i = isLE ? (nBytes - 1) : 0 - var d = isLE ? -1 : 1 - var s = buffer[offset + i] - - i += d - - e = s & ((1 << (-nBits)) - 1) - s >>= (-nBits) - nBits += eLen - for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {} - - m = e & ((1 << (-nBits)) - 1) - e >>= (-nBits) - nBits += mLen - for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {} - - if (e === 0) { - e = 1 - eBias - } else if (e === eMax) { - return m ? NaN : ((s ? -1 : 1) * Infinity) - } else { - m = m + Math.pow(2, mLen) - e = e - eBias - } - return (s ? -1 : 1) * m * Math.pow(2, e - mLen) -} - -exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { - var e, m, c - var eLen = nBytes * 8 - mLen - 1 - var eMax = (1 << eLen) - 1 - var eBias = eMax >> 1 - var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0) - var i = isLE ? 0 : (nBytes - 1) - var d = isLE ? 1 : -1 - var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0 - - value = Math.abs(value) - - if (isNaN(value) || value === Infinity) { - m = isNaN(value) ? 1 : 0 - e = eMax - } else { - e = Math.floor(Math.log(value) / Math.LN2) - if (value * (c = Math.pow(2, -e)) < 1) { - e-- - c *= 2 - } - if (e + eBias >= 1) { - value += rt / c - } else { - value += rt * Math.pow(2, 1 - eBias) - } - if (value * c >= 2) { - e++ - c /= 2 - } - - if (e + eBias >= eMax) { - m = 0 - e = eMax - } else if (e + eBias >= 1) { - m = (value * c - 1) * Math.pow(2, mLen) - e = e + eBias - } else { - m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen) - e = 0 - } - } - - for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {} - - e = (e << mLen) | m - eLen += mLen - for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {} - - buffer[offset + i - d] |= s * 128 -} - -},{}],261:[function(require,module,exports){ -var toString = {}.toString; - -module.exports = Array.isArray || function (arr) { - return toString.call(arr) == '[object Array]'; -}; - -},{}],262:[function(require,module,exports){ -var Buffer = require('buffer').Buffer; -var intSize = 4; -var zeroBuffer = new Buffer(intSize); zeroBuffer.fill(0); -var chrsz = 8; - -function toArray(buf, bigEndian) { - if ((buf.length % intSize) !== 0) { - var len = buf.length + (intSize - (buf.length % intSize)); - buf = Buffer.concat([buf, zeroBuffer], len); - } - - var arr = []; - var fn = bigEndian ? buf.readInt32BE : buf.readInt32LE; - for (var i = 0; i < buf.length; i += intSize) { - arr.push(fn.call(buf, i)); - } - return arr; -} - -function toBuffer(arr, size, bigEndian) { - var buf = new Buffer(size); - var fn = bigEndian ? buf.writeInt32BE : buf.writeInt32LE; - for (var i = 0; i < arr.length; i++) { - fn.call(buf, arr[i], i * 4, true); - } - return buf; -} - -function hash(buf, fn, hashSize, bigEndian) { - if (!Buffer.isBuffer(buf)) buf = new Buffer(buf); - var arr = fn(toArray(buf, bigEndian), buf.length * chrsz); - return toBuffer(arr, hashSize, bigEndian); -} - -module.exports = { hash: hash }; - -},{"buffer":258}],263:[function(require,module,exports){ -var Buffer = require('buffer').Buffer -var sha = require('./sha') -var sha256 = require('./sha256') -var rng = require('./rng') -var md5 = require('./md5') - -var algorithms = { - sha1: sha, - sha256: sha256, - md5: md5 -} - -var blocksize = 64 -var zeroBuffer = new Buffer(blocksize); zeroBuffer.fill(0) -function hmac(fn, key, data) { - if(!Buffer.isBuffer(key)) key = new Buffer(key) - if(!Buffer.isBuffer(data)) data = new Buffer(data) - - if(key.length > blocksize) { - key = fn(key) - } else if(key.length < blocksize) { - key = Buffer.concat([key, zeroBuffer], blocksize) - } - - var ipad = new Buffer(blocksize), opad = new Buffer(blocksize) - for(var i = 0; i < blocksize; i++) { - ipad[i] = key[i] ^ 0x36 - opad[i] = key[i] ^ 0x5C - } - - var hash = fn(Buffer.concat([ipad, data])) - return fn(Buffer.concat([opad, hash])) -} - -function hash(alg, key) { - alg = alg || 'sha1' - var fn = algorithms[alg] - var bufs = [] - var length = 0 - if(!fn) error('algorithm:', alg, 'is not yet supported') - return { - update: function (data) { - if(!Buffer.isBuffer(data)) data = new Buffer(data) - - bufs.push(data) - length += data.length - return this - }, - digest: function (enc) { - var buf = Buffer.concat(bufs) - var r = key ? hmac(fn, key, buf) : fn(buf) - bufs = null - return enc ? r.toString(enc) : r - } - } -} - -function error () { - var m = [].slice.call(arguments).join(' ') - throw new Error([ - m, - 'we accept pull requests', - 'http://github.com/dominictarr/crypto-browserify' - ].join('\n')) -} - -exports.createHash = function (alg) { return hash(alg) } -exports.createHmac = function (alg, key) { return hash(alg, key) } -exports.randomBytes = function(size, callback) { - if (callback && callback.call) { - try { - callback.call(this, undefined, new Buffer(rng(size))) - } catch (err) { callback(err) } - } else { - return new Buffer(rng(size)) - } -} - -function each(a, f) { - for(var i in a) - f(a[i], i) -} - -each(['createCredentials' -, 'createCipher' -, 'createCipheriv' -, 'createDecipher' -, 'createDecipheriv' -, 'createSign' -, 'createVerify' -, 'createDiffieHellman' -, 'pbkdf2'], function (name) { - exports[name] = function () { - error('sorry,', name, 'is not implemented yet') - } -}) - -},{"./md5":264,"./rng":265,"./sha":266,"./sha256":267,"buffer":258}],264:[function(require,module,exports){ - - -var helpers = require('./helpers'); - - -function md5_vm_test() -{ - return hex_md5("abc") == "900150983cd24fb0d6963f7d28e17f72"; -} - - -function core_md5(x, len) -{ - - x[len >> 5] |= 0x80 << ((len) % 32); - x[(((len + 64) >>> 9) << 4) + 14] = len; - - var a = 1732584193; - var b = -271733879; - var c = -1732584194; - var d = 271733878; - - for(var i = 0; i < x.length; i += 16) - { - var olda = a; - var oldb = b; - var oldc = c; - var oldd = d; - - a = md5_ff(a, b, c, d, x[i+ 0], 7 , -680876936); - d = md5_ff(d, a, b, c, x[i+ 1], 12, -389564586); - c = md5_ff(c, d, a, b, x[i+ 2], 17, 606105819); - b = md5_ff(b, c, d, a, x[i+ 3], 22, -1044525330); - a = md5_ff(a, b, c, d, x[i+ 4], 7 , -176418897); - d = md5_ff(d, a, b, c, x[i+ 5], 12, 1200080426); - c = md5_ff(c, d, a, b, x[i+ 6], 17, -1473231341); - b = md5_ff(b, c, d, a, x[i+ 7], 22, -45705983); - a = md5_ff(a, b, c, d, x[i+ 8], 7 , 1770035416); - d = md5_ff(d, a, b, c, x[i+ 9], 12, -1958414417); - c = md5_ff(c, d, a, b, x[i+10], 17, -42063); - b = md5_ff(b, c, d, a, x[i+11], 22, -1990404162); - a = md5_ff(a, b, c, d, x[i+12], 7 , 1804603682); - d = md5_ff(d, a, b, c, x[i+13], 12, -40341101); - c = md5_ff(c, d, a, b, x[i+14], 17, -1502002290); - b = md5_ff(b, c, d, a, x[i+15], 22, 1236535329); - - a = md5_gg(a, b, c, d, x[i+ 1], 5 , -165796510); - d = md5_gg(d, a, b, c, x[i+ 6], 9 , -1069501632); - c = md5_gg(c, d, a, b, x[i+11], 14, 643717713); - b = md5_gg(b, c, d, a, x[i+ 0], 20, -373897302); - a = md5_gg(a, b, c, d, x[i+ 5], 5 , -701558691); - d = md5_gg(d, a, b, c, x[i+10], 9 , 38016083); - c = md5_gg(c, d, a, b, x[i+15], 14, -660478335); - b = md5_gg(b, c, d, a, x[i+ 4], 20, -405537848); - a = md5_gg(a, b, c, d, x[i+ 9], 5 , 568446438); - d = md5_gg(d, a, b, c, x[i+14], 9 , -1019803690); - c = md5_gg(c, d, a, b, x[i+ 3], 14, -187363961); - b = md5_gg(b, c, d, a, x[i+ 8], 20, 1163531501); - a = md5_gg(a, b, c, d, x[i+13], 5 , -1444681467); - d = md5_gg(d, a, b, c, x[i+ 2], 9 , -51403784); - c = md5_gg(c, d, a, b, x[i+ 7], 14, 1735328473); - b = md5_gg(b, c, d, a, x[i+12], 20, -1926607734); - - a = md5_hh(a, b, c, d, x[i+ 5], 4 , -378558); - d = md5_hh(d, a, b, c, x[i+ 8], 11, -2022574463); - c = md5_hh(c, d, a, b, x[i+11], 16, 1839030562); - b = md5_hh(b, c, d, a, x[i+14], 23, -35309556); - a = md5_hh(a, b, c, d, x[i+ 1], 4 , -1530992060); - d = md5_hh(d, a, b, c, x[i+ 4], 11, 1272893353); - c = md5_hh(c, d, a, b, x[i+ 7], 16, -155497632); - b = md5_hh(b, c, d, a, x[i+10], 23, -1094730640); - a = md5_hh(a, b, c, d, x[i+13], 4 , 681279174); - d = md5_hh(d, a, b, c, x[i+ 0], 11, -358537222); - c = md5_hh(c, d, a, b, x[i+ 3], 16, -722521979); - b = md5_hh(b, c, d, a, x[i+ 6], 23, 76029189); - a = md5_hh(a, b, c, d, x[i+ 9], 4 , -640364487); - d = md5_hh(d, a, b, c, x[i+12], 11, -421815835); - c = md5_hh(c, d, a, b, x[i+15], 16, 530742520); - b = md5_hh(b, c, d, a, x[i+ 2], 23, -995338651); - - a = md5_ii(a, b, c, d, x[i+ 0], 6 , -198630844); - d = md5_ii(d, a, b, c, x[i+ 7], 10, 1126891415); - c = md5_ii(c, d, a, b, x[i+14], 15, -1416354905); - b = md5_ii(b, c, d, a, x[i+ 5], 21, -57434055); - a = md5_ii(a, b, c, d, x[i+12], 6 , 1700485571); - d = md5_ii(d, a, b, c, x[i+ 3], 10, -1894986606); - c = md5_ii(c, d, a, b, x[i+10], 15, -1051523); - b = md5_ii(b, c, d, a, x[i+ 1], 21, -2054922799); - a = md5_ii(a, b, c, d, x[i+ 8], 6 , 1873313359); - d = md5_ii(d, a, b, c, x[i+15], 10, -30611744); - c = md5_ii(c, d, a, b, x[i+ 6], 15, -1560198380); - b = md5_ii(b, c, d, a, x[i+13], 21, 1309151649); - a = md5_ii(a, b, c, d, x[i+ 4], 6 , -145523070); - d = md5_ii(d, a, b, c, x[i+11], 10, -1120210379); - c = md5_ii(c, d, a, b, x[i+ 2], 15, 718787259); - b = md5_ii(b, c, d, a, x[i+ 9], 21, -343485551); - - a = safe_add(a, olda); - b = safe_add(b, oldb); - c = safe_add(c, oldc); - d = safe_add(d, oldd); - } - return Array(a, b, c, d); - -} - - -function md5_cmn(q, a, b, x, s, t) -{ - return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s),b); -} -function md5_ff(a, b, c, d, x, s, t) -{ - return md5_cmn((b & c) | ((~b) & d), a, b, x, s, t); -} -function md5_gg(a, b, c, d, x, s, t) -{ - return md5_cmn((b & d) | (c & (~d)), a, b, x, s, t); -} -function md5_hh(a, b, c, d, x, s, t) -{ - return md5_cmn(b ^ c ^ d, a, b, x, s, t); -} -function md5_ii(a, b, c, d, x, s, t) -{ - return md5_cmn(c ^ (b | (~d)), a, b, x, s, t); -} - - -function safe_add(x, y) -{ - var lsw = (x & 0xFFFF) + (y & 0xFFFF); - var msw = (x >> 16) + (y >> 16) + (lsw >> 16); - return (msw << 16) | (lsw & 0xFFFF); -} - - -function bit_rol(num, cnt) -{ - return (num << cnt) | (num >>> (32 - cnt)); -} - -module.exports = function md5(buf) { - return helpers.hash(buf, core_md5, 16); -}; - -},{"./helpers":262}],265:[function(require,module,exports){ -(function() { - var _global = this; - - var mathRNG, whatwgRNG; - - mathRNG = function(size) { - var bytes = new Array(size); - var r; - - for (var i = 0, r; i < size; i++) { - if ((i & 0x03) == 0) r = Math.random() * 0x100000000; - bytes[i] = r >>> ((i & 0x03) << 3) & 0xff; - } - - return bytes; - } - - if (_global.crypto && crypto.getRandomValues) { - whatwgRNG = function(size) { - var bytes = new Uint8Array(size); - crypto.getRandomValues(bytes); - return bytes; - } - } - - module.exports = whatwgRNG || mathRNG; - -}()) - -},{}],266:[function(require,module,exports){ - - -var helpers = require('./helpers'); - - -function core_sha1(x, len) -{ - - x[len >> 5] |= 0x80 << (24 - len % 32); - x[((len + 64 >> 9) << 4) + 15] = len; - - var w = Array(80); - var a = 1732584193; - var b = -271733879; - var c = -1732584194; - var d = 271733878; - var e = -1009589776; - - for(var i = 0; i < x.length; i += 16) - { - var olda = a; - var oldb = b; - var oldc = c; - var oldd = d; - var olde = e; - - for(var j = 0; j < 80; j++) - { - if(j < 16) w[j] = x[i + j]; - else w[j] = rol(w[j-3] ^ w[j-8] ^ w[j-14] ^ w[j-16], 1); - var t = safe_add(safe_add(rol(a, 5), sha1_ft(j, b, c, d)), - safe_add(safe_add(e, w[j]), sha1_kt(j))); - e = d; - d = c; - c = rol(b, 30); - b = a; - a = t; - } - - a = safe_add(a, olda); - b = safe_add(b, oldb); - c = safe_add(c, oldc); - d = safe_add(d, oldd); - e = safe_add(e, olde); - } - return Array(a, b, c, d, e); - -} - - -function sha1_ft(t, b, c, d) -{ - if(t < 20) return (b & c) | ((~b) & d); - if(t < 40) return b ^ c ^ d; - if(t < 60) return (b & c) | (b & d) | (c & d); - return b ^ c ^ d; -} - - -function sha1_kt(t) -{ - return (t < 20) ? 1518500249 : (t < 40) ? 1859775393 : - (t < 60) ? -1894007588 : -899497514; -} - - -function safe_add(x, y) -{ - var lsw = (x & 0xFFFF) + (y & 0xFFFF); - var msw = (x >> 16) + (y >> 16) + (lsw >> 16); - return (msw << 16) | (lsw & 0xFFFF); -} - - -function rol(num, cnt) -{ - return (num << cnt) | (num >>> (32 - cnt)); -} - -module.exports = function sha1(buf) { - return helpers.hash(buf, core_sha1, 20, true); -}; - -},{"./helpers":262}],267:[function(require,module,exports){ - - - -var helpers = require('./helpers'); - -var safe_add = function(x, y) { - var lsw = (x & 0xFFFF) + (y & 0xFFFF); - var msw = (x >> 16) + (y >> 16) + (lsw >> 16); - return (msw << 16) | (lsw & 0xFFFF); -}; - -var S = function(X, n) { - return (X >>> n) | (X << (32 - n)); -}; - -var R = function(X, n) { - return (X >>> n); -}; - -var Ch = function(x, y, z) { - return ((x & y) ^ ((~x) & z)); -}; - -var Maj = function(x, y, z) { - return ((x & y) ^ (x & z) ^ (y & z)); -}; - -var Sigma0256 = function(x) { - return (S(x, 2) ^ S(x, 13) ^ S(x, 22)); -}; - -var Sigma1256 = function(x) { - return (S(x, 6) ^ S(x, 11) ^ S(x, 25)); -}; - -var Gamma0256 = function(x) { - return (S(x, 7) ^ S(x, 18) ^ R(x, 3)); -}; - -var Gamma1256 = function(x) { - return (S(x, 17) ^ S(x, 19) ^ R(x, 10)); -}; - -var core_sha256 = function(m, l) { - var K = new Array(0x428A2F98,0x71374491,0xB5C0FBCF,0xE9B5DBA5,0x3956C25B,0x59F111F1,0x923F82A4,0xAB1C5ED5,0xD807AA98,0x12835B01,0x243185BE,0x550C7DC3,0x72BE5D74,0x80DEB1FE,0x9BDC06A7,0xC19BF174,0xE49B69C1,0xEFBE4786,0xFC19DC6,0x240CA1CC,0x2DE92C6F,0x4A7484AA,0x5CB0A9DC,0x76F988DA,0x983E5152,0xA831C66D,0xB00327C8,0xBF597FC7,0xC6E00BF3,0xD5A79147,0x6CA6351,0x14292967,0x27B70A85,0x2E1B2138,0x4D2C6DFC,0x53380D13,0x650A7354,0x766A0ABB,0x81C2C92E,0x92722C85,0xA2BFE8A1,0xA81A664B,0xC24B8B70,0xC76C51A3,0xD192E819,0xD6990624,0xF40E3585,0x106AA070,0x19A4C116,0x1E376C08,0x2748774C,0x34B0BCB5,0x391C0CB3,0x4ED8AA4A,0x5B9CCA4F,0x682E6FF3,0x748F82EE,0x78A5636F,0x84C87814,0x8CC70208,0x90BEFFFA,0xA4506CEB,0xBEF9A3F7,0xC67178F2); - var HASH = new Array(0x6A09E667, 0xBB67AE85, 0x3C6EF372, 0xA54FF53A, 0x510E527F, 0x9B05688C, 0x1F83D9AB, 0x5BE0CD19); - var W = new Array(64); - var a, b, c, d, e, f, g, h, i, j; - var T1, T2; - - m[l >> 5] |= 0x80 << (24 - l % 32); - m[((l + 64 >> 9) << 4) + 15] = l; - for (var i = 0; i < m.length; i += 16) { - a = HASH[0]; b = HASH[1]; c = HASH[2]; d = HASH[3]; e = HASH[4]; f = HASH[5]; g = HASH[6]; h = HASH[7]; - for (var j = 0; j < 64; j++) { - if (j < 16) { - W[j] = m[j + i]; - } else { - W[j] = safe_add(safe_add(safe_add(Gamma1256(W[j - 2]), W[j - 7]), Gamma0256(W[j - 15])), W[j - 16]); - } - T1 = safe_add(safe_add(safe_add(safe_add(h, Sigma1256(e)), Ch(e, f, g)), K[j]), W[j]); - T2 = safe_add(Sigma0256(a), Maj(a, b, c)); - h = g; g = f; f = e; e = safe_add(d, T1); d = c; c = b; b = a; a = safe_add(T1, T2); - } - HASH[0] = safe_add(a, HASH[0]); HASH[1] = safe_add(b, HASH[1]); HASH[2] = safe_add(c, HASH[2]); HASH[3] = safe_add(d, HASH[3]); - HASH[4] = safe_add(e, HASH[4]); HASH[5] = safe_add(f, HASH[5]); HASH[6] = safe_add(g, HASH[6]); HASH[7] = safe_add(h, HASH[7]); - } - return HASH; -}; - -module.exports = function sha256(buf) { - return helpers.hash(buf, core_sha256, 32, true); -}; - -},{"./helpers":262}],268:[function(require,module,exports){ -(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) { - if (first === second) { - return true; - } - - var firstType = Object.prototype.toString.call(first); - if (firstType !== Object.prototype.toString.call(second)) { - return false; - } - if (isArray(first) === true) { - 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) { - var keysSeen = {}; - for (var key in first) { - if (hasOwnProperty.call(first, key)) { - if (strictDeepEqual(first[key], second[key]) === false) { - return false; - } - keysSeen[key] = true; - } - } - for (var key2 in second) { - if (hasOwnProperty.call(second, key2)) { - if (keysSeen[key2] !== true) { - return false; - } - } - } - return true; - } - return false; - } - - function isFalse(obj) { - - if (obj === "" || obj === false || obj === null) { - return true; - } else if (isArray(obj) && obj.length === 0) { - return true; - } else if (isObject(obj)) { - for (var key in obj) { - 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]; - }; - } - - 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"; - - - 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] === "[") { - 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) { - 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) { - 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) { - 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) { - 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 { - literal = JSON.parse("\"" + literalString + "\""); - } - 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) { - 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 { - 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() { - 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": - 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": - 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]; - 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 = { - 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) { - 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) { - if (expected === TYPE_ARRAY) { - return actual === TYPE_ARRAY; - } else if (actual === TYPE_ARRAY) { - 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]": - 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 { - 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; - 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 { - return a[0] - b[0]; - } - }); - 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(); - 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); - -},{}],269:[function(require,module,exports){ - -'use strict'; - -function hasOwnProperty(obj, prop) { - return Object.prototype.hasOwnProperty.call(obj, prop); -} - -module.exports = function(qs, sep, eq, options) { - sep = sep || '&'; - eq = eq || '='; - var obj = {}; - - if (typeof qs !== 'string' || qs.length === 0) { - return obj; - } - - var regexp = /\+/g; - qs = qs.split(sep); - - var maxKeys = 1000; - if (options && typeof options.maxKeys === 'number') { - maxKeys = options.maxKeys; - } - - var len = qs.length; - if (maxKeys > 0 && len > maxKeys) { - len = maxKeys; - } - - for (var i = 0; i < len; ++i) { - var x = qs[i].replace(regexp, '%20'), - idx = x.indexOf(eq), - kstr, vstr, k, v; - - if (idx >= 0) { - kstr = x.substr(0, idx); - vstr = x.substr(idx + 1); - } else { - kstr = x; - vstr = ''; - } - - k = decodeURIComponent(kstr); - v = decodeURIComponent(vstr); - - if (!hasOwnProperty(obj, k)) { - obj[k] = v; - } else if (Array.isArray(obj[k])) { - obj[k].push(v); - } else { - obj[k] = [obj[k], v]; - } - } - - return obj; -}; - -},{}],270:[function(require,module,exports){ - -'use strict'; - -var stringifyPrimitive = function(v) { - switch (typeof v) { - case 'string': - return v; - - case 'boolean': - return v ? 'true' : 'false'; - - case 'number': - return isFinite(v) ? v : ''; - - default: - return ''; - } -}; - -module.exports = function(obj, sep, eq, name) { - sep = sep || '&'; - eq = eq || '='; - if (obj === null) { - obj = undefined; - } - - if (typeof obj === 'object') { - return 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)); -}; - -},{}],271:[function(require,module,exports){ -arguments[4][254][0].apply(exports,arguments) -},{"./decode":269,"./encode":270,"dup":254}],272:[function(require,module,exports){ - -var punycode = require('punycode'); - -exports.parse = urlParse; -exports.resolve = urlResolve; -exports.resolveObject = urlResolveObject; -exports.format = urlFormat; - -exports.Url = Url; - -function Url() { - this.protocol = null; - this.slashes = null; - this.auth = null; - this.host = null; - this.port = null; - this.hostname = null; - this.hash = null; - this.search = null; - this.query = null; - this.pathname = null; - this.path = null; - this.href = null; -} - - -var protocolPattern = /^([a-z0-9.+-]+:)/i, - portPattern = /:[0-9]*$/, - - delims = ['<', '>', '"', '`', ' ', '\r', '\n', '\t'], - - unwise = ['{', '}', '|', '\\', '^', '`'].concat(delims), - - autoEscape = ['\''].concat(unwise), - nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape), - hostEndingChars = ['/', '?', '#'], - hostnameMaxLen = 255, - hostnamePartPattern = /^[a-z0-9A-Z_-]{0,63}$/, - hostnamePartStart = /^([a-z0-9A-Z_-]{0,63})(.*)$/, - unsafeProtocol = { - 'javascript': true, - 'javascript:': true - }, - hostlessProtocol = { - 'javascript': true, - 'javascript:': true - }, - slashedProtocol = { - 'http': true, - 'https': true, - 'ftp': true, - 'gopher': true, - 'file': true, - 'http:': true, - 'https:': true, - 'ftp:': true, - 'gopher:': true, - 'file:': true - }, - querystring = require('querystring'); - -function urlParse(url, parseQueryString, slashesDenoteHost) { - if (url && isObject(url) && url instanceof Url) return url; - - var u = new Url; - u.parse(url, parseQueryString, slashesDenoteHost); - return u; -} - -Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) { - if (!isString(url)) { - throw new TypeError("Parameter 'url' must be a string, not " + typeof url); - } - - var rest = url; - - rest = rest.trim(); - - var proto = protocolPattern.exec(rest); - if (proto) { - proto = proto[0]; - var lowerProto = proto.toLowerCase(); - this.protocol = lowerProto; - rest = rest.substr(proto.length); - } - - if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) { - var slashes = rest.substr(0, 2) === '//'; - if (slashes && !(proto && hostlessProtocol[proto])) { - rest = rest.substr(2); - this.slashes = true; - } - } - - if (!hostlessProtocol[proto] && - (slashes || (proto && !slashedProtocol[proto]))) { - - - - var hostEnd = -1; - for (var i = 0; i < hostEndingChars.length; i++) { - var hec = rest.indexOf(hostEndingChars[i]); - if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) - hostEnd = hec; - } - - var auth, atSign; - if (hostEnd === -1) { - atSign = rest.lastIndexOf('@'); - } else { - atSign = rest.lastIndexOf('@', hostEnd); - } - - if (atSign !== -1) { - auth = rest.slice(0, atSign); - rest = rest.slice(atSign + 1); - this.auth = decodeURIComponent(auth); - } - - hostEnd = -1; - for (var i = 0; i < nonHostChars.length; i++) { - var hec = rest.indexOf(nonHostChars[i]); - if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) - hostEnd = hec; - } - if (hostEnd === -1) - hostEnd = rest.length; - - this.host = rest.slice(0, hostEnd); - rest = rest.slice(hostEnd); - - this.parseHost(); - - this.hostname = this.hostname || ''; - - var ipv6Hostname = this.hostname[0] === '[' && - this.hostname[this.hostname.length - 1] === ']'; - - if (!ipv6Hostname) { - var hostparts = this.hostname.split(/\./); - for (var i = 0, l = hostparts.length; i < l; i++) { - var part = hostparts[i]; - if (!part) continue; - if (!part.match(hostnamePartPattern)) { - var newpart = ''; - for (var j = 0, k = part.length; j < k; j++) { - if (part.charCodeAt(j) > 127) { - newpart += 'x'; - } else { - newpart += part[j]; - } - } - if (!newpart.match(hostnamePartPattern)) { - var validParts = hostparts.slice(0, i); - var notHost = hostparts.slice(i + 1); - var bit = part.match(hostnamePartStart); - if (bit) { - validParts.push(bit[1]); - notHost.unshift(bit[2]); - } - if (notHost.length) { - rest = '/' + notHost.join('.') + rest; - } - this.hostname = validParts.join('.'); - break; - } - } - } - } - - if (this.hostname.length > hostnameMaxLen) { - this.hostname = ''; - } else { - this.hostname = this.hostname.toLowerCase(); - } - - if (!ipv6Hostname) { - var domainArray = this.hostname.split('.'); - var newOut = []; - for (var i = 0; i < domainArray.length; ++i) { - var s = domainArray[i]; - newOut.push(s.match(/[^A-Za-z0-9_-]/) ? - 'xn--' + punycode.encode(s) : s); - } - this.hostname = newOut.join('.'); - } - - var p = this.port ? ':' + this.port : ''; - var h = this.hostname || ''; - this.host = h + p; - this.href += this.host; - - if (ipv6Hostname) { - this.hostname = this.hostname.substr(1, this.hostname.length - 2); - if (rest[0] !== '/') { - rest = '/' + rest; - } - } - } - - if (!unsafeProtocol[lowerProto]) { - - for (var i = 0, l = autoEscape.length; i < l; i++) { - var ae = autoEscape[i]; - var esc = encodeURIComponent(ae); - if (esc === ae) { - esc = escape(ae); - } - rest = rest.split(ae).join(esc); - } - } - - - var hash = rest.indexOf('#'); - if (hash !== -1) { - this.hash = rest.substr(hash); - rest = rest.slice(0, hash); - } - var qm = rest.indexOf('?'); - if (qm !== -1) { - this.search = rest.substr(qm); - this.query = rest.substr(qm + 1); - if (parseQueryString) { - this.query = querystring.parse(this.query); - } - rest = rest.slice(0, qm); - } else if (parseQueryString) { - this.search = ''; - this.query = {}; - } - if (rest) this.pathname = rest; - if (slashedProtocol[lowerProto] && - this.hostname && !this.pathname) { - this.pathname = '/'; - } - - if (this.pathname || this.search) { - var p = this.pathname || ''; - var s = this.search || ''; - this.path = p + s; - } - - this.href = this.format(); - return this; -}; - -function urlFormat(obj) { - if (isString(obj)) obj = urlParse(obj); - if (!(obj instanceof Url)) return Url.prototype.format.call(obj); - return obj.format(); -} - -Url.prototype.format = function() { - var auth = this.auth || ''; - if (auth) { - auth = encodeURIComponent(auth); - auth = auth.replace(/%3A/i, ':'); - auth += '@'; - } - - var protocol = this.protocol || '', - pathname = this.pathname || '', - hash = this.hash || '', - host = false, - query = ''; - - if (this.host) { - host = auth + this.host; - } else if (this.hostname) { - host = auth + (this.hostname.indexOf(':') === -1 ? - this.hostname : - '[' + this.hostname + ']'); - if (this.port) { - host += ':' + this.port; - } - } - - if (this.query && - isObject(this.query) && - Object.keys(this.query).length) { - query = querystring.stringify(this.query); - } - - var search = this.search || (query && ('?' + query)) || ''; - - if (protocol && protocol.substr(-1) !== ':') protocol += ':'; - - if (this.slashes || - (!protocol || slashedProtocol[protocol]) && host !== false) { - host = '//' + (host || ''); - if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname; - } else if (!host) { - host = ''; - } - - if (hash && hash.charAt(0) !== '#') hash = '#' + hash; - if (search && search.charAt(0) !== '?') search = '?' + search; - - pathname = pathname.replace(/[?#]/g, function(match) { - return encodeURIComponent(match); - }); - search = search.replace('#', '%23'); - - return protocol + host + pathname + search + hash; -}; - -function urlResolve(source, relative) { - return urlParse(source, false, true).resolve(relative); -} - -Url.prototype.resolve = function(relative) { - return this.resolveObject(urlParse(relative, false, true)).format(); -}; - -function urlResolveObject(source, relative) { - if (!source) return relative; - return urlParse(source, false, true).resolveObject(relative); -} - -Url.prototype.resolveObject = function(relative) { - if (isString(relative)) { - var rel = new Url(); - rel.parse(relative, false, true); - relative = rel; - } - - var result = new Url(); - Object.keys(this).forEach(function(k) { - result[k] = this[k]; - }, this); - - result.hash = relative.hash; - - if (relative.href === '') { - result.href = result.format(); - return result; - } - - if (relative.slashes && !relative.protocol) { - Object.keys(relative).forEach(function(k) { - if (k !== 'protocol') - result[k] = relative[k]; - }); - - if (slashedProtocol[result.protocol] && - result.hostname && !result.pathname) { - result.path = result.pathname = '/'; - } - - result.href = result.format(); - return result; - } - - if (relative.protocol && relative.protocol !== result.protocol) { - if (!slashedProtocol[relative.protocol]) { - Object.keys(relative).forEach(function(k) { - result[k] = relative[k]; - }); - result.href = result.format(); - return result; - } - - result.protocol = relative.protocol; - if (!relative.host && !hostlessProtocol[relative.protocol]) { - var relPath = (relative.pathname || '').split('/'); - while (relPath.length && !(relative.host = relPath.shift())); - if (!relative.host) relative.host = ''; - if (!relative.hostname) relative.hostname = ''; - if (relPath[0] !== '') relPath.unshift(''); - if (relPath.length < 2) relPath.unshift(''); - result.pathname = relPath.join('/'); - } else { - result.pathname = relative.pathname; - } - result.search = relative.search; - result.query = relative.query; - result.host = relative.host || ''; - result.auth = relative.auth; - result.hostname = relative.hostname || relative.host; - result.port = relative.port; - if (result.pathname || result.search) { - var p = result.pathname || ''; - var s = result.search || ''; - result.path = p + s; - } - result.slashes = result.slashes || relative.slashes; - result.href = result.format(); - return result; - } - - var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'), - isRelAbs = ( - relative.host || - relative.pathname && relative.pathname.charAt(0) === '/' - ), - mustEndAbs = (isRelAbs || isSourceAbs || - (result.host && relative.pathname)), - removeAllDots = mustEndAbs, - srcPath = result.pathname && result.pathname.split('/') || [], - relPath = relative.pathname && relative.pathname.split('/') || [], - psychotic = result.protocol && !slashedProtocol[result.protocol]; - - if (psychotic) { - result.hostname = ''; - result.port = null; - if (result.host) { - if (srcPath[0] === '') srcPath[0] = result.host; - else srcPath.unshift(result.host); - } - result.host = ''; - if (relative.protocol) { - relative.hostname = null; - relative.port = null; - if (relative.host) { - if (relPath[0] === '') relPath[0] = relative.host; - else relPath.unshift(relative.host); - } - relative.host = null; - } - mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === ''); - } - - if (isRelAbs) { - result.host = (relative.host || relative.host === '') ? - relative.host : result.host; - result.hostname = (relative.hostname || relative.hostname === '') ? - relative.hostname : result.hostname; - result.search = relative.search; - result.query = relative.query; - srcPath = relPath; - } else if (relPath.length) { - if (!srcPath) srcPath = []; - srcPath.pop(); - srcPath = srcPath.concat(relPath); - result.search = relative.search; - result.query = relative.query; - } else if (!isNullOrUndefined(relative.search)) { - if (psychotic) { - result.hostname = result.host = srcPath.shift(); - var authInHost = result.host && result.host.indexOf('@') > 0 ? - result.host.split('@') : false; - if (authInHost) { - result.auth = authInHost.shift(); - result.host = result.hostname = authInHost.shift(); - } - } - result.search = relative.search; - result.query = relative.query; - if (!isNull(result.pathname) || !isNull(result.search)) { - result.path = (result.pathname ? result.pathname : '') + - (result.search ? result.search : ''); - } - result.href = result.format(); - return result; - } - - if (!srcPath.length) { - result.pathname = null; - if (result.search) { - result.path = '/' + result.search; - } else { - result.path = null; - } - result.href = result.format(); - return result; - } - - var last = srcPath.slice(-1)[0]; - var hasTrailingSlash = ( - (result.host || relative.host) && (last === '.' || last === '..') || - last === ''); - - var up = 0; - for (var i = srcPath.length; i >= 0; i--) { - last = srcPath[i]; - if (last == '.') { - srcPath.splice(i, 1); - } else if (last === '..') { - srcPath.splice(i, 1); - up++; - } else if (up) { - srcPath.splice(i, 1); - up--; - } - } - - if (!mustEndAbs && !removeAllDots) { - for (; up--; up) { - srcPath.unshift('..'); - } - } - - if (mustEndAbs && srcPath[0] !== '' && - (!srcPath[0] || srcPath[0].charAt(0) !== '/')) { - srcPath.unshift(''); - } - - if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) { - srcPath.push(''); - } - - var isAbsolute = srcPath[0] === '' || - (srcPath[0] && srcPath[0].charAt(0) === '/'); - - if (psychotic) { - result.hostname = result.host = isAbsolute ? '' : - srcPath.length ? srcPath.shift() : ''; - var authInHost = result.host && result.host.indexOf('@') > 0 ? - result.host.split('@') : false; - if (authInHost) { - result.auth = authInHost.shift(); - result.host = result.hostname = authInHost.shift(); - } - } - - mustEndAbs = mustEndAbs || (result.host && srcPath.length); - - if (mustEndAbs && !isAbsolute) { - srcPath.unshift(''); - } - - if (!srcPath.length) { - result.pathname = null; - result.path = null; - } else { - result.pathname = srcPath.join('/'); - } - - if (!isNull(result.pathname) || !isNull(result.search)) { - result.path = (result.pathname ? result.pathname : '') + - (result.search ? result.search : ''); - } - result.auth = relative.auth || result.auth; - result.slashes = result.slashes || relative.slashes; - result.href = result.format(); - return result; -}; - -Url.prototype.parseHost = function() { - var host = this.host; - var port = portPattern.exec(host); - if (port) { - port = port[0]; - if (port !== ':') { - this.port = port.substr(1); - } - host = host.substr(0, host.length - port.length); - } - if (host) this.hostname = host; -}; - -function isString(arg) { - return typeof arg === "string"; -} - -function isObject(arg) { - return typeof arg === 'object' && arg !== null; -} - -function isNull(arg) { - return arg === null; -} -function isNullOrUndefined(arg) { - return arg == null; -} - -},{"punycode":251,"querystring":254}],273:[function(require,module,exports){ -(function() { - var XMLAttribute, create; - - create = require('lodash/object/create'); - - module.exports = XMLAttribute = (function() { - function XMLAttribute(parent, name, value) { - this.stringify = parent.stringify; - if (name == null) { - throw new Error("Missing attribute name of element " + parent.name); - } - if (value == null) { - throw new Error("Missing attribute value for attribute " + name + " of element " + parent.name); - } - this.name = this.stringify.attName(name); - this.value = this.stringify.attValue(value); - } - - XMLAttribute.prototype.clone = function() { - return create(XMLAttribute.prototype, this); - }; - - XMLAttribute.prototype.toString = function(options, level) { - return ' ' + this.name + '="' + this.value + '"'; - }; - - return XMLAttribute; - - })(); - -}).call(this); - -},{"lodash/object/create":332}],274:[function(require,module,exports){ -(function() { - var XMLBuilder, XMLDeclaration, XMLDocType, XMLElement, XMLStringifier; - - XMLStringifier = require('./XMLStringifier'); - - XMLDeclaration = require('./XMLDeclaration'); - - XMLDocType = require('./XMLDocType'); - - XMLElement = require('./XMLElement'); - - module.exports = XMLBuilder = (function() { - function XMLBuilder(name, options) { - var root, temp; - if (name == null) { - throw new Error("Root element needs a name"); - } - if (options == null) { - options = {}; - } - this.options = options; - this.stringify = new XMLStringifier(options); - temp = new XMLElement(this, 'doc'); - root = temp.element(name); - root.isRoot = true; - root.documentObject = this; - this.rootObject = root; - if (!options.headless) { - root.declaration(options); - if ((options.pubID != null) || (options.sysID != null)) { - root.doctype(options); - } - } - } - - XMLBuilder.prototype.root = function() { - return this.rootObject; - }; - - XMLBuilder.prototype.end = function(options) { - return this.toString(options); - }; - - XMLBuilder.prototype.toString = function(options) { - var indent, newline, offset, pretty, r, ref, ref1, ref2; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - r = ''; - if (this.xmldec != null) { - r += this.xmldec.toString(options); - } - if (this.doctype != null) { - r += this.doctype.toString(options); - } - r += this.rootObject.toString(options); - if (pretty && r.slice(-newline.length) === newline) { - r = r.slice(0, -newline.length); - } - return r; - }; - - return XMLBuilder; - - })(); - -}).call(this); - -},{"./XMLDeclaration":281,"./XMLDocType":282,"./XMLElement":283,"./XMLStringifier":287}],275:[function(require,module,exports){ -(function() { - var XMLCData, XMLNode, create, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - create = require('lodash/object/create'); - - XMLNode = require('./XMLNode'); - - module.exports = XMLCData = (function(superClass) { - extend(XMLCData, superClass); - - function XMLCData(parent, text) { - XMLCData.__super__.constructor.call(this, parent); - if (text == null) { - throw new Error("Missing CDATA text"); - } - this.text = this.stringify.cdata(text); - } - - XMLCData.prototype.clone = function() { - return create(XMLCData.prototype, this); - }; - - XMLCData.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLCData; - - })(XMLNode); - -}).call(this); - -},{"./XMLNode":284,"lodash/object/create":332}],276:[function(require,module,exports){ -(function() { - var XMLComment, XMLNode, create, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - create = require('lodash/object/create'); - - XMLNode = require('./XMLNode'); - - module.exports = XMLComment = (function(superClass) { - extend(XMLComment, superClass); - - function XMLComment(parent, text) { - XMLComment.__super__.constructor.call(this, parent); - if (text == null) { - throw new Error("Missing comment text"); - } - this.text = this.stringify.comment(text); - } - - XMLComment.prototype.clone = function() { - return create(XMLComment.prototype, this); - }; - - XMLComment.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLComment; - - })(XMLNode); - -}).call(this); - -},{"./XMLNode":284,"lodash/object/create":332}],277:[function(require,module,exports){ -(function() { - var XMLDTDAttList, create; - - create = require('lodash/object/create'); - - module.exports = XMLDTDAttList = (function() { - function XMLDTDAttList(parent, elementName, attributeName, attributeType, defaultValueType, defaultValue) { - this.stringify = parent.stringify; - if (elementName == null) { - throw new Error("Missing DTD element name"); - } - if (attributeName == null) { - throw new Error("Missing DTD attribute name"); - } - if (!attributeType) { - throw new Error("Missing DTD attribute type"); - } - if (!defaultValueType) { - throw new Error("Missing DTD attribute default"); - } - if (defaultValueType.indexOf('#') !== 0) { - defaultValueType = '#' + defaultValueType; - } - if (!defaultValueType.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/)) { - throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT"); - } - if (defaultValue && !defaultValueType.match(/^(#FIXED|#DEFAULT)$/)) { - throw new Error("Default value only applies to #FIXED or #DEFAULT"); - } - this.elementName = this.stringify.eleName(elementName); - this.attributeName = this.stringify.attName(attributeName); - this.attributeType = this.stringify.dtdAttType(attributeType); - this.defaultValue = this.stringify.dtdAttDefault(defaultValue); - this.defaultValueType = defaultValueType; - } - - XMLDTDAttList.prototype.clone = function() { - return create(XMLDTDAttList.prototype, this); - }; - - XMLDTDAttList.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDTDAttList; - - })(); - -}).call(this); - -},{"lodash/object/create":332}],278:[function(require,module,exports){ -(function() { - var XMLDTDElement, create, isArray; - - create = require('lodash/object/create'); - - isArray = require('lodash/lang/isArray'); - - module.exports = XMLDTDElement = (function() { - function XMLDTDElement(parent, name, value) { - this.stringify = parent.stringify; - if (name == null) { - throw new Error("Missing DTD element name"); - } - if (!value) { - value = '(#PCDATA)'; - } - if (isArray(value)) { - value = '(' + value.join(',') + ')'; - } - this.name = this.stringify.eleName(name); - this.value = this.stringify.dtdElementValue(value); - } - - XMLDTDElement.prototype.clone = function() { - return create(XMLDTDElement.prototype, this); - }; - - XMLDTDElement.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDTDElement; - - })(); - -}).call(this); - -},{"lodash/lang/isArray":324,"lodash/object/create":332}],279:[function(require,module,exports){ -(function() { - var XMLDTDEntity, create, isObject; - - create = require('lodash/object/create'); - - isObject = require('lodash/lang/isObject'); - - module.exports = XMLDTDEntity = (function() { - function XMLDTDEntity(parent, pe, name, value) { - this.stringify = parent.stringify; - if (name == null) { - throw new Error("Missing entity name"); - } - if (value == null) { - throw new Error("Missing entity value"); - } - this.pe = !!pe; - this.name = this.stringify.eleName(name); - if (!isObject(value)) { - this.value = this.stringify.dtdEntityValue(value); - } else { - if (!value.pubID && !value.sysID) { - throw new Error("Public and/or system identifiers are required for an external entity"); - } - if (value.pubID && !value.sysID) { - throw new Error("System identifier is required for a public external entity"); - } - if (value.pubID != null) { - this.pubID = this.stringify.dtdPubID(value.pubID); - } - if (value.sysID != null) { - this.sysID = this.stringify.dtdSysID(value.sysID); - } - if (value.nData != null) { - this.nData = this.stringify.dtdNData(value.nData); - } - if (this.pe && this.nData) { - throw new Error("Notation declaration is not allowed in a parameter entity"); - } - } - } - - XMLDTDEntity.prototype.clone = function() { - return create(XMLDTDEntity.prototype, this); - }; - - XMLDTDEntity.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDTDEntity; - - })(); - -}).call(this); - -},{"lodash/lang/isObject":328,"lodash/object/create":332}],280:[function(require,module,exports){ -(function() { - var XMLDTDNotation, create; - - create = require('lodash/object/create'); - - module.exports = XMLDTDNotation = (function() { - function XMLDTDNotation(parent, name, value) { - this.stringify = parent.stringify; - if (name == null) { - throw new Error("Missing notation name"); - } - if (!value.pubID && !value.sysID) { - throw new Error("Public or system identifiers are required for an external entity"); - } - this.name = this.stringify.eleName(name); - if (value.pubID != null) { - this.pubID = this.stringify.dtdPubID(value.pubID); - } - if (value.sysID != null) { - this.sysID = this.stringify.dtdSysID(value.sysID); - } - } - - XMLDTDNotation.prototype.clone = function() { - return create(XMLDTDNotation.prototype, this); - }; - - XMLDTDNotation.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDTDNotation; - - })(); - -}).call(this); - -},{"lodash/object/create":332}],281:[function(require,module,exports){ -(function() { - var XMLDeclaration, XMLNode, create, isObject, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - create = require('lodash/object/create'); - - isObject = require('lodash/lang/isObject'); - - XMLNode = require('./XMLNode'); - - module.exports = XMLDeclaration = (function(superClass) { - extend(XMLDeclaration, superClass); - - function XMLDeclaration(parent, version, encoding, standalone) { - var ref; - XMLDeclaration.__super__.constructor.call(this, parent); - if (isObject(version)) { - ref = version, version = ref.version, encoding = ref.encoding, standalone = ref.standalone; - } - if (!version) { - version = '1.0'; - } - if (version != null) { - this.version = this.stringify.xmlVersion(version); - } - if (encoding != null) { - this.encoding = this.stringify.xmlEncoding(encoding); - } - if (standalone != null) { - this.standalone = this.stringify.xmlStandalone(standalone); - } - } - - XMLDeclaration.prototype.clone = function() { - return create(XMLDeclaration.prototype, this); - }; - - XMLDeclaration.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDeclaration; - - })(XMLNode); - -}).call(this); - -},{"./XMLNode":284,"lodash/lang/isObject":328,"lodash/object/create":332}],282:[function(require,module,exports){ -(function() { - var XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDocType, XMLProcessingInstruction, create, isObject; - - create = require('lodash/object/create'); - - isObject = require('lodash/lang/isObject'); - - XMLCData = require('./XMLCData'); - - XMLComment = require('./XMLComment'); - - XMLDTDAttList = require('./XMLDTDAttList'); - - XMLDTDEntity = require('./XMLDTDEntity'); - - XMLDTDElement = require('./XMLDTDElement'); - - XMLDTDNotation = require('./XMLDTDNotation'); - - XMLProcessingInstruction = require('./XMLProcessingInstruction'); - - module.exports = XMLDocType = (function() { - function XMLDocType(parent, pubID, sysID) { - var ref, ref1; - this.documentObject = parent; - this.stringify = this.documentObject.stringify; - this.children = []; - if (isObject(pubID)) { - ref = pubID, pubID = ref.pubID, sysID = ref.sysID; - } - if (sysID == null) { - ref1 = [pubID, sysID], sysID = ref1[0], pubID = ref1[1]; - } - if (pubID != null) { - this.pubID = this.stringify.dtdPubID(pubID); - } - if (sysID != null) { - this.sysID = this.stringify.dtdSysID(sysID); - } - } - - XMLDocType.prototype.clone = function() { - return create(XMLDocType.prototype, this); - }; - - XMLDocType.prototype.element = function(name, value) { - var child; - child = new XMLDTDElement(this, name, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.attList = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) { - var child; - child = new XMLDTDAttList(this, elementName, attributeName, attributeType, defaultValueType, defaultValue); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.entity = function(name, value) { - var child; - child = new XMLDTDEntity(this, false, name, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.pEntity = function(name, value) { - var child; - child = new XMLDTDEntity(this, true, name, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.notation = function(name, value) { - var child; - child = new XMLDTDNotation(this, name, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.cdata = function(value) { - var child; - child = new XMLCData(this, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.comment = function(value) { - var child; - child = new XMLComment(this, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.instruction = function(target, value) { - var child; - child = new XMLProcessingInstruction(this, target, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.root = function() { - return this.documentObject.root(); - }; - - XMLDocType.prototype.document = function() { - return this.documentObject; - }; - - XMLDocType.prototype.toString = function(options, level) { - var child, i, indent, len, newline, offset, pretty, r, ref, ref1, ref2, ref3, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ' 0) { - r += ' ['; - if (pretty) { - r += newline; - } - ref3 = this.children; - for (i = 0, len = ref3.length; i < len; i++) { - child = ref3[i]; - r += child.toString(options, level + 1); - } - r += ']'; - } - r += '>'; - if (pretty) { - r += newline; - } - return r; - }; - - XMLDocType.prototype.ele = function(name, value) { - return this.element(name, value); - }; - - XMLDocType.prototype.att = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) { - return this.attList(elementName, attributeName, attributeType, defaultValueType, defaultValue); - }; - - XMLDocType.prototype.ent = function(name, value) { - return this.entity(name, value); - }; - - XMLDocType.prototype.pent = function(name, value) { - return this.pEntity(name, value); - }; - - XMLDocType.prototype.not = function(name, value) { - return this.notation(name, value); - }; - - XMLDocType.prototype.dat = function(value) { - return this.cdata(value); - }; - - XMLDocType.prototype.com = function(value) { - return this.comment(value); - }; - - XMLDocType.prototype.ins = function(target, value) { - return this.instruction(target, value); - }; - - XMLDocType.prototype.up = function() { - return this.root(); - }; - - XMLDocType.prototype.doc = function() { - return this.document(); - }; - - return XMLDocType; - - })(); - -}).call(this); - -},{"./XMLCData":275,"./XMLComment":276,"./XMLDTDAttList":277,"./XMLDTDElement":278,"./XMLDTDEntity":279,"./XMLDTDNotation":280,"./XMLProcessingInstruction":285,"lodash/lang/isObject":328,"lodash/object/create":332}],283:[function(require,module,exports){ -(function() { - var XMLAttribute, XMLElement, XMLNode, XMLProcessingInstruction, create, every, isArray, isFunction, isObject, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - create = require('lodash/object/create'); - - isObject = require('lodash/lang/isObject'); - - isArray = require('lodash/lang/isArray'); - - isFunction = require('lodash/lang/isFunction'); - - every = require('lodash/collection/every'); - - XMLNode = require('./XMLNode'); - - XMLAttribute = require('./XMLAttribute'); - - XMLProcessingInstruction = require('./XMLProcessingInstruction'); - - module.exports = XMLElement = (function(superClass) { - extend(XMLElement, superClass); - - function XMLElement(parent, name, attributes) { - XMLElement.__super__.constructor.call(this, parent); - if (name == null) { - throw new Error("Missing element name"); - } - this.name = this.stringify.eleName(name); - this.children = []; - this.instructions = []; - this.attributes = {}; - if (attributes != null) { - this.attribute(attributes); - } - } - - XMLElement.prototype.clone = function() { - var att, attName, clonedSelf, i, len, pi, ref, ref1; - clonedSelf = create(XMLElement.prototype, this); - if (clonedSelf.isRoot) { - clonedSelf.documentObject = null; - } - clonedSelf.attributes = {}; - ref = this.attributes; - for (attName in ref) { - if (!hasProp.call(ref, attName)) continue; - att = ref[attName]; - clonedSelf.attributes[attName] = att.clone(); - } - clonedSelf.instructions = []; - ref1 = this.instructions; - for (i = 0, len = ref1.length; i < len; i++) { - pi = ref1[i]; - clonedSelf.instructions.push(pi.clone()); - } - clonedSelf.children = []; - this.children.forEach(function(child) { - var clonedChild; - clonedChild = child.clone(); - clonedChild.parent = clonedSelf; - return clonedSelf.children.push(clonedChild); - }); - return clonedSelf; - }; - - XMLElement.prototype.attribute = function(name, value) { - var attName, attValue; - if (name != null) { - name = name.valueOf(); - } - if (isObject(name)) { - for (attName in name) { - if (!hasProp.call(name, attName)) continue; - attValue = name[attName]; - this.attribute(attName, attValue); - } - } else { - if (isFunction(value)) { - value = value.apply(); - } - if (!this.options.skipNullAttributes || (value != null)) { - this.attributes[name] = new XMLAttribute(this, name, value); - } - } - return this; - }; - - XMLElement.prototype.removeAttribute = function(name) { - var attName, i, len; - if (name == null) { - throw new Error("Missing attribute name"); - } - name = name.valueOf(); - if (isArray(name)) { - for (i = 0, len = name.length; i < len; i++) { - attName = name[i]; - delete this.attributes[attName]; - } - } else { - delete this.attributes[name]; - } - return this; - }; - - XMLElement.prototype.instruction = function(target, value) { - var i, insTarget, insValue, instruction, len; - if (target != null) { - target = target.valueOf(); - } - if (value != null) { - value = value.valueOf(); - } - if (isArray(target)) { - for (i = 0, len = target.length; i < len; i++) { - insTarget = target[i]; - this.instruction(insTarget); - } - } else if (isObject(target)) { - for (insTarget in target) { - if (!hasProp.call(target, insTarget)) continue; - insValue = target[insTarget]; - this.instruction(insTarget, insValue); - } - } else { - if (isFunction(value)) { - value = value.apply(); - } - instruction = new XMLProcessingInstruction(this, target, value); - this.instructions.push(instruction); - } - return this; - }; - - XMLElement.prototype.toString = function(options, level) { - var att, child, i, indent, instruction, j, len, len1, name, newline, offset, pretty, r, ref, ref1, ref2, ref3, ref4, ref5, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - ref3 = this.instructions; - for (i = 0, len = ref3.length; i < len; i++) { - instruction = ref3[i]; - r += instruction.toString(options, level + 1); - } - if (pretty) { - r += space; - } - r += '<' + this.name; - ref4 = this.attributes; - for (name in ref4) { - if (!hasProp.call(ref4, name)) continue; - att = ref4[name]; - r += att.toString(options); - } - if (this.children.length === 0 || every(this.children, function(e) { - return e.value === ''; - })) { - r += '/>'; - if (pretty) { - r += newline; - } - } else if (pretty && this.children.length === 1 && (this.children[0].value != null)) { - r += '>'; - r += this.children[0].value; - r += ''; - 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); - -},{"./XMLAttribute":273,"./XMLNode":284,"./XMLProcessingInstruction":285,"lodash/collection/every":290,"lodash/lang/isArray":324,"lodash/lang/isFunction":326,"lodash/lang/isObject":328,"lodash/object/create":332}],284:[function(require,module,exports){ -(function() { - var XMLCData, XMLComment, XMLDeclaration, XMLDocType, XMLElement, XMLNode, XMLRaw, XMLText, isArray, isEmpty, isFunction, isObject, - hasProp = {}.hasOwnProperty; - - isObject = require('lodash/lang/isObject'); - - isArray = require('lodash/lang/isArray'); - - isFunction = require('lodash/lang/isFunction'); - - isEmpty = require('lodash/lang/isEmpty'); - - XMLElement = null; - - XMLCData = null; - - XMLComment = null; - - XMLDeclaration = null; - - XMLDocType = null; - - XMLRaw = null; - - XMLText = null; - - module.exports = XMLNode = (function() { - function XMLNode(parent) { - this.parent = parent; - this.options = this.parent.options; - this.stringify = this.parent.stringify; - if (XMLElement === null) { - XMLElement = require('./XMLElement'); - XMLCData = require('./XMLCData'); - XMLComment = require('./XMLComment'); - XMLDeclaration = require('./XMLDeclaration'); - XMLDocType = require('./XMLDocType'); - XMLRaw = require('./XMLRaw'); - XMLText = require('./XMLText'); - } - } - - XMLNode.prototype.clone = function() { - throw new Error("Cannot clone generic XMLNode"); - }; - - XMLNode.prototype.element = function(name, attributes, text) { - var item, j, key, lastChild, len, ref, val; - lastChild = null; - if (attributes == null) { - attributes = {}; - } - attributes = attributes.valueOf(); - if (!isObject(attributes)) { - ref = [attributes, text], text = ref[0], attributes = ref[1]; - } - if (name != null) { - name = name.valueOf(); - } - if (isArray(name)) { - for (j = 0, len = name.length; j < len; j++) { - item = name[j]; - lastChild = this.element(item); - } - } else if (isFunction(name)) { - lastChild = this.element(name.apply()); - } else if (isObject(name)) { - for (key in name) { - if (!hasProp.call(name, key)) continue; - val = name[key]; - if (isFunction(val)) { - val = val.apply(); - } - if ((isObject(val)) && (isEmpty(val))) { - val = null; - } - if (!this.options.ignoreDecorators && this.stringify.convertAttKey && key.indexOf(this.stringify.convertAttKey) === 0) { - lastChild = this.attribute(key.substr(this.stringify.convertAttKey.length), val); - } else if (!this.options.ignoreDecorators && this.stringify.convertPIKey && key.indexOf(this.stringify.convertPIKey) === 0) { - lastChild = this.instruction(key.substr(this.stringify.convertPIKey.length), val); - } else if (isObject(val)) { - if (!this.options.ignoreDecorators && this.stringify.convertListKey && key.indexOf(this.stringify.convertListKey) === 0 && isArray(val)) { - lastChild = this.element(val); - } else { - lastChild = this.element(key); - lastChild.element(val); - } - } else { - lastChild = this.element(key, val); - } - } - } else { - if (!this.options.ignoreDecorators && this.stringify.convertTextKey && name.indexOf(this.stringify.convertTextKey) === 0) { - lastChild = this.text(text); - } else if (!this.options.ignoreDecorators && this.stringify.convertCDataKey && name.indexOf(this.stringify.convertCDataKey) === 0) { - lastChild = this.cdata(text); - } else if (!this.options.ignoreDecorators && this.stringify.convertCommentKey && name.indexOf(this.stringify.convertCommentKey) === 0) { - lastChild = this.comment(text); - } else if (!this.options.ignoreDecorators && this.stringify.convertRawKey && name.indexOf(this.stringify.convertRawKey) === 0) { - lastChild = this.raw(text); - } else { - lastChild = this.node(name, attributes, text); - } - } - if (lastChild == null) { - throw new Error("Could not create any elements with: " + name); - } - return lastChild; - }; - - XMLNode.prototype.insertBefore = function(name, attributes, text) { - var child, i, removed; - if (this.isRoot) { - throw new Error("Cannot insert elements at root level"); - } - i = this.parent.children.indexOf(this); - removed = this.parent.children.splice(i); - child = this.parent.element(name, attributes, text); - Array.prototype.push.apply(this.parent.children, removed); - return child; - }; - - XMLNode.prototype.insertAfter = function(name, attributes, text) { - var child, i, removed; - if (this.isRoot) { - throw new Error("Cannot insert elements at root level"); - } - i = this.parent.children.indexOf(this); - removed = this.parent.children.splice(i + 1); - child = this.parent.element(name, attributes, text); - Array.prototype.push.apply(this.parent.children, removed); - return child; - }; - - XMLNode.prototype.remove = function() { - var i, ref; - if (this.isRoot) { - throw new Error("Cannot remove the root element"); - } - i = this.parent.children.indexOf(this); - [].splice.apply(this.parent.children, [i, i - i + 1].concat(ref = [])), ref; - return this.parent; - }; - - XMLNode.prototype.node = function(name, attributes, text) { - var child, ref; - if (name != null) { - name = name.valueOf(); - } - if (attributes == null) { - attributes = {}; - } - attributes = attributes.valueOf(); - if (!isObject(attributes)) { - ref = [attributes, text], text = ref[0], attributes = ref[1]; - } - child = new XMLElement(this, name, attributes); - if (text != null) { - child.text(text); - } - this.children.push(child); - return child; - }; - - XMLNode.prototype.text = function(value) { - var child; - child = new XMLText(this, value); - this.children.push(child); - return this; - }; - - XMLNode.prototype.cdata = function(value) { - var child; - child = new XMLCData(this, value); - this.children.push(child); - return this; - }; - - XMLNode.prototype.comment = function(value) { - var child; - child = new XMLComment(this, value); - this.children.push(child); - return this; - }; - - XMLNode.prototype.raw = function(value) { - var child; - child = new XMLRaw(this, value); - this.children.push(child); - return this; - }; - - XMLNode.prototype.declaration = function(version, encoding, standalone) { - var doc, xmldec; - doc = this.document(); - xmldec = new XMLDeclaration(doc, version, encoding, standalone); - doc.xmldec = xmldec; - return doc.root(); - }; - - XMLNode.prototype.doctype = function(pubID, sysID) { - var doc, doctype; - doc = this.document(); - doctype = new XMLDocType(doc, pubID, sysID); - doc.doctype = doctype; - return doctype; - }; - - XMLNode.prototype.up = function() { - if (this.isRoot) { - throw new Error("The root node has no parent. Use doc() if you need to get the document object."); - } - return this.parent; - }; - - XMLNode.prototype.root = function() { - var child; - if (this.isRoot) { - return this; - } - child = this.parent; - while (!child.isRoot) { - child = child.parent; - } - return child; - }; - - XMLNode.prototype.document = function() { - return this.root().documentObject; - }; - - XMLNode.prototype.end = function(options) { - return this.document().toString(options); - }; - - XMLNode.prototype.prev = function() { - var i; - if (this.isRoot) { - throw new Error("Root node has no siblings"); - } - i = this.parent.children.indexOf(this); - if (i < 1) { - throw new Error("Already at the first node"); - } - return this.parent.children[i - 1]; - }; - - XMLNode.prototype.next = function() { - var i; - if (this.isRoot) { - throw new Error("Root node has no siblings"); - } - i = this.parent.children.indexOf(this); - if (i === -1 || i === this.parent.children.length - 1) { - throw new Error("Already at the last node"); - } - return this.parent.children[i + 1]; - }; - - XMLNode.prototype.importXMLBuilder = function(xmlbuilder) { - var clonedRoot; - clonedRoot = xmlbuilder.root().clone(); - clonedRoot.parent = this; - clonedRoot.isRoot = false; - this.children.push(clonedRoot); - return this; - }; - - XMLNode.prototype.ele = function(name, attributes, text) { - return this.element(name, attributes, text); - }; - - XMLNode.prototype.nod = function(name, attributes, text) { - return this.node(name, attributes, text); - }; - - XMLNode.prototype.txt = function(value) { - return this.text(value); - }; - - XMLNode.prototype.dat = function(value) { - return this.cdata(value); - }; - - XMLNode.prototype.com = function(value) { - return this.comment(value); - }; - - XMLNode.prototype.doc = function() { - return this.document(); - }; - - XMLNode.prototype.dec = function(version, encoding, standalone) { - return this.declaration(version, encoding, standalone); - }; - - XMLNode.prototype.dtd = function(pubID, sysID) { - return this.doctype(pubID, sysID); - }; - - XMLNode.prototype.e = function(name, attributes, text) { - return this.element(name, attributes, text); - }; - - XMLNode.prototype.n = function(name, attributes, text) { - return this.node(name, attributes, text); - }; - - XMLNode.prototype.t = function(value) { - return this.text(value); - }; - - XMLNode.prototype.d = function(value) { - return this.cdata(value); - }; - - XMLNode.prototype.c = function(value) { - return this.comment(value); - }; - - XMLNode.prototype.r = function(value) { - return this.raw(value); - }; - - XMLNode.prototype.u = function() { - return this.up(); - }; - - return XMLNode; - - })(); - -}).call(this); - -},{"./XMLCData":275,"./XMLComment":276,"./XMLDeclaration":281,"./XMLDocType":282,"./XMLElement":283,"./XMLRaw":286,"./XMLText":288,"lodash/lang/isArray":324,"lodash/lang/isEmpty":325,"lodash/lang/isFunction":326,"lodash/lang/isObject":328}],285:[function(require,module,exports){ -(function() { - var XMLProcessingInstruction, create; - - create = require('lodash/object/create'); - - module.exports = XMLProcessingInstruction = (function() { - function XMLProcessingInstruction(parent, target, value) { - this.stringify = parent.stringify; - if (target == null) { - throw new Error("Missing instruction target"); - } - this.target = this.stringify.insTarget(target); - if (value) { - this.value = this.stringify.insValue(value); - } - } - - XMLProcessingInstruction.prototype.clone = function() { - return create(XMLProcessingInstruction.prototype, this); - }; - - XMLProcessingInstruction.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLProcessingInstruction; - - })(); - -}).call(this); - -},{"lodash/object/create":332}],286:[function(require,module,exports){ -(function() { - var XMLNode, XMLRaw, create, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - create = require('lodash/object/create'); - - XMLNode = require('./XMLNode'); - - module.exports = XMLRaw = (function(superClass) { - extend(XMLRaw, superClass); - - function XMLRaw(parent, text) { - XMLRaw.__super__.constructor.call(this, parent); - if (text == null) { - throw new Error("Missing raw text"); - } - this.value = this.stringify.raw(text); - } - - XMLRaw.prototype.clone = function() { - return create(XMLRaw.prototype, this); - }; - - XMLRaw.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += this.value; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLRaw; - - })(XMLNode); - -}).call(this); - -},{"./XMLNode":284,"lodash/object/create":332}],287:[function(require,module,exports){ -(function() { - var XMLStringifier, - bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, - hasProp = {}.hasOwnProperty; - - module.exports = XMLStringifier = (function() { - function XMLStringifier(options) { - this.assertLegalChar = bind(this.assertLegalChar, this); - var key, ref, value; - this.allowSurrogateChars = options != null ? options.allowSurrogateChars : void 0; - ref = (options != null ? options.stringify : void 0) || {}; - for (key in ref) { - if (!hasProp.call(ref, key)) continue; - value = ref[key]; - this[key] = value; - } - } - - XMLStringifier.prototype.eleName = function(val) { - val = '' + val || ''; - return this.assertLegalChar(val); - }; - - XMLStringifier.prototype.eleText = function(val) { - val = '' + val || ''; - return this.assertLegalChar(this.elEscape(val)); - }; - - XMLStringifier.prototype.cdata = function(val) { - val = '' + val || ''; - if (val.match(/]]>/)) { - throw new Error("Invalid CDATA text: " + val); - } - return this.assertLegalChar(val); - }; - - XMLStringifier.prototype.comment = function(val) { - val = '' + val || ''; - if (val.match(/--/)) { - throw new Error("Comment text cannot contain double-hypen: " + val); - } - return this.assertLegalChar(val); - }; - - XMLStringifier.prototype.raw = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.attName = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.attValue = function(val) { - val = '' + val || ''; - return this.attEscape(val); - }; - - XMLStringifier.prototype.insTarget = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.insValue = function(val) { - val = '' + val || ''; - if (val.match(/\?>/)) { - throw new Error("Invalid processing instruction value: " + val); - } - return val; - }; - - XMLStringifier.prototype.xmlVersion = function(val) { - val = '' + val || ''; - if (!val.match(/1\.[0-9]+/)) { - throw new Error("Invalid version number: " + val); - } - return val; - }; - - XMLStringifier.prototype.xmlEncoding = function(val) { - val = '' + val || ''; - if (!val.match(/[A-Za-z](?:[A-Za-z0-9._-]|-)*/)) { - throw new Error("Invalid encoding: " + val); - } - return val; - }; - - XMLStringifier.prototype.xmlStandalone = function(val) { - if (val) { - return "yes"; - } else { - return "no"; - } - }; - - XMLStringifier.prototype.dtdPubID = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdSysID = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdElementValue = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdAttType = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdAttDefault = function(val) { - if (val != null) { - return '' + val || ''; - } else { - return val; - } - }; - - XMLStringifier.prototype.dtdEntityValue = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdNData = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.convertAttKey = '@'; - - XMLStringifier.prototype.convertPIKey = '?'; - - XMLStringifier.prototype.convertTextKey = '#text'; - - XMLStringifier.prototype.convertCDataKey = '#cdata'; - - XMLStringifier.prototype.convertCommentKey = '#comment'; - - XMLStringifier.prototype.convertRawKey = '#raw'; - - XMLStringifier.prototype.convertListKey = '#list'; - - XMLStringifier.prototype.assertLegalChar = function(str) { - var chars, chr; - if (this.allowSurrogateChars) { - chars = /[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uFFFE-\uFFFF]/; - } else { - chars = /[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uD800-\uDFFF\uFFFE-\uFFFF]/; - } - chr = str.match(chars); - if (chr) { - throw new Error("Invalid character (" + chr + ") in string: " + str + " at index " + chr.index); - } - return str; - }; - - XMLStringifier.prototype.elEscape = function(str) { - return str.replace(/&/g, '&').replace(//g, '>').replace(/\r/g, ' '); - }; - - XMLStringifier.prototype.attEscape = function(str) { - return str.replace(/&/g, '&').replace(/ 3 && typeof customizer == 'function') { - customizer = bindCallback(customizer, thisArg, 5); - length -= 2; - } else { - customizer = (length > 2 && typeof thisArg == 'function') ? thisArg : null; - length -= (customizer ? 1 : 0); - } - if (guard && isIterateeCall(args[1], args[2], guard)) { - customizer = length == 3 ? null : customizer; - length = 2; - } - var index = 0; - while (++index < length) { - var source = args[index]; - if (source) { - assigner(object, source, customizer); - } - } - return object; - }; -} - -module.exports = createAssigner; - -},{"./bindCallback":309,"./isIterateeCall":316}],311:[function(require,module,exports){ - -function equalArrays(array, other, equalFunc, customizer, isWhere, stackA, stackB) { - var index = -1, - arrLength = array.length, - othLength = other.length, - result = true; - - if (arrLength != othLength && !(isWhere && othLength > arrLength)) { - return false; - } - while (result && ++index < arrLength) { - var arrValue = array[index], - othValue = other[index]; - - result = undefined; - if (customizer) { - result = isWhere - ? customizer(othValue, arrValue, index) - : customizer(arrValue, othValue, index); - } - if (typeof result == 'undefined') { - if (isWhere) { - var othIndex = othLength; - while (othIndex--) { - othValue = other[othIndex]; - result = (arrValue && arrValue === othValue) || equalFunc(arrValue, othValue, customizer, isWhere, stackA, stackB); - if (result) { - break; - } - } - } else { - result = (arrValue && arrValue === othValue) || equalFunc(arrValue, othValue, customizer, isWhere, stackA, stackB); - } - } - } - return !!result; -} - -module.exports = equalArrays; - -},{}],312:[function(require,module,exports){ - -var boolTag = '[object Boolean]', - dateTag = '[object Date]', - errorTag = '[object Error]', - numberTag = '[object Number]', - regexpTag = '[object RegExp]', - stringTag = '[object String]'; - - -function equalByTag(object, other, tag) { - switch (tag) { - case boolTag: - case dateTag: - return +object == +other; - - case errorTag: - return object.name == other.name && object.message == other.message; - - case numberTag: - return (object != +object) - ? other != +other - : (object == 0 ? ((1 / object) == (1 / other)) : object == +other); - - case regexpTag: - case stringTag: - return object == (other + ''); - } - return false; -} - -module.exports = equalByTag; - -},{}],313:[function(require,module,exports){ -var keys = require('../object/keys'); - - -var objectProto = Object.prototype; - - -var hasOwnProperty = objectProto.hasOwnProperty; - - -function equalObjects(object, other, equalFunc, customizer, isWhere, stackA, stackB) { - var objProps = keys(object), - objLength = objProps.length, - othProps = keys(other), - othLength = othProps.length; - - if (objLength != othLength && !isWhere) { - return false; - } - var hasCtor, - index = -1; - - while (++index < objLength) { - var key = objProps[index], - result = hasOwnProperty.call(other, key); - - if (result) { - var objValue = object[key], - othValue = other[key]; - - result = undefined; - if (customizer) { - result = isWhere - ? customizer(othValue, objValue, key) - : customizer(objValue, othValue, key); - } - if (typeof result == 'undefined') { - result = (objValue && objValue === othValue) || equalFunc(objValue, othValue, customizer, isWhere, stackA, stackB); - } - } - if (!result) { - return false; - } - hasCtor || (hasCtor = key == 'constructor'); - } - if (!hasCtor) { - var objCtor = object.constructor, - othCtor = other.constructor; - - if (objCtor != othCtor && - ('constructor' in object && 'constructor' in other) && - !(typeof objCtor == 'function' && objCtor instanceof objCtor && - typeof othCtor == 'function' && othCtor instanceof othCtor)) { - return false; - } - } - return true; -} - -module.exports = equalObjects; - -},{"../object/keys":333}],314:[function(require,module,exports){ -var baseSetData = require('./baseSetData'), - isNative = require('../lang/isNative'), - support = require('../support'); - - -var reFuncName = /^\s*function[ \n\r\t]+\w/; - - -var reThis = /\bthis\b/; - - -var fnToString = Function.prototype.toString; - - -function isBindable(func) { - var result = !(support.funcNames ? func.name : support.funcDecomp); - - if (!result) { - var source = fnToString.call(func); - if (!support.funcNames) { - result = !reFuncName.test(source); - } - if (!result) { - result = reThis.test(source) || isNative(func); - baseSetData(func, result); - } - } - return result; -} - -module.exports = isBindable; - -},{"../lang/isNative":327,"../support":336,"./baseSetData":307}],315:[function(require,module,exports){ - -var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1; - - -function isIndex(value, length) { - value = +value; - length = length == null ? MAX_SAFE_INTEGER : length; - return value > -1 && value % 1 == 0 && value < length; -} - -module.exports = isIndex; - -},{}],316:[function(require,module,exports){ -var isIndex = require('./isIndex'), - isLength = require('./isLength'), - isObject = require('../lang/isObject'); - - -function isIterateeCall(value, index, object) { - if (!isObject(object)) { - return false; - } - var type = typeof index; - if (type == 'number') { - var length = object.length, - prereq = isLength(length) && isIndex(index, length); - } else { - prereq = type == 'string' && index in object; - } - if (prereq) { - var other = object[index]; - return value === value ? (value === other) : (other !== other); - } - return false; -} - -module.exports = isIterateeCall; - -},{"../lang/isObject":328,"./isIndex":315,"./isLength":317}],317:[function(require,module,exports){ - -var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1; - - -function isLength(value) { - return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; -} - -module.exports = isLength; - -},{}],318:[function(require,module,exports){ - -function isObjectLike(value) { - return (value && typeof value == 'object') || false; -} - -module.exports = isObjectLike; - -},{}],319:[function(require,module,exports){ -var isObject = require('../lang/isObject'); - - -function isStrictComparable(value) { - return value === value && (value === 0 ? ((1 / value) > 0) : !isObject(value)); -} - -module.exports = isStrictComparable; - -},{"../lang/isObject":328}],320:[function(require,module,exports){ -(function (global){ -var isNative = require('../lang/isNative'); - - -var WeakMap = isNative(WeakMap = global.WeakMap) && WeakMap; - - -var metaMap = WeakMap && new WeakMap; - -module.exports = metaMap; - -}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"../lang/isNative":327}],321:[function(require,module,exports){ -var isArguments = require('../lang/isArguments'), - isArray = require('../lang/isArray'), - isIndex = require('./isIndex'), - isLength = require('./isLength'), - keysIn = require('../object/keysIn'), - support = require('../support'); - - -var objectProto = Object.prototype; - - -var hasOwnProperty = objectProto.hasOwnProperty; - - -function shimKeys(object) { - var props = keysIn(object), - propsLength = props.length, - length = propsLength && object.length; - - var allowIndexes = length && isLength(length) && - (isArray(object) || (support.nonEnumArgs && isArguments(object))); - - var index = -1, - result = []; - - while (++index < propsLength) { - var key = props[index]; - if ((allowIndexes && isIndex(key, length)) || hasOwnProperty.call(object, key)) { - result.push(key); - } - } - return result; -} - -module.exports = shimKeys; - -},{"../lang/isArguments":323,"../lang/isArray":324,"../object/keysIn":334,"../support":336,"./isIndex":315,"./isLength":317}],322:[function(require,module,exports){ -var isObject = require('../lang/isObject'); - - -function toObject(value) { - return isObject(value) ? value : Object(value); -} - -module.exports = toObject; - -},{"../lang/isObject":328}],323:[function(require,module,exports){ -var isLength = require('../internal/isLength'), - isObjectLike = require('../internal/isObjectLike'); - - -var argsTag = '[object Arguments]'; - - -var objectProto = Object.prototype; - - -var objToString = objectProto.toString; - - -function isArguments(value) { - var length = isObjectLike(value) ? value.length : undefined; - return (isLength(length) && objToString.call(value) == argsTag) || false; -} - -module.exports = isArguments; - -},{"../internal/isLength":317,"../internal/isObjectLike":318}],324:[function(require,module,exports){ -var isLength = require('../internal/isLength'), - isNative = require('./isNative'), - isObjectLike = require('../internal/isObjectLike'); - - -var arrayTag = '[object Array]'; - - -var objectProto = Object.prototype; - - -var objToString = objectProto.toString; - - -var nativeIsArray = isNative(nativeIsArray = Array.isArray) && nativeIsArray; - - -var isArray = nativeIsArray || function(value) { - return (isObjectLike(value) && isLength(value.length) && objToString.call(value) == arrayTag) || false; -}; - -module.exports = isArray; - -},{"../internal/isLength":317,"../internal/isObjectLike":318,"./isNative":327}],325:[function(require,module,exports){ -var isArguments = require('./isArguments'), - isArray = require('./isArray'), - isFunction = require('./isFunction'), - isLength = require('../internal/isLength'), - isObjectLike = require('../internal/isObjectLike'), - isString = require('./isString'), - keys = require('../object/keys'); - - -function isEmpty(value) { - if (value == null) { - return true; - } - var length = value.length; - if (isLength(length) && (isArray(value) || isString(value) || isArguments(value) || - (isObjectLike(value) && isFunction(value.splice)))) { - return !length; - } - return !keys(value).length; -} - -module.exports = isEmpty; - -},{"../internal/isLength":317,"../internal/isObjectLike":318,"../object/keys":333,"./isArguments":323,"./isArray":324,"./isFunction":326,"./isString":329}],326:[function(require,module,exports){ -(function (global){ -var baseIsFunction = require('../internal/baseIsFunction'), - isNative = require('./isNative'); - - -var funcTag = '[object Function]'; - - -var objectProto = Object.prototype; - - -var objToString = objectProto.toString; - - -var Uint8Array = isNative(Uint8Array = global.Uint8Array) && Uint8Array; - - -var isFunction = !(baseIsFunction(/x/) || (Uint8Array && !baseIsFunction(Uint8Array))) ? baseIsFunction : function(value) { - return objToString.call(value) == funcTag; -}; - -module.exports = isFunction; - -}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"../internal/baseIsFunction":302,"./isNative":327}],327:[function(require,module,exports){ -var escapeRegExp = require('../string/escapeRegExp'), - isObjectLike = require('../internal/isObjectLike'); - - -var funcTag = '[object Function]'; - - -var reHostCtor = /^\[object .+?Constructor\]$/; - - -var objectProto = Object.prototype; - - -var fnToString = Function.prototype.toString; - - -var objToString = objectProto.toString; - - -var reNative = RegExp('^' + - escapeRegExp(objToString) - .replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' -); - - -function isNative(value) { - if (value == null) { - return false; - } - if (objToString.call(value) == funcTag) { - return reNative.test(fnToString.call(value)); - } - return (isObjectLike(value) && reHostCtor.test(value)) || false; -} - -module.exports = isNative; - -},{"../internal/isObjectLike":318,"../string/escapeRegExp":335}],328:[function(require,module,exports){ - -function isObject(value) { - var type = typeof value; - return type == 'function' || (value && type == 'object') || false; -} - -module.exports = isObject; - -},{}],329:[function(require,module,exports){ -var isObjectLike = require('../internal/isObjectLike'); - - -var stringTag = '[object String]'; - - -var objectProto = Object.prototype; - - -var objToString = objectProto.toString; - - -function isString(value) { - return typeof value == 'string' || (isObjectLike(value) && objToString.call(value) == stringTag) || false; -} - -module.exports = isString; - -},{"../internal/isObjectLike":318}],330:[function(require,module,exports){ -var isLength = require('../internal/isLength'), - isObjectLike = require('../internal/isObjectLike'); - - -var argsTag = '[object Arguments]', - arrayTag = '[object Array]', - boolTag = '[object Boolean]', - dateTag = '[object Date]', - errorTag = '[object Error]', - funcTag = '[object Function]', - mapTag = '[object Map]', - numberTag = '[object Number]', - objectTag = '[object Object]', - regexpTag = '[object RegExp]', - setTag = '[object Set]', - stringTag = '[object String]', - weakMapTag = '[object WeakMap]'; - -var arrayBufferTag = '[object ArrayBuffer]', - float32Tag = '[object Float32Array]', - float64Tag = '[object Float64Array]', - int8Tag = '[object Int8Array]', - int16Tag = '[object Int16Array]', - int32Tag = '[object Int32Array]', - uint8Tag = '[object Uint8Array]', - uint8ClampedTag = '[object Uint8ClampedArray]', - uint16Tag = '[object Uint16Array]', - uint32Tag = '[object Uint32Array]'; - - -var typedArrayTags = {}; -typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = -typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = -typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = -typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = -typedArrayTags[uint32Tag] = true; -typedArrayTags[argsTag] = typedArrayTags[arrayTag] = -typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = -typedArrayTags[dateTag] = typedArrayTags[errorTag] = -typedArrayTags[funcTag] = typedArrayTags[mapTag] = -typedArrayTags[numberTag] = typedArrayTags[objectTag] = -typedArrayTags[regexpTag] = typedArrayTags[setTag] = -typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false; - - -var objectProto = Object.prototype; - - -var objToString = objectProto.toString; - - -function isTypedArray(value) { - return (isObjectLike(value) && isLength(value.length) && typedArrayTags[objToString.call(value)]) || false; -} - -module.exports = isTypedArray; - -},{"../internal/isLength":317,"../internal/isObjectLike":318}],331:[function(require,module,exports){ -var baseAssign = require('../internal/baseAssign'), - createAssigner = require('../internal/createAssigner'); - - -var assign = createAssigner(baseAssign); - -module.exports = assign; - -},{"../internal/baseAssign":292,"../internal/createAssigner":310}],332:[function(require,module,exports){ -var baseCopy = require('../internal/baseCopy'), - baseCreate = require('../internal/baseCreate'), - isIterateeCall = require('../internal/isIterateeCall'), - keys = require('./keys'); - - -function create(prototype, properties, guard) { - var result = baseCreate(prototype); - if (guard && isIterateeCall(prototype, properties, guard)) { - properties = null; - } - return properties ? baseCopy(properties, result, keys(properties)) : result; -} - -module.exports = create; - -},{"../internal/baseCopy":294,"../internal/baseCreate":295,"../internal/isIterateeCall":316,"./keys":333}],333:[function(require,module,exports){ -var isLength = require('../internal/isLength'), - isNative = require('../lang/isNative'), - isObject = require('../lang/isObject'), - shimKeys = require('../internal/shimKeys'); - - -var nativeKeys = isNative(nativeKeys = Object.keys) && nativeKeys; - - -var keys = !nativeKeys ? shimKeys : function(object) { - if (object) { - var Ctor = object.constructor, - length = object.length; - } - if ((typeof Ctor == 'function' && Ctor.prototype === object) || - (typeof object != 'function' && (length && isLength(length)))) { - return shimKeys(object); - } - return isObject(object) ? nativeKeys(object) : []; -}; - -module.exports = keys; - -},{"../internal/isLength":317,"../internal/shimKeys":321,"../lang/isNative":327,"../lang/isObject":328}],334:[function(require,module,exports){ -var isArguments = require('../lang/isArguments'), - isArray = require('../lang/isArray'), - isIndex = require('../internal/isIndex'), - isLength = require('../internal/isLength'), - isObject = require('../lang/isObject'), - support = require('../support'); - - -var objectProto = Object.prototype; - - -var hasOwnProperty = objectProto.hasOwnProperty; - - -function keysIn(object) { - if (object == null) { - return []; - } - if (!isObject(object)) { - object = Object(object); - } - var length = object.length; - length = (length && isLength(length) && - (isArray(object) || (support.nonEnumArgs && isArguments(object))) && length) || 0; - - var Ctor = object.constructor, - index = -1, - isProto = typeof Ctor == 'function' && Ctor.prototype === object, - result = Array(length), - skipIndexes = length > 0; - - while (++index < length) { - result[index] = (index + ''); - } - for (var key in object) { - if (!(skipIndexes && isIndex(key, length)) && - !(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) { - result.push(key); - } - } - return result; -} - -module.exports = keysIn; - -},{"../internal/isIndex":315,"../internal/isLength":317,"../lang/isArguments":323,"../lang/isArray":324,"../lang/isObject":328,"../support":336}],335:[function(require,module,exports){ -var baseToString = require('../internal/baseToString'); - - -var reRegExpChars = /[.*+?^${}()|[\]\/\\]/g, - reHasRegExpChars = RegExp(reRegExpChars.source); - - -function escapeRegExp(string) { - string = baseToString(string); - return (string && reHasRegExpChars.test(string)) - ? string.replace(reRegExpChars, '\\$&') - : string; -} - -module.exports = escapeRegExp; - -},{"../internal/baseToString":308}],336:[function(require,module,exports){ -(function (global){ -var isNative = require('./lang/isNative'); - - -var reThis = /\bthis\b/; - - -var objectProto = Object.prototype; - - -var document = (document = global.window) && document.document; - - -var propertyIsEnumerable = objectProto.propertyIsEnumerable; - - -var support = {}; - -(function(x) { - - - support.funcDecomp = !isNative(global.WinRTError) && reThis.test(function() { return this; }); - - - support.funcNames = typeof Function.name == 'string'; - - - try { - support.dom = document.createDocumentFragment().nodeType === 11; - } catch(e) { - support.dom = false; - } - - - try { - support.nonEnumArgs = !propertyIsEnumerable.call(arguments, 1); - } catch(e) { - support.nonEnumArgs = true; - } -}(0, 0)); - -module.exports = support; - -}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./lang/isNative":327}],337:[function(require,module,exports){ - -function identity(value) { - return value; -} - -module.exports = identity; - -},{}],338:[function(require,module,exports){ -require('./browser_loader'); - -var AWS = require('./core'); - -if (typeof window !== 'undefined') window.AWS = AWS; -if (typeof module !== 'undefined') module.exports = AWS; -if (typeof self !== 'undefined') self.AWS = AWS; - - -require('../clients/browser_default'); -},{"../clients/browser_default":131,"./browser_loader":185,"./core":188}]},{},[338]); - diff --git a/node_modules/aws-sdk/dist/aws-sdk.min.js b/node_modules/aws-sdk/dist/aws-sdk.min.js deleted file mode 100644 index 6a3e233..0000000 --- a/node_modules/aws-sdk/dist/aws-sdk.min.js +++ /dev/null @@ -1,40 +0,0 @@ -// AWS SDK for JavaScript v2.6.8 -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt -!function e(t,r,a){function s(n,o){if(!r[n]){if(!t[n]){var u="function"==typeof require&&require;if(!o&&u)return u(n,!0);if(i)return i(n,!0);var p=new Error("Cannot find module '"+n+"'");throw p.code="MODULE_NOT_FOUND",p}var c=r[n]={exports:{}};t[n][0].call(c.exports,function(e){var r=t[n][1][e];return s(r?r:e)},c,c.exports,e,t,r,a)}return r[n].exports}for(var i="function"==typeof require&&require,n=0;n `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:!0,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:!0,matcher:"pathAll",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:!0}]},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"}]}}}},{}],42:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-09-21",endpointPrefix:"ecr",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Amazon ECR",serviceFullName:"Amazon EC2 Container Registry",signatureVersion:"v4",targetPrefix:"AmazonEC2ContainerRegistry_V20150921"},operations:{BatchCheckLayerAvailability:{input:{type:"structure",required:["repositoryName","layerDigests"],members:{registryId:{},repositoryName:{},layerDigests:{type:"list",member:{}}}},output:{type:"structure",members:{layers:{type:"list",member:{type:"structure",members:{layerDigest:{},layerAvailability:{},layerSize:{type:"long"}}}},failures:{type:"list",member:{type:"structure",members:{layerDigest:{},failureCode:{},failureReason:{}}}}}}},BatchDeleteImage:{input:{type:"structure",required:["repositoryName","imageIds"],members:{registryId:{},repositoryName:{},imageIds:{shape:"Sh"}}},output:{type:"structure",members:{imageIds:{shape:"Sh"},failures:{shape:"Sm"}}}},BatchGetImage:{input:{type:"structure",required:["repositoryName","imageIds"],members:{registryId:{},repositoryName:{},imageIds:{shape:"Sh"}}},output:{type:"structure",members:{images:{type:"list",member:{shape:"St"}},failures:{shape:"Sm"}}}},CompleteLayerUpload:{input:{type:"structure",required:["repositoryName","uploadId","layerDigests"],members:{registryId:{},repositoryName:{},uploadId:{},layerDigests:{type:"list",member:{}}}},output:{type:"structure",members:{registryId:{},repositoryName:{},uploadId:{},layerDigest:{}}}},CreateRepository:{input:{type:"structure",required:["repositoryName"],members:{repositoryName:{}}},output:{type:"structure",members:{repository:{shape:"S11"}}}},DeleteRepository:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{},force:{type:"boolean"}}},output:{type:"structure",members:{repository:{shape:"S11"}}}},DeleteRepositoryPolicy:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{}}},output:{type:"structure",members:{registryId:{},repositoryName:{},policyText:{}}}},DescribeImages:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{},imageIds:{shape:"Sh"},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:"S11"}},nextToken:{}}}},GetAuthorizationToken:{input:{type:"structure",members:{registryIds:{type:"list",member:{}}}},output:{type:"structure",members:{authorizationData:{type:"list",member:{type:"structure",members:{authorizationToken:{},expiresAt:{type:"timestamp"},proxyEndpoint:{}}}}}}},GetDownloadUrlForLayer:{input:{type:"structure",required:["repositoryName","layerDigest"],members:{registryId:{},repositoryName:{},layerDigest:{}}},output:{type:"structure",members:{downloadUrl:{},layerDigest:{}}}},GetRepositoryPolicy:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{}}},output:{type:"structure",members:{registryId:{},repositoryName:{},policyText:{}}}},InitiateLayerUpload:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{}}},output:{type:"structure",members:{uploadId:{},partSize:{type:"long"}}}},ListImages:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{},nextToken:{},maxResults:{type:"integer"},filter:{type:"structure",members:{tagStatus:{}}}}},output:{type:"structure",members:{imageIds:{shape:"Sh"},nextToken:{}}}},PutImage:{input:{type:"structure",required:["repositoryName","imageManifest"],members:{registryId:{},repositoryName:{},imageManifest:{}}},output:{type:"structure",members:{image:{shape:"St"}}}},SetRepositoryPolicy:{input:{type:"structure",required:["repositoryName","policyText"],members:{registryId:{},repositoryName:{},policyText:{},force:{type:"boolean"}}},output:{type:"structure",members:{registryId:{},repositoryName:{},policyText:{}}}},UploadLayerPart:{input:{type:"structure",required:["repositoryName","uploadId","partFirstByte","partLastByte","layerPartBlob"],members:{registryId:{},repositoryName:{},uploadId:{},partFirstByte:{type:"long"},partLastByte:{type:"long"},layerPartBlob:{type:"blob"}}},output:{type:"structure",members:{registryId:{},repositoryName:{},uploadId:{},lastByteReceived:{type:"long"}}}}},shapes:{Sh:{type:"list",member:{shape:"Si"}},Si:{type:"structure",members:{imageDigest:{},imageTag:{}}},Sm:{type:"list",member:{type:"structure",members:{imageId:{shape:"Si"},failureCode:{},failureReason:{}}}},St:{type:"structure",members:{registryId:{},repositoryName:{},imageId:{shape:"Si"},imageManifest:{}}},S11:{type:"structure",members:{repositoryArn:{},registryId:{},repositoryName:{},repositoryUri:{},createdAt:{type:"timestamp"}}}}}},{}],43:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-11-13",endpointPrefix:"ecs",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Amazon ECS",serviceFullName:"Amazon EC2 Container Service",signatureVersion:"v4",targetPrefix:"AmazonEC2ContainerServiceV20141113"},operations:{ -CreateCluster:{input:{type:"structure",members:{clusterName:{}}},output:{type:"structure",members:{cluster:{shape:"S4"}}}},CreateService:{input:{type:"structure",required:["serviceName","taskDefinition","desiredCount"],members:{cluster:{},serviceName:{},taskDefinition:{},loadBalancers:{shape:"S7"},desiredCount:{type:"integer"},clientToken:{},role:{},deploymentConfiguration:{shape:"Sa"}}},output:{type:"structure",members:{service:{shape:"Sc"}}}},DeleteCluster:{input:{type:"structure",required:["cluster"],members:{cluster:{}}},output:{type:"structure",members:{cluster:{shape:"S4"}}}},DeleteService:{input:{type:"structure",required:["service"],members:{cluster:{},service:{}}},output:{type:"structure",members:{service:{shape:"Sc"}}}},DeregisterContainerInstance:{input:{type:"structure",required:["containerInstance"],members:{cluster:{},containerInstance:{},force:{type:"boolean"}}},output:{type:"structure",members:{containerInstance:{shape:"Sp"}}}},DeregisterTaskDefinition:{input:{type:"structure",required:["taskDefinition"],members:{taskDefinition:{}}},output:{type:"structure",members:{taskDefinition:{shape:"S12"}}}},DescribeClusters:{input:{type:"structure",members:{clusters:{shape:"Sv"}}},output:{type:"structure",members:{clusters:{type:"list",member:{shape:"S4"}},failures:{shape:"S1w"}}}},DescribeContainerInstances:{input:{type:"structure",required:["containerInstances"],members:{cluster:{},containerInstances:{shape:"Sv"}}},output:{type:"structure",members:{containerInstances:{type:"list",member:{shape:"Sp"}},failures:{shape:"S1w"}}}},DescribeServices:{input:{type:"structure",required:["services"],members:{cluster:{},services:{shape:"Sv"}}},output:{type:"structure",members:{services:{type:"list",member:{shape:"Sc"}},failures:{shape:"S1w"}}}},DescribeTaskDefinition:{input:{type:"structure",required:["taskDefinition"],members:{taskDefinition:{}}},output:{type:"structure",members:{taskDefinition:{shape:"S12"}}}},DescribeTasks:{input:{type:"structure",required:["tasks"],members:{cluster:{},tasks:{shape:"Sv"}}},output:{type:"structure",members:{tasks:{shape:"S28"},failures:{shape:"S1w"}}}},DiscoverPollEndpoint:{input:{type:"structure",members:{containerInstance:{},cluster:{}}},output:{type:"structure",members:{endpoint:{},telemetryEndpoint:{}}}},ListClusters:{input:{type:"structure",members:{nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{clusterArns:{shape:"Sv"},nextToken:{}}}},ListContainerInstances:{input:{type:"structure",members:{cluster:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{containerInstanceArns:{shape:"Sv"},nextToken:{}}}},ListServices:{input:{type:"structure",members:{cluster:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{serviceArns:{shape:"Sv"},nextToken:{}}}},ListTaskDefinitionFamilies:{input:{type:"structure",members:{familyPrefix:{},status:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{families:{shape:"Sv"},nextToken:{}}}},ListTaskDefinitions:{input:{type:"structure",members:{familyPrefix:{},status:{},sort:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{taskDefinitionArns:{shape:"Sv"},nextToken:{}}}},ListTasks:{input:{type:"structure",members:{cluster:{},containerInstance:{},family:{},nextToken:{},maxResults:{type:"integer"},startedBy:{},serviceName:{},desiredStatus:{}}},output:{type:"structure",members:{taskArns:{shape:"Sv"},nextToken:{}}}},RegisterContainerInstance:{input:{type:"structure",members:{cluster:{},instanceIdentityDocument:{},instanceIdentityDocumentSignature:{},totalResources:{shape:"Sr"},versionInfo:{shape:"Sq"},containerInstanceArn:{},attributes:{shape:"Sy"}}},output:{type:"structure",members:{containerInstance:{shape:"Sp"}}}},RegisterTaskDefinition:{input:{type:"structure",required:["family","containerDefinitions"],members:{family:{},taskRoleArn:{},networkMode:{},containerDefinitions:{shape:"S13"},volumes:{shape:"S1o"}}},output:{type:"structure",members:{taskDefinition:{shape:"S12"}}}},RunTask:{input:{type:"structure",required:["taskDefinition"],members:{cluster:{},taskDefinition:{},overrides:{shape:"S2a"},count:{type:"integer"},startedBy:{}}},output:{type:"structure",members:{tasks:{shape:"S28"},failures:{shape:"S1w"}}}},StartTask:{input:{type:"structure",required:["taskDefinition","containerInstances"],members:{cluster:{},taskDefinition:{},overrides:{shape:"S2a"},containerInstances:{shape:"Sv"},startedBy:{}}},output:{type:"structure",members:{tasks:{shape:"S28"},failures:{shape:"S1w"}}}},StopTask:{input:{type:"structure",required:["task"],members:{cluster:{},task:{},reason:{}}},output:{type:"structure",members:{task:{shape:"S29"}}}},SubmitContainerStateChange:{input:{type:"structure",members:{cluster:{},task:{},containerName:{},status:{},exitCode:{type:"integer"},reason:{},networkBindings:{shape:"S2f"}}},output:{type:"structure",members:{acknowledgment:{}}}},SubmitTaskStateChange:{input:{type:"structure",members:{cluster:{},task:{},status:{},reason:{}}},output:{type:"structure",members:{acknowledgment:{}}}},UpdateContainerAgent:{input:{type:"structure",required:["containerInstance"],members:{cluster:{},containerInstance:{}}},output:{type:"structure",members:{containerInstance:{shape:"Sp"}}}},UpdateService:{input:{type:"structure",required:["service"],members:{cluster:{},service:{},desiredCount:{type:"integer"},taskDefinition:{},deploymentConfiguration:{shape:"Sa"}}},output:{type:"structure",members:{service:{shape:"Sc"}}}}},shapes:{S4:{type:"structure",members:{clusterArn:{},clusterName:{},status:{},registeredContainerInstancesCount:{type:"integer"},runningTasksCount:{type:"integer"},pendingTasksCount:{type:"integer"},activeServicesCount:{type:"integer"}}},S7:{type:"list",member:{type:"structure",members:{targetGroupArn:{},loadBalancerName:{},containerName:{},containerPort:{type:"integer"}}}},Sa:{type:"structure",members:{maximumPercent:{type:"integer"},minimumHealthyPercent:{type:"integer"}}},Sc:{type:"structure",members:{serviceArn:{},serviceName:{},clusterArn:{},loadBalancers:{shape:"S7"},status:{},desiredCount:{type:"integer"},runningCount:{type:"integer"},pendingCount:{type:"integer"},taskDefinition:{},deploymentConfiguration:{shape:"Sa"},deployments:{type:"list",member:{type:"structure",members:{id:{},status:{},taskDefinition:{},desiredCount:{type:"integer"},pendingCount:{type:"integer"},runningCount:{type:"integer"},createdAt:{type:"timestamp"},updatedAt:{type:"timestamp"}}}},roleArn:{},events:{type:"list",member:{type:"structure",members:{id:{},createdAt:{type:"timestamp"},message:{}}}},createdAt:{type:"timestamp"}}},Sp:{type:"structure",members:{containerInstanceArn:{},ec2InstanceId:{},versionInfo:{shape:"Sq"},remainingResources:{shape:"Sr"},registeredResources:{shape:"Sr"},status:{},agentConnected:{type:"boolean"},runningTasksCount:{type:"integer"},pendingTasksCount:{type:"integer"},agentUpdateStatus:{},attributes:{shape:"Sy"}}},Sq:{type:"structure",members:{agentVersion:{},agentHash:{},dockerVersion:{}}},Sr:{type:"list",member:{type:"structure",members:{name:{},type:{},doubleValue:{type:"double"},longValue:{type:"long"},integerValue:{type:"integer"},stringSetValue:{shape:"Sv"}}}},Sv:{type:"list",member:{}},Sy:{type:"list",member:{shape:"Sz"}},Sz:{type:"structure",required:["name"],members:{name:{},value:{}}},S12:{type:"structure",members:{taskDefinitionArn:{},containerDefinitions:{shape:"S13"},family:{},taskRoleArn:{},networkMode:{},revision:{type:"integer"},volumes:{shape:"S1o"},status:{},requiresAttributes:{type:"list",member:{shape:"Sz"}}}},S13:{type:"list",member:{type:"structure",members:{name:{},image:{},cpu:{type:"integer"},memory:{type:"integer"},memoryReservation:{type:"integer"},links:{shape:"Sv"},portMappings:{type:"list",member:{type:"structure",members:{containerPort:{type:"integer"},hostPort:{type:"integer"},protocol:{}}}},essential:{type:"boolean"},entryPoint:{shape:"Sv"},command:{shape:"Sv"},environment:{shape:"S18"},mountPoints:{type:"list",member:{type:"structure",members:{sourceVolume:{},containerPath:{},readOnly:{type:"boolean"}}}},volumesFrom:{type:"list",member:{type:"structure",members:{sourceContainer:{},readOnly:{type:"boolean"}}}},hostname:{},user:{},workingDirectory:{},disableNetworking:{type:"boolean"},privileged:{type:"boolean"},readonlyRootFilesystem:{type:"boolean"},dnsServers:{shape:"Sv"},dnsSearchDomains:{shape:"Sv"},extraHosts:{type:"list",member:{type:"structure",required:["hostname","ipAddress"],members:{hostname:{},ipAddress:{}}}},dockerSecurityOptions:{shape:"Sv"},dockerLabels:{type:"map",key:{},value:{}},ulimits:{type:"list",member:{type:"structure",required:["name","softLimit","hardLimit"],members:{name:{},softLimit:{type:"integer"},hardLimit:{type:"integer"}}}},logConfiguration:{type:"structure",required:["logDriver"],members:{logDriver:{},options:{type:"map",key:{},value:{}}}}}}},S18:{type:"list",member:{type:"structure",members:{name:{},value:{}}}},S1o:{type:"list",member:{type:"structure",members:{name:{},host:{type:"structure",members:{sourcePath:{}}}}}},S1w:{type:"list",member:{type:"structure",members:{arn:{},reason:{}}}},S28:{type:"list",member:{shape:"S29"}},S29:{type:"structure",members:{taskArn:{},clusterArn:{},taskDefinitionArn:{},containerInstanceArn:{},overrides:{shape:"S2a"},lastStatus:{},desiredStatus:{},containers:{type:"list",member:{type:"structure",members:{containerArn:{},taskArn:{},name:{},lastStatus:{},exitCode:{type:"integer"},reason:{},networkBindings:{shape:"S2f"}}}},startedBy:{},stoppedReason:{},createdAt:{type:"timestamp"},startedAt:{type:"timestamp"},stoppedAt:{type:"timestamp"}}},S2a:{type:"structure",members:{containerOverrides:{type:"list",member:{type:"structure",members:{name:{},command:{shape:"Sv"},environment:{shape:"S18"}}}},taskRoleArn:{}}},S2f:{type:"list",member:{type:"structure",members:{bindIP:{},containerPort:{type:"integer"},hostPort:{type:"integer"},protocol:{}}}}}}},{}],44:[function(e,t,r){t.exports={pagination:{ListClusters:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults",result_key:"clusterArns"},ListContainerInstances:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults",result_key:"containerInstanceArns"},ListTaskDefinitions:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults",result_key:"taskDefinitionArns"},ListTaskDefinitionFamilies:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults",result_key:"families"},ListTasks:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults",result_key:"taskArns"},ListServices:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults",result_key:"serviceArns"}}}},{}],45:[function(e,t,r){t.exports={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:!0,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"}]}}}},{}],46:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-02-02",endpointPrefix:"elasticache",protocol:"query",serviceFullName:"Amazon ElastiCache",signatureVersion:"v4",xmlNamespace:"http://elasticache.amazonaws.com/doc/2015-02-02/"},operations:{AddTagsToResource:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"S3"}}},output:{shape:"S5",resultWrapper:"AddTagsToResourceResult"}},AuthorizeCacheSecurityGroupIngress:{input:{type:"structure",required:["CacheSecurityGroupName","EC2SecurityGroupName","EC2SecurityGroupOwnerId"],members:{CacheSecurityGroupName:{},EC2SecurityGroupName:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeCacheSecurityGroupIngressResult",type:"structure",members:{CacheSecurityGroup:{shape:"S8"}}}},CopySnapshot:{input:{type:"structure",required:["SourceSnapshotName","TargetSnapshotName"],members:{SourceSnapshotName:{},TargetSnapshotName:{},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:{}}},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:{}}},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"}}},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:!0}}}},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:!0}}}}},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:{}}},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"}}}}},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:!0},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:!0}}},wrapper:!0},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:!0},Sv:{type:"structure",members:{Address:{},Port:{type:"integer"}}},Sy:{type:"list",member:{locationName:"CacheNodeId"}},S19:{type:"structure",members:{CacheParameterGroupName:{},CacheParameterGroupFamily:{},Description:{}},wrapper:!0},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:!0}}}}},wrapper:!0},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:{}},wrapper:!0},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:!0},S3a:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},S3q:{type:"list",member:{locationName:"ParameterNameValue",type:"structure",members:{ParameterName:{},ParameterValue:{}}}},S3s:{type:"structure",members:{CacheParameterGroupName:{}}}}}},{}],47:[function(e,t,r){t.exports={pagination:{DescribeCacheClusters:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"CacheClusters"},DescribeCacheEngineVersions:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"CacheEngineVersions"},DescribeCacheParameterGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"CacheParameterGroups"},DescribeCacheParameters:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"Parameters"},DescribeCacheSecurityGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"CacheSecurityGroups"},DescribeCacheSubnetGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"CacheSubnetGroups"},DescribeEngineDefaultParameters:{input_token:"Marker",output_token:"EngineDefaults.Marker",limit_key:"MaxRecords",result_key:"EngineDefaults.Parameters"},DescribeEvents:{input_token:"Marker",output_token:"Marker", -limit_key:"MaxRecords",result_key:"Events"},DescribeReservedCacheNodes:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"ReservedCacheNodes"},DescribeReservedCacheNodesOfferings:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"ReservedCacheNodesOfferings"},DescribeReplicationGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"ReplicationGroups"},DescribeSnapshots:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"Snapshots"}}}},{}],48:[function(e,t,r){t.exports={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"}}}},{}],49:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2010-12-01",endpointPrefix:"elasticbeanstalk",protocol:"query",serviceAbbreviation:"Elastic Beanstalk",serviceFullName:"AWS Elastic Beanstalk",signatureVersion:"v4",xmlNamespace:"http://elasticbeanstalk.amazonaws.com/docs/2010-12-01/"},operations:{AbortEnvironmentUpdate:{input:{type:"structure",members:{EnvironmentId:{},EnvironmentName:{}}}},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:{}}},output:{shape:"S14",resultWrapper:"CreateApplicationResult"}},CreateApplicationVersion:{input:{type:"structure",required:["ApplicationName","VersionLabel"],members:{ApplicationName:{},VersionLabel:{},Description:{},SourceBundle:{shape:"S19"},AutoCreateApplication:{type:"boolean"},Process:{type:"boolean"}}},output:{shape:"S1e",resultWrapper:"CreateApplicationVersionResult"}},CreateConfigurationTemplate:{input:{type:"structure",required:["ApplicationName","TemplateName"],members:{ApplicationName:{},TemplateName:{},SolutionStackName:{},SourceConfiguration:{type:"structure",members:{ApplicationName:{},TemplateName:{}}},EnvironmentId:{},Description:{},OptionSettings:{shape:"S1j"}}},output:{shape:"S1p",resultWrapper:"CreateConfigurationTemplateResult"}},CreateEnvironment:{input:{type:"structure",required:["ApplicationName"],members:{ApplicationName:{},EnvironmentName:{},GroupName:{},Description:{},CNAMEPrefix:{},Tier:{shape:"S10"},Tags:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},VersionLabel:{},TemplateName:{},SolutionStackName:{},OptionSettings:{shape:"S1j"},OptionsToRemove:{shape:"S1w"}}},output:{shape:"Sk",resultWrapper:"CreateEnvironmentResult"}},CreateStorageLocation:{output:{resultWrapper:"CreateStorageLocationResult",type:"structure",members:{S3Bucket:{}}}},DeleteApplication:{input:{type:"structure",required:["ApplicationName"],members:{ApplicationName:{},TerminateEnvByForce:{type:"boolean"}}}},DeleteApplicationVersion:{input:{type:"structure",required:["ApplicationName","VersionLabel"],members:{ApplicationName:{},VersionLabel:{},DeleteSourceBundle:{type:"boolean"}}}},DeleteConfigurationTemplate:{input:{type:"structure",required:["ApplicationName","TemplateName"],members:{ApplicationName:{},TemplateName:{}}}},DeleteEnvironmentConfiguration:{input:{type:"structure",required:["ApplicationName","EnvironmentName"],members:{ApplicationName:{},EnvironmentName:{}}}},DescribeApplicationVersions:{input:{type:"structure",members:{ApplicationName:{},VersionLabels:{shape:"S16"}}},output:{resultWrapper:"DescribeApplicationVersionsResult",type:"structure",members:{ApplicationVersions:{type:"list",member:{shape:"S1f"}}}}},DescribeApplications:{input:{type:"structure",members:{ApplicationNames:{type:"list",member:{}}}},output:{resultWrapper:"DescribeApplicationsResult",type:"structure",members:{Applications:{type:"list",member:{shape:"S15"}}}}},DescribeConfigurationOptions:{input:{type:"structure",members:{ApplicationName:{},TemplateName:{},EnvironmentName:{},SolutionStackName:{},Options:{shape:"S1w"}}},output:{resultWrapper:"DescribeConfigurationOptionsResult",type:"structure",members:{SolutionStackName:{},Options:{type:"list",member:{type:"structure",members:{Namespace:{},Name:{},DefaultValue:{},ChangeSeverity:{},UserDefined:{type:"boolean"},ValueType:{},ValueOptions:{type:"list",member:{}},MinValue:{type:"integer"},MaxValue:{type:"integer"},MaxLength:{type:"integer"},Regex:{type:"structure",members:{Pattern:{},Label:{}}}}}}}}},DescribeConfigurationSettings:{input:{type:"structure",required:["ApplicationName"],members:{ApplicationName:{},TemplateName:{},EnvironmentName:{}}},output:{resultWrapper:"DescribeConfigurationSettingsResult",type:"structure",members:{ConfigurationSettings:{type:"list",member:{shape:"S1p"}}}}},DescribeEnvironmentHealth:{input:{type:"structure",members:{EnvironmentName:{},EnvironmentId:{},AttributeNames:{type:"list",member:{}}}},output:{resultWrapper:"DescribeEnvironmentHealthResult",type:"structure",members:{EnvironmentName:{},HealthStatus:{},Status:{},Color:{},Causes:{shape:"S2z"},ApplicationMetrics:{shape:"S31"},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:{},RequestId:{},Severity:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},MaxRecords:{type:"integer"},NextToken:{}}},output:{resultWrapper:"DescribeEventsResult",type:"structure",members:{Events:{type:"list",member:{type:"structure",members:{EventDate:{type:"timestamp"},Message:{},ApplicationName:{},VersionLabel:{},TemplateName:{},EnvironmentName:{},RequestId:{},Severity:{}}}},NextToken:{}}}},DescribeInstancesHealth:{input:{type:"structure",members:{EnvironmentName:{},EnvironmentId:{},AttributeNames:{type:"list",member:{}},NextToken:{}}},output:{resultWrapper:"DescribeInstancesHealthResult",type:"structure",members:{InstanceHealthList:{type:"list",member:{type:"structure",members:{InstanceId:{},HealthStatus:{},Color:{},Causes:{shape:"S2z"},LaunchedAt:{type:"timestamp"},ApplicationMetrics:{shape:"S31"},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:{}}}},ListAvailableSolutionStacks:{output:{resultWrapper:"ListAvailableSolutionStacksResult",type:"structure",members:{SolutionStacks:{type:"list",member:{}},SolutionStackDetails:{type:"list",member:{type:"structure",members:{SolutionStackName:{},PermittedFileTypes:{type:"list",member:{}}}}}}}},RebuildEnvironment:{input:{type:"structure",members:{EnvironmentId:{},EnvironmentName:{}}}},RequestEnvironmentInfo:{input:{type:"structure",required:["InfoType"],members:{EnvironmentId:{},EnvironmentName:{},InfoType:{}}}},RestartAppServer:{input:{type:"structure",members:{EnvironmentId:{},EnvironmentName:{}}}},RetrieveEnvironmentInfo:{input:{type:"structure",required:["InfoType"],members:{EnvironmentId:{},EnvironmentName:{},InfoType:{}}},output:{resultWrapper:"RetrieveEnvironmentInfoResult",type:"structure",members:{EnvironmentInfo:{type:"list",member:{type:"structure",members:{InfoType:{},Ec2InstanceId:{},SampleTimestamp:{type:"timestamp"},Message:{}}}}}}},SwapEnvironmentCNAMEs:{input:{type:"structure",members:{SourceEnvironmentId:{},SourceEnvironmentName:{},DestinationEnvironmentId:{},DestinationEnvironmentName:{}}}},TerminateEnvironment:{input:{type:"structure",members:{EnvironmentId:{},EnvironmentName:{},TerminateResources:{type:"boolean"},ForceTerminate:{type:"boolean"}}},output:{shape:"Sk",resultWrapper:"TerminateEnvironmentResult"}},UpdateApplication:{input:{type:"structure",required:["ApplicationName"],members:{ApplicationName:{},Description:{}}},output:{shape:"S14",resultWrapper:"UpdateApplicationResult"}},UpdateApplicationVersion:{input:{type:"structure",required:["ApplicationName","VersionLabel"],members:{ApplicationName:{},VersionLabel:{},Description:{}}},output:{shape:"S1e",resultWrapper:"UpdateApplicationVersionResult"}},UpdateConfigurationTemplate:{input:{type:"structure",required:["ApplicationName","TemplateName"],members:{ApplicationName:{},TemplateName:{},Description:{},OptionSettings:{shape:"S1j"},OptionsToRemove:{shape:"S1w"}}},output:{shape:"S1p",resultWrapper:"UpdateConfigurationTemplateResult"}},UpdateEnvironment:{input:{type:"structure",members:{ApplicationName:{},EnvironmentId:{},EnvironmentName:{},GroupName:{},Description:{},Tier:{shape:"S10"},VersionLabel:{},TemplateName:{},SolutionStackName:{},OptionSettings:{shape:"S1j"},OptionsToRemove:{shape:"S1w"}}},output:{shape:"Sk",resultWrapper:"UpdateEnvironmentResult"}},ValidateConfigurationSettings:{input:{type:"structure",required:["ApplicationName","OptionSettings"],members:{ApplicationName:{},TemplateName:{},EnvironmentName:{},OptionSettings:{shape:"S1j"}}},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:{},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:"S10"},EnvironmentLinks:{type:"list",member:{type:"structure",members:{LinkName:{},EnvironmentName:{}}}}}},S10:{type:"structure",members:{Name:{},Type:{},Version:{}}},S14:{type:"structure",members:{Application:{shape:"S15"}}},S15:{type:"structure",members:{ApplicationName:{},Description:{},DateCreated:{type:"timestamp"},DateUpdated:{type:"timestamp"},Versions:{shape:"S16"},ConfigurationTemplates:{type:"list",member:{}}}},S16:{type:"list",member:{}},S19:{type:"structure",members:{S3Bucket:{},S3Key:{}}},S1e:{type:"structure",members:{ApplicationVersion:{shape:"S1f"}}},S1f:{type:"structure",members:{ApplicationName:{},Description:{},VersionLabel:{},SourceBundle:{shape:"S19"},DateCreated:{type:"timestamp"},DateUpdated:{type:"timestamp"},Status:{}}},S1j:{type:"list",member:{type:"structure",members:{ResourceName:{},Namespace:{},OptionName:{},Value:{}}}},S1p:{type:"structure",members:{SolutionStackName:{},ApplicationName:{},TemplateName:{},Description:{},EnvironmentName:{},DeploymentStatus:{},DateCreated:{type:"timestamp"},DateUpdated:{type:"timestamp"},OptionSettings:{shape:"S1j"}}},S1w:{type:"list",member:{type:"structure",members:{ResourceName:{},Namespace:{},OptionName:{}}}},S2z:{type:"list",member:{}},S31:{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"}}}}}}}},{}],50:[function(e,t,r){t.exports={pagination:{DescribeApplicationVersions:{result_key:"ApplicationVersions"},DescribeApplications:{result_key:"Applications"},DescribeConfigurationOptions:{result_key:"Options"},DescribeEnvironments:{result_key:"Environments"},DescribeEvents:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxRecords",result_key:"Events"},ListAvailableSolutionStacks:{result_key:"SolutionStacks"}}}},{}],51:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2012-06-01",endpointPrefix:"elasticloadbalancing",protocol:"query",serviceFullName:"Elastic Load Balancing",signatureVersion:"v4",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"}}}},DescribeInstanceHealth:{input:{type:"structure",required:["LoadBalancerName"],members:{LoadBalancerName:{},Instances:{shape:"S1p"}}},output:{resultWrapper:"DescribeInstanceHealthResult",type:"structure",members:{InstanceStates:{type:"list",member:{type:"structure",members:{InstanceId:{},State:{},ReasonCode:{},Description:{}}}}}}},DescribeLoadBalancerAttributes:{input:{type:"structure",required:["LoadBalancerName"],members:{LoadBalancerName:{}}},output:{resultWrapper:"DescribeLoadBalancerAttributesResult",type:"structure",members:{LoadBalancerAttributes:{shape:"S22"}}}},DescribeLoadBalancerPolicies:{input:{type:"structure",members:{LoadBalancerName:{},PolicyNames:{shape:"S2k"}}},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:"S2k"}}}},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:"S2k"}}},BackendServerDescriptions:{type:"list",member:{type:"structure",members:{InstancePort:{type:"integer"},PolicyNames:{shape:"S2k"}}}},AvailabilityZones:{shape:"S13"},Subnets:{shape:"Se"},VPCId:{},Instances:{shape:"S1p"},HealthCheck:{shape:"Si"},SourceSecurityGroup:{type:"structure",members:{OwnerAlias:{},GroupName:{}}},SecurityGroups:{shape:"Sa"},CreatedTime:{type:"timestamp"},Scheme:{}}}},NextMarker:{}}}},DescribeTags:{input:{type:"structure",required:["LoadBalancerNames"],members:{LoadBalancerNames:{type:"list",member:{}}}},output:{resultWrapper:"DescribeTagsResult",type:"structure",members:{TagDescriptions:{type:"list",member:{type:"structure",members:{LoadBalancerName:{},Tags:{shape:"S4"}}}}}}},DetachLoadBalancerFromSubnets:{input:{type:"structure",required:["LoadBalancerName","Subnets"],members:{LoadBalancerName:{},Subnets:{shape:"Se"}}},output:{resultWrapper:"DetachLoadBalancerFromSubnetsResult",type:"structure",members:{Subnets:{shape:"Se"}}}},DisableAvailabilityZonesForLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","AvailabilityZones"],members:{LoadBalancerName:{},AvailabilityZones:{shape:"S13"}}},output:{resultWrapper:"DisableAvailabilityZonesForLoadBalancerResult",type:"structure",members:{AvailabilityZones:{shape:"S13"}}}},EnableAvailabilityZonesForLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","AvailabilityZones"],members:{LoadBalancerName:{},AvailabilityZones:{shape:"S13"}}},output:{resultWrapper:"EnableAvailabilityZonesForLoadBalancerResult",type:"structure",members:{AvailabilityZones:{shape:"S13"}}}},ModifyLoadBalancerAttributes:{input:{type:"structure",required:["LoadBalancerName","LoadBalancerAttributes"],members:{LoadBalancerName:{},LoadBalancerAttributes:{shape:"S22"}}},output:{resultWrapper:"ModifyLoadBalancerAttributesResult",type:"structure",members:{LoadBalancerName:{},LoadBalancerAttributes:{shape:"S22"}}}},RegisterInstancesWithLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","Instances"],members:{LoadBalancerName:{},Instances:{shape:"S1p"}}},output:{resultWrapper:"RegisterInstancesWithLoadBalancerResult",type:"structure",members:{Instances:{shape:"S1p"}}}},RemoveTags:{input:{type:"structure",required:["LoadBalancerNames","Tags"],members:{LoadBalancerNames:{shape:"S2"},Tags:{type:"list",member:{type:"structure",members:{Key:{}}}}}},output:{resultWrapper:"RemoveTagsResult",type:"structure",members:{}}},SetLoadBalancerListenerSSLCertificate:{input:{type:"structure",required:["LoadBalancerName","LoadBalancerPort","SSLCertificateId"],members:{LoadBalancerName:{},LoadBalancerPort:{type:"integer"},SSLCertificateId:{}}},output:{resultWrapper:"SetLoadBalancerListenerSSLCertificateResult",type:"structure",members:{}}},SetLoadBalancerPoliciesForBackendServer:{input:{type:"structure",required:["LoadBalancerName","InstancePort","PolicyNames"],members:{LoadBalancerName:{},InstancePort:{type:"integer"},PolicyNames:{shape:"S2k"}}},output:{resultWrapper:"SetLoadBalancerPoliciesForBackendServerResult",type:"structure",members:{}}},SetLoadBalancerPoliciesOfListener:{input:{type:"structure",required:["LoadBalancerName","LoadBalancerPort","PolicyNames"],members:{LoadBalancerName:{},LoadBalancerPort:{type:"integer"},PolicyNames:{shape:"S2k"}}},output:{resultWrapper:"SetLoadBalancerPoliciesOfListenerResult",type:"structure",members:{}}}},shapes:{S2:{type:"list",member:{}},S4:{type:"list",member:{type:"structure",required:["Key"],members:{Key:{},Value:{}}}},Sa:{type:"list",member:{}},Se:{type:"list",member:{}},Si:{type:"structure",required:["Target","Interval","Timeout","UnhealthyThreshold","HealthyThreshold"],members:{Target:{},Interval:{type:"integer"},Timeout:{type:"integer"},UnhealthyThreshold:{type:"integer"},HealthyThreshold:{type:"integer"}}},Sx:{type:"list",member:{shape:"Sy"}},Sy:{type:"structure",required:["Protocol","LoadBalancerPort","InstancePort"],members:{Protocol:{},LoadBalancerPort:{type:"integer"},InstanceProtocol:{},InstancePort:{type:"integer"},SSLCertificateId:{}}},S13:{type:"list",member:{}},S1p:{type:"list",member:{type:"structure",members:{InstanceId:{}}}},S22:{type:"structure",members:{CrossZoneLoadBalancing:{type:"structure",required:["Enabled"],members:{Enabled:{type:"boolean"}}},AccessLog:{type:"structure",required:["Enabled"],members:{Enabled:{type:"boolean"},S3BucketName:{},EmitInterval:{type:"integer"},S3BucketPrefix:{}}},ConnectionDraining:{type:"structure",required:["Enabled"],members:{Enabled:{type:"boolean"},Timeout:{type:"integer"}}},ConnectionSettings:{type:"structure",required:["IdleTimeout"],members:{IdleTimeout:{type:"integer"}}},AdditionalAttributes:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}}}},S2k:{type:"list",member:{}}}}},{}],52:[function(e,t,r){t.exports={pagination:{DescribeInstanceHealth:{result_key:"InstanceStates"},DescribeLoadBalancerPolicies:{result_key:"PolicyDescriptions"},DescribeLoadBalancerPolicyTypes:{result_key:"PolicyTypeDescriptions"},DescribeLoadBalancers:{input_token:"Marker",output_token:"NextMarker",result_key:"LoadBalancerDescriptions"}}}},{}],53:[function(e,t,r){t.exports={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"}],delay:15,maxAttempts:40,operation:"DescribeInstanceHealth"}}}},{}],54:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-12-01",endpointPrefix:"elasticloadbalancing",protocol:"query",serviceAbbreviation:"Elastic Load Balancing v2",serviceFullName:"Elastic Load Balancing",signatureVersion:"v4",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"}}},output:{resultWrapper:"CreateLoadBalancerResult",type:"structure",members:{LoadBalancers:{shape:"Sx"}}}},CreateRule:{input:{type:"structure",required:["ListenerArn","Conditions","Priority","Actions"],members:{ListenerArn:{},Conditions:{shape:"S1b"},Priority:{type:"integer"},Actions:{shape:"Sh"}}},output:{resultWrapper:"CreateRuleResult",type:"structure",members:{Rules:{shape:"S1i"}}}},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:"S1u"}}},output:{resultWrapper:"CreateTargetGroupResult",type:"structure",members:{TargetGroups:{shape:"S1x"}}}},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:"S29"}}},output:{resultWrapper:"DeregisterTargetsResult",type:"structure",members:{}}},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:"S2k"}}}},DescribeLoadBalancers:{input:{type:"structure",members:{LoadBalancerArns:{shape:"S1z" -},Names:{type:"list",member:{}},Marker:{},PageSize:{type:"integer"}}},output:{resultWrapper:"DescribeLoadBalancersResult",type:"structure",members:{LoadBalancers:{shape:"Sx"},NextMarker:{}}}},DescribeRules:{input:{type:"structure",members:{ListenerArn:{},RuleArns:{type:"list",member:{}}}},output:{resultWrapper:"DescribeRulesResult",type:"structure",members:{Rules:{shape:"S1i"}}}},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:"S3b"}}}},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:"S1x"},NextMarker:{}}}},DescribeTargetHealth:{input:{type:"structure",required:["TargetGroupArn"],members:{TargetGroupArn:{},Targets:{shape:"S29"}}},output:{resultWrapper:"DescribeTargetHealthResult",type:"structure",members:{TargetHealthDescriptions:{type:"list",member:{type:"structure",members:{Target:{shape:"S2a"},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:"S2k"}}},output:{resultWrapper:"ModifyLoadBalancerAttributesResult",type:"structure",members:{Attributes:{shape:"S2k"}}}},ModifyRule:{input:{type:"structure",required:["RuleArn"],members:{RuleArn:{},Conditions:{shape:"S1b"},Actions:{shape:"Sh"}}},output:{resultWrapper:"ModifyRuleResult",type:"structure",members:{Rules:{shape:"S1i"}}}},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:"S1u"}}},output:{resultWrapper:"ModifyTargetGroupResult",type:"structure",members:{TargetGroups:{shape:"S1x"}}}},ModifyTargetGroupAttributes:{input:{type:"structure",required:["TargetGroupArn","Attributes"],members:{TargetGroupArn:{},Attributes:{shape:"S3b"}}},output:{resultWrapper:"ModifyTargetGroupAttributesResult",type:"structure",members:{Attributes:{shape:"S3b"}}}},RegisterTargets:{input:{type:"structure",required:["TargetGroupArn","Targets"],members:{TargetGroupArn:{},Targets:{shape:"S29"}}},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:{}}},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:"S1i"}}}},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:"S17"}}}}},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:{}},Sx:{type:"list",member:{type:"structure",members:{LoadBalancerArn:{},DNSName:{},CanonicalHostedZoneId:{},CreatedTime:{type:"timestamp"},LoadBalancerName:{},Scheme:{},VpcId:{},State:{type:"structure",members:{Code:{},Reason:{}}},Type:{},AvailabilityZones:{shape:"S17"},SecurityGroups:{shape:"St"}}}},S17:{type:"list",member:{type:"structure",members:{ZoneName:{},SubnetId:{}}}},S1b:{type:"list",member:{type:"structure",members:{Field:{},Values:{type:"list",member:{}}}}},S1i:{type:"list",member:{type:"structure",members:{RuleArn:{},Priority:{},Conditions:{shape:"S1b"},Actions:{shape:"Sh"},IsDefault:{type:"boolean"}}}},S1u:{type:"structure",required:["HttpCode"],members:{HttpCode:{}}},S1x:{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:"S1u"},LoadBalancerArns:{shape:"S1z"}}}},S1z:{type:"list",member:{}},S29:{type:"list",member:{shape:"S2a"}},S2a:{type:"structure",required:["Id"],members:{Id:{},Port:{type:"integer"}}},S2k:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},S3b:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}}}}},{}],55:[function(e,t,r){t.exports={pagination:{DescribeTargetGroups:{input_token:"Marker",output_token:"NextMarker",result_key:"TargetGroups"},DescribeListeners:{input_token:"Marker",output_token:"NextMarker",result_key:"Listeners"},DescribeLoadBalancers:{input_token:"Marker",output_token:"NextMarker",result_key:"LoadBalancers"}}}},{}],56:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2009-03-31",endpointPrefix:"elasticmapreduce",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Amazon EMR",serviceFullName:"Amazon Elastic MapReduce",signatureVersion:"v4",targetPrefix:"ElasticMapReduce",timestampFormat:"unixTimestamp"},operations:{AddInstanceGroups:{input:{type:"structure",required:["InstanceGroups","JobFlowId"],members:{InstanceGroups:{shape:"S2"},JobFlowId:{}}},output:{type:"structure",members:{JobFlowId:{},InstanceGroupIds:{type:"list",member:{}}}}},AddJobFlowSteps:{input:{type:"structure",required:["JobFlowId","Steps"],members:{JobFlowId:{},Steps:{shape:"Sl"}}},output:{type:"structure",members:{StepIds:{type:"list",member:{}}}}},AddTags:{input:{type:"structure",required:["ResourceId","Tags"],members:{ResourceId:{},Tags:{shape:"Sx"}}},output:{type:"structure",members:{}}},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:"S19"},Ec2InstanceAttributes:{type:"structure",members:{Ec2KeyName:{},Ec2SubnetId:{},Ec2AvailabilityZone:{},IamInstanceProfile:{},EmrManagedMasterSecurityGroup:{},EmrManagedSlaveSecurityGroup:{},ServiceAccessSecurityGroup:{},AdditionalMasterSecurityGroups:{shape:"S1f"},AdditionalSlaveSecurityGroups:{shape:"S1f"}}},LogUri:{},RequestedAmiVersion:{},RunningAmiVersion:{},ReleaseLabel:{},AutoTerminate:{type:"boolean"},TerminationProtected:{type:"boolean"},VisibleToAllUsers:{type:"boolean"},Applications:{shape:"S1h"},Tags:{shape:"Sx"},ServiceRole:{},NormalizedInstanceHours:{type:"integer"},MasterPublicDnsName:{},Configurations:{shape:"S9"},SecurityConfiguration:{}}}}}},DescribeJobFlows:{input:{type:"structure",members:{CreatedAfter:{type:"timestamp"},CreatedBefore:{type:"timestamp"},JobFlowIds:{shape:"Ss"},JobFlowStates:{type:"list",member:{}}}},output:{type:"structure",members:{JobFlows:{type:"list",member:{type:"structure",required:["JobFlowId","Name","ExecutionStatusDetail","Instances"],members:{JobFlowId:{},Name:{},LogUri:{},AmiVersion:{},ExecutionStatusDetail:{type:"structure",required:["State","CreationDateTime"],members:{State:{},CreationDateTime:{type:"timestamp"},StartDateTime:{type:"timestamp"},ReadyDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"},LastStateChangeReason:{}}},Instances:{type:"structure",required:["MasterInstanceType","SlaveInstanceType","InstanceCount"],members:{MasterInstanceType:{},MasterPublicDnsName:{},MasterInstanceId:{},SlaveInstanceType:{},InstanceCount:{type:"integer"},InstanceGroups:{type:"list",member:{type:"structure",required:["Market","InstanceRole","InstanceType","InstanceRequestCount","InstanceRunningCount","State","CreationDateTime"],members:{InstanceGroupId:{},Name:{},Market:{},InstanceRole:{},BidPrice:{},InstanceType:{},InstanceRequestCount:{type:"integer"},InstanceRunningCount:{type:"integer"},State:{},LastStateChangeReason:{},CreationDateTime:{type:"timestamp"},StartDateTime:{type:"timestamp"},ReadyDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"}}}},NormalizedInstanceHours:{type:"integer"},Ec2KeyName:{},Ec2SubnetId:{},Placement:{shape:"S1u"},KeepJobFlowAliveWhenNoSteps:{type:"boolean"},TerminationProtected:{type:"boolean"},HadoopVersion:{}}},Steps:{type:"list",member:{type:"structure",required:["StepConfig","ExecutionStatusDetail"],members:{StepConfig:{shape:"Sm"},ExecutionStatusDetail:{type:"structure",required:["State","CreationDateTime"],members:{State:{},CreationDateTime:{type:"timestamp"},StartDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"},LastStateChangeReason:{}}}}}},BootstrapActions:{type:"list",member:{type:"structure",members:{BootstrapActionConfig:{shape:"S21"}}}},SupportedProducts:{shape:"S23"},VisibleToAllUsers:{type:"boolean"},JobFlowRole:{},ServiceRole:{}}}}}},deprecated:!0},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:"S2a"},ActionOnFailure:{},Status:{shape:"S2b"}}}}}},ListBootstrapActions:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{},Marker:{}}},output:{type:"structure",members:{BootstrapActions:{type:"list",member:{type:"structure",members:{Name:{},ScriptPath:{},Args:{shape:"S1f"}}}},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:"S19"},NormalizedInstanceHours:{type:"integer"}}}},Marker:{}}}},ListInstanceGroups:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{},Marker:{}}},output:{type:"structure",members:{InstanceGroups:{type:"list",member:{type:"structure",members:{Id:{},Name:{},Market:{},InstanceGroupType:{},BidPrice:{},InstanceType:{},RequestedInstanceCount:{type:"integer"},RunningInstanceCount:{type:"integer"},Status:{type:"structure",members:{State:{},StateChangeReason:{type:"structure",members:{Code:{},Message:{}}},Timeline:{type:"structure",members:{CreationDateTime:{type:"timestamp"},ReadyDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"}}}}},Configurations:{shape:"S9"},EbsBlockDevices:{type:"list",member:{type:"structure",members:{VolumeSpecification:{shape:"Sg"},Device:{}}}},EbsOptimized:{type:"boolean"},ShrinkPolicy:{shape:"S33"}}}},Marker:{}}}},ListInstances:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{},InstanceGroupId:{},InstanceGroupTypes:{type:"list",member:{}},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:{},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:"Ss"},Marker:{}}},output:{type:"structure",members:{Steps:{type:"list",member:{type:"structure",members:{Id:{},Name:{},Config:{shape:"S2a"},ActionOnFailure:{},Status:{shape:"S2b"}}}},Marker:{}}}},ModifyInstanceGroups:{input:{type:"structure",members:{InstanceGroups:{type:"list",member:{type:"structure",required:["InstanceGroupId"],members:{InstanceGroupId:{},InstanceCount:{type:"integer"},EC2InstanceIdsToTerminate:{type:"list",member:{}},ShrinkPolicy:{shape:"S33"}}}}}}},RemoveTags:{input:{type:"structure",required:["ResourceId","TagKeys"],members:{ResourceId:{},TagKeys:{shape:"S1f"}}},output:{type:"structure",members:{}}},RunJobFlow:{input:{type:"structure",required:["Name","Instances"],members:{Name:{},LogUri:{},AdditionalInfo:{},AmiVersion:{},ReleaseLabel:{},Instances:{type:"structure",members:{MasterInstanceType:{},SlaveInstanceType:{},InstanceCount:{type:"integer"},InstanceGroups:{shape:"S2"},Ec2KeyName:{},Placement:{shape:"S1u"},KeepJobFlowAliveWhenNoSteps:{type:"boolean"},TerminationProtected:{type:"boolean"},HadoopVersion:{},Ec2SubnetId:{},EmrManagedMasterSecurityGroup:{},EmrManagedSlaveSecurityGroup:{},ServiceAccessSecurityGroup:{},AdditionalMasterSecurityGroups:{shape:"S41"},AdditionalSlaveSecurityGroups:{shape:"S41"}}},Steps:{shape:"Sl"},BootstrapActions:{type:"list",member:{shape:"S21"}},SupportedProducts:{shape:"S23"},NewSupportedProducts:{type:"list",member:{type:"structure",members:{Name:{},Args:{shape:"Ss"}}}},Applications:{shape:"S1h"},Configurations:{shape:"S9"},VisibleToAllUsers:{type:"boolean"},JobFlowRole:{},ServiceRole:{},Tags:{shape:"Sx"},SecurityConfiguration:{}}},output:{type:"structure",members:{JobFlowId:{}}}},SetTerminationProtection:{input:{type:"structure",required:["JobFlowIds","TerminationProtected"],members:{JobFlowIds:{shape:"Ss"},TerminationProtected:{type:"boolean"}}}},SetVisibleToAllUsers:{input:{type:"structure",required:["JobFlowIds","VisibleToAllUsers"],members:{JobFlowIds:{shape:"Ss"},VisibleToAllUsers:{type:"boolean"}}}},TerminateJobFlows:{input:{type:"structure",required:["JobFlowIds"],members:{JobFlowIds:{shape:"Ss"}}}}},shapes:{S2:{type:"list",member:{type:"structure",required:["InstanceRole","InstanceType","InstanceCount"],members:{Name:{},Market:{},InstanceRole:{},BidPrice:{},InstanceType:{},InstanceCount:{type:"integer"},Configurations:{shape:"S9"},EbsConfiguration:{type:"structure",members:{EbsBlockDeviceConfigs:{type:"list",member:{type:"structure",required:["VolumeSpecification"],members:{VolumeSpecification:{shape:"Sg"},VolumesPerInstance:{type:"integer"}}}},EbsOptimized:{type:"boolean"}}}}}},S9:{type:"list",member:{type:"structure",members:{Classification:{},Configurations:{shape:"S9"},Properties:{shape:"Sc"}}}},Sc:{type:"map",key:{},value:{}},Sg:{type:"structure",required:["VolumeType","SizeInGB"],members:{VolumeType:{},Iops:{type:"integer"},SizeInGB:{type:"integer"}}},Sl:{type:"list",member:{shape:"Sm"}},Sm:{type:"structure",required:["Name","HadoopJarStep"],members:{Name:{},ActionOnFailure:{},HadoopJarStep:{type:"structure",required:["Jar"],members:{Properties:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},Jar:{},MainClass:{},Args:{shape:"Ss"}}}}},Ss:{type:"list",member:{}},Sx:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},S19:{type:"structure",members:{State:{},StateChangeReason:{type:"structure",members:{Code:{},Message:{}}},Timeline:{type:"structure",members:{CreationDateTime:{type:"timestamp"},ReadyDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"}}}}},S1f:{type:"list",member:{}},S1h:{type:"list",member:{type:"structure",members:{Name:{},Version:{},Args:{shape:"S1f"},AdditionalInfo:{shape:"Sc"}}}},S1u:{type:"structure",required:["AvailabilityZone"],members:{AvailabilityZone:{}}},S21:{type:"structure",required:["Name","ScriptBootstrapAction"],members:{Name:{},ScriptBootstrapAction:{type:"structure",required:["Path"],members:{Path:{},Args:{shape:"Ss"}}}}},S23:{type:"list",member:{}},S2a:{type:"structure",members:{Jar:{},Properties:{shape:"Sc"},MainClass:{},Args:{shape:"S1f"}}},S2b:{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"}}}}},S33:{type:"structure",members:{DecommissionTimeout:{type:"integer"},InstanceResizePolicy:{type:"structure",members:{InstancesToTerminate:{shape:"S35"},InstancesToProtect:{shape:"S35"},InstanceTerminationTimeout:{type:"integer"}}}}},S35:{type:"list",member:{}},S41:{type:"list",member:{}}}}},{}],57:[function(e,t,r){t.exports={pagination:{DescribeJobFlows:{result_key:"JobFlows"},ListBootstrapActions:{input_token:"Marker",output_token:"Marker",result_key:"BootstrapActions"},ListClusters:{input_token:"Marker",output_token:"Marker",result_key:"Clusters"},ListInstanceGroups:{input_token:"Marker",output_token:"Marker",result_key:"InstanceGroups"},ListInstances:{input_token:"Marker",output_token:"Marker",result_key:"Instances"},ListSteps:{input_token:"Marker",output_token:"Marker",result_key:"Steps"}}}},{}],58:[function(e,t,r){t.exports={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"}]}}}},{}],59:[function(e,t,r){t.exports={version:"2.0",metadata:{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","Input"],members:{PipelineId:{},Input:{shape:"S5"},Output:{shape:"Sk"},Outputs:{type:"list",member:{shape:"Sk"}},OutputKeyPrefix:{},Playlists:{type:"list",member:{type:"structure",members:{Name:{},Format:{},OutputKeys:{shape:"S1j"},HlsContentProtection:{shape:"S1k"},PlayReadyDrm:{shape:"S1o"}}}},UserMetadata:{shape:"S1t"}}},output:{type:"structure",members:{Job:{shape:"S1w"}}}},CreatePipeline:{http:{requestUri:"/2012-09-25/pipelines",responseCode:201},input:{type:"structure",required:["Name","InputBucket","Role"],members:{Name:{},InputBucket:{},OutputBucket:{},Role:{},AwsKmsKeyArn:{},Notifications:{shape:"S28"},ContentConfig:{shape:"S2a"},ThumbnailConfig:{shape:"S2a"}}},output:{type:"structure",members:{Pipeline:{shape:"S2j"},Warnings:{shape:"S2l"}}}},CreatePreset:{http:{requestUri:"/2012-09-25/presets",responseCode:201},input:{type:"structure",required:["Name","Container"],members:{Name:{},Description:{},Container:{},Video:{shape:"S2p"},Audio:{shape:"S35"},Thumbnails:{shape:"S3g"}}},output:{type:"structure",members:{Preset:{shape:"S3k"},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:"S3t"},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:"S3t"},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:"S2j"}},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:"S3k"}},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:"S1w"}}}},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:"S2j"},Warnings:{shape:"S2l"}}}},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:"S3k"}}}},TestRole:{http:{requestUri:"/2012-09-25/roleTests",responseCode:200},input:{type:"structure",required:["Role","InputBucket","OutputBucket","Topics"],members:{Role:{},InputBucket:{},OutputBucket:{},Topics:{type:"list",member:{}}}},output:{type:"structure",members:{Success:{},Messages:{type:"list",member:{}}}}},UpdatePipeline:{http:{method:"PUT",requestUri:"/2012-09-25/pipelines/{Id}",responseCode:200},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"},Name:{},InputBucket:{},Role:{},AwsKmsKeyArn:{},Notifications:{shape:"S28"},ContentConfig:{shape:"S2a"},ThumbnailConfig:{shape:"S2a"}}},output:{type:"structure",members:{Pipeline:{shape:"S2j"},Warnings:{shape:"S2l"}}}},UpdatePipelineNotifications:{http:{requestUri:"/2012-09-25/pipelines/{Id}/notifications"},input:{type:"structure",required:["Id","Notifications"],members:{Id:{location:"uri",locationName:"Id"},Notifications:{shape:"S28"}}},output:{type:"structure",members:{Pipeline:{shape:"S2j"}}}},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:"S2j"}}}}},shapes:{S5:{type:"structure",members:{Key:{},FrameRate:{},Resolution:{},AspectRatio:{},Interlaced:{},Container:{},Encryption:{shape:"Sc"},DetectedProperties:{type:"structure",members:{Width:{type:"integer"},Height:{type:"integer"},FrameRate:{},FileSize:{type:"long"},DurationMillis:{type:"long"}}}}},Sc:{type:"structure",members:{Mode:{},Key:{},KeyMd5:{},InitializationVector:{}}},Sk:{type:"structure",members:{Key:{},ThumbnailPattern:{},ThumbnailEncryption:{shape:"Sc"},Rotate:{},PresetId:{},SegmentDuration:{},Watermarks:{shape:"So"},AlbumArt:{shape:"Ss"},Composition:{shape:"S10"},Captions:{shape:"S14"},Encryption:{shape:"Sc"}}},So:{type:"list",member:{type:"structure",members:{PresetWatermarkId:{},InputKey:{},Encryption:{shape:"Sc"}}}},Ss:{type:"structure",members:{MergePolicy:{},Artwork:{type:"list",member:{type:"structure",members:{InputKey:{},MaxWidth:{},MaxHeight:{},SizingPolicy:{},PaddingPolicy:{},AlbumArtFormat:{},Encryption:{shape:"Sc"}}}}}},S10:{type:"list",member:{type:"structure",members:{TimeSpan:{type:"structure",members:{StartTime:{},Duration:{}}}}}},S14:{type:"structure",members:{MergePolicy:{},CaptionSources:{type:"list",member:{type:"structure",members:{Key:{},Language:{},TimeOffset:{},Label:{},Encryption:{shape:"Sc"}}}},CaptionFormats:{type:"list",member:{type:"structure",members:{Format:{},Pattern:{},Encryption:{shape:"Sc"}}}}}},S1j:{type:"list",member:{}},S1k:{type:"structure",members:{Method:{},Key:{},KeyMd5:{},InitializationVector:{},LicenseAcquisitionUrl:{},KeyStoragePolicy:{}}},S1o:{type:"structure",members:{Format:{},Key:{},KeyMd5:{},KeyId:{},InitializationVector:{},LicenseAcquisitionUrl:{}}},S1t:{type:"map",key:{},value:{}},S1w:{type:"structure",members:{Id:{},Arn:{},PipelineId:{},Input:{shape:"S5"},Output:{shape:"S1x"},Outputs:{type:"list",member:{shape:"S1x"}},OutputKeyPrefix:{},Playlists:{type:"list",member:{type:"structure",members:{Name:{},Format:{},OutputKeys:{shape:"S1j"},HlsContentProtection:{shape:"S1k"},PlayReadyDrm:{shape:"S1o"},Status:{},StatusDetail:{}}}},Status:{},UserMetadata:{shape:"S1t"},Timing:{type:"structure",members:{SubmitTimeMillis:{type:"long"},StartTimeMillis:{type:"long"},FinishTimeMillis:{type:"long"}}}}},S1x:{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:"So"},AlbumArt:{shape:"Ss"},Composition:{shape:"S10"},Captions:{shape:"S14"},Encryption:{shape:"Sc"},AppliedColorSpaceConversion:{}}},S28:{type:"structure",members:{Progressing:{},Completed:{},Warning:{},Error:{}}},S2a:{type:"structure",members:{Bucket:{},StorageClass:{},Permissions:{type:"list",member:{type:"structure",members:{GranteeType:{},Grantee:{},Access:{type:"list",member:{}}}}}}},S2j:{type:"structure",members:{Id:{},Arn:{},Name:{},Status:{},InputBucket:{},OutputBucket:{},Role:{},AwsKmsKeyArn:{},Notifications:{shape:"S28"},ContentConfig:{shape:"S2a"},ThumbnailConfig:{shape:"S2a"}}},S2l:{type:"list",member:{type:"structure",members:{Code:{},Message:{}}}},S2p:{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:{}}}}}},S35:{type:"structure",members:{Codec:{},SampleRate:{},BitRate:{},Channels:{},AudioPackingMode:{},CodecOptions:{type:"structure",members:{Profile:{},BitDepth:{},BitOrder:{},Signed:{}}}}},S3g:{type:"structure",members:{Format:{},Interval:{},Resolution:{},AspectRatio:{},MaxWidth:{},MaxHeight:{},SizingPolicy:{},PaddingPolicy:{}}},S3k:{type:"structure",members:{Id:{},Arn:{},Name:{},Description:{},Container:{},Audio:{shape:"S35"},Video:{shape:"S2p"},Thumbnails:{shape:"S3g"},Type:{}}},S3t:{type:"list",member:{shape:"S1w"}}}}},{}],60:[function(e,t,r){t.exports={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"}}}},{}],61:[function(e,t,r){t.exports={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"}]}}}},{}],62:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2010-12-01",endpointPrefix:"email",protocol:"query",serviceAbbreviation:"Amazon SES",serviceFullName:"Amazon Simple Email Service",signatureVersion:"v4",signingName:"ses",xmlNamespace:"http://ses.amazonaws.com/doc/2010-12-01/"},operations:{CloneReceiptRuleSet:{input:{type:"structure",required:["RuleSetName","OriginalRuleSetName"],members:{RuleSetName:{},OriginalRuleSetName:{}}},output:{resultWrapper:"CloneReceiptRuleSetResult",type:"structure",members:{}}},CreateReceiptFilter:{input:{type:"structure",required:["Filter"],members:{Filter:{shape:"S5"}}},output:{resultWrapper:"CreateReceiptFilterResult",type:"structure",members:{}}},CreateReceiptRule:{input:{type:"structure",required:["RuleSetName","Rule"],members:{RuleSetName:{},After:{},Rule:{shape:"Sd"}}},output:{resultWrapper:"CreateReceiptRuleResult",type:"structure",members:{}}},CreateReceiptRuleSet:{input:{type:"structure",required:["RuleSetName"],members:{RuleSetName:{}}},output:{resultWrapper:"CreateReceiptRuleSetResult",type:"structure",members:{}}},DeleteIdentity:{input:{type:"structure",required:["Identity"],members:{Identity:{}}},output:{resultWrapper:"DeleteIdentityResult",type:"structure",members:{}}},DeleteIdentityPolicy:{input:{type:"structure",required:["Identity","PolicyName"],members:{Identity:{},PolicyName:{}}},output:{resultWrapper:"DeleteIdentityPolicyResult",type:"structure", -members:{}}},DeleteReceiptFilter:{input:{type:"structure",required:["FilterName"],members:{FilterName:{}}},output:{resultWrapper:"DeleteReceiptFilterResult",type:"structure",members:{}}},DeleteReceiptRule:{input:{type:"structure",required:["RuleSetName","RuleName"],members:{RuleSetName:{},RuleName:{}}},output:{resultWrapper:"DeleteReceiptRuleResult",type:"structure",members:{}}},DeleteReceiptRuleSet:{input:{type:"structure",required:["RuleSetName"],members:{RuleSetName:{}}},output:{resultWrapper:"DeleteReceiptRuleSetResult",type:"structure",members:{}}},DeleteVerifiedEmailAddress:{input:{type:"structure",required:["EmailAddress"],members:{EmailAddress:{}}}},DescribeActiveReceiptRuleSet:{input:{type:"structure",members:{}},output:{resultWrapper:"DescribeActiveReceiptRuleSetResult",type:"structure",members:{Metadata:{shape:"S1l"},Rules:{shape:"S1n"}}}},DescribeReceiptRule:{input:{type:"structure",required:["RuleSetName","RuleName"],members:{RuleSetName:{},RuleName:{}}},output:{resultWrapper:"DescribeReceiptRuleResult",type:"structure",members:{Rule:{shape:"Sd"}}}},DescribeReceiptRuleSet:{input:{type:"structure",required:["RuleSetName"],members:{RuleSetName:{}}},output:{resultWrapper:"DescribeReceiptRuleSetResult",type:"structure",members:{Metadata:{shape:"S1l"},Rules:{shape:"S1n"}}}},GetIdentityDkimAttributes:{input:{type:"structure",required:["Identities"],members:{Identities:{shape:"S1t"}}},output:{resultWrapper:"GetIdentityDkimAttributesResult",type:"structure",required:["DkimAttributes"],members:{DkimAttributes:{type:"map",key:{},value:{type:"structure",required:["DkimEnabled","DkimVerificationStatus"],members:{DkimEnabled:{type:"boolean"},DkimVerificationStatus:{},DkimTokens:{shape:"S1y"}}}}}}},GetIdentityMailFromDomainAttributes:{input:{type:"structure",required:["Identities"],members:{Identities:{shape:"S1t"}}},output:{resultWrapper:"GetIdentityMailFromDomainAttributesResult",type:"structure",required:["MailFromDomainAttributes"],members:{MailFromDomainAttributes:{type:"map",key:{},value:{type:"structure",required:["MailFromDomain","MailFromDomainStatus","BehaviorOnMXFailure"],members:{MailFromDomain:{},MailFromDomainStatus:{},BehaviorOnMXFailure:{}}}}}}},GetIdentityNotificationAttributes:{input:{type:"structure",required:["Identities"],members:{Identities:{shape:"S1t"}}},output:{resultWrapper:"GetIdentityNotificationAttributesResult",type:"structure",required:["NotificationAttributes"],members:{NotificationAttributes:{type:"map",key:{},value:{type:"structure",required:["BounceTopic","ComplaintTopic","DeliveryTopic","ForwardingEnabled"],members:{BounceTopic:{},ComplaintTopic:{},DeliveryTopic:{},ForwardingEnabled:{type:"boolean"},HeadersInBounceNotificationsEnabled:{type:"boolean"},HeadersInComplaintNotificationsEnabled:{type:"boolean"},HeadersInDeliveryNotificationsEnabled:{type:"boolean"}}}}}}},GetIdentityPolicies:{input:{type:"structure",required:["Identity","PolicyNames"],members:{Identity:{},PolicyNames:{shape:"S2d"}}},output:{resultWrapper:"GetIdentityPoliciesResult",type:"structure",required:["Policies"],members:{Policies:{type:"map",key:{},value:{}}}}},GetIdentityVerificationAttributes:{input:{type:"structure",required:["Identities"],members:{Identities:{shape:"S1t"}}},output:{resultWrapper:"GetIdentityVerificationAttributesResult",type:"structure",required:["VerificationAttributes"],members:{VerificationAttributes:{type:"map",key:{},value:{type:"structure",required:["VerificationStatus"],members:{VerificationStatus:{},VerificationToken:{}}}}}}},GetSendQuota:{output:{resultWrapper:"GetSendQuotaResult",type:"structure",members:{Max24HourSend:{type:"double"},MaxSendRate:{type:"double"},SentLast24Hours:{type:"double"}}}},GetSendStatistics:{output:{resultWrapper:"GetSendStatisticsResult",type:"structure",members:{SendDataPoints:{type:"list",member:{type:"structure",members:{Timestamp:{type:"timestamp"},DeliveryAttempts:{type:"long"},Bounces:{type:"long"},Complaints:{type:"long"},Rejects:{type:"long"}}}}}}},ListIdentities:{input:{type:"structure",members:{IdentityType:{},NextToken:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListIdentitiesResult",type:"structure",required:["Identities"],members:{Identities:{shape:"S1t"},NextToken:{}}}},ListIdentityPolicies:{input:{type:"structure",required:["Identity"],members:{Identity:{}}},output:{resultWrapper:"ListIdentityPoliciesResult",type:"structure",required:["PolicyNames"],members:{PolicyNames:{shape:"S2d"}}}},ListReceiptFilters:{input:{type:"structure",members:{}},output:{resultWrapper:"ListReceiptFiltersResult",type:"structure",members:{Filters:{type:"list",member:{shape:"S5"}}}}},ListReceiptRuleSets:{input:{type:"structure",members:{NextToken:{}}},output:{resultWrapper:"ListReceiptRuleSetsResult",type:"structure",members:{RuleSets:{type:"list",member:{shape:"S1l"}},NextToken:{}}}},ListVerifiedEmailAddresses:{output:{resultWrapper:"ListVerifiedEmailAddressesResult",type:"structure",members:{VerifiedEmailAddresses:{shape:"S37"}}}},PutIdentityPolicy:{input:{type:"structure",required:["Identity","PolicyName","Policy"],members:{Identity:{},PolicyName:{},Policy:{}}},output:{resultWrapper:"PutIdentityPolicyResult",type:"structure",members:{}}},ReorderReceiptRuleSet:{input:{type:"structure",required:["RuleSetName","RuleNames"],members:{RuleSetName:{},RuleNames:{type:"list",member:{}}}},output:{resultWrapper:"ReorderReceiptRuleSetResult",type:"structure",members:{}}},SendBounce:{input:{type:"structure",required:["OriginalMessageId","BounceSender","BouncedRecipientInfoList"],members:{OriginalMessageId:{},BounceSender:{},Explanation:{},MessageDsn:{type:"structure",required:["ReportingMta"],members:{ReportingMta:{},ArrivalDate:{type:"timestamp"},ExtensionFields:{shape:"S3j"}}},BouncedRecipientInfoList:{type:"list",member:{type:"structure",required:["Recipient"],members:{Recipient:{},RecipientArn:{},BounceType:{},RecipientDsnFields:{type:"structure",required:["Action","Status"],members:{FinalRecipient:{},Action:{},RemoteMta:{},Status:{},DiagnosticCode:{},LastAttemptDate:{type:"timestamp"},ExtensionFields:{shape:"S3j"}}}}}},BounceSenderArn:{}}},output:{resultWrapper:"SendBounceResult",type:"structure",members:{MessageId:{}}}},SendEmail:{input:{type:"structure",required:["Source","Destination","Message"],members:{Source:{},Destination:{type:"structure",members:{ToAddresses:{shape:"S37"},CcAddresses:{shape:"S37"},BccAddresses:{shape:"S37"}}},Message:{type:"structure",required:["Subject","Body"],members:{Subject:{shape:"S40"},Body:{type:"structure",members:{Text:{shape:"S40"},Html:{shape:"S40"}}}}},ReplyToAddresses:{shape:"S37"},ReturnPath:{},SourceArn:{},ReturnPathArn:{}}},output:{resultWrapper:"SendEmailResult",type:"structure",required:["MessageId"],members:{MessageId:{}}}},SendRawEmail:{input:{type:"structure",required:["RawMessage"],members:{Source:{},Destinations:{shape:"S37"},RawMessage:{type:"structure",required:["Data"],members:{Data:{type:"blob"}}},FromArn:{},SourceArn:{},ReturnPathArn:{}}},output:{resultWrapper:"SendRawEmailResult",type:"structure",required:["MessageId"],members:{MessageId:{}}}},SetActiveReceiptRuleSet:{input:{type:"structure",members:{RuleSetName:{}}},output:{resultWrapper:"SetActiveReceiptRuleSetResult",type:"structure",members:{}}},SetIdentityDkimEnabled:{input:{type:"structure",required:["Identity","DkimEnabled"],members:{Identity:{},DkimEnabled:{type:"boolean"}}},output:{resultWrapper:"SetIdentityDkimEnabledResult",type:"structure",members:{}}},SetIdentityFeedbackForwardingEnabled:{input:{type:"structure",required:["Identity","ForwardingEnabled"],members:{Identity:{},ForwardingEnabled:{type:"boolean"}}},output:{resultWrapper:"SetIdentityFeedbackForwardingEnabledResult",type:"structure",members:{}}},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:{}}},UpdateReceiptRule:{input:{type:"structure",required:["RuleSetName","Rule"],members:{RuleSetName:{},Rule:{shape:"Sd"}}},output:{resultWrapper:"UpdateReceiptRuleResult",type:"structure",members:{}}},VerifyDomainDkim:{input:{type:"structure",required:["Domain"],members:{Domain:{}}},output:{resultWrapper:"VerifyDomainDkimResult",type:"structure",required:["DkimTokens"],members:{DkimTokens:{shape:"S1y"}}}},VerifyDomainIdentity:{input:{type:"structure",required:["Domain"],members:{Domain:{}}},output:{resultWrapper:"VerifyDomainIdentityResult",type:"structure",required:["VerificationToken"],members:{VerificationToken:{}}}},VerifyEmailAddress:{input:{type:"structure",required:["EmailAddress"],members:{EmailAddress:{}}}},VerifyEmailIdentity:{input:{type:"structure",required:["EmailAddress"],members:{EmailAddress:{}}},output:{resultWrapper:"VerifyEmailIdentityResult",type:"structure",members:{}}}},shapes:{S5:{type:"structure",required:["Name","IpFilter"],members:{Name:{},IpFilter:{type:"structure",required:["Policy","Cidr"],members:{Policy:{},Cidr:{}}}}},Sd:{type:"structure",required:["Name"],members:{Name:{},Enabled:{type:"boolean"},TlsPolicy:{},Recipients:{type:"list",member:{}},Actions:{type:"list",member:{type:"structure",members:{S3Action:{type:"structure",required:["BucketName"],members:{TopicArn:{},BucketName:{},ObjectKeyPrefix:{},KmsKeyArn:{}}},BounceAction:{type:"structure",required:["SmtpReplyCode","Message","Sender"],members:{TopicArn:{},SmtpReplyCode:{},StatusCode:{},Message:{},Sender:{}}},WorkmailAction:{type:"structure",required:["OrganizationArn"],members:{TopicArn:{},OrganizationArn:{}}},LambdaAction:{type:"structure",required:["FunctionArn"],members:{TopicArn:{},FunctionArn:{},InvocationType:{}}},StopAction:{type:"structure",required:["Scope"],members:{Scope:{},TopicArn:{}}},AddHeaderAction:{type:"structure",required:["HeaderName","HeaderValue"],members:{HeaderName:{},HeaderValue:{}}},SNSAction:{type:"structure",required:["TopicArn"],members:{TopicArn:{},Encoding:{}}}}}},ScanEnabled:{type:"boolean"}}},S1l:{type:"structure",members:{Name:{},CreatedTimestamp:{type:"timestamp"}}},S1n:{type:"list",member:{shape:"Sd"}},S1t:{type:"list",member:{}},S1y:{type:"list",member:{}},S2d:{type:"list",member:{}},S37:{type:"list",member:{}},S3j:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{}}}},S40:{type:"structure",required:["Data"],members:{Data:{},Charset:{}}}}}},{}],63:[function(e,t,r){t.exports={pagination:{ListIdentities:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxItems",result_key:"Identities"},ListVerifiedEmailAddresses:{result_key:"VerifiedEmailAddresses"}}}},{}],64:[function(e,t,r){t.exports={version:2,waiters:{IdentityExists:{delay:3,operation:"GetIdentityVerificationAttributes",maxAttempts:20,acceptors:[{expected:"Success",matcher:"pathAll",state:"success",argument:"VerificationAttributes.*.VerificationStatus"}]}}}},{}],65:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-10-07",endpointPrefix:"events",jsonVersion:"1.1",serviceFullName:"Amazon CloudWatch Events",signatureVersion:"v4",targetPrefix:"AWSEvents",protocol:"json"},operations:{DeleteRule:{input:{type:"structure",required:["Name"],members:{Name:{}}}},DescribeRule:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{Name:{},Arn:{},EventPattern:{},ScheduleExpression:{},State:{},Description:{},RoleArn:{}}}},DisableRule:{input:{type:"structure",required:["Name"],members:{Name:{}}}},EnableRule:{input:{type:"structure",required:["Name"],members:{Name:{}}}},ListRuleNamesByTarget:{input:{type:"structure",required:["TargetArn"],members:{TargetArn:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{RuleNames:{type:"list",member:{}},NextToken:{}}}},ListRules:{input:{type:"structure",members:{NamePrefix:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Rules:{type:"list",member:{type:"structure",members:{Name:{},Arn:{},EventPattern:{},State:{},Description:{},ScheduleExpression:{},RoleArn:{}}}},NextToken:{}}}},ListTargetsByRule:{input:{type:"structure",required:["Rule"],members:{Rule:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Targets:{shape:"Sp"},NextToken:{}}}},PutEvents:{input:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",members:{Time:{type:"timestamp"},Source:{},Resources:{type:"list",member:{}},DetailType:{},Detail:{}}}}}},output:{type:"structure",members:{FailedEntryCount:{type:"integer"},Entries:{type:"list",member:{type:"structure",members:{EventId:{},ErrorCode:{},ErrorMessage:{}}}}}}},PutRule:{input:{type:"structure",required:["Name"],members:{Name:{},ScheduleExpression:{},EventPattern:{},State:{},Description:{},RoleArn:{}}},output:{type:"structure",members:{RuleArn:{}}}},PutTargets:{input:{type:"structure",required:["Rule","Targets"],members:{Rule:{},Targets:{shape:"Sp"}}},output:{type:"structure",members:{FailedEntryCount:{type:"integer"},FailedEntries:{type:"list",member:{type:"structure",members:{TargetId:{},ErrorCode:{},ErrorMessage:{}}}}}}},RemoveTargets:{input:{type:"structure",required:["Rule","Ids"],members:{Rule:{},Ids:{type:"list",member:{}}}},output:{type:"structure",members:{FailedEntryCount:{type:"integer"},FailedEntries:{type:"list",member:{type:"structure",members:{TargetId:{},ErrorCode:{},ErrorMessage:{}}}}}}},TestEventPattern:{input:{type:"structure",required:["EventPattern","Event"],members:{EventPattern:{},Event:{}}},output:{type:"structure",members:{Result:{type:"boolean"}}}}},shapes:{Sp:{type:"list",member:{type:"structure",required:["Id","Arn"],members:{Id:{},Arn:{},Input:{},InputPath:{}}}}},examples:{}}},{}],66:[function(e,t,r){t.exports={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"},operations:{CreateDeliveryStream:{input:{type:"structure",required:["DeliveryStreamName"],members:{DeliveryStreamName:{},S3DestinationConfiguration:{shape:"S3"},RedshiftDestinationConfiguration:{type:"structure",required:["RoleARN","ClusterJDBCURL","CopyCommand","Username","Password","S3Configuration"],members:{RoleARN:{},ClusterJDBCURL:{},CopyCommand:{shape:"Sl"},Username:{shape:"Sp"},Password:{shape:"Sq"},RetryOptions:{shape:"Sr"},S3Configuration:{shape:"S3"},CloudWatchLoggingOptions:{shape:"Sf"}}},ElasticsearchDestinationConfiguration:{type:"structure",required:["RoleARN","DomainARN","IndexName","TypeName","S3Configuration"],members:{RoleARN:{},DomainARN:{},IndexName:{},TypeName:{},IndexRotationPeriod:{},BufferingHints:{shape:"Sy"},RetryOptions:{shape:"S11"},S3BackupMode:{},S3Configuration:{shape:"S3"},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:"S1i"},RedshiftDestinationDescription:{type:"structure",required:["RoleARN","ClusterJDBCURL","CopyCommand","Username","S3DestinationDescription"],members:{RoleARN:{},ClusterJDBCURL:{},CopyCommand:{shape:"Sl"},Username:{shape:"Sp"},RetryOptions:{shape:"Sr"},S3DestinationDescription:{shape:"S1i"},CloudWatchLoggingOptions:{shape:"Sf"}}},ElasticsearchDestinationDescription:{type:"structure",members:{RoleARN:{},DomainARN:{},IndexName:{},TypeName:{},IndexRotationPeriod:{},BufferingHints:{shape:"Sy"},RetryOptions:{shape:"S11"},S3BackupMode:{},S3DestinationDescription:{shape:"S1i"},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:"S1q"}}},output:{type:"structure",required:["RecordId"],members:{RecordId:{}}}},PutRecordBatch:{input:{type:"structure",required:["DeliveryStreamName","Records"],members:{DeliveryStreamName:{},Records:{type:"list",member:{shape:"S1q"}}}},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:"S23"},RedshiftDestinationUpdate:{type:"structure",members:{RoleARN:{},ClusterJDBCURL:{},CopyCommand:{shape:"Sl"},Username:{shape:"Sp"},Password:{shape:"Sq"},RetryOptions:{shape:"Sr"},S3Update:{shape:"S23"},CloudWatchLoggingOptions:{shape:"Sf"}}},ElasticsearchDestinationUpdate:{type:"structure",members:{RoleARN:{},DomainARN:{},IndexName:{},TypeName:{},IndexRotationPeriod:{},BufferingHints:{shape:"Sy"},RetryOptions:{shape:"S11"},S3Update:{shape:"S23"},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:{}}},Sl:{type:"structure",required:["DataTableName"],members:{DataTableName:{},DataTableColumns:{},CopyOptions:{}}},Sp:{type:"string",sensitive:!0},Sq:{type:"string",sensitive:!0},Sr:{type:"structure",members:{DurationInSeconds:{type:"integer"}}},Sy:{type:"structure",members:{IntervalInSeconds:{type:"integer"},SizeInMBs:{type:"integer"}}},S11:{type:"structure",members:{DurationInSeconds:{type:"integer"}}},S1i:{type:"structure",required:["RoleARN","BucketARN","BufferingHints","CompressionFormat","EncryptionConfiguration"],members:{RoleARN:{},BucketARN:{},Prefix:{},BufferingHints:{shape:"S7"},CompressionFormat:{},EncryptionConfiguration:{shape:"Sb"},CloudWatchLoggingOptions:{shape:"Sf"}}},S1q:{type:"structure",required:["Data"],members:{Data:{type:"blob"}}},S23:{type:"structure",members:{RoleARN:{},BucketARN:{},Prefix:{},BufferingHints:{shape:"S7"},CompressionFormat:{},EncryptionConfiguration:{shape:"Sb"},CloudWatchLoggingOptions:{shape:"Sf"}}}}}},{}],67:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-10-01",endpointPrefix:"gamelift",jsonVersion:"1.1",serviceFullName:"Amazon GameLift",signatureVersion:"v4",targetPrefix:"GameLift",protocol:"json"},operations:{CreateAlias:{input:{type:"structure",required:["Name","RoutingStrategy"],members:{Name:{},Description:{},RoutingStrategy:{shape:"S3"}}},output:{type:"structure",members:{Alias:{shape:"S8"}}}},CreateBuild:{input:{type:"structure",members:{Name:{},Version:{},StorageLocation:{shape:"Sc"},OperatingSystem:{}}},output:{type:"structure",members:{Build:{shape:"Sg"},UploadCredentials:{shape:"Sk"},StorageLocation:{shape:"Sc"}}}},CreateFleet:{input:{type:"structure",required:["Name","BuildId","EC2InstanceType"],members:{Name:{},Description:{},BuildId:{},ServerLaunchPath:{},ServerLaunchParameters:{},LogPaths:{shape:"Sm"},EC2InstanceType:{},EC2InboundPermissions:{shape:"So"},NewGameSessionProtectionPolicy:{},RuntimeConfiguration:{shape:"Su"}}},output:{type:"structure",members:{FleetAttributes:{shape:"Sz"}}}},CreateGameSession:{input:{type:"structure",required:["MaximumPlayerSessionCount"],members:{FleetId:{},AliasId:{},MaximumPlayerSessionCount:{type:"integer"},Name:{},GameProperties:{shape:"S13"}}},output:{type:"structure",members:{GameSession:{shape:"S18"}}}},CreatePlayerSession:{input:{type:"structure",required:["GameSessionId","PlayerId"],members:{GameSessionId:{},PlayerId:{}}},output:{type:"structure",members:{PlayerSession:{shape:"S1f"}}}},CreatePlayerSessions:{input:{type:"structure",required:["GameSessionId","PlayerIds"],members:{GameSessionId:{},PlayerIds:{type:"list",member:{}}}},output:{type:"structure",members:{PlayerSessions:{shape:"S1l"}}}},DeleteAlias:{input:{type:"structure",required:["AliasId"],members:{AliasId:{}}}},DeleteBuild:{input:{type:"structure",required:["BuildId"],members:{BuildId:{}}}},DeleteFleet:{input:{type:"structure",required:["FleetId"],members:{FleetId:{}}}},DeleteScalingPolicy:{input:{type:"structure",required:["Name","FleetId"],members:{Name:{},FleetId:{}}}},DescribeAlias:{input:{type:"structure",required:["AliasId"],members:{AliasId:{}}},output:{type:"structure",members:{Alias:{shape:"S8"}}}},DescribeBuild:{input:{type:"structure",required:["BuildId"],members:{BuildId:{}}},output:{type:"structure",members:{Build:{shape:"Sg"}}}},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:"S1z"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{FleetAttributes:{type:"list",member:{shape:"Sz"}},NextToken:{}}}},DescribeFleetCapacity:{input:{type:"structure",members:{FleetIds:{shape:"S1z"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{FleetCapacity:{type:"list",member:{type:"structure",members:{FleetId:{},InstanceType:{},InstanceCounts:{type:"structure",members:{DESIRED:{type:"integer"},MINIMUM:{type:"integer"},MAXIMUM:{type:"integer"},PENDING:{type:"integer"},ACTIVE:{type:"integer"},IDLE:{type:"integer"},TERMINATING:{type:"integer"}}}}}},NextToken:{}}}},DescribeFleetEvents:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Events:{type:"list",member:{type:"structure",members:{EventId:{},ResourceId:{},EventCode:{},Message:{},EventTime:{type:"timestamp"}}}},NextToken:{}}}},DescribeFleetPortSettings:{input:{type:"structure",required:["FleetId"],members:{FleetId:{}}},output:{type:"structure",members:{InboundPermissions:{shape:"So"}}}},DescribeFleetUtilization:{input:{type:"structure",members:{FleetIds:{shape:"S1z"},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:"S18"},ProtectionPolicy:{}}}},NextToken:{}}}},DescribeGameSessions:{input:{type:"structure",members:{FleetId:{},GameSessionId:{},AliasId:{},StatusFilter:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{GameSessions:{shape:"S2o"},NextToken:{}}}},DescribePlayerSessions:{input:{type:"structure",members:{GameSessionId:{},PlayerId:{},PlayerSessionId:{},PlayerSessionStatusFilter:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{PlayerSessions:{shape:"S1l"},NextToken:{}}}},DescribeRuntimeConfiguration:{input:{type:"structure",required:["FleetId"],members:{FleetId:{}}},output:{type:"structure",members:{RuntimeConfiguration:{shape:"Su"}}}},DescribeScalingPolicies:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},StatusFilter:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{ScalingPolicies:{type:"list",member:{type:"structure",members:{FleetId:{},Name:{},Status:{},ScalingAdjustment:{type:"integer"},ScalingAdjustmentType:{},ComparisonOperator:{},Threshold:{type:"double"},EvaluationPeriods:{type:"integer"},MetricName:{}}}},NextToken:{}}}},GetGameSessionLogUrl:{input:{type:"structure",required:["GameSessionId"],members:{GameSessionId:{}}},output:{type:"structure",members:{PreSignedUrl:{}}}},ListAliases:{input:{type:"structure",members:{RoutingStrategyType:{},Name:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Aliases:{type:"list",member:{shape:"S8"}},NextToken:{}}}},ListBuilds:{input:{type:"structure",members:{Status:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Builds:{type:"list",member:{shape:"Sg"}},NextToken:{}}}},ListFleets:{input:{type:"structure",members:{BuildId:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{FleetIds:{shape:"S1z"},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:"Sk"},StorageLocation:{shape:"Sc"}}}},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:"S2o"},NextToken:{}}}},UpdateAlias:{input:{type:"structure",required:["AliasId"],members:{AliasId:{},Name:{},Description:{},RoutingStrategy:{shape:"S3"}}},output:{type:"structure",members:{Alias:{shape:"S8"}}}},UpdateBuild:{input:{type:"structure",required:["BuildId"],members:{BuildId:{},Name:{},Version:{}}},output:{type:"structure",members:{Build:{shape:"Sg"}}}},UpdateFleetAttributes:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},Name:{},Description:{},NewGameSessionProtectionPolicy:{}}},output:{type:"structure",members:{FleetId:{}}}},UpdateFleetCapacity:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},DesiredInstances:{type:"integer"},MinSize:{type:"integer"},MaxSize:{type:"integer"}}},output:{type:"structure",members:{FleetId:{}}}},UpdateFleetPortSettings:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},InboundPermissionAuthorizations:{shape:"So"},InboundPermissionRevocations:{shape:"So"}}},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:"S18"}}}},UpdateRuntimeConfiguration:{input:{type:"structure",required:["FleetId","RuntimeConfiguration"],members:{FleetId:{},RuntimeConfiguration:{shape:"Su"}}},output:{type:"structure",members:{RuntimeConfiguration:{shape:"Su"}}}}},shapes:{S3:{type:"structure",members:{Type:{},FleetId:{},Message:{}}},S8:{type:"structure",members:{AliasId:{},Name:{},Description:{},RoutingStrategy:{shape:"S3"},CreationTime:{type:"timestamp"},LastUpdatedTime:{type:"timestamp"}}},Sc:{type:"structure",members:{Bucket:{},Key:{},RoleArn:{}}},Sg:{type:"structure",members:{BuildId:{},Name:{},Version:{},Status:{},SizeOnDisk:{type:"long"},OperatingSystem:{},CreationTime:{type:"timestamp"}}},Sk:{type:"structure",members:{AccessKeyId:{},SecretAccessKey:{},SessionToken:{}},sensitive:!0},Sm:{type:"list",member:{}},So:{type:"list",member:{type:"structure",required:["FromPort","ToPort","IpRange","Protocol"],members:{FromPort:{type:"integer"},ToPort:{type:"integer"},IpRange:{},Protocol:{}}}},Su:{type:"structure",members:{ServerProcesses:{type:"list",member:{type:"structure",required:["LaunchPath","ConcurrentExecutions"],members:{LaunchPath:{},Parameters:{},ConcurrentExecutions:{type:"integer"}}}}}},Sz:{type:"structure",members:{FleetId:{},Description:{},Name:{},CreationTime:{type:"timestamp"},TerminationTime:{type:"timestamp"},Status:{},BuildId:{},ServerLaunchPath:{},ServerLaunchParameters:{},LogPaths:{shape:"Sm"},NewGameSessionProtectionPolicy:{},OperatingSystem:{}}},S13:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S18:{type:"structure",members:{GameSessionId:{},Name:{},FleetId:{},CreationTime:{type:"timestamp"},TerminationTime:{type:"timestamp"},CurrentPlayerSessionCount:{type:"integer"},MaximumPlayerSessionCount:{type:"integer"},Status:{},GameProperties:{shape:"S13"},IpAddress:{},Port:{type:"integer"},PlayerSessionCreationPolicy:{}}},S1f:{type:"structure",members:{PlayerSessionId:{},PlayerId:{},GameSessionId:{},FleetId:{},CreationTime:{type:"timestamp"},TerminationTime:{type:"timestamp"},Status:{},IpAddress:{},Port:{type:"integer"}}},S1l:{type:"list",member:{shape:"S1f"}},S1z:{type:"list",member:{}},S2o:{type:"list",member:{shape:"S18"}}},examples:{}}},{}],68:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2016-02-16",endpointPrefix:"inspector",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Inspector",signatureVersion:"v4",targetPrefix:"InspectorService"},operations:{AddAttributesToFindings:{input:{type:"structure",required:["findingArns","attributes"],members:{findingArns:{shape:"S2"},attributes:{shape:"S4"}}},output:{type:"structure",required:["failedItems"],members:{failedItems:{shape:"S9"}}}},CreateAssessmentTarget:{input:{type:"structure",required:["assessmentTargetName","resourceGroupArn"],members:{assessmentTargetName:{},resourceGroupArn:{}}},output:{type:"structure",required:["assessmentTargetArn"],members:{assessmentTargetArn:{}}}},CreateAssessmentTemplate:{input:{type:"structure",required:["assessmentTargetArn","assessmentTemplateName","durationInSeconds","rulesPackageArns"],members:{assessmentTargetArn:{},assessmentTemplateName:{},durationInSeconds:{ -type:"integer"},rulesPackageArns:{shape:"Sj"},userAttributesForFindings:{shape:"S4"}}},output:{type:"structure",required:["assessmentTemplateArn"],members:{assessmentTemplateArn:{}}}},CreateResourceGroup:{input:{type:"structure",required:["resourceGroupTags"],members:{resourceGroupTags:{shape:"Sm"}}},output:{type:"structure",required:["resourceGroupArn"],members:{resourceGroupArn:{}}}},DeleteAssessmentRun:{input:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{}}}},DeleteAssessmentTarget:{input:{type:"structure",required:["assessmentTargetArn"],members:{assessmentTargetArn:{}}}},DeleteAssessmentTemplate:{input:{type:"structure",required:["assessmentTemplateArn"],members:{assessmentTemplateArn:{}}}},DescribeAssessmentRuns:{input:{type:"structure",required:["assessmentRunArns"],members:{assessmentRunArns:{shape:"Sv"}}},output:{type:"structure",required:["assessmentRuns","failedItems"],members:{assessmentRuns:{type:"list",member:{type:"structure",required:["arn","name","assessmentTemplateArn","state","durationInSeconds","rulesPackageArns","userAttributesForFindings","createdAt","stateChangedAt","dataCollected","stateChanges","notifications"],members:{arn:{},name:{},assessmentTemplateArn:{},state:{},durationInSeconds:{type:"integer"},rulesPackageArns:{type:"list",member:{}},userAttributesForFindings:{shape:"S4"},createdAt:{type:"timestamp"},startedAt:{type:"timestamp"},completedAt:{type:"timestamp"},stateChangedAt:{type:"timestamp"},dataCollected:{type:"boolean"},stateChanges:{type:"list",member:{type:"structure",required:["stateChangedAt","state"],members:{stateChangedAt:{type:"timestamp"},state:{}}}},notifications:{type:"list",member:{type:"structure",required:["date","event","error"],members:{date:{type:"timestamp"},event:{},message:{},error:{type:"boolean"},snsTopicArn:{},snsPublishStatusCode:{}}}}}}},failedItems:{shape:"S9"}}}},DescribeAssessmentTargets:{input:{type:"structure",required:["assessmentTargetArns"],members:{assessmentTargetArns:{shape:"Sv"}}},output:{type:"structure",required:["assessmentTargets","failedItems"],members:{assessmentTargets:{type:"list",member:{type:"structure",required:["arn","name","resourceGroupArn","createdAt","updatedAt"],members:{arn:{},name:{},resourceGroupArn:{},createdAt:{type:"timestamp"},updatedAt:{type:"timestamp"}}}},failedItems:{shape:"S9"}}}},DescribeAssessmentTemplates:{input:{type:"structure",required:["assessmentTemplateArns"],members:{assessmentTemplateArns:{shape:"Sv"}}},output:{type:"structure",required:["assessmentTemplates","failedItems"],members:{assessmentTemplates:{type:"list",member:{type:"structure",required:["arn","name","assessmentTargetArn","durationInSeconds","rulesPackageArns","userAttributesForFindings","createdAt"],members:{arn:{},name:{},assessmentTargetArn:{},durationInSeconds:{type:"integer"},rulesPackageArns:{shape:"Sj"},userAttributesForFindings:{shape:"S4"},createdAt:{type:"timestamp"}}}},failedItems:{shape:"S9"}}}},DescribeCrossAccountAccessRole:{output:{type:"structure",required:["roleArn","valid","registeredAt"],members:{roleArn:{},valid:{type:"boolean"},registeredAt:{type:"timestamp"}}}},DescribeFindings:{input:{type:"structure",required:["findingArns"],members:{findingArns:{shape:"Sv"},locale:{}}},output:{type:"structure",required:["findings","failedItems"],members:{findings:{type:"list",member:{type:"structure",required:["arn","attributes","userAttributes","createdAt","updatedAt"],members:{arn:{},schemaVersion:{type:"integer"},service:{},serviceAttributes:{type:"structure",required:["schemaVersion"],members:{schemaVersion:{type:"integer"},assessmentRunArn:{},rulesPackageArn:{}}},assetType:{},assetAttributes:{type:"structure",required:["schemaVersion"],members:{schemaVersion:{type:"integer"},agentId:{},autoScalingGroup:{},amiId:{},hostname:{},ipv4Addresses:{type:"list",member:{}}}},id:{},title:{},description:{},recommendation:{},severity:{},numericSeverity:{type:"double"},confidence:{type:"integer"},indicatorOfCompromise:{type:"boolean"},attributes:{shape:"S24"},userAttributes:{shape:"S4"},createdAt:{type:"timestamp"},updatedAt:{type:"timestamp"}}}},failedItems:{shape:"S9"}}}},DescribeResourceGroups:{input:{type:"structure",required:["resourceGroupArns"],members:{resourceGroupArns:{shape:"Sv"}}},output:{type:"structure",required:["resourceGroups","failedItems"],members:{resourceGroups:{type:"list",member:{type:"structure",required:["arn","tags","createdAt"],members:{arn:{},tags:{shape:"Sm"},createdAt:{type:"timestamp"}}}},failedItems:{shape:"S9"}}}},DescribeRulesPackages:{input:{type:"structure",required:["rulesPackageArns"],members:{rulesPackageArns:{shape:"Sv"},locale:{}}},output:{type:"structure",required:["rulesPackages","failedItems"],members:{rulesPackages:{type:"list",member:{type:"structure",required:["arn","name","version","provider"],members:{arn:{},name:{},version:{},provider:{},description:{}}}},failedItems:{shape:"S9"}}}},GetTelemetryMetadata:{input:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{}}},output:{type:"structure",required:["telemetryMetadata"],members:{telemetryMetadata:{shape:"S2i"}}}},ListAssessmentRunAgents:{input:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{},filter:{type:"structure",required:["agentHealths","agentHealthCodes"],members:{agentHealths:{type:"list",member:{}},agentHealthCodes:{type:"list",member:{}}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["assessmentRunAgents"],members:{assessmentRunAgents:{type:"list",member:{type:"structure",required:["agentId","assessmentRunArn","agentHealth","agentHealthCode","telemetryMetadata"],members:{agentId:{},assessmentRunArn:{},agentHealth:{},agentHealthCode:{},agentHealthDetails:{},autoScalingGroup:{},telemetryMetadata:{shape:"S2i"}}}},nextToken:{}}}},ListAssessmentRuns:{input:{type:"structure",members:{assessmentTemplateArns:{shape:"S2y"},filter:{type:"structure",members:{namePattern:{},states:{type:"list",member:{}},durationRange:{shape:"S32"},rulesPackageArns:{shape:"S33"},startTimeRange:{shape:"S34"},completionTimeRange:{shape:"S34"},stateChangeTimeRange:{shape:"S34"}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["assessmentRunArns"],members:{assessmentRunArns:{shape:"S36"},nextToken:{}}}},ListAssessmentTargets:{input:{type:"structure",members:{filter:{type:"structure",members:{assessmentTargetNamePattern:{}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["assessmentTargetArns"],members:{assessmentTargetArns:{shape:"S36"},nextToken:{}}}},ListAssessmentTemplates:{input:{type:"structure",members:{assessmentTargetArns:{shape:"S2y"},filter:{type:"structure",members:{namePattern:{},durationRange:{shape:"S32"},rulesPackageArns:{shape:"S33"}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["assessmentTemplateArns"],members:{assessmentTemplateArns:{shape:"S36"},nextToken:{}}}},ListEventSubscriptions:{input:{type:"structure",members:{resourceArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["subscriptions"],members:{subscriptions:{type:"list",member:{type:"structure",required:["resourceArn","topicArn","eventSubscriptions"],members:{resourceArn:{},topicArn:{},eventSubscriptions:{type:"list",member:{type:"structure",required:["event","subscribedAt"],members:{event:{},subscribedAt:{type:"timestamp"}}}}}}},nextToken:{}}}},ListFindings:{input:{type:"structure",members:{assessmentRunArns:{shape:"S2y"},filter:{type:"structure",members:{agentIds:{type:"list",member:{}},autoScalingGroups:{type:"list",member:{}},ruleNames:{type:"list",member:{}},severities:{type:"list",member:{}},rulesPackageArns:{shape:"S33"},attributes:{shape:"S24"},userAttributes:{shape:"S24"},creationTimeRange:{shape:"S34"}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["findingArns"],members:{findingArns:{shape:"S36"},nextToken:{}}}},ListRulesPackages:{input:{type:"structure",members:{nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["rulesPackageArns"],members:{rulesPackageArns:{shape:"S36"},nextToken:{}}}},ListTagsForResource:{input:{type:"structure",required:["resourceArn"],members:{resourceArn:{}}},output:{type:"structure",required:["tags"],members:{tags:{shape:"S3w"}}}},PreviewAgents:{input:{type:"structure",required:["previewAgentsArn"],members:{previewAgentsArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["agentPreviews"],members:{agentPreviews:{type:"list",member:{type:"structure",required:["agentId"],members:{agentId:{},autoScalingGroup:{}}}},nextToken:{}}}},RegisterCrossAccountAccessRole:{input:{type:"structure",required:["roleArn"],members:{roleArn:{}}}},RemoveAttributesFromFindings:{input:{type:"structure",required:["findingArns","attributeKeys"],members:{findingArns:{shape:"S2"},attributeKeys:{type:"list",member:{}}}},output:{type:"structure",required:["failedItems"],members:{failedItems:{shape:"S9"}}}},SetTagsForResource:{input:{type:"structure",required:["resourceArn"],members:{resourceArn:{},tags:{shape:"S3w"}}}},StartAssessmentRun:{input:{type:"structure",required:["assessmentTemplateArn"],members:{assessmentTemplateArn:{},assessmentRunName:{}}},output:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{}}}},StopAssessmentRun:{input:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{}}}},SubscribeToEvent:{input:{type:"structure",required:["resourceArn","event","topicArn"],members:{resourceArn:{},event:{},topicArn:{}}}},UnsubscribeFromEvent:{input:{type:"structure",required:["resourceArn","event","topicArn"],members:{resourceArn:{},event:{},topicArn:{}}}},UpdateAssessmentTarget:{input:{type:"structure",required:["assessmentTargetArn","assessmentTargetName","resourceGroupArn"],members:{assessmentTargetArn:{},assessmentTargetName:{},resourceGroupArn:{}}}}},shapes:{S2:{type:"list",member:{}},S4:{type:"list",member:{shape:"S5"}},S5:{type:"structure",required:["key"],members:{key:{},value:{}}},S9:{type:"map",key:{},value:{type:"structure",required:["failureCode","retryable"],members:{failureCode:{},retryable:{type:"boolean"}}}},Sj:{type:"list",member:{}},Sm:{type:"list",member:{type:"structure",required:["key"],members:{key:{},value:{}}}},Sv:{type:"list",member:{}},S24:{type:"list",member:{shape:"S5"}},S2i:{type:"list",member:{type:"structure",required:["messageType","count"],members:{messageType:{},count:{type:"long"},dataSize:{type:"long"}}}},S2y:{type:"list",member:{}},S32:{type:"structure",members:{minSeconds:{type:"integer"},maxSeconds:{type:"integer"}}},S33:{type:"list",member:{}},S34:{type:"structure",members:{beginDate:{type:"timestamp"},endDate:{type:"timestamp"}}},S36:{type:"list",member:{}},S3w:{type:"list",member:{type:"structure",required:["key"],members:{key:{},value:{}}}}}}},{}],69:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-05-28",endpointPrefix:"iot",serviceFullName:"AWS IoT",signatureVersion:"v4",signingName:"execute-api",protocol:"rest-json"},operations:{AcceptCertificateTransfer:{http:{method:"PATCH",requestUri:"/accept-certificate-transfer/{certificateId}"},input:{type:"structure",required:["certificateId"],members:{certificateId:{location:"uri",locationName:"certificateId"},setAsActive:{location:"querystring",locationName:"setAsActive",type:"boolean"}}}},AttachPrincipalPolicy:{http:{method:"PUT",requestUri:"/principal-policies/{policyName}"},input:{type:"structure",required:["policyName","principal"],members:{policyName:{location:"uri",locationName:"policyName"},principal:{location:"header",locationName:"x-amzn-iot-principal"}}}},AttachThingPrincipal:{http:{method:"PUT",requestUri:"/things/{thingName}/principals"},input:{type:"structure",required:["thingName","principal"],members:{thingName:{location:"uri",locationName:"thingName"},principal:{location:"header",locationName:"x-amzn-principal"}}},output:{type:"structure",members:{}}},CancelCertificateTransfer:{http:{method:"PATCH",requestUri:"/cancel-certificate-transfer/{certificateId}"},input:{type:"structure",required:["certificateId"],members:{certificateId:{location:"uri",locationName:"certificateId"}}}},CreateCertificateFromCsr:{http:{requestUri:"/certificates"},input:{type:"structure",required:["certificateSigningRequest"],members:{certificateSigningRequest:{},setAsActive:{location:"querystring",locationName:"setAsActive",type:"boolean"}}},output:{type:"structure",members:{certificateArn:{},certificateId:{},certificatePem:{}}}},CreateKeysAndCertificate:{http:{requestUri:"/keys-and-certificate"},input:{type:"structure",members:{setAsActive:{location:"querystring",locationName:"setAsActive",type:"boolean"}}},output:{type:"structure",members:{certificateArn:{},certificateId:{},certificatePem:{},keyPair:{type:"structure",members:{PublicKey:{},PrivateKey:{type:"string",sensitive:!0}}}}}},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",members:{ruleName:{location:"uri",locationName:"ruleName"}},required:["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:"S3s"}}}},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:"S4p"},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:"S4p"},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:"S4z"},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:"S53"},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:"S4z"},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:"S53"}}}},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:"S3s"}}}},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:!0,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:{}}},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:{} -}}}}},S3s:{type:"structure",members:{deprecated:{type:"boolean"},deprecationDate:{type:"timestamp"},creationDate:{type:"timestamp"}}},S4p:{type:"list",member:{type:"structure",members:{certificateArn:{},certificateId:{},status:{},creationDate:{type:"timestamp"}}}},S4z:{type:"list",member:{type:"structure",members:{policyName:{},policyArn:{}}}},S53:{type:"list",member:{}}},examples:{}}},{}],70:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-05-28",endpointPrefix:"data.iot",protocol:"rest-json",serviceFullName:"AWS IoT Data Plane",signatureVersion:"v4",signingName:"iotdata"},operations:{DeleteThingShadow:{http:{method:"DELETE",requestUri:"/things/{thingName}/shadow"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"}}},output:{type:"structure",required:["payload"],members:{payload:{type:"blob"}},payload:"payload"}},GetThingShadow:{http:{method:"GET",requestUri:"/things/{thingName}/shadow"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"}}},output:{type:"structure",members:{payload:{type:"blob"}},payload:"payload"}},Publish:{http:{requestUri:"/topics/{topic}"},input:{type:"structure",required:["topic"],members:{topic:{location:"uri",locationName:"topic"},qos:{location:"querystring",locationName:"qos",type:"integer"},payload:{type:"blob"}},payload:"payload"}},UpdateThingShadow:{http:{requestUri:"/things/{thingName}/shadow"},input:{type:"structure",required:["thingName","payload"],members:{thingName:{location:"uri",locationName:"thingName"},payload:{type:"blob"}},payload:"payload"},output:{type:"structure",members:{payload:{type:"blob"}},payload:"payload"}}},shapes:{}}},{}],71:[function(e,t,r){t.exports={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"},operations:{AddTagsToStream:{input:{type:"structure",required:["StreamName","Tags"],members:{StreamName:{},Tags:{type:"map",key:{},value:{}}}}},CreateStream:{input:{type:"structure",required:["StreamName","ShardCount"],members:{StreamName:{},ShardCount:{type:"integer"}}}},DecreaseStreamRetentionPeriod:{input:{type:"structure",required:["StreamName","RetentionPeriodHours"],members:{StreamName:{},RetentionPeriodHours:{type:"integer"}}}},DeleteStream:{input:{type:"structure",required:["StreamName"],members:{StreamName:{}}}},DescribeStream:{input:{type:"structure",required:["StreamName"],members:{StreamName:{},Limit:{type:"integer"},ExclusiveStartShardId:{}}},output:{type:"structure",required:["StreamDescription"],members:{StreamDescription:{type:"structure",required:["StreamName","StreamARN","StreamStatus","Shards","HasMoreShards","RetentionPeriodHours","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"},EnhancedMonitoring:{type:"list",member:{type:"structure",members:{ShardLevelMetrics:{shape:"Sr"}}}}}}}}},DisableEnhancedMonitoring:{input:{type:"structure",required:["StreamName","ShardLevelMetrics"],members:{StreamName:{},ShardLevelMetrics:{shape:"Sr"}}},output:{shape:"Su"}},EnableEnhancedMonitoring:{input:{type:"structure",required:["StreamName","ShardLevelMetrics"],members:{StreamName:{},ShardLevelMetrics:{shape:"Sr"}}},output:{shape:"Su"}},GetRecords:{input:{type:"structure",required:["ShardIterator"],members:{ShardIterator:{},Limit:{type:"integer"}}},output:{type:"structure",required:["Records"],members:{Records:{type:"list",member:{type:"structure",required:["SequenceNumber","Data","PartitionKey"],members:{SequenceNumber:{},ApproximateArrivalTimestamp:{type:"timestamp"},Data:{type:"blob"},PartitionKey:{}}}},NextShardIterator:{},MillisBehindLatest:{type:"long"}}}},GetShardIterator:{input:{type:"structure",required:["StreamName","ShardId","ShardIteratorType"],members:{StreamName:{},ShardId:{},ShardIteratorType:{},StartingSequenceNumber:{},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:{}}}},PutRecords:{input:{type:"structure",required:["Records","StreamName"],members:{Records:{type:"list",member:{type:"structure",required:["Data","PartitionKey"],members:{Data:{type:"blob"},ExplicitHashKey:{},PartitionKey:{}}}},StreamName:{}}},output:{type:"structure",required:["Records"],members:{FailedRecordCount:{type:"integer"},Records:{type:"list",member:{type:"structure",members:{SequenceNumber:{},ShardId:{},ErrorCode:{},ErrorMessage:{}}}}}}},RemoveTagsFromStream:{input:{type:"structure",required:["StreamName","TagKeys"],members:{StreamName:{},TagKeys:{type:"list",member:{}}}}},SplitShard:{input:{type:"structure",required:["StreamName","ShardToSplit","NewStartingHashKey"],members:{StreamName:{},ShardToSplit:{},NewStartingHashKey:{}}}}},shapes:{Sr:{type:"list",member:{}},Su:{type:"structure",members:{StreamName:{},CurrentShardLevelMetrics:{shape:"Sr"},DesiredShardLevelMetrics:{shape:"Sr"}}}}}},{}],72:[function(e,t,r){t.exports={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"}}}},{}],73:[function(e,t,r){t.exports={version:2,waiters:{StreamExists:{delay:10,operation:"DescribeStream",maxAttempts:18,acceptors:[{expected:"ACTIVE",matcher:"path",state:"success",argument:"StreamDescription.StreamStatus"}]}}}},{}],74:[function(e,t,r){t.exports={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"},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"}}},output:{type:"structure",members:{KeyMetadata:{shape:"Sq"}}}},Decrypt:{input:{type:"structure",required:["CiphertextBlob"],members:{CiphertextBlob:{type:"blob"},EncryptionContext:{shape:"Sb"},GrantTokens:{shape:"Se"}}},output:{type:"structure",members:{KeyId:{},Plaintext:{shape:"Sz"}}}},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:"Sq"}}}},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:"Sz"},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:"Sz"},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:"Sz"}}}},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:"Sz"},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:"S20"}},ListKeyPolicies:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{PolicyNames:{type:"list",member:{}},NextMarker:{},Truncated:{type:"boolean"}}}},ListKeys:{input:{type:"structure",members:{Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{Keys:{type:"list",member:{type:"structure",members:{KeyId:{},KeyArn:{}}}},NextMarker:{},Truncated:{type:"boolean"}}}},ListRetirableGrants:{input:{type:"structure",required:["RetiringPrincipal"],members:{Limit:{type:"integer"},Marker:{},RetiringPrincipal:{}}},output:{shape:"S20"}},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"}}}},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:{}},Sq:{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:{}}},Sz:{type:"blob",sensitive:!0},S20:{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"}}}}}},{}],75:[function(e,t,r){t.exports={pagination:{ListAliases:{limit_key:"Limit",input_token:"Marker",output_token:"NextMarker",more_results:"Truncated",result_key:"Aliases"},ListGrants:{limit_key:"Limit",input_token:"Marker",output_token:"NextMarker",more_results:"Truncated",result_key:"Grants"},ListKeyPolicies:{limit_key:"Limit",input_token:"Marker",output_token:"NextMarker",more_results:"Truncated",result_key:"PolicyNames"},ListKeys:{limit_key:"Limit",input_token:"Marker",output_token:"NextMarker",more_results:"Truncated",result_key:"Keys"}}}},{}],76:[function(e,t,r){t.exports={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:!0}}}},{}],77:[function(e,t,r){t.exports={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"}}}},{}],78:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-03-31",endpointPrefix:"lambda",protocol:"rest-json",serviceFullName:"AWS Lambda",signatureVersion:"v4"},operations:{AddPermission:{http:{requestUri:"/2015-03-31/functions/{FunctionName}/policy",responseCode:201},input:{type:"structure",required:["FunctionName","StatementId","Action","Principal"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},StatementId:{},Action:{},Principal:{},SourceArn:{},SourceAccount:{},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:{}}},output:{shape:"Sm"}},CreateFunction:{http:{requestUri:"/2015-03-31/functions",responseCode:201},input:{type:"structure",required:["FunctionName","Runtime","Role","Handler","Code"],members:{FunctionName:{},Runtime:{},Role:{},Handler:{},Code:{type:"structure",members:{ZipFile:{type:"blob"},S3Bucket:{},S3Key:{},S3ObjectVersion:{}}},Description:{},Timeout:{type:"integer"},MemorySize:{type:"integer"},Publish:{type:"boolean"},VpcConfig:{shape:"S10"}}},output:{shape:"S15"}},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:"Sm"}},DeleteFunction:{http:{method:"DELETE",requestUri:"/2015-03-31/functions/{FunctionName}",responseCode:204},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}}},GetAlias:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}/aliases/{Name}",responseCode:200},input:{type:"structure",required:["FunctionName","Name"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Name:{location:"uri",locationName:"Name"}}},output:{shape:"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:"Sm"}},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:"S15"},Code:{type:"structure",members:{RepositoryType:{},Location:{}}}}}},GetFunctionConfiguration:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}/configuration",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}},output:{shape:"S15"}},GetPolicy:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}/policy",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}},output:{type:"structure",members:{Policy:{}}}},Invoke:{http:{requestUri:"/2015-03-31/functions/{FunctionName}/invocations"},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},InvocationType:{location:"header",locationName:"X-Amz-Invocation-Type"},LogType:{location:"header",locationName:"X-Amz-Log-Type"},ClientContext:{location:"header",locationName:"X-Amz-Client-Context"},Payload:{type:"blob"},Qualifier:{location:"querystring",locationName:"Qualifier"}},payload:"Payload"},output:{type:"structure",members:{StatusCode:{location:"statusCode",type:"integer"},FunctionError:{location:"header",locationName:"X-Amz-Function-Error"},LogResult:{location:"header",locationName:"X-Amz-Log-Result"},Payload:{type:"blob"}},payload:"Payload"}},InvokeAsync:{http:{requestUri:"/2014-11-13/functions/{FunctionName}/invoke-async/",responseCode:202},input:{type:"structure",required:["FunctionName","InvokeArgs"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},InvokeArgs:{type:"blob",streaming:!0}},deprecated:!0,payload:"InvokeArgs"},output:{type:"structure",members:{Status:{location:"statusCode",type:"integer"}},deprecated:!0},deprecated:!0},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:"Sm"}}}}},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:"S23"}}}},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:"S23"}}}},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:"S15"}},RemovePermission:{http:{method:"DELETE",requestUri:"/2015-03-31/functions/{FunctionName}/policy/{StatementId}",responseCode:204},input:{type:"structure",required:["FunctionName","StatementId"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},StatementId:{location:"uri",locationName:"StatementId"},Qualifier:{location:"querystring",locationName:"Qualifier"}}}},UpdateAlias:{http:{method:"PUT",requestUri:"/2015-03-31/functions/{FunctionName}/aliases/{Name}",responseCode:200},input:{type:"structure",required:["FunctionName","Name"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Name:{location:"uri",locationName:"Name"},FunctionVersion:{},Description:{}}},output:{shape:"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:"Sm"}},UpdateFunctionCode:{http:{method:"PUT",requestUri:"/2015-03-31/functions/{FunctionName}/code",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},ZipFile:{type:"blob"},S3Bucket:{},S3Key:{},S3ObjectVersion:{},Publish:{type:"boolean"}}},output:{shape:"S15"}},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"},Runtime:{}}},output:{shape:"S15"}}},shapes:{Sg:{type:"structure",members:{AliasArn:{},Name:{},FunctionVersion:{},Description:{}}},Sm:{type:"structure",members:{UUID:{},BatchSize:{type:"integer"},EventSourceArn:{},FunctionArn:{},LastModified:{type:"timestamp"},LastProcessingResult:{},State:{},StateTransitionReason:{}}},S10:{type:"structure",members:{SubnetIds:{shape:"S11"},SecurityGroupIds:{shape:"S13"}}},S11:{type:"list",member:{}},S13:{type:"list",member:{}},S15:{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:{}}}}},S23:{type:"list",member:{shape:"S15"}}}}},{}],79:[function(e,t,r){t.exports={pagination:{ListEventSourceMappings:{input_token:"Marker",output_token:"NextMarker",limit_key:"MaxItems",result_key:"EventSourceMappings"},ListFunctions:{input_token:"Marker",output_token:"NextMarker",limit_key:"MaxItems",result_key:"Functions"}}}},{}],80:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-03-28",endpointPrefix:"logs",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon CloudWatch Logs",signatureVersion:"v4",targetPrefix:"Logs_20140328"},operations:{CancelExportTask:{input:{type:"structure",required:["taskId"],members:{taskId:{}}}},CreateExportTask:{input:{type:"structure",required:["logGroupName","from","to","destination"],members:{taskName:{},logGroupName:{},logStreamNamePrefix:{},from:{type:"long"},to:{type:"long"},destination:{},destinationPrefix:{}}},output:{type:"structure",members:{taskId:{}}}},CreateLogGroup:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{}}}},CreateLogStream:{input:{type:"structure",required:["logGroupName","logStreamName"],members:{logGroupName:{},logStreamName:{}}}},DeleteDestination:{input:{type:"structure",required:["destinationName"],members:{destinationName:{}}}},DeleteLogGroup:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{}}}},DeleteLogStream:{input:{type:"structure",required:["logGroupName","logStreamName"],members:{logGroupName:{},logStreamName:{}}}},DeleteMetricFilter:{input:{type:"structure",required:["logGroupName","filterName"],members:{logGroupName:{},filterName:{}}}},DeleteRetentionPolicy:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{}}}},DeleteSubscriptionFilter:{input:{type:"structure",required:["logGroupName","filterName"],members:{logGroupName:{},filterName:{}}}},DescribeDestinations:{input:{type:"structure",members:{DestinationNamePrefix:{},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{destinations:{type:"list",member:{shape:"Sq"}},nextToken:{}}}},DescribeExportTasks:{input:{type:"structure",members:{taskId:{},statusCode:{},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{exportTasks:{type:"list",member:{type:"structure",members:{taskId:{},taskName:{},logGroupName:{},from:{type:"long"},to:{type:"long"},destination:{},destinationPrefix:{},status:{type:"structure",members:{code:{},message:{}}},executionInfo:{type:"structure",members:{creationTime:{type:"long"},completionTime:{type:"long"}}}}}},nextToken:{}}}},DescribeLogGroups:{input:{type:"structure",members:{logGroupNamePrefix:{},nextToken:{}, -limit:{type:"integer"}}},output:{type:"structure",members:{logGroups:{type:"list",member:{type:"structure",members:{logGroupName:{},creationTime:{type:"long"},retentionInDays:{type:"integer"},metricFilterCount:{type:"integer"},arn:{},storedBytes:{type:"long"}}}},nextToken:{}}}},DescribeLogStreams:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{},logStreamNamePrefix:{},orderBy:{},descending:{type:"boolean"},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{logStreams:{type:"list",member:{type:"structure",members:{logStreamName:{},creationTime:{type:"long"},firstEventTimestamp:{type:"long"},lastEventTimestamp:{type:"long"},lastIngestionTime:{type:"long"},uploadSequenceToken:{},arn:{},storedBytes:{type:"long"}}}},nextToken:{}}}},DescribeMetricFilters:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{},filterNamePrefix:{},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{metricFilters:{type:"list",member:{type:"structure",members:{filterName:{},filterPattern:{},metricTransformations:{shape:"S1m"},creationTime:{type:"long"}}}},nextToken:{}}}},DescribeSubscriptionFilters:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{},filterNamePrefix:{},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{subscriptionFilters:{type:"list",member:{type:"structure",members:{filterName:{},logGroupName:{},filterPattern:{},destinationArn:{},roleArn:{},creationTime:{type:"long"}}}},nextToken:{}}}},FilterLogEvents:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{},logStreamNames:{type:"list",member:{}},startTime:{type:"long"},endTime:{type:"long"},filterPattern:{},nextToken:{},limit:{type:"integer"},interleaved:{type:"boolean"}}},output:{type:"structure",members:{events:{type:"list",member:{type:"structure",members:{logStreamName:{},timestamp:{type:"long"},message:{},ingestionTime:{type:"long"},eventId:{}}}},searchedLogStreams:{type:"list",member:{type:"structure",members:{logStreamName:{},searchedCompletely:{type:"boolean"}}}},nextToken:{}}}},GetLogEvents:{input:{type:"structure",required:["logGroupName","logStreamName"],members:{logGroupName:{},logStreamName:{},startTime:{type:"long"},endTime:{type:"long"},nextToken:{},limit:{type:"integer"},startFromHead:{type:"boolean"}}},output:{type:"structure",members:{events:{type:"list",member:{type:"structure",members:{timestamp:{type:"long"},message:{},ingestionTime:{type:"long"}}}},nextForwardToken:{},nextBackwardToken:{}}}},PutDestination:{input:{type:"structure",required:["destinationName","targetArn","roleArn"],members:{destinationName:{},targetArn:{},roleArn:{}}},output:{type:"structure",members:{destination:{shape:"Sq"}}}},PutDestinationPolicy:{input:{type:"structure",required:["destinationName","accessPolicy"],members:{destinationName:{},accessPolicy:{}}}},PutLogEvents:{input:{type:"structure",required:["logGroupName","logStreamName","logEvents"],members:{logGroupName:{},logStreamName:{},logEvents:{type:"list",member:{type:"structure",required:["timestamp","message"],members:{timestamp:{type:"long"},message:{}}}},sequenceToken:{}}},output:{type:"structure",members:{nextSequenceToken:{},rejectedLogEventsInfo:{type:"structure",members:{tooNewLogEventStartIndex:{type:"integer"},tooOldLogEventEndIndex:{type:"integer"},expiredLogEventEndIndex:{type:"integer"}}}}}},PutMetricFilter:{input:{type:"structure",required:["logGroupName","filterName","filterPattern","metricTransformations"],members:{logGroupName:{},filterName:{},filterPattern:{},metricTransformations:{shape:"S1m"}}}},PutRetentionPolicy:{input:{type:"structure",required:["logGroupName","retentionInDays"],members:{logGroupName:{},retentionInDays:{type:"integer"}}}},PutSubscriptionFilter:{input:{type:"structure",required:["logGroupName","filterName","filterPattern","destinationArn"],members:{logGroupName:{},filterName:{},filterPattern:{},destinationArn:{},roleArn:{}}}},TestMetricFilter:{input:{type:"structure",required:["filterPattern","logEventMessages"],members:{filterPattern:{},logEventMessages:{type:"list",member:{}}}},output:{type:"structure",members:{matches:{type:"list",member:{type:"structure",members:{eventNumber:{type:"long"},eventMessage:{},extractedValues:{type:"map",key:{},value:{}}}}}}}}},shapes:{Sq:{type:"structure",members:{destinationName:{},targetArn:{},roleArn:{},accessPolicy:{},arn:{},creationTime:{type:"long"}}},S1m:{type:"list",member:{type:"structure",required:["metricName","metricNamespace","metricValue"],members:{metricName:{},metricNamespace:{},metricValue:{},defaultValue:{type:"double"}}}}}}},{}],81:[function(e,t,r){t.exports={pagination:{DescribeDestinations:{input_token:"nextToken",output_token:"nextToken",limit_key:"limit",result_key:"destinations"},DescribeLogGroups:{input_token:"nextToken",output_token:"nextToken",limit_key:"limit",result_key:"logGroups"},DescribeLogStreams:{input_token:"nextToken",output_token:"nextToken",limit_key:"limit",result_key:"logStreams"},DescribeMetricFilters:{input_token:"nextToken",output_token:"nextToken",limit_key:"limit",result_key:"metricFilters"},DescribeSubscriptionFilters:{input_token:"nextToken",output_token:"nextToken",limit_key:"limit",result_key:"subscriptionFilters"},FilterLogEvents:{input_token:"nextToken",output_token:"nextToken",limit_key:"limit",result_key:["events","searchedLogStreams"]},GetLogEvents:{input_token:"nextToken",output_token:"nextForwardToken",limit_key:"limit",result_key:"events"}}}},{}],82:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-12-12",endpointPrefix:"machinelearning",jsonVersion:"1.1",serviceFullName:"Amazon Machine Learning",signatureVersion:"v4",targetPrefix:"AmazonML_20141212",protocol:"json"},operations:{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:{}}},{}],83:[function(e,t,r){t.exports={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"}}}},{}],84:[function(e,t,r){t.exports={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"}]}}}},{}],85:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-07-01",endpointPrefix:"marketplacecommerceanalytics",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS Marketplace Commerce Analytics",signatureVersion:"v4",signingName:"marketplacecommerceanalytics",targetPrefix:"MarketplaceCommerceAnalytics20150701"},operations:{GenerateDataSet:{input:{type:"structure",required:["dataSetType","dataSetPublicationDate","roleNameArn","destinationS3BucketName","snsTopicArn"],members:{dataSetType:{},dataSetPublicationDate:{type:"timestamp"},roleNameArn:{},destinationS3BucketName:{},destinationS3Prefix:{},snsTopicArn:{},customerDefinedValues:{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:{}}}}},{}],86:[function(e,t,r){t.exports={acm:{name:"ACM",cors:!0},apigateway:{name:"APIGateway",cors:!0},applicationautoscaling:{prefix:"application-autoscaling",name:"ApplicationAutoScaling",cors:!0},autoscaling:{name:"AutoScaling",cors:!0},cloudformation:{name:"CloudFormation",cors:!0},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*"],cors:!0},cloudhsm:{name:"CloudHSM",cors:!0},cloudsearch:{name:"CloudSearch"},cloudsearchdomain:{name:"CloudSearchDomain"},cloudtrail:{name:"CloudTrail",cors:!0},cloudwatch:{prefix:"monitoring",name:"CloudWatch",cors:!0},cloudwatchevents:{prefix:"events",name:"CloudWatchEvents",versions:["2014-02-03*"],cors:!0},cloudwatchlogs:{prefix:"logs",name:"CloudWatchLogs",cors:!0},codecommit:{name:"CodeCommit",cors:!0},codedeploy:{name:"CodeDeploy",cors:!0},codepipeline:{name:"CodePipeline",cors:!0},cognitoidentity:{prefix:"cognito-identity",name:"CognitoIdentity",cors:!0},cognitoidentityserviceprovider:{prefix:"cognito-idp",name:"CognitoIdentityServiceProvider",cors:!0},cognitosync:{prefix:"cognito-sync",name:"CognitoSync",cors:!0},configservice:{prefix:"config",name:"ConfigService",cors:!0},datapipeline:{name:"DataPipeline"},devicefarm:{name:"DeviceFarm",cors:!0},directconnect:{name:"DirectConnect",cors:!0},directoryservice:{prefix:"ds",name:"DirectoryService"},discovery:{name:"Discovery"},dms:{name:"DMS"},dynamodb:{name:"DynamoDB",cors:!0},dynamodbstreams:{prefix:"streams.dynamodb",name:"DynamoDBStreams",cors:!0},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*"],cors:!0},ecr:{name:"ECR",cors:!0},ecs:{name:"ECS",cors:!0},efs:{prefix:"elasticfilesystem",name:"EFS"},elasticache:{name:"ElastiCache",versions:["2012-11-15*","2014-03-24*","2014-07-15*","2014-09-30*"],cors:!0},elasticbeanstalk:{name:"ElasticBeanstalk",cors:!0},elb:{prefix:"elasticloadbalancing",name:"ELB",cors:!0},elbv2:{prefix:"elasticloadbalancingv2",name:"ELBv2",cors:!0},emr:{prefix:"elasticmapreduce",name:"EMR",cors:!0},es:{name:"ES"},elastictranscoder:{name:"ElasticTranscoder",cors:!0},firehose:{name:"Firehose",cors:!0},gamelift:{name:"GameLift",cors:!0},glacier:{name:"Glacier"},iam:{name:"IAM"},importexport:{name:"ImportExport"},inspector:{name:"Inspector",versions:["2015-08-18*"],cors:!0},iot:{name:"Iot",cors:!0},iotdata:{prefix:"iot-data",name:"IotData",cors:!0},kinesis:{name:"Kinesis",cors:!0},kinesisanalytics:{name:"KinesisAnalytics"},kms:{name:"KMS",cors:!0},lambda:{name:"Lambda",cors:!0},machinelearning:{name:"MachineLearning",cors:!0},marketplacecommerceanalytics:{name:"MarketplaceCommerceAnalytics",cors:!0},marketplacemetering:{prefix:"meteringmarketplace",name:"MarketplaceMetering"},mobileanalytics:{name:"MobileAnalytics",cors:!0},opsworks:{name:"OpsWorks",cors:!0},rds:{name:"RDS",versions:["2014-09-01*"],cors:!0},redshift:{name:"Redshift",cors:!0},route53:{name:"Route53",cors:!0},route53domains:{name:"Route53Domains",cors:!0},s3:{name:"S3",dualstackAvailable:!0,cors:!0},servicecatalog:{name:"ServiceCatalog",cors:!0},ses:{prefix:"email",name:"SES",cors:!0},simpledb:{prefix:"sdb",name:"SimpleDB"},snowball:{name:"Snowball"},sns:{name:"SNS",cors:!0},sqs:{name:"SQS",cors:!0},ssm:{name:"SSM",cors:!0},storagegateway:{name:"StorageGateway",cors:!0},sts:{name:"STS",cors:!0},support:{name:"Support"},swf:{name:"SWF"},waf:{name:"WAF",cors:!0},workspaces:{name:"WorkSpaces"}}},{}],87:[function(e,t,r){t.exports={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:{}}},{}],88:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2010-08-01",endpointPrefix:"monitoring",protocol:"query",serviceAbbreviation:"CloudWatch",serviceFullName:"Amazon CloudWatch",signatureVersion:"v4",xmlNamespace:"http://monitoring.amazonaws.com/doc/2010-08-01/"},operations:{DeleteAlarms:{input:{type:"structure",required:["AlarmNames"],members:{AlarmNames:{shape:"S2"}}}},DescribeAlarmHistory:{input:{type:"structure",members:{AlarmName:{},HistoryItemType:{},StartDate:{type:"timestamp"},EndDate:{type:"timestamp"},MaxRecords:{type:"integer"},NextToken:{}}},output:{resultWrapper:"DescribeAlarmHistoryResult",type:"structure",members:{AlarmHistoryItems:{type:"list",member:{type:"structure",members:{AlarmName:{},Timestamp:{type:"timestamp"},HistoryItemType:{},HistorySummary:{},HistoryData:{}}}},NextToken:{}}}},DescribeAlarms:{input:{type:"structure",members:{AlarmNames:{shape:"S2"},AlarmNamePrefix:{},StateValue:{},ActionPrefix:{},MaxRecords:{type:"integer"},NextToken:{}}},output:{resultWrapper:"DescribeAlarmsResult",type:"structure",members:{MetricAlarms:{shape:"Sj"},NextToken:{}}}},DescribeAlarmsForMetric:{input:{type:"structure",required:["MetricName","Namespace"],members:{MetricName:{},Namespace:{},Statistic:{},Dimensions:{shape:"Sv"},Period:{type:"integer"},Unit:{}}},output:{resultWrapper:"DescribeAlarmsForMetricResult",type:"structure",members:{MetricAlarms:{shape:"Sj"}}}},DisableAlarmActions:{input:{type:"structure",required:["AlarmNames"],members:{AlarmNames:{shape:"S2"}}}},EnableAlarmActions:{input:{type:"structure",required:["AlarmNames"],members:{AlarmNames:{shape:"S2"}}}},GetMetricStatistics:{input:{type:"structure",required:["Namespace","MetricName","StartTime","EndTime","Period","Statistics"],members:{Namespace:{},MetricName:{},Dimensions:{shape:"Sv"},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Period:{type:"integer"},Statistics:{type:"list",member:{}},Unit:{}}},output:{resultWrapper:"GetMetricStatisticsResult",type:"structure",members:{Label:{},Datapoints:{type:"list",member:{type:"structure",members:{Timestamp:{type:"timestamp"},SampleCount:{type:"double"},Average:{type:"double"},Sum:{type:"double"},Minimum:{type:"double"},Maximum:{type:"double"},Unit:{}},xmlOrder:["Timestamp","SampleCount","Average","Sum","Minimum","Maximum","Unit"]}}}}},ListMetrics:{input:{type:"structure",members:{Namespace:{},MetricName:{},Dimensions:{type:"list",member:{type:"structure",required:["Name"],members:{Name:{},Value:{}}}},NextToken:{}}},output:{resultWrapper:"ListMetricsResult",type:"structure",members:{Metrics:{type:"list",member:{type:"structure",members:{Namespace:{},MetricName:{},Dimensions:{shape:"Sv"}},xmlOrder:["Namespace","MetricName","Dimensions"]}},NextToken:{}},xmlOrder:["Metrics","NextToken"]}},PutMetricAlarm:{input:{type:"structure",required:["AlarmName","MetricName","Namespace","Statistic","Period","EvaluationPeriods","Threshold","ComparisonOperator"],members:{AlarmName:{},AlarmDescription:{},ActionsEnabled:{type:"boolean"},OKActions:{shape:"So"},AlarmActions:{shape:"So"},InsufficientDataActions:{shape:"So"},MetricName:{},Namespace:{},Statistic:{},Dimensions:{shape:"Sv"},Period:{type:"integer"},Unit:{},EvaluationPeriods:{type:"integer"},Threshold:{type:"double"},ComparisonOperator:{}}}},PutMetricData:{input:{type:"structure",required:["Namespace","MetricData"],members:{Namespace:{},MetricData:{type:"list",member:{type:"structure",required:["MetricName"],members:{MetricName:{},Dimensions:{shape:"Sv"},Timestamp:{type:"timestamp"},Value:{type:"double"},StatisticValues:{type:"structure",required:["SampleCount","Sum","Minimum","Maximum"],members:{SampleCount:{type:"double"},Sum:{type:"double"},Minimum:{type:"double"},Maximum:{type:"double"}}},Unit:{}}}}}}},SetAlarmState:{input:{type:"structure",required:["AlarmName","StateValue","StateReason"],members:{AlarmName:{},StateValue:{},StateReason:{},StateReasonData:{}}}}},shapes:{S2:{type:"list",member:{}},Sj:{type:"list",member:{type:"structure",members:{AlarmName:{},AlarmArn:{},AlarmDescription:{},AlarmConfigurationUpdatedTimestamp:{type:"timestamp"},ActionsEnabled:{type:"boolean"},OKActions:{shape:"So"},AlarmActions:{shape:"So"},InsufficientDataActions:{shape:"So"},StateValue:{},StateReason:{},StateReasonData:{},StateUpdatedTimestamp:{type:"timestamp"},MetricName:{},Namespace:{},Statistic:{},Dimensions:{shape:"Sv"},Period:{type:"integer"},Unit:{},EvaluationPeriods:{type:"integer"},Threshold:{type:"double"},ComparisonOperator:{}},xmlOrder:["AlarmName","AlarmArn","AlarmDescription","AlarmConfigurationUpdatedTimestamp","ActionsEnabled","OKActions","AlarmActions","InsufficientDataActions","StateValue","StateReason","StateReasonData","StateUpdatedTimestamp","MetricName","Namespace","Statistic","Dimensions","Period","Unit","EvaluationPeriods","Threshold","ComparisonOperator"]}},So:{type:"list",member:{}},Sv:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{}},xmlOrder:["Name","Value"]}}}}},{}],89:[function(e,t,r){t.exports={pagination:{DescribeAlarmHistory:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxRecords",result_key:"AlarmHistoryItems"},DescribeAlarms:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxRecords",result_key:"MetricAlarms"},DescribeAlarmsForMetric:{result_key:"MetricAlarms"},ListMetrics:{input_token:"NextToken",output_token:"NextToken",result_key:"Metrics"}}}},{}],90:[function(e,t,r){t.exports={version:2,waiters:{AlarmExists:{delay:5,maxAttempts:40,operation:"DescribeAlarms",acceptors:[{matcher:"path",expected:!0,argument:"length(MetricAlarms[]) > `0`",state:"success"}]}}}},{}],91:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-02-18",endpointPrefix:"opsworks",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS OpsWorks",signatureVersion:"v4",targetPrefix:"OpsWorks_20130218"},operations:{AssignInstance:{input:{type:"structure",required:["InstanceId","LayerIds"],members:{InstanceId:{},LayerIds:{shape:"S3"}}}},AssignVolume:{input:{type:"structure",required:["VolumeId"],members:{VolumeId:{},InstanceId:{}}}},AssociateElasticIp:{input:{type:"structure",required:["ElasticIp"],members:{ElasticIp:{},InstanceId:{}}}},AttachElasticLoadBalancer:{input:{type:"structure",required:["ElasticLoadBalancerName","LayerId"],members:{ElasticLoadBalancerName:{},LayerId:{}}}},CloneStack:{input:{type:"structure",required:["SourceStackId","ServiceRoleArn"],members:{SourceStackId:{},Name:{},Region:{},VpcId:{},Attributes:{shape:"S8"},ServiceRoleArn:{},DefaultInstanceProfileArn:{},DefaultOs:{},HostnameTheme:{},DefaultAvailabilityZone:{},DefaultSubnetId:{},CustomJson:{},ConfigurationManager:{shape:"Sa"},ChefConfiguration:{shape:"Sb"},UseCustomCookbooks:{type:"boolean"},UseOpsworksSecurityGroups:{type:"boolean"},CustomCookbooksSource:{shape:"Sd"},DefaultSshKeyName:{},ClonePermissions:{type:"boolean"},CloneAppIds:{shape:"S3"},DefaultRootDeviceType:{},AgentVersion:{}}},output:{type:"structure",members:{StackId:{}}}},CreateApp:{input:{type:"structure",required:["StackId","Name","Type"],members:{StackId:{},Shortname:{},Name:{},Description:{},DataSources:{shape:"Si"},Type:{},AppSource:{shape:"Sd"},Domains:{shape:"S3"},EnableSsl:{type:"boolean"},SslConfiguration:{shape:"Sl"},Attributes:{shape:"Sm"},Environment:{shape:"So"}}},output:{type:"structure",members:{AppId:{}}}},CreateDeployment:{input:{type:"structure",required:["StackId","Command"],members:{StackId:{},AppId:{},InstanceIds:{shape:"S3"},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"},CustomInstanceProfileArn:{},CustomJson:{},CustomSecurityGroupIds:{shape:"S3"},Packages:{shape:"S3"},VolumeConfigurations:{shape:"S19"},EnableAutoHealing:{type:"boolean"},AutoAssignElasticIps:{type:"boolean"},AutoAssignPublicIps:{type:"boolean"},CustomRecipes:{shape:"S1b"},InstallUpdatesOnBoot:{type:"boolean"},UseEbsOptimizedInstances:{type:"boolean"},LifecycleEventConfiguration:{shape:"S1c"}}},output:{type:"structure",members:{LayerId:{}}}},CreateStack:{input:{type:"structure",required:["Name","Region","ServiceRoleArn","DefaultInstanceProfileArn"],members:{Name:{},Region:{},VpcId:{},Attributes:{shape:"S8"},ServiceRoleArn:{},DefaultInstanceProfileArn:{},DefaultOs:{},HostnameTheme:{},DefaultAvailabilityZone:{},DefaultSubnetId:{},CustomJson:{},ConfigurationManager:{shape:"Sa"},ChefConfiguration:{shape:"Sb"},UseCustomCookbooks:{type:"boolean"},UseOpsworksSecurityGroups:{type:"boolean"},CustomCookbooksSource:{shape:"Sd"},DefaultSshKeyName:{},DefaultRootDeviceType:{},AgentVersion:{}}},output:{type:"structure",members:{StackId:{}}}},CreateUserProfile:{input:{type:"structure",required:["IamUserArn"],members:{IamUserArn:{},SshUsername:{},SshPublicKey:{},AllowSelfManagement:{type:"boolean"}}},output:{type:"structure",members:{IamUserArn:{}}}},DeleteApp:{input:{type:"structure",required:["AppId"],members:{AppId:{}}}},DeleteInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},DeleteElasticIp:{type:"boolean"},DeleteVolumes:{type:"boolean"}}}},DeleteLayer:{input:{type:"structure",required:["LayerId"],members:{LayerId:{}}}},DeleteStack:{input:{type:"structure",required:["StackId"],members:{StackId:{}}}},DeleteUserProfile:{input:{type:"structure",required:["IamUserArn"],members:{IamUserArn:{}}}},DeregisterEcsCluster:{input:{type:"structure",required:["EcsClusterArn"],members:{EcsClusterArn:{}}}},DeregisterElasticIp:{input:{type:"structure",required:["ElasticIp"],members:{ElasticIp:{}}}},DeregisterInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}}},DeregisterRdsDbInstance:{input:{type:"structure",required:["RdsDbInstanceArn"],members:{RdsDbInstanceArn:{}}}},DeregisterVolume:{input:{type:"structure",required:["VolumeId"],members:{VolumeId:{}}}},DescribeAgentVersions:{input:{type:"structure",members:{StackId:{},ConfigurationManager:{shape:"Sa"}}},output:{type:"structure",members:{AgentVersions:{type:"list",member:{type:"structure",members:{Version:{},ConfigurationManager:{shape:"Sa"}}}}}}},DescribeApps:{input:{type:"structure",members:{StackId:{},AppIds:{shape:"S3"}}},output:{type:"structure",members:{Apps:{type:"list",member:{type:"structure",members:{AppId:{},StackId:{},Shortname:{},Name:{},Description:{},DataSources:{shape:"Si"},Type:{},AppSource:{shape:"Sd"},Domains:{shape:"S3"},EnableSsl:{type:"boolean"},SslConfiguration:{shape:"Sl"},Attributes:{shape:"Sm"},CreatedAt:{},Environment:{shape:"So"}}}}}}},DescribeCommands:{input:{type:"structure",members:{DeploymentId:{},InstanceId:{},CommandIds:{shape:"S3"}}},output:{type:"structure",members:{Commands:{type:"list",member:{type:"structure",members:{CommandId:{},InstanceId:{},DeploymentId:{},CreatedAt:{},AcknowledgedAt:{},CompletedAt:{},Status:{},ExitCode:{type:"integer"},LogUrl:{},Type:{}}}}}}},DescribeDeployments:{input:{type:"structure",members:{StackId:{},AppId:{},DeploymentIds:{shape:"S3"}}},output:{type:"structure",members:{Deployments:{type:"list",member:{type:"structure",members:{DeploymentId:{},StackId:{},AppId:{},CreatedAt:{},CompletedAt:{},Duration:{type:"integer"},IamUserArn:{},Comment:{},Command:{shape:"Ss"},Status:{},CustomJson:{},InstanceIds:{shape:"S3"}}}}}}},DescribeEcsClusters:{input:{type:"structure",members:{EcsClusterArns:{shape:"S3"},StackId:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{EcsClusters:{type:"list",member:{type:"structure",members:{EcsClusterArn:{},EcsClusterName:{},StackId:{},RegisteredAt:{}}}},NextToken:{}}}},DescribeElasticIps:{input:{type:"structure",members:{InstanceId:{},StackId:{},Ips:{shape:"S3"}}},output:{type:"structure",members:{ElasticIps:{type:"list",member:{type:"structure",members:{Ip:{},Name:{},Domain:{},Region:{},InstanceId:{}}}}}}},DescribeElasticLoadBalancers:{input:{type:"structure",members:{StackId:{},LayerIds:{shape:"S3"}}},output:{type:"structure",members:{ElasticLoadBalancers:{type:"list",member:{type:"structure",members:{ElasticLoadBalancerName:{},Region:{},DnsName:{},StackId:{},LayerId:{},VpcId:{},AvailabilityZones:{shape:"S3"},SubnetIds:{shape:"S3"},Ec2InstanceIds:{shape:"S3"}}}}}}},DescribeInstances:{input:{type:"structure",members:{StackId:{},LayerId:{},InstanceIds:{shape:"S3"}}},output:{type:"structure",members:{Instances:{type:"list",member:{type:"structure",members:{AgentVersion:{},AmiId:{},Architecture:{},AutoScalingType:{},AvailabilityZone:{},BlockDeviceMappings:{shape:"Sz"},CreatedAt:{},EbsOptimized:{type:"boolean"},Ec2InstanceId:{},EcsClusterArn:{},EcsContainerInstanceArn:{},ElasticIp:{},Hostname:{},InfrastructureClass:{},InstallUpdatesOnBoot:{type:"boolean"},InstanceId:{},InstanceProfileArn:{},InstanceType:{},LastServiceErrorId:{},LayerIds:{shape:"S3"},Os:{},Platform:{},PrivateDns:{},PrivateIp:{},PublicDns:{},PublicIp:{},RegisteredBy:{},ReportedAgentVersion:{},ReportedOs:{type:"structure",members:{Family:{},Name:{},Version:{}}},RootDeviceType:{},RootDeviceVolumeId:{},SecurityGroupIds:{shape:"S3"},SshHostDsaKeyFingerprint:{},SshHostRsaKeyFingerprint:{},SshKeyName:{},StackId:{},Status:{},SubnetId:{},Tenancy:{},VirtualizationType:{}}}}}}},DescribeLayers:{input:{type:"structure",members:{StackId:{},LayerIds:{shape:"S3"}}},output:{type:"structure",members:{Layers:{type:"list",member:{type:"structure",members:{StackId:{},LayerId:{},Type:{},Name:{},Shortname:{},Attributes:{shape:"S17"},CustomInstanceProfileArn:{},CustomJson:{},CustomSecurityGroupIds:{shape:"S3"},DefaultSecurityGroupNames:{shape:"S3"},Packages:{shape:"S3"},VolumeConfigurations:{shape:"S19"},EnableAutoHealing:{type:"boolean"},AutoAssignElasticIps:{type:"boolean"},AutoAssignPublicIps:{type:"boolean"},DefaultRecipes:{shape:"S1b"},CustomRecipes:{shape:"S1b"},CreatedAt:{},InstallUpdatesOnBoot:{type:"boolean"},UseEbsOptimizedInstances:{type:"boolean"},LifecycleEventConfiguration:{shape:"S1c"}}}}}}},DescribeLoadBasedAutoScaling:{input:{type:"structure",required:["LayerIds"],members:{LayerIds:{shape:"S3"}}},output:{type:"structure",members:{LoadBasedAutoScalingConfigurations:{type:"list",member:{type:"structure",members:{LayerId:{},Enable:{type:"boolean"},UpScaling:{shape:"S30"},DownScaling:{shape:"S30"}}}}}}},DescribeMyUserProfile:{output:{type:"structure",members:{UserProfile:{type:"structure",members:{IamUserArn:{},Name:{},SshUsername:{},SshPublicKey:{}}}}}},DescribePermissions:{input:{type:"structure",members:{IamUserArn:{},StackId:{}}},output:{type:"structure",members:{Permissions:{type:"list",member:{type:"structure",members:{StackId:{},IamUserArn:{},AllowSsh:{type:"boolean"},AllowSudo:{type:"boolean"},Level:{}}}}}}},DescribeRaidArrays:{input:{type:"structure",members:{InstanceId:{},StackId:{},RaidArrayIds:{shape:"S3"}}},output:{type:"structure",members:{RaidArrays:{type:"list",member:{type:"structure",members:{RaidArrayId:{},InstanceId:{},Name:{},RaidLevel:{type:"integer"},NumberOfDisks:{type:"integer"},Size:{type:"integer"},Device:{},MountPoint:{},AvailabilityZone:{},CreatedAt:{},StackId:{},VolumeType:{},Iops:{type:"integer"}}}}}}},DescribeRdsDbInstances:{input:{type:"structure",required:["StackId"],members:{StackId:{},RdsDbInstanceArns:{shape:"S3"}}},output:{type:"structure",members:{RdsDbInstances:{type:"list",member:{type:"structure",members:{RdsDbInstanceArn:{},DbInstanceIdentifier:{},DbUser:{},DbPassword:{},Region:{},Address:{},Engine:{},StackId:{},MissingOnRds:{type:"boolean"}}}}}}},DescribeServiceErrors:{input:{type:"structure",members:{StackId:{},InstanceId:{},ServiceErrorIds:{shape:"S3"}}},output:{type:"structure",members:{ServiceErrors:{type:"list",member:{type:"structure",members:{ServiceErrorId:{},StackId:{},InstanceId:{},Type:{},Message:{},CreatedAt:{}}}}}}},DescribeStackProvisioningParameters:{input:{type:"structure",required:["StackId"],members:{StackId:{}}},output:{type:"structure",members:{AgentInstallerUrl:{},Parameters:{type:"map",key:{},value:{}}}}},DescribeStackSummary:{input:{type:"structure",required:["StackId"],members:{StackId:{}}},output:{type:"structure",members:{StackSummary:{type:"structure",members:{StackId:{},Name:{},Arn:{},LayersCount:{type:"integer"},AppsCount:{type:"integer"},InstancesCount:{type:"structure",members:{Assigning:{type:"integer"},Booting:{type:"integer"},ConnectionLost:{type:"integer"},Deregistering:{type:"integer"},Online:{type:"integer"},Pending:{type:"integer"},Rebooting:{type:"integer"},Registered:{type:"integer"},Registering:{type:"integer"},Requested:{type:"integer"},RunningSetup:{type:"integer"},SetupFailed:{type:"integer"},ShuttingDown:{type:"integer"},StartFailed:{type:"integer"},Stopped:{type:"integer"},Stopping:{type:"integer"},Terminated:{type:"integer"},Terminating:{type:"integer"},Unassigning:{type:"integer"}}}}}}}},DescribeStacks:{input:{type:"structure",members:{StackIds:{shape:"S3"}}},output:{type:"structure",members:{Stacks:{type:"list",member:{type:"structure",members:{StackId:{},Name:{},Arn:{},Region:{},VpcId:{},Attributes:{shape:"S8"},ServiceRoleArn:{},DefaultInstanceProfileArn:{},DefaultOs:{},HostnameTheme:{},DefaultAvailabilityZone:{},DefaultSubnetId:{},CustomJson:{},ConfigurationManager:{shape:"Sa"},ChefConfiguration:{shape:"Sb"},UseCustomCookbooks:{type:"boolean"},UseOpsworksSecurityGroups:{type:"boolean"},CustomCookbooksSource:{shape:"Sd"},DefaultSshKeyName:{},CreatedAt:{},DefaultRootDeviceType:{},AgentVersion:{}}}}}}},DescribeTimeBasedAutoScaling:{input:{type:"structure",required:["InstanceIds"],members:{InstanceIds:{shape:"S3"}}},output:{type:"structure",members:{TimeBasedAutoScalingConfigurations:{type:"list",member:{type:"structure",members:{InstanceId:{},AutoScalingSchedule:{shape:"S40"}}}}}}},DescribeUserProfiles:{input:{type:"structure",members:{IamUserArns:{shape:"S3"}}},output:{type:"structure",members:{UserProfiles:{type:"list",member:{type:"structure",members:{IamUserArn:{},Name:{},SshUsername:{},SshPublicKey:{},AllowSelfManagement:{type:"boolean"}}}}}}},DescribeVolumes:{input:{type:"structure",members:{InstanceId:{},StackId:{},RaidArrayId:{},VolumeIds:{shape:"S3"}}},output:{type:"structure",members:{Volumes:{type:"list",member:{type:"structure",members:{VolumeId:{},Ec2VolumeId:{},Name:{},RaidArrayId:{},InstanceId:{},Status:{},Size:{type:"integer"},Device:{},MountPoint:{},Region:{},AvailabilityZone:{},VolumeType:{},Iops:{type:"integer"}}}}}}},DetachElasticLoadBalancer:{input:{type:"structure",required:["ElasticLoadBalancerName","LayerId"],members:{ElasticLoadBalancerName:{},LayerId:{}}}},DisassociateElasticIp:{input:{type:"structure",required:["ElasticIp"],members:{ElasticIp:{}}}},GetHostnameSuggestion:{input:{type:"structure",required:["LayerId"],members:{LayerId:{}}},output:{type:"structure",members:{LayerId:{},Hostname:{}}}},GrantAccess:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},ValidForInMinutes:{type:"integer"}}},output:{type:"structure",members:{TemporaryCredential:{type:"structure",members:{Username:{},Password:{},ValidForInMinutes:{type:"integer"},InstanceId:{}}}}}},RebootInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}}},RegisterEcsCluster:{input:{type:"structure",required:["EcsClusterArn","StackId"],members:{EcsClusterArn:{},StackId:{}}},output:{type:"structure",members:{EcsClusterArn:{}}}},RegisterElasticIp:{input:{type:"structure",required:["ElasticIp","StackId"],members:{ElasticIp:{},StackId:{}}},output:{type:"structure",members:{ElasticIp:{}}}},RegisterInstance:{input:{type:"structure",required:["StackId"],members:{StackId:{},Hostname:{},PublicIp:{},PrivateIp:{},RsaPublicKey:{},RsaPublicKeyFingerprint:{},InstanceIdentity:{type:"structure",members:{Document:{},Signature:{}}}}},output:{type:"structure",members:{InstanceId:{}}}},RegisterRdsDbInstance:{input:{type:"structure",required:["StackId","RdsDbInstanceArn","DbUser","DbPassword"],members:{StackId:{},RdsDbInstanceArn:{},DbUser:{},DbPassword:{}}}},RegisterVolume:{input:{type:"structure",required:["StackId"],members:{Ec2VolumeId:{},StackId:{}}},output:{type:"structure",members:{VolumeId:{}}}},SetLoadBasedAutoScaling:{input:{type:"structure",required:["LayerId"],members:{LayerId:{},Enable:{type:"boolean"},UpScaling:{shape:"S30"},DownScaling:{shape:"S30"}}}},SetPermission:{input:{type:"structure",required:["StackId","IamUserArn"],members:{StackId:{},IamUserArn:{},AllowSsh:{type:"boolean"},AllowSudo:{type:"boolean"},Level:{}}}},SetTimeBasedAutoScaling:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},AutoScalingSchedule:{shape:"S40"}}}},StartInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}}},StartStack:{input:{type:"structure",required:["StackId"],members:{StackId:{}}}},StopInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}}},StopStack:{input:{type:"structure",required:["StackId"],members:{StackId:{}}}},UnassignInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}}},UnassignVolume:{input:{type:"structure",required:["VolumeId"],members:{VolumeId:{}}}},UpdateApp:{input:{type:"structure",required:["AppId"],members:{AppId:{},Name:{},Description:{},DataSources:{shape:"Si"},Type:{},AppSource:{shape:"Sd"},Domains:{shape:"S3"},EnableSsl:{type:"boolean"},SslConfiguration:{shape:"Sl"},Attributes:{shape:"Sm"},Environment:{shape:"So"}}}},UpdateElasticIp:{input:{type:"structure",required:["ElasticIp"],members:{ElasticIp:{},Name:{}}}},UpdateInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},LayerIds:{shape:"S3"},InstanceType:{},AutoScalingType:{},Hostname:{},Os:{},AmiId:{},SshKeyName:{},Architecture:{},InstallUpdatesOnBoot:{type:"boolean"},EbsOptimized:{type:"boolean"},AgentVersion:{}}}},UpdateLayer:{input:{type:"structure",required:["LayerId"],members:{LayerId:{},Name:{},Shortname:{},Attributes:{shape:"S17"},CustomInstanceProfileArn:{},CustomJson:{},CustomSecurityGroupIds:{shape:"S3"},Packages:{shape:"S3"},VolumeConfigurations:{shape:"S19"},EnableAutoHealing:{type:"boolean"},AutoAssignElasticIps:{type:"boolean"},AutoAssignPublicIps:{type:"boolean"},CustomRecipes:{shape:"S1b"},InstallUpdatesOnBoot:{type:"boolean"},UseEbsOptimizedInstances:{type:"boolean"},LifecycleEventConfiguration:{shape:"S1c"}}}},UpdateMyUserProfile:{input:{type:"structure",members:{SshPublicKey:{}}}},UpdateRdsDbInstance:{input:{type:"structure",required:["RdsDbInstanceArn"],members:{RdsDbInstanceArn:{},DbUser:{},DbPassword:{}}}},UpdateStack:{input:{type:"structure",required:["StackId"],members:{StackId:{},Name:{},Attributes:{shape:"S8"},ServiceRoleArn:{},DefaultInstanceProfileArn:{},DefaultOs:{},HostnameTheme:{},DefaultAvailabilityZone:{},DefaultSubnetId:{},CustomJson:{},ConfigurationManager:{shape:"Sa"},ChefConfiguration:{shape:"Sb"},UseCustomCookbooks:{type:"boolean"},CustomCookbooksSource:{shape:"Sd"},DefaultSshKeyName:{},DefaultRootDeviceType:{},UseOpsworksSecurityGroups:{type:"boolean"},AgentVersion:{}}}},UpdateUserProfile:{input:{type:"structure",required:["IamUserArn"],members:{IamUserArn:{},SshUsername:{},SshPublicKey:{},AllowSelfManagement:{type:"boolean"}}}},UpdateVolume:{input:{type:"structure",required:["VolumeId"],members:{VolumeId:{},Name:{},MountPoint:{}}}}},shapes:{S3:{type:"list",member:{}},S8:{type:"map",key:{},value:{}},Sa:{type:"structure",members:{Name:{},Version:{}}},Sb:{type:"structure",members:{ManageBerkshelf:{type:"boolean"},BerkshelfVersion:{}}},Sd:{type:"structure",members:{Type:{},Url:{},Username:{},Password:{},SshKey:{},Revision:{}}},Si:{type:"list",member:{type:"structure",members:{Type:{},Arn:{},DatabaseName:{}}}},Sl:{type:"structure",required:["Certificate","PrivateKey"],members:{Certificate:{},PrivateKey:{},Chain:{}}},Sm:{type:"map",key:{},value:{}},So:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{},Secure:{type:"boolean"}}}},Ss:{type:"structure",required:["Name"],members:{Name:{},Args:{type:"map",key:{},value:{shape:"S3"}}}},Sz:{type:"list",member:{type:"structure",members:{DeviceName:{},NoDevice:{},VirtualName:{},Ebs:{type:"structure",members:{SnapshotId:{},Iops:{type:"integer"},VolumeSize:{type:"integer"},VolumeType:{},DeleteOnTermination:{type:"boolean"}}}}}},S17:{type:"map",key:{},value:{}},S19:{type:"list",member:{type:"structure",required:["MountPoint","NumberOfDisks","Size"],members:{MountPoint:{},RaidLevel:{type:"integer"},NumberOfDisks:{type:"integer"},Size:{type:"integer"},VolumeType:{},Iops:{type:"integer"}}}},S1b:{type:"structure",members:{Setup:{shape:"S3"},Configure:{shape:"S3"},Deploy:{shape:"S3"},Undeploy:{shape:"S3"},Shutdown:{shape:"S3"}}},S1c:{type:"structure",members:{Shutdown:{type:"structure",members:{ExecutionTimeout:{type:"integer"},DelayUntilElbConnectionsDrained:{type:"boolean"}}}}},S30:{type:"structure",members:{InstanceCount:{type:"integer"},ThresholdsWaitTime:{type:"integer"},IgnoreMetricsTime:{type:"integer"},CpuThreshold:{type:"double"},MemoryThreshold:{type:"double"},LoadThreshold:{type:"double"},Alarms:{shape:"S3"}}},S40:{type:"structure",members:{Monday:{shape:"S41"},Tuesday:{shape:"S41"},Wednesday:{shape:"S41"},Thursday:{shape:"S41"},Friday:{shape:"S41"},Saturday:{shape:"S41"},Sunday:{shape:"S41"}}},S41:{type:"map",key:{},value:{}}}}},{}],92:[function(e,t,r){t.exports={pagination:{DescribeApps:{result_key:"Apps"},DescribeCommands:{result_key:"Commands"},DescribeDeployments:{result_key:"Deployments"},DescribeEcsClusters:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"EcsClusters"},DescribeElasticIps:{result_key:"ElasticIps"},DescribeElasticLoadBalancers:{result_key:"ElasticLoadBalancers"},DescribeInstances:{result_key:"Instances"},DescribeLayers:{result_key:"Layers"},DescribeLoadBasedAutoScaling:{result_key:"LoadBasedAutoScalingConfigurations"},DescribePermissions:{result_key:"Permissions"},DescribeRaidArrays:{result_key:"RaidArrays"},DescribeServiceErrors:{result_key:"ServiceErrors"},DescribeStacks:{result_key:"Stacks"},DescribeTimeBasedAutoScaling:{result_key:"TimeBasedAutoScalingConfigurations"},DescribeUserProfiles:{result_key:"UserProfiles"},DescribeVolumes:{result_key:"Volumes"}}}},{}],93:[function(e,t,r){t.exports={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"}]}}}},{}],94:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-01-10",endpointPrefix:"rds",protocol:"query",serviceAbbreviation:"Amazon RDS",serviceFullName:"Amazon Relational Database Service",signatureVersion:"v4",xmlNamespace:"http://rds.amazonaws.com/doc/2013-01-10/"},operations:{AddSourceIdentifierToSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"AddSourceIdentifierToSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},AddTagsToResource:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"S9"}}}},AuthorizeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CopyDBSnapshot:{input:{type:"structure",required:["SourceDBSnapshotIdentifier","TargetDBSnapshotIdentifier"],members:{SourceDBSnapshotIdentifier:{},TargetDBSnapshotIdentifier:{}}},output:{resultWrapper:"CopyDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},CreateDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","AllocatedStorage","DBInstanceClass","Engine","MasterUsername","MasterUserPassword"],members:{DBName:{},DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},Engine:{},MasterUsername:{},MasterUserPassword:{},DBSecurityGroups:{shape:"Sp"},VpcSecurityGroupIds:{shape:"Sq"},AvailabilityZone:{},DBSubnetGroupName:{},PreferredMaintenanceWindow:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},CharacterSetName:{},PubliclyAccessible:{type:"boolean"}}},output:{resultWrapper:"CreateDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},CreateDBInstanceReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier","SourceDBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SourceDBInstanceIdentifier:{},DBInstanceClass:{},AvailabilityZone:{},Port:{type:"integer"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},PubliclyAccessible:{type:"boolean"}}},output:{resultWrapper:"CreateDBInstanceReadReplicaResult",type:"structure",members:{DBInstance:{shape:"St"}}}},CreateDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","DBParameterGroupFamily","Description"],members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{}}},output:{resultWrapper:"CreateDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"S1c"}}}},CreateDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName","DBSecurityGroupDescription"],members:{DBSecurityGroupName:{},DBSecurityGroupDescription:{}}},output:{resultWrapper:"CreateDBSecurityGroupResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CreateDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier","DBInstanceIdentifier"],members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{}}},output:{resultWrapper:"CreateDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},CreateDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1i"}}},output:{resultWrapper:"CreateDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S11"}}}},CreateEventSubscription:{input:{type:"structure",required:["SubscriptionName","SnsTopicArn"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},SourceIds:{shape:"S5"},Enabled:{type:"boolean"}}},output:{resultWrapper:"CreateEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},CreateOptionGroup:{input:{type:"structure",required:["OptionGroupName","EngineName","MajorEngineVersion","OptionGroupDescription"],members:{OptionGroupName:{},EngineName:{},MajorEngineVersion:{},OptionGroupDescription:{}}},output:{resultWrapper:"CreateOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1o"}}}},DeleteDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},DeleteDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{}}}},DeleteDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{}}}},DeleteDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},DeleteDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName"],members:{DBSubnetGroupName:{}}}},DeleteEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{}}},output:{resultWrapper:"DeleteEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},DeleteOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{}}}},DescribeDBEngineVersions:{input:{type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{},DefaultOnly:{type:"boolean"},ListSupportedCharacterSets:{type:"boolean"}}},output:{resultWrapper:"DescribeDBEngineVersionsResult",type:"structure",members:{Marker:{},DBEngineVersions:{type:"list",member:{locationName:"DBEngineVersion",type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},DBEngineDescription:{},DBEngineVersionDescription:{},DefaultCharacterSet:{shape:"S25"},SupportedCharacterSets:{type:"list",member:{shape:"S25",locationName:"CharacterSet"}}}}}}}},DescribeDBInstances:{input:{type:"structure",members:{DBInstanceIdentifier:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBInstancesResult",type:"structure",members:{Marker:{},DBInstances:{type:"list",member:{shape:"St",locationName:"DBInstance"}}}}},DescribeDBParameterGroups:{input:{type:"structure",members:{DBParameterGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParameterGroupsResult",type:"structure",members:{Marker:{},DBParameterGroups:{type:"list",member:{shape:"S1c",locationName:"DBParameterGroup"}}}}},DescribeDBParameters:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},Source:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParametersResult",type:"structure",members:{Parameters:{shape:"S2f"},Marker:{}}}},DescribeDBSecurityGroups:{input:{type:"structure",members:{DBSecurityGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSecurityGroupsResult",type:"structure",members:{Marker:{},DBSecurityGroups:{type:"list",member:{shape:"Sd",locationName:"DBSecurityGroup"}}}}},DescribeDBSnapshots:{input:{type:"structure",members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},SnapshotType:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSnapshotsResult",type:"structure",members:{Marker:{},DBSnapshots:{type:"list",member:{shape:"Sk",locationName:"DBSnapshot"}}}}},DescribeDBSubnetGroups:{input:{type:"structure",members:{DBSubnetGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSubnetGroupsResult",type:"structure",members:{Marker:{},DBSubnetGroups:{type:"list",member:{shape:"S11",locationName:"DBSubnetGroup"}}}}},DescribeEngineDefaultParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultParametersResult",type:"structure",members:{EngineDefaults:{type:"structure",members:{DBParameterGroupFamily:{},Marker:{},Parameters:{shape:"S2f"}},wrapper:!0}}}},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:!0}}}}},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:!0}},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:!0}}}}},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:!0},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:!0},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:!0},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:!0},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:!0},S14:{type:"structure",members:{Name:{},ProvisionedIopsCapable:{type:"boolean"}},wrapper:!0},S1c:{type:"structure",members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{}},wrapper:!0},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:!0},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:!0},S3o:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},S3z:{type:"structure",members:{DBParameterGroupName:{}}}}}},{}],95:[function(e,t,r){t.exports={pagination:{DescribeDBEngineVersions:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DBEngineVersions"},DescribeDBInstances:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DBInstances"},DescribeDBParameterGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DBParameterGroups"},DescribeDBParameters:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"Parameters"},DescribeDBSecurityGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DBSecurityGroups"},DescribeDBSnapshots:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DBSnapshots"},DescribeDBSubnetGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DBSubnetGroups"},DescribeEngineDefaultParameters:{input_token:"Marker",output_token:"EngineDefaults.Marker",limit_key:"MaxRecords",result_key:"EngineDefaults.Parameters"},DescribeEventSubscriptions:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"EventSubscriptionsList"},DescribeEvents:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"Events"},DescribeOptionGroupOptions:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"OptionGroupOptions"},DescribeOptionGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"OptionGroupsList"},DescribeOrderableDBInstanceOptions:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"OrderableDBInstanceOptions"},DescribeReservedDBInstances:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"ReservedDBInstances"},DescribeReservedDBInstancesOfferings:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"ReservedDBInstancesOfferings"},ListTagsForResource:{result_key:"TagList"}}}},{}],96:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-02-12",endpointPrefix:"rds",protocol:"query",serviceAbbreviation:"Amazon RDS",serviceFullName:"Amazon Relational Database Service",signatureVersion:"v4",xmlNamespace:"http://rds.amazonaws.com/doc/2013-02-12/"},operations:{AddSourceIdentifierToSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"AddSourceIdentifierToSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},AddTagsToResource:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"S9"}}}},AuthorizeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CopyDBSnapshot:{input:{type:"structure",required:["SourceDBSnapshotIdentifier","TargetDBSnapshotIdentifier"],members:{SourceDBSnapshotIdentifier:{},TargetDBSnapshotIdentifier:{}}},output:{resultWrapper:"CopyDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},CreateDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","AllocatedStorage","DBInstanceClass","Engine","MasterUsername","MasterUserPassword"],members:{DBName:{},DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},Engine:{},MasterUsername:{},MasterUserPassword:{},DBSecurityGroups:{shape:"Sp"},VpcSecurityGroupIds:{shape:"Sq"},AvailabilityZone:{},DBSubnetGroupName:{},PreferredMaintenanceWindow:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},CharacterSetName:{},PubliclyAccessible:{type:"boolean"}}},output:{resultWrapper:"CreateDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},CreateDBInstanceReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier","SourceDBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SourceDBInstanceIdentifier:{},DBInstanceClass:{},AvailabilityZone:{},Port:{type:"integer"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},PubliclyAccessible:{type:"boolean"}}},output:{resultWrapper:"CreateDBInstanceReadReplicaResult",type:"structure",members:{DBInstance:{shape:"St"}}}},CreateDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","DBParameterGroupFamily","Description"],members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{}}},output:{resultWrapper:"CreateDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"S1d"}}}},CreateDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName","DBSecurityGroupDescription"],members:{DBSecurityGroupName:{},DBSecurityGroupDescription:{}}},output:{resultWrapper:"CreateDBSecurityGroupResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CreateDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier","DBInstanceIdentifier"],members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{}}},output:{resultWrapper:"CreateDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},CreateDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1j"}}},output:{resultWrapper:"CreateDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S11"}}}},CreateEventSubscription:{input:{type:"structure",required:["SubscriptionName","SnsTopicArn"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},SourceIds:{shape:"S5"},Enabled:{type:"boolean"}}},output:{resultWrapper:"CreateEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},CreateOptionGroup:{input:{type:"structure",required:["OptionGroupName","EngineName","MajorEngineVersion","OptionGroupDescription"],members:{OptionGroupName:{},EngineName:{},MajorEngineVersion:{},OptionGroupDescription:{}}},output:{resultWrapper:"CreateOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1p"}}}},DeleteDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},DeleteDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{}}}},DeleteDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{}}}},DeleteDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},DeleteDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName"],members:{DBSubnetGroupName:{}}}},DeleteEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{}}},output:{resultWrapper:"DeleteEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},DeleteOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{}}}},DescribeDBEngineVersions:{input:{type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{},DefaultOnly:{type:"boolean"},ListSupportedCharacterSets:{type:"boolean"}}},output:{resultWrapper:"DescribeDBEngineVersionsResult",type:"structure",members:{Marker:{},DBEngineVersions:{type:"list",member:{locationName:"DBEngineVersion",type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},DBEngineDescription:{},DBEngineVersionDescription:{},DefaultCharacterSet:{shape:"S28"},SupportedCharacterSets:{type:"list",member:{shape:"S28",locationName:"CharacterSet"}}}}}}}},DescribeDBInstances:{input:{type:"structure",members:{DBInstanceIdentifier:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBInstancesResult",type:"structure",members:{Marker:{},DBInstances:{type:"list",member:{shape:"St",locationName:"DBInstance"}}}}},DescribeDBLogFiles:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},FilenameContains:{},FileLastWritten:{type:"long"},FileSize:{type:"long"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBLogFilesResult",type:"structure",members:{DescribeDBLogFiles:{type:"list",member:{locationName:"DescribeDBLogFilesDetails",type:"structure",members:{LogFileName:{},LastWritten:{type:"long"},Size:{type:"long"}}}},Marker:{}}}},DescribeDBParameterGroups:{input:{type:"structure",members:{DBParameterGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParameterGroupsResult",type:"structure",members:{Marker:{},DBParameterGroups:{type:"list",member:{shape:"S1d",locationName:"DBParameterGroup"}}}}},DescribeDBParameters:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},Source:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParametersResult",type:"structure",members:{Parameters:{shape:"S2n"},Marker:{}}}},DescribeDBSecurityGroups:{input:{type:"structure",members:{DBSecurityGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSecurityGroupsResult",type:"structure",members:{Marker:{},DBSecurityGroups:{type:"list",member:{shape:"Sd",locationName:"DBSecurityGroup"}}}}},DescribeDBSnapshots:{input:{type:"structure",members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},SnapshotType:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSnapshotsResult",type:"structure",members:{Marker:{},DBSnapshots:{type:"list",member:{shape:"Sk",locationName:"DBSnapshot"}}}}},DescribeDBSubnetGroups:{input:{type:"structure",members:{DBSubnetGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSubnetGroupsResult",type:"structure",members:{Marker:{},DBSubnetGroups:{type:"list",member:{shape:"S11",locationName:"DBSubnetGroup"}}}}},DescribeEngineDefaultParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultParametersResult",type:"structure",members:{EngineDefaults:{type:"structure",members:{DBParameterGroupFamily:{},Marker:{},Parameters:{shape:"S2n"}},wrapper:!0}}}},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:!0}}}}},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:!0}},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:!0}}}}},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:!0},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:!0},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:!0},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:!0},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:!0},S14:{type:"structure",members:{Name:{},ProvisionedIopsCapable:{type:"boolean"}},wrapper:!0},S1d:{type:"structure",members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{}},wrapper:!0},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:!0},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:!0},S3y:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},S4b:{type:"structure",members:{DBParameterGroupName:{}}}}}},{}],97:[function(e,t,r){t.exports={pagination:{DescribeDBEngineVersions:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DBEngineVersions"},DescribeDBInstances:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DBInstances"},DescribeDBLogFiles:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DescribeDBLogFiles"},DescribeDBParameterGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DBParameterGroups"},DescribeDBParameters:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"Parameters"},DescribeDBSecurityGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DBSecurityGroups"},DescribeDBSnapshots:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DBSnapshots"},DescribeDBSubnetGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DBSubnetGroups"},DescribeEngineDefaultParameters:{input_token:"Marker",output_token:"EngineDefaults.Marker",limit_key:"MaxRecords",result_key:"EngineDefaults.Parameters"},DescribeEventSubscriptions:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"EventSubscriptionsList"},DescribeEvents:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"Events"},DescribeOptionGroupOptions:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"OptionGroupOptions"},DescribeOptionGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"OptionGroupsList"},DescribeOrderableDBInstanceOptions:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"OrderableDBInstanceOptions"},DescribeReservedDBInstances:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"ReservedDBInstances"},DescribeReservedDBInstancesOfferings:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"ReservedDBInstancesOfferings"},DownloadDBLogFilePortion:{input_token:"Marker",output_token:"Marker",limit_key:"NumberOfLines",more_results:"AdditionalDataPending",result_key:"LogFileData"},ListTagsForResource:{result_key:"TagList"}}}},{}],98:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-09-09",endpointPrefix:"rds",protocol:"query",serviceAbbreviation:"Amazon RDS",serviceFullName:"Amazon Relational Database Service",signatureVersion:"v4",xmlNamespace:"http://rds.amazonaws.com/doc/2013-09-09/"},operations:{AddSourceIdentifierToSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"AddSourceIdentifierToSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},AddTagsToResource:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"S9"}}}},AuthorizeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CopyDBSnapshot:{input:{type:"structure",required:["SourceDBSnapshotIdentifier","TargetDBSnapshotIdentifier"],members:{SourceDBSnapshotIdentifier:{},TargetDBSnapshotIdentifier:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CopyDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},CreateDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","AllocatedStorage","DBInstanceClass","Engine","MasterUsername","MasterUserPassword"],members:{DBName:{},DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},Engine:{},MasterUsername:{},MasterUserPassword:{},DBSecurityGroups:{shape:"Sp"},VpcSecurityGroupIds:{shape:"Sq"},AvailabilityZone:{},DBSubnetGroupName:{},PreferredMaintenanceWindow:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},CharacterSetName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},CreateDBInstanceReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier","SourceDBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SourceDBInstanceIdentifier:{},DBInstanceClass:{},AvailabilityZone:{},Port:{type:"integer"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"S9"},DBSubnetGroupName:{}}},output:{resultWrapper:"CreateDBInstanceReadReplicaResult",type:"structure",members:{DBInstance:{shape:"St"}}}},CreateDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","DBParameterGroupFamily","Description"],members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"S1f"}}}},CreateDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName","DBSecurityGroupDescription"],members:{DBSecurityGroupName:{},DBSecurityGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSecurityGroupResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CreateDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier","DBInstanceIdentifier"],members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},CreateDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1l"},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S11"}}}},CreateEventSubscription:{input:{type:"structure",required:["SubscriptionName","SnsTopicArn"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},SourceIds:{shape:"S5"},Enabled:{type:"boolean"},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},CreateOptionGroup:{input:{type:"structure",required:["OptionGroupName","EngineName","MajorEngineVersion","OptionGroupDescription"],members:{OptionGroupName:{},EngineName:{},MajorEngineVersion:{},OptionGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1r"}}}},DeleteDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},DeleteDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{}}}},DeleteDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{}}}},DeleteDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},DeleteDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName"],members:{DBSubnetGroupName:{}}}},DeleteEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{}}},output:{resultWrapper:"DeleteEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},DeleteOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{}}}},DescribeDBEngineVersions:{input:{type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{},DefaultOnly:{type:"boolean"},ListSupportedCharacterSets:{type:"boolean"}}},output:{resultWrapper:"DescribeDBEngineVersionsResult",type:"structure",members:{Marker:{},DBEngineVersions:{type:"list",member:{locationName:"DBEngineVersion",type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},DBEngineDescription:{},DBEngineVersionDescription:{},DefaultCharacterSet:{shape:"S2d"},SupportedCharacterSets:{type:"list",member:{shape:"S2d",locationName:"CharacterSet"}}}}}}}},DescribeDBInstances:{input:{type:"structure",members:{DBInstanceIdentifier:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBInstancesResult",type:"structure",members:{Marker:{},DBInstances:{type:"list",member:{shape:"St",locationName:"DBInstance"}}}}},DescribeDBLogFiles:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},FilenameContains:{},FileLastWritten:{type:"long"},FileSize:{type:"long"},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBLogFilesResult",type:"structure",members:{DescribeDBLogFiles:{type:"list",member:{locationName:"DescribeDBLogFilesDetails",type:"structure",members:{LogFileName:{},LastWritten:{type:"long"},Size:{type:"long"}}}},Marker:{}}}},DescribeDBParameterGroups:{input:{type:"structure",members:{DBParameterGroupName:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParameterGroupsResult",type:"structure",members:{Marker:{},DBParameterGroups:{type:"list",member:{shape:"S1f",locationName:"DBParameterGroup"}}}}},DescribeDBParameters:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},Source:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParametersResult",type:"structure",members:{Parameters:{shape:"S2s"},Marker:{}}}},DescribeDBSecurityGroups:{input:{type:"structure",members:{DBSecurityGroupName:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSecurityGroupsResult",type:"structure",members:{Marker:{},DBSecurityGroups:{type:"list",member:{shape:"Sd",locationName:"DBSecurityGroup"}}}}},DescribeDBSnapshots:{input:{type:"structure",members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},SnapshotType:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSnapshotsResult",type:"structure",members:{Marker:{},DBSnapshots:{type:"list",member:{shape:"Sk",locationName:"DBSnapshot"}}}}},DescribeDBSubnetGroups:{input:{type:"structure",members:{DBSubnetGroupName:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSubnetGroupsResult",type:"structure",members:{Marker:{},DBSubnetGroups:{type:"list",member:{shape:"S11",locationName:"DBSubnetGroup"}}}}},DescribeEngineDefaultParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultParametersResult",type:"structure",members:{EngineDefaults:{type:"structure",members:{DBParameterGroupFamily:{},Marker:{},Parameters:{shape:"S2s"}},wrapper:!0}}}},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:!0}}}}},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:!0}},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:!0}}}}},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:!0},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:!0},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:!0},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:!0},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:!0},S14:{type:"structure",members:{Name:{},ProvisionedIopsCapable:{type:"boolean"}},wrapper:!0},S1f:{type:"structure",members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{}},wrapper:!0},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:!0},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:!0},S43:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},S4g:{type:"structure",members:{DBParameterGroupName:{}}}}}},{}],99:[function(e,t,r){arguments[4][97][0].apply(r,arguments)},{dup:97}],100:[function(e,t,r){t.exports={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"}]}}}},{}],101:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-10-31",endpointPrefix:"rds",protocol:"query",serviceAbbreviation:"Amazon RDS",serviceFullName:"Amazon Relational Database Service",signatureVersion:"v4",xmlNamespace:"http://rds.amazonaws.com/doc/2014-10-31/"},operations:{AddSourceIdentifierToSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"AddSourceIdentifierToSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},AddTagsToResource:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"S9"}}}},ApplyPendingMaintenanceAction:{input:{type:"structure",required:["ResourceIdentifier","ApplyAction","OptInType"],members:{ResourceIdentifier:{},ApplyAction:{},OptInType:{}}},output:{resultWrapper:"ApplyPendingMaintenanceActionResult",type:"structure",members:{ResourcePendingMaintenanceActions:{shape:"Sd"}}}},AuthorizeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sj"}}}},CopyDBClusterParameterGroup:{input:{type:"structure",required:["SourceDBClusterParameterGroupIdentifier","TargetDBClusterParameterGroupIdentifier","TargetDBClusterParameterGroupDescription"],members:{SourceDBClusterParameterGroupIdentifier:{},TargetDBClusterParameterGroupIdentifier:{},TargetDBClusterParameterGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CopyDBClusterParameterGroupResult",type:"structure",members:{DBClusterParameterGroup:{shape:"Sq"}}}},CopyDBClusterSnapshot:{input:{type:"structure",required:["SourceDBClusterSnapshotIdentifier","TargetDBClusterSnapshotIdentifier"],members:{SourceDBClusterSnapshotIdentifier:{},TargetDBClusterSnapshotIdentifier:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CopyDBClusterSnapshotResult",type:"structure",members:{DBClusterSnapshot:{shape:"St"}}}},CopyDBParameterGroup:{input:{type:"structure",required:["SourceDBParameterGroupIdentifier","TargetDBParameterGroupIdentifier","TargetDBParameterGroupDescription"],members:{SourceDBParameterGroupIdentifier:{},TargetDBParameterGroupIdentifier:{},TargetDBParameterGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CopyDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"Sy"}}}},CopyDBSnapshot:{input:{type:"structure",required:["SourceDBSnapshotIdentifier","TargetDBSnapshotIdentifier"],members:{SourceDBSnapshotIdentifier:{},TargetDBSnapshotIdentifier:{},KmsKeyId:{},Tags:{shape:"S9"},CopyTags:{type:"boolean"}}},output:{resultWrapper:"CopyDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"S12"}}}},CopyOptionGroup:{input:{type:"structure",required:["SourceOptionGroupIdentifier","TargetOptionGroupIdentifier","TargetOptionGroupDescription"],members:{SourceOptionGroupIdentifier:{},TargetOptionGroupIdentifier:{},TargetOptionGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CopyOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S16"}}}},CreateDBCluster:{input:{type:"structure",required:["DBClusterIdentifier","Engine"],members:{AvailabilityZones:{shape:"Su"},BackupRetentionPeriod:{type:"integer"},CharacterSetName:{},DatabaseName:{},DBClusterIdentifier:{},DBClusterParameterGroupName:{},VpcSecurityGroupIds:{shape:"S1g"},DBSubnetGroupName:{},Engine:{},EngineVersion:{},Port:{type:"integer"},MasterUsername:{},MasterUserPassword:{},OptionGroupName:{},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},ReplicationSourceIdentifier:{},Tags:{shape:"S9"},StorageEncrypted:{type:"boolean"},KmsKeyId:{}}},output:{resultWrapper:"CreateDBClusterResult",type:"structure",members:{DBCluster:{shape:"S1i"}}}},CreateDBClusterParameterGroup:{input:{type:"structure",required:["DBClusterParameterGroupName","DBParameterGroupFamily","Description"],members:{DBClusterParameterGroupName:{},DBParameterGroupFamily:{},Description:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBClusterParameterGroupResult",type:"structure",members:{DBClusterParameterGroup:{shape:"Sq"}}}},CreateDBClusterSnapshot:{input:{type:"structure",required:["DBClusterSnapshotIdentifier","DBClusterIdentifier"],members:{DBClusterSnapshotIdentifier:{},DBClusterIdentifier:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBClusterSnapshotResult",type:"structure",members:{DBClusterSnapshot:{shape:"St"}}}},CreateDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","DBInstanceClass","Engine"],members:{DBName:{},DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},Engine:{},MasterUsername:{},MasterUserPassword:{},DBSecurityGroups:{shape:"S1t"},VpcSecurityGroupIds:{shape:"S1g"},AvailabilityZone:{},DBSubnetGroupName:{},PreferredMaintenanceWindow:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},CharacterSetName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"S9"},DBClusterIdentifier:{},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{},StorageEncrypted:{type:"boolean"},KmsKeyId:{},Domain:{},CopyTagsToSnapshot:{type:"boolean"},MonitoringInterval:{type:"integer"},MonitoringRoleArn:{},DomainIAMRoleName:{},PromotionTier:{type:"integer"},Timezone:{}}},output:{resultWrapper:"CreateDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S1v"}}}},CreateDBInstanceReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier","SourceDBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SourceDBInstanceIdentifier:{},DBInstanceClass:{},AvailabilityZone:{},Port:{type:"integer"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"S9"},DBSubnetGroupName:{},StorageType:{},CopyTagsToSnapshot:{type:"boolean"},MonitoringInterval:{type:"integer"},MonitoringRoleArn:{}}},output:{resultWrapper:"CreateDBInstanceReadReplicaResult",type:"structure",members:{DBInstance:{shape:"S1v"}}}},CreateDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","DBParameterGroupFamily","Description"],members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"Sy"}}}},CreateDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName","DBSecurityGroupDescription"],members:{DBSecurityGroupName:{},DBSecurityGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSecurityGroupResult",type:"structure",members:{DBSecurityGroup:{shape:"Sj"}}}},CreateDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier","DBInstanceIdentifier"],members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"S12"}}}},CreateDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S2k"},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S1z"}}}},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:"S16"}}}},DeleteDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBClusterResult",type:"structure",members:{DBCluster:{shape:"S1i"}}}},DeleteDBClusterParameterGroup:{input:{type:"structure",required:["DBClusterParameterGroupName"],members:{DBClusterParameterGroupName:{}}}},DeleteDBClusterSnapshot:{input:{type:"structure",required:["DBClusterSnapshotIdentifier"],members:{DBClusterSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBClusterSnapshotResult",type:"structure",members:{DBClusterSnapshot:{shape:"St"}}}},DeleteDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S1v"}}}},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:"S12"}}}},DeleteDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName"],members:{DBSubnetGroupName:{}}}},DeleteEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{}}},output:{resultWrapper:"DeleteEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},DeleteOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{}}}},DescribeAccountAttributes:{input:{type:"structure",members:{}},output:{resultWrapper:"DescribeAccountAttributesResult",type:"structure",members:{AccountQuotas:{type:"list",member:{locationName:"AccountQuota",type:"structure",members:{AccountQuotaName:{},Used:{type:"long"},Max:{type:"long"}},wrapper:!0}}}}},DescribeCertificates:{input:{type:"structure",members:{CertificateIdentifier:{},Filters:{shape:"S3b"},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:!0}},Marker:{}}}},DescribeDBClusterParameterGroups:{input:{type:"structure",members:{DBClusterParameterGroupName:{},Filters:{shape:"S3b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBClusterParameterGroupsResult",type:"structure",members:{Marker:{},DBClusterParameterGroups:{type:"list",member:{shape:"Sq",locationName:"DBClusterParameterGroup"}}}}},DescribeDBClusterParameters:{input:{type:"structure",required:["DBClusterParameterGroupName"],members:{DBClusterParameterGroupName:{},Source:{},Filters:{shape:"S3b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBClusterParametersResult",type:"structure",members:{Parameters:{shape:"S3m"},Marker:{}}}},DescribeDBClusterSnapshotAttributes:{input:{type:"structure",required:["DBClusterSnapshotIdentifier"],members:{DBClusterSnapshotIdentifier:{}}},output:{resultWrapper:"DescribeDBClusterSnapshotAttributesResult",type:"structure",members:{DBClusterSnapshotAttributesResult:{shape:"S3r"}}}},DescribeDBClusterSnapshots:{input:{type:"structure",members:{DBClusterIdentifier:{},DBClusterSnapshotIdentifier:{},SnapshotType:{},Filters:{shape:"S3b"},MaxRecords:{type:"integer"},Marker:{},IncludeShared:{type:"boolean"},IncludePublic:{type:"boolean"}}},output:{resultWrapper:"DescribeDBClusterSnapshotsResult",type:"structure",members:{Marker:{},DBClusterSnapshots:{type:"list",member:{shape:"St",locationName:"DBClusterSnapshot"}}}}},DescribeDBClusters:{input:{type:"structure",members:{DBClusterIdentifier:{},Filters:{shape:"S3b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBClustersResult",type:"structure",members:{Marker:{},DBClusters:{type:"list",member:{shape:"S1i",locationName:"DBCluster"}}}}},DescribeDBEngineVersions:{input:{type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},Filters:{shape:"S3b"},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:"S45"},SupportedCharacterSets:{type:"list",member:{shape:"S45",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:"S3b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBInstancesResult",type:"structure",members:{Marker:{},DBInstances:{type:"list",member:{shape:"S1v",locationName:"DBInstance"}}}}},DescribeDBLogFiles:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},FilenameContains:{},FileLastWritten:{type:"long"},FileSize:{type:"long"},Filters:{shape:"S3b"},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:"S3b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParameterGroupsResult",type:"structure",members:{Marker:{},DBParameterGroups:{type:"list",member:{shape:"Sy",locationName:"DBParameterGroup"}}}}},DescribeDBParameters:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},Source:{},Filters:{shape:"S3b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParametersResult",type:"structure",members:{Parameters:{shape:"S3m"},Marker:{}}}},DescribeDBSecurityGroups:{input:{type:"structure",members:{DBSecurityGroupName:{},Filters:{shape:"S3b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSecurityGroupsResult",type:"structure",members:{Marker:{},DBSecurityGroups:{type:"list",member:{shape:"Sj",locationName:"DBSecurityGroup"}}}}},DescribeDBSnapshotAttributes:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{}}},output:{resultWrapper:"DescribeDBSnapshotAttributesResult",type:"structure",members:{DBSnapshotAttributesResult:{shape:"S4s"}}}},DescribeDBSnapshots:{input:{type:"structure",members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},SnapshotType:{},Filters:{shape:"S3b"},MaxRecords:{type:"integer"},Marker:{},IncludeShared:{type:"boolean"},IncludePublic:{type:"boolean"}}},output:{resultWrapper:"DescribeDBSnapshotsResult",type:"structure",members:{Marker:{},DBSnapshots:{type:"list",member:{shape:"S12",locationName:"DBSnapshot"}}}}},DescribeDBSubnetGroups:{input:{type:"structure",members:{DBSubnetGroupName:{},Filters:{shape:"S3b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSubnetGroupsResult",type:"structure",members:{Marker:{},DBSubnetGroups:{type:"list",member:{shape:"S1z",locationName:"DBSubnetGroup"}}}}},DescribeEngineDefaultClusterParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},Filters:{shape:"S3b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultClusterParametersResult",type:"structure",members:{EngineDefaults:{shape:"S53"}}}},DescribeEngineDefaultParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},Filters:{shape:"S3b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultParametersResult",type:"structure",members:{EngineDefaults:{shape:"S53"}}}},DescribeEventCategories:{input:{type:"structure",members:{SourceType:{},Filters:{shape:"S3b"}}},output:{resultWrapper:"DescribeEventCategoriesResult",type:"structure",members:{EventCategoriesMapList:{type:"list",member:{locationName:"EventCategoriesMap",type:"structure",members:{SourceType:{},EventCategories:{shape:"S6"}},wrapper:!0}}}}},DescribeEventSubscriptions:{input:{type:"structure",members:{SubscriptionName:{},Filters:{shape:"S3b"},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:"S3b"},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"},SourceArn:{}}}}}}},DescribeOptionGroupOptions:{input:{type:"structure",required:["EngineName"],members:{EngineName:{},MajorEngineVersion:{},Filters:{shape:"S3b"},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:"S3b"},Marker:{},MaxRecords:{type:"integer"},EngineName:{},MajorEngineVersion:{}}},output:{resultWrapper:"DescribeOptionGroupsResult",type:"structure",members:{OptionGroupsList:{type:"list",member:{shape:"S16",locationName:"OptionGroup"}},Marker:{}}}},DescribeOrderableDBInstanceOptions:{input:{type:"structure",required:["Engine"],members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},Vpc:{type:"boolean"},Filters:{shape:"S3b"},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:"S22",locationName:"AvailabilityZone"}},MultiAZCapable:{type:"boolean"},ReadReplicaCapable:{type:"boolean"},Vpc:{type:"boolean"},SupportsStorageEncryption:{type:"boolean"},StorageType:{},SupportsIops:{type:"boolean"},SupportsEnhancedMonitoring:{type:"boolean"}},wrapper:!0}},Marker:{}}}},DescribePendingMaintenanceActions:{input:{type:"structure",members:{ResourceIdentifier:{},Filters:{shape:"S3b"},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribePendingMaintenanceActionsResult",type:"structure",members:{PendingMaintenanceActions:{type:"list",member:{shape:"Sd",locationName:"ResourcePendingMaintenanceActions"}},Marker:{}}}},DescribeReservedDBInstances:{input:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},Filters:{shape:"S3b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesResult",type:"structure",members:{Marker:{},ReservedDBInstances:{type:"list",member:{shape:"S66",locationName:"ReservedDBInstance"}}}}},DescribeReservedDBInstancesOfferings:{input:{type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},Filters:{shape:"S3b"},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:"S68"}},wrapper:!0}}}}},DescribeSourceRegions:{input:{type:"structure",members:{RegionName:{},MaxRecords:{type:"integer"},Marker:{},Filters:{shape:"S3b"}}},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:"S1i"}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceName"],members:{ResourceName:{},Filters:{shape:"S3b"}}},output:{resultWrapper:"ListTagsForResourceResult",type:"structure",members:{TagList:{shape:"S9"}}}},ModifyDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{},NewDBClusterIdentifier:{},ApplyImmediately:{type:"boolean"},BackupRetentionPeriod:{type:"integer"},DBClusterParameterGroupName:{},VpcSecurityGroupIds:{shape:"S1g"},Port:{type:"integer"},MasterUserPassword:{},OptionGroupName:{},PreferredBackupWindow:{},PreferredMaintenanceWindow:{}}},output:{resultWrapper:"ModifyDBClusterResult",type:"structure",members:{DBCluster:{shape:"S1i"}}}},ModifyDBClusterParameterGroup:{input:{type:"structure",required:["DBClusterParameterGroupName","Parameters"],members:{DBClusterParameterGroupName:{},Parameters:{shape:"S3m"}}},output:{shape:"S6r",resultWrapper:"ModifyDBClusterParameterGroupResult"}},ModifyDBClusterSnapshotAttribute:{input:{type:"structure",required:["DBClusterSnapshotIdentifier","AttributeName"],members:{DBClusterSnapshotIdentifier:{},AttributeName:{},ValuesToAdd:{shape:"S3u"},ValuesToRemove:{shape:"S3u"}}},output:{resultWrapper:"ModifyDBClusterSnapshotAttributeResult",type:"structure",members:{DBClusterSnapshotAttributesResult:{shape:"S3r"}}}},ModifyDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},DBSubnetGroupName:{},DBSecurityGroups:{shape:"S1t"},VpcSecurityGroupIds:{shape:"S1g"},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"}}},output:{resultWrapper:"ModifyDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S1v"}}}},ModifyDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","Parameters"],members:{DBParameterGroupName:{},Parameters:{shape:"S3m"}}},output:{shape:"S6x",resultWrapper:"ModifyDBParameterGroupResult"}},ModifyDBSnapshotAttribute:{input:{type:"structure",required:["DBSnapshotIdentifier","AttributeName"],members:{DBSnapshotIdentifier:{},AttributeName:{},ValuesToAdd:{shape:"S3u"},ValuesToRemove:{shape:"S3u"}}},output:{resultWrapper:"ModifyDBSnapshotAttributeResult",type:"structure",members:{DBSnapshotAttributesResult:{shape:"S4s"}}}},ModifyDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S2k"}}},output:{resultWrapper:"ModifyDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S1z"}}}},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"},OptionVersion:{},DBSecurityGroupMemberships:{shape:"S1t"},VpcSecurityGroupMemberships:{shape:"S1g"},OptionSettings:{type:"list",member:{shape:"S1a",locationName:"OptionSetting"}}}}},OptionsToRemove:{type:"list",member:{}},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"ModifyOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S16"}}}},PromoteReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{}}},output:{resultWrapper:"PromoteReadReplicaResult",type:"structure",members:{DBInstance:{shape:"S1v"}}}},PromoteReadReplicaDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{}}},output:{resultWrapper:"PromoteReadReplicaDBClusterResult",type:"structure",members:{DBCluster:{shape:"S1i"}}}},PurchaseReservedDBInstancesOffering:{input:{type:"structure",required:["ReservedDBInstancesOfferingId"],members:{ReservedDBInstancesOfferingId:{},ReservedDBInstanceId:{},DBInstanceCount:{type:"integer"},Tags:{shape:"S9"}}},output:{resultWrapper:"PurchaseReservedDBInstancesOfferingResult",type:"structure",members:{ReservedDBInstance:{shape:"S66"}}}},RebootDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},ForceFailover:{type:"boolean"}}},output:{resultWrapper:"RebootDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S1v"}}}},RemoveSourceIdentifierFromSubscription:{input:{ -type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"RemoveSourceIdentifierFromSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceName","TagKeys"],members:{ResourceName:{},TagKeys:{type:"list",member:{}}}}},ResetDBClusterParameterGroup:{input:{type:"structure",required:["DBClusterParameterGroupName"],members:{DBClusterParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S3m"}}},output:{shape:"S6r",resultWrapper:"ResetDBClusterParameterGroupResult"}},ResetDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S3m"}}},output:{shape:"S6x",resultWrapper:"ResetDBParameterGroupResult"}},RestoreDBClusterFromS3:{input:{type:"structure",required:["DBClusterIdentifier","Engine","MasterUsername","MasterUserPassword","SourceEngine","SourceEngineVersion","S3BucketName","S3IngestionRoleArn"],members:{AvailabilityZones:{shape:"Su"},BackupRetentionPeriod:{type:"integer"},CharacterSetName:{},DatabaseName:{},DBClusterIdentifier:{},DBClusterParameterGroupName:{},VpcSecurityGroupIds:{shape:"S1g"},DBSubnetGroupName:{},Engine:{},EngineVersion:{},Port:{type:"integer"},MasterUsername:{},MasterUserPassword:{},OptionGroupName:{},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},Tags:{shape:"S9"},StorageEncrypted:{type:"boolean"},KmsKeyId:{},SourceEngine:{},SourceEngineVersion:{},S3BucketName:{},S3Prefix:{},S3IngestionRoleArn:{}}},output:{resultWrapper:"RestoreDBClusterFromS3Result",type:"structure",members:{DBCluster:{shape:"S1i"}}}},RestoreDBClusterFromSnapshot:{input:{type:"structure",required:["DBClusterIdentifier","SnapshotIdentifier","Engine"],members:{AvailabilityZones:{shape:"Su"},DBClusterIdentifier:{},SnapshotIdentifier:{},Engine:{},EngineVersion:{},Port:{type:"integer"},DBSubnetGroupName:{},DatabaseName:{},OptionGroupName:{},VpcSecurityGroupIds:{shape:"S1g"},Tags:{shape:"S9"},KmsKeyId:{}}},output:{resultWrapper:"RestoreDBClusterFromSnapshotResult",type:"structure",members:{DBCluster:{shape:"S1i"}}}},RestoreDBClusterToPointInTime:{input:{type:"structure",required:["DBClusterIdentifier","SourceDBClusterIdentifier"],members:{DBClusterIdentifier:{},SourceDBClusterIdentifier:{},RestoreToTime:{type:"timestamp"},UseLatestRestorableTime:{type:"boolean"},Port:{type:"integer"},DBSubnetGroupName:{},OptionGroupName:{},VpcSecurityGroupIds:{shape:"S1g"},Tags:{shape:"S9"},KmsKeyId:{}}},output:{resultWrapper:"RestoreDBClusterToPointInTimeResult",type:"structure",members:{DBCluster:{shape:"S1i"}}}},RestoreDBInstanceFromDBSnapshot:{input:{type:"structure",required:["DBInstanceIdentifier","DBSnapshotIdentifier"],members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{},Tags:{shape:"S9"},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{},Domain:{},CopyTagsToSnapshot:{type:"boolean"},DomainIAMRoleName:{}}},output:{resultWrapper:"RestoreDBInstanceFromDBSnapshotResult",type:"structure",members:{DBInstance:{shape:"S1v"}}}},RestoreDBInstanceToPointInTime:{input:{type:"structure",required:["SourceDBInstanceIdentifier","TargetDBInstanceIdentifier"],members:{SourceDBInstanceIdentifier:{},TargetDBInstanceIdentifier:{},RestoreTime:{type:"timestamp"},UseLatestRestorableTime:{type:"boolean"},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{},CopyTagsToSnapshot:{type:"boolean"},Tags:{shape:"S9"},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{},Domain:{},DomainIAMRoleName:{}}},output:{resultWrapper:"RestoreDBInstanceToPointInTimeResult",type:"structure",members:{DBInstance:{shape:"S1v"}}}},RevokeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"RevokeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sj"}}}}},shapes:{S4:{type:"structure",members:{CustomerAwsId:{},CustSubscriptionId:{},SnsTopicArn:{},Status:{},SubscriptionCreationTime:{},SourceType:{},SourceIdsList:{shape:"S5"},EventCategoriesList:{shape:"S6"},Enabled:{type:"boolean"},EventSubscriptionArn:{}},wrapper:!0},S5:{type:"list",member:{locationName:"SourceId"}},S6:{type:"list",member:{locationName:"EventCategory"}},S9:{type:"list",member:{locationName:"Tag",type:"structure",members:{Key:{},Value:{}}}},Sd:{type:"structure",members:{ResourceIdentifier:{},PendingMaintenanceActionDetails:{type:"list",member:{locationName:"PendingMaintenanceAction",type:"structure",members:{Action:{},AutoAppliedAfterDate:{type:"timestamp"},ForcedApplyDate:{type:"timestamp"},OptInStatus:{},CurrentApplyDate:{type:"timestamp"},Description:{}}}}},wrapper:!0},Sj:{type:"structure",members:{OwnerId:{},DBSecurityGroupName:{},DBSecurityGroupDescription:{},VpcId:{},EC2SecurityGroups:{type:"list",member:{locationName:"EC2SecurityGroup",type:"structure",members:{Status:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}}},IPRanges:{type:"list",member:{locationName:"IPRange",type:"structure",members:{Status:{},CIDRIP:{}}}},DBSecurityGroupArn:{}},wrapper:!0},Sq:{type:"structure",members:{DBClusterParameterGroupName:{},DBParameterGroupFamily:{},Description:{},DBClusterParameterGroupArn:{}},wrapper:!0},St:{type:"structure",members:{AvailabilityZones:{shape:"Su"},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:{}},wrapper:!0},Su:{type:"list",member:{locationName:"AvailabilityZone"}},Sy:{type:"structure",members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{},DBParameterGroupArn:{}},wrapper:!0},S12:{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:{}},wrapper:!0},S16:{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:"S1a",locationName:"OptionSetting"}},DBSecurityGroupMemberships:{shape:"S1b"},VpcSecurityGroupMemberships:{shape:"S1d"}}}},AllowsVpcAndNonVpcInstanceMemberships:{type:"boolean"},VpcId:{},OptionGroupArn:{}},wrapper:!0},S1a:{type:"structure",members:{Name:{},Value:{},DefaultValue:{},Description:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},IsCollection:{type:"boolean"}}},S1b:{type:"list",member:{locationName:"DBSecurityGroup",type:"structure",members:{DBSecurityGroupName:{},Status:{}}}},S1d:{type:"list",member:{locationName:"VpcSecurityGroupMembership",type:"structure",members:{VpcSecurityGroupId:{},Status:{}}}},S1g:{type:"list",member:{locationName:"VpcSecurityGroupId"}},S1i:{type:"structure",members:{AllocatedStorage:{type:"integer"},AvailabilityZones:{shape:"Su"},BackupRetentionPeriod:{type:"integer"},CharacterSetName:{},DatabaseName:{},DBClusterIdentifier:{},DBClusterParameterGroup:{},DBSubnetGroup:{},Status:{},PercentProgress:{},EarliestRestorableTime:{type:"timestamp"},Endpoint:{},ReaderEndpoint:{},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:!0}},VpcSecurityGroups:{shape:"S1d"},HostedZoneId:{},StorageEncrypted:{type:"boolean"},KmsKeyId:{},DbClusterResourceId:{},DBClusterArn:{}},wrapper:!0},S1t:{type:"list",member:{locationName:"DBSecurityGroupName"}},S1v:{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:"S1b"},VpcSecurityGroups:{shape:"S1d"},DBParameterGroups:{type:"list",member:{locationName:"DBParameterGroup",type:"structure",members:{DBParameterGroupName:{},ParameterApplyStatus:{}}}},AvailabilityZone:{},DBSubnetGroup:{shape:"S1z"},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"}},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:{}},wrapper:!0},S1z:{type:"structure",members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},VpcId:{},SubnetGroupStatus:{},Subnets:{type:"list",member:{locationName:"Subnet",type:"structure",members:{SubnetIdentifier:{},SubnetAvailabilityZone:{shape:"S22"},SubnetStatus:{}}}},DBSubnetGroupArn:{}},wrapper:!0},S22:{type:"structure",members:{Name:{}},wrapper:!0},S2k:{type:"list",member:{locationName:"SubnetIdentifier"}},S3b:{type:"list",member:{locationName:"Filter",type:"structure",required:["Name","Values"],members:{Name:{},Values:{type:"list",member:{locationName:"Value"}}}}},S3m:{type:"list",member:{locationName:"Parameter",type:"structure",members:{ParameterName:{},ParameterValue:{},Description:{},Source:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},MinimumEngineVersion:{},ApplyMethod:{}}}},S3r:{type:"structure",members:{DBClusterSnapshotIdentifier:{},DBClusterSnapshotAttributes:{type:"list",member:{locationName:"DBClusterSnapshotAttribute",type:"structure",members:{AttributeName:{},AttributeValues:{shape:"S3u"}}}}},wrapper:!0},S3u:{type:"list",member:{locationName:"AttributeValue"}},S45:{type:"structure",members:{CharacterSetName:{},CharacterSetDescription:{}}},S4s:{type:"structure",members:{DBSnapshotIdentifier:{},DBSnapshotAttributes:{type:"list",member:{locationName:"DBSnapshotAttribute",type:"structure",members:{AttributeName:{},AttributeValues:{shape:"S3u"}},wrapper:!0}}},wrapper:!0},S53:{type:"structure",members:{DBParameterGroupFamily:{},Marker:{},Parameters:{shape:"S3m"}},wrapper:!0},S66:{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:"S68"},ReservedDBInstanceArn:{}},wrapper:!0},S68:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},S6r:{type:"structure",members:{DBClusterParameterGroupName:{}}},S6x:{type:"structure",members:{DBParameterGroupName:{}}}}}},{}],102:[function(e,t,r){arguments[4][97][0].apply(r,arguments)},{dup:97}],103:[function(e,t,r){t.exports={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"}]}}}},{}],104:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2012-12-01",endpointPrefix:"redshift",protocol:"query",serviceFullName:"Amazon Redshift",signatureVersion:"v4",xmlNamespace:"http://redshift.amazonaws.com/doc/2012-12-01/"},operations:{AuthorizeClusterSecurityGroupIngress:{input:{type:"structure",required:["ClusterSecurityGroupName"],members:{ClusterSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeClusterSecurityGroupIngressResult",type:"structure",members:{ClusterSecurityGroup:{shape:"S4"}}}},AuthorizeSnapshotAccess:{input:{type:"structure",required:["SnapshotIdentifier","AccountWithRestoreAccess"],members:{SnapshotIdentifier:{},SnapshotClusterIdentifier:{},AccountWithRestoreAccess:{}}},output:{resultWrapper:"AuthorizeSnapshotAccessResult",type:"structure",members:{Snapshot:{shape:"Sd"}}}},CopyClusterSnapshot:{input:{type:"structure",required:["SourceSnapshotIdentifier","TargetSnapshotIdentifier"],members:{SourceSnapshotIdentifier:{},SourceSnapshotClusterIdentifier:{},TargetSnapshotIdentifier:{}}},output:{resultWrapper:"CopyClusterSnapshotResult",type:"structure",members:{Snapshot:{shape:"Sd"}}}},CreateCluster:{input:{type:"structure",required:["ClusterIdentifier","NodeType","MasterUsername","MasterUserPassword"],members:{DBName:{},ClusterIdentifier:{},ClusterType:{},NodeType:{},MasterUsername:{},MasterUserPassword:{},ClusterSecurityGroups:{shape:"Sp"},VpcSecurityGroupIds:{shape:"Sq"},ClusterSubnetGroupName:{},AvailabilityZone:{},PreferredMaintenanceWindow:{},ClusterParameterGroupName:{},AutomatedSnapshotRetentionPeriod:{type:"integer"},Port:{type:"integer"},ClusterVersion:{},AllowVersionUpgrade:{type:"boolean"},NumberOfNodes:{type:"integer"},PubliclyAccessible:{type:"boolean"},Encrypted:{type:"boolean"},HsmClientCertificateIdentifier:{},HsmConfigurationIdentifier:{},ElasticIp:{},Tags:{shape:"S7"},KmsKeyId:{},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:!0}}}},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:!0}}},wrapper:!0}}}}},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:!0}},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:!0}}}}},DescribeReservedNodes:{input:{type:"structure",members:{ReservedNodeId:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedNodesResult",type:"structure",members:{Marker:{},ReservedNodes:{type:"list",member:{shape:"S4c",locationName:"ReservedNode"}}}}},DescribeResize:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},output:{resultWrapper:"DescribeResizeResult",type:"structure",members:{TargetNodeType:{},TargetNumberOfNodes:{type:"integer"},TargetClusterType:{},Status:{},ImportTablesCompleted:{type:"list",member:{}},ImportTablesInProgress:{type:"list",member:{}},ImportTablesNotStarted:{type:"list",member:{}},AvgResizeRateInMegaBytesPerSecond:{type:"double"},TotalResizeDataInMegaBytes:{type:"long"},ProgressInMegaBytes:{type:"long"},ElapsedTimeInSeconds:{type:"long"},EstimatedTimeToCompletionInSeconds:{type:"long"}}}},DescribeSnapshotCopyGrants:{input:{type:"structure",members:{SnapshotCopyGrantName:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S2j"},TagValues:{shape:"S2l"}}},output:{resultWrapper:"DescribeSnapshotCopyGrantsResult",type:"structure",members:{Marker:{},SnapshotCopyGrants:{type:"list",member:{shape:"S25",locationName:"SnapshotCopyGrant"}}}}},DescribeTableRestoreStatus:{input:{type:"structure",members:{ClusterIdentifier:{},TableRestoreRequestId:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeTableRestoreStatusResult",type:"structure",members:{TableRestoreStatusDetails:{type:"list",member:{shape:"S4q",locationName:"TableRestoreStatus"}},Marker:{}}}},DescribeTags:{input:{type:"structure",members:{ResourceName:{},ResourceType:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S2j"},TagValues:{shape:"S2l"}}},output:{resultWrapper:"DescribeTagsResult",type:"structure",members:{TaggedResources:{type:"list",member:{locationName:"TaggedResource",type:"structure",members:{Tag:{shape:"S8"},ResourceName:{},ResourceType:{}}}},Marker:{}}}},DisableLogging:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},output:{shape:"S3x",resultWrapper:"DisableLoggingResult"}},DisableSnapshotCopy:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},output:{resultWrapper:"DisableSnapshotCopyResult",type:"structure",members:{Cluster:{shape:"Sv"}}}},EnableLogging:{input:{type:"structure",required:["ClusterIdentifier","BucketName"],members:{ClusterIdentifier:{},BucketName:{},S3KeyPrefix:{}}},output:{shape:"S3x",resultWrapper:"EnableLoggingResult"}},EnableSnapshotCopy:{input:{type:"structure",required:["ClusterIdentifier","DestinationRegion"],members:{ClusterIdentifier:{},DestinationRegion:{},RetentionPeriod:{type:"integer"},SnapshotCopyGrantName:{}}},output:{resultWrapper:"EnableSnapshotCopyResult",type:"structure",members:{Cluster:{shape:"Sv"}}}},ModifyCluster:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{},ClusterType:{},NodeType:{},NumberOfNodes:{type:"integer"},ClusterSecurityGroups:{shape:"Sp"},VpcSecurityGroupIds:{shape:"Sq"},MasterUserPassword:{},ClusterParameterGroupName:{},AutomatedSnapshotRetentionPeriod:{type:"integer"},PreferredMaintenanceWindow:{},ClusterVersion:{},AllowVersionUpgrade:{type:"boolean"},HsmClientCertificateIdentifier:{},HsmConfigurationIdentifier:{},NewClusterIdentifier:{},PubliclyAccessible:{type:"boolean"},ElasticIp:{},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:"S57",resultWrapper:"ModifyClusterParameterGroupResult"}},ModifyClusterSubnetGroup:{input:{type:"structure",required:["ClusterSubnetGroupName","SubnetIds"],members:{ClusterSubnetGroupName:{},Description:{},SubnetIds:{shape:"S1m"}}},output:{resultWrapper:"ModifyClusterSubnetGroupResult", -type:"structure",members:{ClusterSubnetGroup:{shape:"S1o"}}}},ModifyEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},SourceIds:{shape:"S1t"},EventCategories:{shape:"S1u"},Severity:{},Enabled:{type:"boolean"}}},output:{resultWrapper:"ModifyEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S1w"}}}},ModifySnapshotCopyRetentionPeriod:{input:{type:"structure",required:["ClusterIdentifier","RetentionPeriod"],members:{ClusterIdentifier:{},RetentionPeriod:{type:"integer"}}},output:{resultWrapper:"ModifySnapshotCopyRetentionPeriodResult",type:"structure",members:{Cluster:{shape:"Sv"}}}},PurchaseReservedNodeOffering:{input:{type:"structure",required:["ReservedNodeOfferingId"],members:{ReservedNodeOfferingId:{},NodeCount:{type:"integer"}}},output:{resultWrapper:"PurchaseReservedNodeOfferingResult",type:"structure",members:{ReservedNode:{shape:"S4c"}}}},RebootCluster:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},output:{resultWrapper:"RebootClusterResult",type:"structure",members:{Cluster:{shape:"Sv"}}}},ResetClusterParameterGroup:{input:{type:"structure",required:["ParameterGroupName"],members:{ParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S2q"}}},output:{shape:"S57",resultWrapper:"ResetClusterParameterGroupResult"}},RestoreFromClusterSnapshot:{input:{type:"structure",required:["ClusterIdentifier","SnapshotIdentifier"],members:{ClusterIdentifier:{},SnapshotIdentifier:{},SnapshotClusterIdentifier:{},Port:{type:"integer"},AvailabilityZone:{},AllowVersionUpgrade:{type:"boolean"},ClusterSubnetGroupName:{},PubliclyAccessible:{type:"boolean"},OwnerAccount:{},HsmClientCertificateIdentifier:{},HsmConfigurationIdentifier:{},ElasticIp:{},ClusterParameterGroupName:{},ClusterSecurityGroups:{shape:"Sp"},VpcSecurityGroupIds:{shape:"Sq"},PreferredMaintenanceWindow:{},AutomatedSnapshotRetentionPeriod:{type:"integer"},KmsKeyId:{},NodeType:{},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:!0},S7:{type:"list",member:{shape:"S8",locationName:"Tag"}},S8:{type:"structure",members:{Key:{},Value:{}}},Sd:{type:"structure",members:{SnapshotIdentifier:{},ClusterIdentifier:{},SnapshotCreateTime:{type:"timestamp"},Status:{},Port:{type:"integer"},AvailabilityZone:{},ClusterCreateTime:{type:"timestamp"},MasterUsername:{},ClusterVersion:{},SnapshotType:{},NodeType:{},NumberOfNodes:{type:"integer"},DBName:{},VpcId:{},Encrypted:{type:"boolean"},KmsKeyId:{},EncryptedWithHSM:{type:"boolean"},AccountsWithRestoreAccess:{type:"list",member:{locationName:"AccountWithRestoreAccess",type:"structure",members:{AccountId:{}}}},OwnerAccount:{},TotalBackupSizeInMegaBytes:{type:"double"},ActualIncrementalBackupSizeInMegaBytes:{type:"double"},BackupProgressInMegaBytes:{type:"double"},CurrentBackupRateInMegaBytesPerSecond:{type:"double"},EstimatedSecondsToCompletion:{type:"long"},ElapsedTimeInSeconds:{type:"long"},SourceRegion:{},Tags:{shape:"S7"},RestorableNodeTypes:{type:"list",member:{locationName:"NodeType"}},EnhancedVpcRouting:{type:"boolean"}},wrapper:!0},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:!0},S1g:{type:"structure",members:{ParameterGroupName:{},ParameterGroupFamily:{},Description:{},Tags:{shape:"S7"}},wrapper:!0},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:!0},S1r:{type:"structure",members:{Name:{}},wrapper:!0},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:!0},S1z:{type:"structure",members:{HsmClientCertificateIdentifier:{},HsmClientCertificatePublicKey:{},Tags:{shape:"S7"}},wrapper:!0},S22:{type:"structure",members:{HsmConfigurationIdentifier:{},Description:{},HsmIpAddress:{},HsmPartitionName:{},Tags:{shape:"S7"}},wrapper:!0},S25:{type:"structure",members:{SnapshotCopyGrantName:{},KmsKeyId:{},Tags:{shape:"S7"}},wrapper:!0},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:!0}},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:!0},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:!0},S57:{type:"structure",members:{ParameterGroupName:{},ParameterGroupStatus:{}}}}}},{}],105:[function(e,t,r){t.exports={pagination:{DescribeClusterParameterGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"ParameterGroups"},DescribeClusterParameters:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"Parameters"},DescribeClusterSecurityGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"ClusterSecurityGroups"},DescribeClusterSnapshots:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"Snapshots"},DescribeClusterSubnetGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"ClusterSubnetGroups"},DescribeClusterVersions:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"ClusterVersions"},DescribeClusters:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"Clusters"},DescribeDefaultClusterParameters:{input_token:"Marker",output_token:"DefaultClusterParameters.Marker",limit_key:"MaxRecords",result_key:"DefaultClusterParameters.Parameters"},DescribeEventSubscriptions:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"EventSubscriptionsList"},DescribeEvents:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"Events"},DescribeHsmClientCertificates:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"HsmClientCertificates"},DescribeHsmConfigurations:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"HsmConfigurations"},DescribeOrderableClusterOptions:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"OrderableClusterOptions"},DescribeReservedNodeOfferings:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"ReservedNodeOfferings"},DescribeReservedNodes:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"ReservedNodes"}}}},{}],106:[function(e,t,r){t.exports={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"}]}}}},{}],107:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-04-01",endpointPrefix:"route53",globalEndpoint:"route53.amazonaws.com",protocol:"rest-xml",serviceAbbreviation:"Route 53",serviceFullName:"Amazon Route 53",signatureVersion:"v4"},operations:{AssociateVPCWithHostedZone:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/associatevpc"},input:{locationName:"AssociateVPCWithHostedZoneRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","VPC"],members:{HostedZoneId:{location:"uri",locationName:"Id"},VPC:{shape:"S3"},Comment:{}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S8"}}}},ChangeResourceRecordSets:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/rrset/"},input:{locationName:"ChangeResourceRecordSetsRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","ChangeBatch"],members:{HostedZoneId:{location:"uri",locationName:"Id"},ChangeBatch:{type:"structure",required:["Changes"],members:{Comment:{},Changes:{shape:"Se"}}}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S8"}}}},ChangeTagsForResource:{http:{requestUri:"/2013-04-01/tags/{ResourceType}/{ResourceId}"},input:{locationName:"ChangeTagsForResourceRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["ResourceType","ResourceId"],members:{ResourceType:{location:"uri",locationName:"ResourceType"},ResourceId:{location:"uri",locationName:"ResourceId"},AddTags:{shape:"S14"},RemoveTagKeys:{type:"list",member:{locationName:"Key"}}}},output:{type:"structure",members:{}}},CreateHealthCheck:{http:{requestUri:"/2013-04-01/healthcheck",responseCode:201},input:{locationName:"CreateHealthCheckRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["CallerReference","HealthCheckConfig"],members:{CallerReference:{},HealthCheckConfig:{shape:"S1c"}}},output:{type:"structure",required:["HealthCheck","Location"],members:{HealthCheck:{shape:"S1x"},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:"S2d"},DelegationSetId:{}}},output:{type:"structure",required:["HostedZone","ChangeInfo","DelegationSet","Location"],members:{HostedZone:{shape:"S2g"},ChangeInfo:{shape:"S8"},DelegationSet:{shape:"S2i"},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:"S2i"},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:"S2r"},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:"S2w"},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:"S2r"},Location:{location:"header",locationName:"Location"}}}},DeleteHealthCheck:{http:{method:"DELETE",requestUri:"/2013-04-01/healthcheck/{HealthCheckId}"},input:{type:"structure",required:["HealthCheckId"],members:{HealthCheckId:{location:"uri",locationName:"HealthCheckId"}}},output:{type:"structure",members:{}}},DeleteHostedZone:{http:{method:"DELETE",requestUri:"/2013-04-01/hostedzone/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S8"}}}},DeleteReusableDelegationSet:{http:{method:"DELETE",requestUri:"/2013-04-01/delegationset/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},DeleteTrafficPolicy:{http:{method:"DELETE",requestUri:"/2013-04-01/trafficpolicy/{Id}/{Version}"},input:{type:"structure",required:["Id","Version"],members:{Id:{location:"uri",locationName:"Id"},Version:{location:"uri",locationName:"Version",type:"integer"}}},output:{type:"structure",members:{}}},DeleteTrafficPolicyInstance:{http:{method:"DELETE",requestUri:"/2013-04-01/trafficpolicyinstance/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},DisassociateVPCFromHostedZone:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/disassociatevpc"},input:{locationName:"DisassociateVPCFromHostedZoneRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","VPC"],members:{HostedZoneId:{location:"uri",locationName:"Id"},VPC:{shape:"S3"},Comment:{}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S8"}}}},GetChange:{http:{method:"GET",requestUri:"/2013-04-01/change/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S8"}}}},GetChangeDetails:{http:{method:"GET",requestUri:"/2013-04-01/changedetails/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}},deprecated:!0},output:{type:"structure",required:["ChangeBatchRecord"],members:{ChangeBatchRecord:{shape:"S3i"}},deprecated:!0},deprecated:!0},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:"S3q"}}}},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:"S1x"}}}},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:"S41"}}}},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:"S41"}}}},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:"S2g"},DelegationSet:{shape:"S2i"},VPCs:{type:"list",member:{shape:"S3",locationName:"VPC"}}}}},GetHostedZoneCount:{http:{method:"GET",requestUri:"/2013-04-01/hostedzonecount"},input:{type:"structure",members:{}},output:{type:"structure",required:["HostedZoneCount"],members:{HostedZoneCount:{type:"long"}}}},GetReusableDelegationSet:{http:{method:"GET",requestUri:"/2013-04-01/delegationset/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["DelegationSet"],members:{DelegationSet:{shape:"S2i"}}}},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:"S2r"}}}},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:"S2w"}}}},GetTrafficPolicyInstanceCount:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicyinstancecount"},input:{type:"structure",members:{}},output:{type:"structure",required:["TrafficPolicyInstanceCount"],members:{TrafficPolicyInstanceCount:{type:"integer"}}}},ListChangeBatchesByHostedZone:{http:{method:"GET",requestUri:"/2013-04-01/hostedzone/{Id}/changes"},input:{type:"structure",required:["HostedZoneId","StartDate","EndDate"],members:{HostedZoneId:{location:"uri",locationName:"Id"},StartDate:{shape:"S4n",location:"querystring",locationName:"startDate"},EndDate:{shape:"S4n",location:"querystring",locationName:"endDate"},MaxItems:{location:"querystring",locationName:"maxItems"},Marker:{location:"querystring",locationName:"marker"}},deprecated:!0},output:{type:"structure",required:["MaxItems","Marker","ChangeBatchRecords"],members:{MaxItems:{},Marker:{},IsTruncated:{type:"boolean"},ChangeBatchRecords:{shape:"S4s"},NextMarker:{}},deprecated:!0},deprecated:!0},ListChangeBatchesByRRSet:{http:{method:"GET",requestUri:"/2013-04-01/hostedzone/{Id}/rrsChanges"},input:{type:"structure",required:["HostedZoneId","Name","Type","StartDate","EndDate"],members:{HostedZoneId:{location:"uri",locationName:"Id"},Name:{location:"querystring",locationName:"rrSet_name"},Type:{location:"querystring",locationName:"type"},SetIdentifier:{location:"querystring",locationName:"identifier"},StartDate:{shape:"S4n",location:"querystring",locationName:"startDate"},EndDate:{shape:"S4n",location:"querystring",locationName:"endDate"},MaxItems:{location:"querystring",locationName:"maxItems"},Marker:{location:"querystring",locationName:"marker"}},deprecated:!0},output:{type:"structure",required:["MaxItems","Marker","ChangeBatchRecords"],members:{MaxItems:{},Marker:{},IsTruncated:{type:"boolean"},ChangeBatchRecords:{shape:"S4s"},NextMarker:{}},deprecated:!0},deprecated:!0},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:"S3q",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:"S1x",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:"S53"},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:"S53"},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:"S2i",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:"S5e"}}}},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:"S5e",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:"S5p"},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:"S5p"},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:"S5p"},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:"S2r",locationName:"TrafficPolicy"}},IsTruncated:{type:"boolean"},TrafficPolicyVersionMarker:{},MaxItems:{}}}},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:"S1o"},EnableSNI:{type:"boolean"},Regions:{shape:"S1q"},AlarmIdentifier:{shape:"S1s"},InsufficientDataHealthStatus:{}}},output:{type:"structure",required:["HealthCheck"],members:{HealthCheck:{shape:"S1x"}}}},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:"S2g"}}}},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:"S2r"}}}},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:"S2w"}}}}},shapes:{S3:{type:"structure",members:{VPCRegion:{},VPCId:{}}},S8:{type:"structure",required:["Id","Status","SubmittedAt"],members:{Id:{},Status:{},SubmittedAt:{type:"timestamp"},Comment:{}}},Se:{type:"list",member:{locationName:"Change",type:"structure",required:["Action","ResourceRecordSet"],members:{Action:{},ResourceRecordSet:{shape:"Sh"}}}},Sh:{type:"structure",required:["Name","Type"],members:{Name:{},Type:{},SetIdentifier:{},Weight:{type:"long"},Region:{},GeoLocation:{type:"structure",members:{ContinentCode:{},CountryCode:{},SubdivisionCode:{}}},Failover:{},TTL:{type:"long"},ResourceRecords:{type:"list",member:{locationName:"ResourceRecord",type:"structure",required:["Value"],members:{Value:{}}}},AliasTarget:{type:"structure",required:["HostedZoneId","DNSName","EvaluateTargetHealth"],members:{HostedZoneId:{},DNSName:{},EvaluateTargetHealth:{type:"boolean"}}},HealthCheckId:{},TrafficPolicyInstanceId:{}}},S14:{type:"list",member:{locationName:"Tag",type:"structure",members:{Key:{},Value:{}}}},S1c:{type:"structure",required:["Type"],members:{IPAddress:{},Port:{type:"integer"},Type:{},ResourcePath:{},FullyQualifiedDomainName:{},SearchString:{},RequestInterval:{type:"integer"},FailureThreshold:{type:"integer"},MeasureLatency:{type:"boolean"},Inverted:{type:"boolean"},HealthThreshold:{type:"integer"},ChildHealthChecks:{shape:"S1o"},EnableSNI:{type:"boolean"},Regions:{shape:"S1q"},AlarmIdentifier:{shape:"S1s"},InsufficientDataHealthStatus:{}}},S1o:{type:"list",member:{locationName:"ChildHealthCheck"}},S1q:{type:"list",member:{locationName:"Region"}},S1s:{type:"structure",required:["Region","Name"],members:{Region:{},Name:{}}},S1x:{type:"structure",required:["Id","CallerReference","HealthCheckConfig","HealthCheckVersion"],members:{Id:{},CallerReference:{},HealthCheckConfig:{shape:"S1c"},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:{}}}}}}}},S2d:{type:"structure",members:{Comment:{},PrivateZone:{type:"boolean"}}},S2g:{type:"structure",required:["Id","Name","CallerReference"],members:{Id:{},Name:{},CallerReference:{},Config:{shape:"S2d"},ResourceRecordSetCount:{type:"long"}}},S2i:{type:"structure",required:["NameServers"],members:{Id:{},CallerReference:{},NameServers:{type:"list",member:{locationName:"NameServer"}}}},S2r:{type:"structure",required:["Id","Version","Name","Type","Document"],members:{Id:{},Version:{type:"integer"},Name:{},Type:{},Document:{},Comment:{}}},S2w:{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:{}}},S3i:{type:"structure",required:["Id","Status"],members:{Id:{},SubmittedAt:{type:"timestamp"},Status:{},Comment:{},Submitter:{},Changes:{shape:"Se"}},deprecated:!0},S3q:{type:"structure",members:{ContinentCode:{},ContinentName:{},CountryCode:{},CountryName:{},SubdivisionCode:{},SubdivisionName:{}}},S41:{type:"list",member:{locationName:"HealthCheckObservation",type:"structure",members:{Region:{},IPAddress:{},StatusReport:{type:"structure",members:{Status:{},CheckedTime:{type:"timestamp"}}}}}},S4n:{type:"string",deprecated:!0},S4s:{type:"list",member:{shape:"S3i",locationName:"ChangeBatchRecord"},deprecated:!0},S53:{type:"list",member:{shape:"S2g",locationName:"HostedZone"}},S5e:{type:"structure",members:{ResourceType:{},ResourceId:{},Tags:{shape:"S14"}}},S5p:{type:"list",member:{shape:"S2w",locationName:"TrafficPolicyInstance"}}}}},{}],108:[function(e,t,r){t.exports={pagination:{ListHealthChecks:{input_token:"Marker",output_token:"NextMarker",more_results:"IsTruncated",limit_key:"MaxItems",result_key:"HealthChecks"},ListHostedZones:{input_token:"Marker",output_token:"NextMarker",more_results:"IsTruncated",limit_key:"MaxItems",result_key:"HostedZones"},ListResourceRecordSets:{more_results:"IsTruncated",limit_key:"MaxItems",result_key:"ResourceRecordSets",input_token:["StartRecordName","StartRecordType","StartRecordIdentifier"],output_token:["NextRecordName","NextRecordType","NextRecordIdentifier"]}}}},{}],109:[function(e,t,r){t.exports={version:2,waiters:{ResourceRecordSetsChanged:{delay:30,maxAttempts:60,operation:"GetChange",acceptors:[{matcher:"path",expected:"INSYNC",argument:"ChangeInfo.Status",state:"success"}]}}}},{}],110:[function(e,t,r){t.exports={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"},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:!0},S24:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},S2h:{type:"string",sensitive:!0}}}},{}],111:[function(e,t,r){t.exports={version:"1.0",pagination:{ListDomains:{limit_key:"MaxItems",input_token:"Marker",output_token:"NextPageMarker",result_key:"Domains"},ListOperations:{limit_key:"MaxItems",input_token:"Marker",output_token:"NextPageMarker",result_key:"Operations"}}}},{}],112:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2006-03-01",checksumFormat:"md5",endpointPrefix:"s3",globalEndpoint:"s3.amazonaws.com",protocol:"rest-xml",serviceAbbreviation:"Amazon S3",serviceFullName:"Amazon Simple Storage Service",signatureVersion:"s3",timestampFormat:"rfc822"},operations:{AbortMultipartUpload:{http:{method:"DELETE",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key","UploadId"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},UploadId:{location:"querystring",locationName:"uploadId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}}},output:{type:"structure",members:{RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},CompleteMultipartUpload:{http:{requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key","UploadId"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},MultipartUpload:{locationName:"CompleteMultipartUpload",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{Parts:{locationName:"Part",type:"list",member:{type:"structure",members:{ETag:{},PartNumber:{type:"integer"}}},flattened:!0}}},UploadId:{location:"querystring",locationName:"uploadId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}},payload:"MultipartUpload"},output:{type:"structure",members:{Location:{},Bucket:{},Key:{},Expiration:{location:"header",locationName:"x-amz-expiration"},ETag:{},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},VersionId:{location:"header",locationName:"x-amz-version-id"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},CopyObject:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","CopySource","Key"],members:{ACL:{location:"header",locationName:"x-amz-acl"},Bucket:{location:"uri",locationName:"Bucket"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentDisposition:{location:"header",locationName:"Content-Disposition"},ContentEncoding:{location:"header",locationName:"Content-Encoding"},ContentLanguage:{location:"header",locationName:"Content-Language"},ContentType:{location:"header",locationName:"Content-Type"},CopySource:{location:"header",locationName:"x-amz-copy-source"},CopySourceIfMatch:{location:"header",locationName:"x-amz-copy-source-if-match"},CopySourceIfModifiedSince:{location:"header",locationName:"x-amz-copy-source-if-modified-since",type:"timestamp"},CopySourceIfNoneMatch:{location:"header",locationName:"x-amz-copy-source-if-none-match"},CopySourceIfUnmodifiedSince:{location:"header",locationName:"x-amz-copy-source-if-unmodified-since",type:"timestamp"},Expires:{location:"header",locationName:"Expires",type:"timestamp"},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"},Key:{location:"uri",locationName:"Key"},Metadata:{shape:"S11",location:"headers",locationName:"x-amz-meta-"},MetadataDirective:{location:"header",locationName:"x-amz-metadata-directive"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},WebsiteRedirectLocation:{location:"header",locationName:"x-amz-website-redirect-location"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S18",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},CopySourceSSECustomerAlgorithm:{location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-algorithm"},CopySourceSSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-key"},CopySourceSSECustomerKeyMD5:{location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}}},output:{type:"structure",members:{CopyObjectResult:{type:"structure",members:{ETag:{},LastModified:{type:"timestamp"}}},Expiration:{location:"header",locationName:"x-amz-expiration"},CopySourceVersionId:{location:"header",locationName:"x-amz-copy-source-version-id"},VersionId:{location:"header",locationName:"x-amz-version-id"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}},payload:"CopyObjectResult"},alias:"PutObjectCopy"},CreateBucket:{http:{method:"PUT",requestUri:"/{Bucket}"},input:{type:"structure",required:["Bucket"],members:{ACL:{location:"header",locationName:"x-amz-acl"},Bucket:{location:"uri",locationName:"Bucket"},CreateBucketConfiguration:{locationName:"CreateBucketConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{LocationConstraint:{}}},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWrite:{location:"header",locationName:"x-amz-grant-write"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"}},payload:"CreateBucketConfiguration"},output:{type:"structure",members:{Location:{location:"header",locationName:"Location"}}},alias:"PutBucket"},CreateMultipartUpload:{http:{requestUri:"/{Bucket}/{Key+}?uploads"},input:{type:"structure",required:["Bucket","Key"],members:{ACL:{location:"header",locationName:"x-amz-acl"},Bucket:{location:"uri",locationName:"Bucket"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentDisposition:{location:"header",locationName:"Content-Disposition"},ContentEncoding:{location:"header",locationName:"Content-Encoding"},ContentLanguage:{location:"header",locationName:"Content-Language"},ContentType:{location:"header",locationName:"Content-Type"},Expires:{location:"header",locationName:"Expires",type:"timestamp"},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"},Key:{location:"uri",locationName:"Key"},Metadata:{shape:"S11",location:"headers",locationName:"x-amz-meta-"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},WebsiteRedirectLocation:{location:"header",locationName:"x-amz-website-redirect-location"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S18",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}}},output:{type:"structure",members:{AbortDate:{location:"header",locationName:"x-amz-abort-date",type:"timestamp"},AbortRuleId:{location:"header",locationName:"x-amz-abort-rule-id"},Bucket:{locationName:"Bucket"},Key:{},UploadId:{},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}},alias:"InitiateMultipartUpload"},DeleteBucket:{http:{method:"DELETE",requestUri:"/{Bucket}"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}}},DeleteBucketCors:{http:{method:"DELETE",requestUri:"/{Bucket}?cors"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}}},DeleteBucketLifecycle:{http:{method:"DELETE",requestUri:"/{Bucket}?lifecycle"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}}},DeleteBucketPolicy:{http:{method:"DELETE",requestUri:"/{Bucket}?policy"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}}},DeleteBucketReplication:{http:{method:"DELETE",requestUri:"/{Bucket}?replication"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}}},DeleteBucketTagging:{http:{method:"DELETE",requestUri:"/{Bucket}?tagging"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}}},DeleteBucketWebsite:{http:{method:"DELETE",requestUri:"/{Bucket}?website"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}}},DeleteObject:{http:{method:"DELETE",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},MFA:{location:"header",locationName:"x-amz-mfa"},VersionId:{location:"querystring",locationName:"versionId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}}},output:{type:"structure",members:{DeleteMarker:{location:"header",locationName:"x-amz-delete-marker",type:"boolean"},VersionId:{location:"header",locationName:"x-amz-version-id"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},DeleteObjects:{http:{requestUri:"/{Bucket}?delete"},input:{type:"structure",required:["Bucket","Delete"],members:{Bucket:{location:"uri",locationName:"Bucket"},Delete:{locationName:"Delete",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Objects"],members:{Objects:{locationName:"Object",type:"list",member:{type:"structure",required:["Key"],members:{Key:{},VersionId:{}}},flattened:!0},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:!0},RequestCharged:{location:"header",locationName:"x-amz-request-charged"},Errors:{locationName:"Error",type:"list",member:{type:"structure",members:{Key:{},VersionId:{},Code:{},Message:{}}},flattened:!0}}},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:"S2k"},Grants:{shape:"S2n",locationName:"AccessControlList"}}}},GetBucketCors:{http:{method:"GET",requestUri:"/{Bucket}?cors"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}},output:{type:"structure",members:{CORSRules:{shape:"S2w",locationName:"CORSRule"}}}},GetBucketLifecycle:{http:{method:"GET",requestUri:"/{Bucket}?lifecycle"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}},output:{type:"structure",members:{Rules:{shape:"S39",locationName:"Rule"}}},deprecated:!0},GetBucketLifecycleConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?lifecycle"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}},output:{type:"structure",members:{Rules:{shape:"S3p",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:"S3x"}}}},GetBucketNotification:{http:{method:"GET",requestUri:"/{Bucket}?notification"},input:{shape:"S43"},output:{shape:"S44"},deprecated:!0},GetBucketNotificationConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?notification"},input:{shape:"S43"},output:{shape:"S4f"}},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:"S4y"}},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:"S59"}}}},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:"S5i"},IndexDocument:{shape:"S5l"},ErrorDocument:{shape:"S5n"},RoutingRules:{shape:"S5o"}}}},GetObject:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}" -},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},IfMatch:{location:"header",locationName:"If-Match"},IfModifiedSince:{location:"header",locationName:"If-Modified-Since",type:"timestamp"},IfNoneMatch:{location:"header",locationName:"If-None-Match"},IfUnmodifiedSince:{location:"header",locationName:"If-Unmodified-Since",type:"timestamp"},Key:{location:"uri",locationName:"Key"},Range:{location:"header",locationName:"Range"},ResponseCacheControl:{location:"querystring",locationName:"response-cache-control"},ResponseContentDisposition:{location:"querystring",locationName:"response-content-disposition"},ResponseContentEncoding:{location:"querystring",locationName:"response-content-encoding"},ResponseContentLanguage:{location:"querystring",locationName:"response-content-language"},ResponseContentType:{location:"querystring",locationName:"response-content-type"},ResponseExpires:{location:"querystring",locationName:"response-expires",type:"timestamp"},VersionId:{location:"querystring",locationName:"versionId"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S18",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},PartNumber:{location:"querystring",locationName:"partNumber",type:"integer"}}},output:{type:"structure",members:{Body:{streaming:!0,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"}},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:"S2k"},Grants:{shape:"S2n",locationName:"AccessControlList"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},GetObjectTorrent:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}?torrent"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}}},output:{type:"structure",members:{Body:{streaming:!0,type:"blob"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}},payload:"Body"}},HeadBucket:{http:{method:"HEAD",requestUri:"/{Bucket}"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}}},HeadObject:{http:{method:"HEAD",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},IfMatch:{location:"header",locationName:"If-Match"},IfModifiedSince:{location:"header",locationName:"If-Modified-Since",type:"timestamp"},IfNoneMatch:{location:"header",locationName:"If-None-Match"},IfUnmodifiedSince:{location:"header",locationName:"If-Unmodified-Since",type:"timestamp"},Key:{location:"uri",locationName:"Key"},Range:{location:"header",locationName:"Range"},VersionId:{location:"querystring",locationName:"versionId"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S18",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},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"}}}},ListBuckets:{http:{method:"GET"},output:{type:"structure",members:{Buckets:{type:"list",member:{locationName:"Bucket",type:"structure",members:{Name:{},CreationDate:{type:"timestamp"}}}},Owner:{shape:"S2k"}}},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:"S2k"},Initiator:{shape:"S76"}}},flattened:!0},CommonPrefixes:{shape:"S77"},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:"S2k"}}},flattened:!0},DeleteMarkers:{locationName:"DeleteMarker",type:"list",member:{type:"structure",members:{Owner:{shape:"S2k"},Key:{},VersionId:{},IsLatest:{type:"boolean"},LastModified:{type:"timestamp"}}},flattened:!0},Name:{},Prefix:{},Delimiter:{},MaxKeys:{type:"integer"},CommonPrefixes:{shape:"S77"},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:"S7p"},Name:{},Prefix:{},Delimiter:{},MaxKeys:{type:"integer"},CommonPrefixes:{shape:"S77"},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:"S7p"},Name:{},Prefix:{},Delimiter:{},MaxKeys:{type:"integer"},CommonPrefixes:{shape:"S77"},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:!0},Initiator:{shape:"S76"},Owner:{shape:"S2k"},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:"S89",locationName:"AccessControlPolicy",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWrite:{location:"header",locationName:"x-amz-grant-write"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"}},payload:"AccessControlPolicy"}},PutBucketCors:{http:{method:"PUT",requestUri:"/{Bucket}?cors"},input:{type:"structure",required:["Bucket","CORSConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},CORSConfiguration:{locationName:"CORSConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["CORSRules"],members:{CORSRules:{shape:"S2w",locationName:"CORSRule"}}},ContentMD5:{location:"header",locationName:"Content-MD5"}},payload:"CORSConfiguration"}},PutBucketLifecycle:{http:{method:"PUT",requestUri:"/{Bucket}?lifecycle"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},LifecycleConfiguration:{locationName:"LifecycleConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Rules"],members:{Rules:{shape:"S39",locationName:"Rule"}}}},payload:"LifecycleConfiguration"},deprecated:!0},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:"S3p",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:"S3x"}}},ContentMD5:{location:"header",locationName:"Content-MD5"}},payload:"BucketLoggingStatus"}},PutBucketNotification:{http:{method:"PUT",requestUri:"/{Bucket}?notification"},input:{type:"structure",required:["Bucket","NotificationConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},NotificationConfiguration:{shape:"S44",locationName:"NotificationConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}}},payload:"NotificationConfiguration"},deprecated:!0},PutBucketNotificationConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?notification"},input:{type:"structure",required:["Bucket","NotificationConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},NotificationConfiguration:{shape:"S4f",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:"S4y",locationName:"ReplicationConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}}},payload:"ReplicationConfiguration"}},PutBucketRequestPayment:{http:{method:"PUT",requestUri:"/{Bucket}?requestPayment"},input:{type:"structure",required:["Bucket","RequestPaymentConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},RequestPaymentConfiguration:{locationName:"RequestPaymentConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Payer"],members:{Payer:{}}}},payload:"RequestPaymentConfiguration"}},PutBucketTagging:{http:{method:"PUT",requestUri:"/{Bucket}?tagging"},input:{type:"structure",required:["Bucket","Tagging"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},Tagging:{locationName:"Tagging",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["TagSet"],members:{TagSet:{shape:"S59"}}}},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:"S5n"},IndexDocument:{shape:"S5l"},RedirectAllRequestsTo:{shape:"S5i"},RoutingRules:{shape:"S5o"}}}},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:!0,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:"S18",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}},payload:"Body"},output:{type:"structure",members:{Expiration:{location:"header",locationName:"x-amz-expiration"},ETag:{location:"header",locationName:"ETag"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},VersionId:{location:"header",locationName:"x-amz-version-id"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},PutObjectAcl:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}?acl"},input:{type:"structure",required:["Bucket","Key"],members:{ACL:{location:"header",locationName:"x-amz-acl"},AccessControlPolicy:{shape:"S89",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"}}}},RestoreObject:{http:{requestUri:"/{Bucket}/{Key+}?restore"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},VersionId:{location:"querystring",locationName:"versionId"},RestoreRequest:{locationName:"RestoreRequest",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Days"],members:{Days:{type:"integer"}}},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}},payload:"RestoreRequest"},output:{type:"structure",members:{RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}},alias:"PostObjectRestore"},UploadPart:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key","PartNumber","UploadId"],members:{Body:{streaming:!0,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:"S18",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}},payload:"Body"},output:{type:"structure",members:{ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},ETag:{location:"header",locationName:"ETag"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},UploadPartCopy:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","CopySource","Key","PartNumber","UploadId"],members:{Bucket:{location:"uri",locationName:"Bucket"},CopySource:{location:"header",locationName:"x-amz-copy-source"},CopySourceIfMatch:{location:"header",locationName:"x-amz-copy-source-if-match"},CopySourceIfModifiedSince:{location:"header",locationName:"x-amz-copy-source-if-modified-since",type:"timestamp"},CopySourceIfNoneMatch:{location:"header",locationName:"x-amz-copy-source-if-none-match"},CopySourceIfUnmodifiedSince:{location:"header",locationName:"x-amz-copy-source-if-unmodified-since",type:"timestamp"},CopySourceRange:{location:"header",locationName:"x-amz-copy-source-range"},Key:{location:"uri",locationName:"Key"},PartNumber:{location:"querystring",locationName:"partNumber",type:"integer"},UploadId:{location:"querystring",locationName:"uploadId"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S18",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},CopySourceSSECustomerAlgorithm:{location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-algorithm"},CopySourceSSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-key"},CopySourceSSECustomerKeyMD5:{location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}}},output:{type:"structure",members:{CopySourceVersionId:{location:"header",locationName:"x-amz-copy-source-version-id"},CopyPartResult:{type:"structure",members:{ETag:{},LastModified:{type:"timestamp"}}},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}},payload:"CopyPartResult"}}},shapes:{Sj:{type:"string",sensitive:!0},S11:{type:"map",key:{},value:{}},S18:{type:"blob",sensitive:!0},S1b:{type:"blob",sensitive:!0},S2k:{type:"structure",members:{DisplayName:{},ID:{}}},S2n:{type:"list",member:{locationName:"Grant",type:"structure",members:{Grantee:{shape:"S2p"},Permission:{}}}},S2p:{type:"structure",required:["Type"],members:{DisplayName:{},EmailAddress:{},ID:{},Type:{locationName:"xsi:type",xmlAttribute:!0},URI:{}},xmlNamespace:{prefix:"xsi",uri:"http://www.w3.org/2001/XMLSchema-instance"}},S2w:{type:"list",member:{type:"structure",required:["AllowedMethods","AllowedOrigins"],members:{AllowedHeaders:{locationName:"AllowedHeader",type:"list",member:{},flattened:!0},AllowedMethods:{locationName:"AllowedMethod",type:"list",member:{},flattened:!0},AllowedOrigins:{locationName:"AllowedOrigin",type:"list",member:{},flattened:!0},ExposeHeaders:{locationName:"ExposeHeader",type:"list",member:{},flattened:!0},MaxAgeSeconds:{type:"integer"}}},flattened:!0},S39:{type:"list",member:{type:"structure",required:["Prefix","Status"],members:{Expiration:{shape:"S3b"},ID:{},Prefix:{},Status:{},Transition:{shape:"S3h"},NoncurrentVersionTransition:{shape:"S3j"},NoncurrentVersionExpiration:{shape:"S3k"},AbortIncompleteMultipartUpload:{shape:"S3l"}}},flattened:!0},S3b:{type:"structure",members:{Date:{shape:"S3c"},Days:{type:"integer"},ExpiredObjectDeleteMarker:{type:"boolean"}}},S3c:{type:"timestamp",timestampFormat:"iso8601"},S3h:{type:"structure",members:{Date:{shape:"S3c"},Days:{type:"integer"},StorageClass:{}}},S3j:{type:"structure",members:{NoncurrentDays:{type:"integer"},StorageClass:{}}},S3k:{type:"structure",members:{NoncurrentDays:{type:"integer"}}},S3l:{type:"structure",members:{DaysAfterInitiation:{type:"integer"}}},S3p:{type:"list",member:{type:"structure",required:["Prefix","Status"],members:{Expiration:{shape:"S3b"},ID:{},Prefix:{},Status:{},Transitions:{locationName:"Transition",type:"list",member:{shape:"S3h"},flattened:!0},NoncurrentVersionTransitions:{locationName:"NoncurrentVersionTransition",type:"list",member:{shape:"S3j"},flattened:!0},NoncurrentVersionExpiration:{shape:"S3k"},AbortIncompleteMultipartUpload:{shape:"S3l"}}},flattened:!0},S3x:{type:"structure",members:{TargetBucket:{},TargetGrants:{type:"list",member:{locationName:"Grant",type:"structure",members:{Grantee:{shape:"S2p"},Permission:{}}}},TargetPrefix:{}}},S43:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}},S44:{type:"structure",members:{TopicConfiguration:{type:"structure",members:{Id:{},Events:{shape:"S47",locationName:"Event"},Event:{deprecated:!0},Topic:{}}},QueueConfiguration:{type:"structure",members:{Id:{},Event:{deprecated:!0},Events:{shape:"S47",locationName:"Event"},Queue:{}}},CloudFunctionConfiguration:{type:"structure",members:{Id:{},Event:{deprecated:!0},Events:{shape:"S47",locationName:"Event"},CloudFunction:{},InvocationRole:{}}}}},S47:{type:"list",member:{},flattened:!0},S4f:{type:"structure",members:{TopicConfigurations:{locationName:"TopicConfiguration",type:"list",member:{type:"structure",required:["TopicArn","Events"],members:{Id:{},TopicArn:{locationName:"Topic"},Events:{shape:"S47",locationName:"Event"},Filter:{shape:"S4i"}}},flattened:!0},QueueConfigurations:{locationName:"QueueConfiguration",type:"list",member:{type:"structure",required:["QueueArn","Events"],members:{Id:{},QueueArn:{locationName:"Queue"},Events:{shape:"S47",locationName:"Event"},Filter:{shape:"S4i"}}},flattened:!0},LambdaFunctionConfigurations:{locationName:"CloudFunctionConfiguration",type:"list",member:{type:"structure",required:["LambdaFunctionArn","Events"],members:{Id:{},LambdaFunctionArn:{locationName:"CloudFunction"},Events:{shape:"S47",locationName:"Event"},Filter:{shape:"S4i"}}},flattened:!0}}},S4i:{type:"structure",members:{Key:{locationName:"S3Key",type:"structure",members:{FilterRules:{locationName:"FilterRule",type:"list",member:{type:"structure",members:{Name:{},Value:{}}},flattened:!0}}}}},S4y:{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:!0}}},S59:{type:"list",member:{locationName:"Tag",type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S5i:{type:"structure",required:["HostName"],members:{HostName:{},Protocol:{}}},S5l:{type:"structure",required:["Suffix"],members:{Suffix:{}}},S5n:{type:"structure",required:["Key"],members:{Key:{}}},S5o:{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:{}}}}}},S76:{type:"structure",members:{ID:{},DisplayName:{}}},S77:{type:"list",member:{type:"structure",members:{Prefix:{}}},flattened:!0},S7p:{type:"list",member:{type:"structure",members:{Key:{},LastModified:{type:"timestamp"},ETag:{},Size:{type:"integer"},StorageClass:{},Owner:{shape:"S2k"}}},flattened:!0},S89:{type:"structure",members:{Grants:{shape:"S2n",locationName:"AccessControlList"},Owner:{shape:"S2k"}}}}}},{}],113:[function(e,t,r){t.exports={pagination:{ListBuckets:{result_key:"Buckets"},ListMultipartUploads:{limit_key:"MaxUploads",more_results:"IsTruncated",output_token:["NextKeyMarker","NextUploadIdMarker"],input_token:["KeyMarker","UploadIdMarker"],result_key:["Uploads","CommonPrefixes"]},ListObjectVersions:{more_results:"IsTruncated",limit_key:"MaxKeys",output_token:["NextKeyMarker","NextVersionIdMarker"],input_token:["KeyMarker","VersionIdMarker"],result_key:["Versions","DeleteMarkers","CommonPrefixes"]},ListObjects:{more_results:"IsTruncated",limit_key:"MaxKeys",output_token:"NextMarker || Contents[-1].Key",input_token:"Marker",result_key:["Contents","CommonPrefixes"]},ListObjectsV2:{limit_key:"MaxKeys",output_token:"NextContinuationToken",input_token:"ContinuationToken",result_key:["Contents","CommonPrefixes"]},ListParts:{more_results:"IsTruncated",limit_key:"MaxParts",output_token:"NextPartNumberMarker",input_token:"PartNumberMarker",result_key:"Parts"}}}},{}],114:[function(e,t,r){t.exports={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"}]}}}},{}],115:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-12-10",endpointPrefix:"servicecatalog",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS Service Catalog",signatureVersion:"v4",targetPrefix:"AWS242ServiceCatalogService"},operations:{DescribeProduct:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{}}},output:{type:"structure",members:{ProductViewSummary:{shape:"S5"},ProvisioningArtifacts:{shape:"Sf"}}}},DescribeProductView:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{}}},output:{type:"structure",members:{ProductViewSummary:{shape:"S5"},ProvisioningArtifacts:{shape:"Sf"}}}},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:"Sy"},UsageInstructions:{type:"list",member:{type:"structure",members:{Type:{},Value:{}}}}}}},DescribeRecord:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{},PageToken:{},PageSize:{type:"integer"}}},output:{type:"structure",members:{RecordDetail:{shape:"S1a"},RecordOutputs:{type:"list",member:{type:"structure",members:{OutputKey:{},OutputValue:{},Description:{}}}},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:"Sy"},Tags:{shape:"S1x"},Name:{}}}},NextPageToken:{}}}},ListRecordHistory:{input:{type:"structure",members:{AcceptLanguage:{},AccessLevelFilter:{shape:"S23"},SearchFilter:{type:"structure",members:{Key:{},Value:{}}},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{RecordDetails:{type:"list",member:{shape:"S1a"}},NextPageToken:{}}}},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:"S1x"},NotificationArns:{type:"list",member:{}},ProvisionToken:{idempotencyToken:!0}}},output:{type:"structure",members:{RecordDetail:{shape:"S1a"}}}},ScanProvisionedProducts:{input:{type:"structure",members:{AcceptLanguage:{},AccessLevelFilter:{shape:"S23"},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{ProvisionedProducts:{type:"list",member:{type:"structure",members:{Name:{},Arn:{},Type:{},Id:{},Status:{},StatusMessage:{},CreatedTime:{type:"timestamp"},IdempotencyToken:{},LastRecordId:{}}}},NextPageToken:{}}}},SearchProducts:{input:{type:"structure",members:{AcceptLanguage:{},Filters:{type:"map",key:{},value:{type:"list",member:{}}},PageSize:{type:"integer"},SortBy:{},SortOrder:{},PageToken:{}}},output:{type:"structure",members:{ProductViewSummaries:{type:"list",member:{shape:"S5"}},ProductViewAggregations:{type:"map",key:{},value:{type:"list",member:{type:"structure",members:{Value:{},ApproximateCount:{type:"integer"}}}}},NextPageToken:{}}}},TerminateProvisionedProduct:{input:{type:"structure",required:["TerminateToken"],members:{ProvisionedProductName:{},ProvisionedProductId:{},TerminateToken:{idempotencyToken:!0},IgnoreErrors:{type:"boolean"},AcceptLanguage:{}}},output:{type:"structure",members:{RecordDetail:{shape:"S1a"}}}},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:!0}}},output:{type:"structure",members:{RecordDetail:{shape:"S1a"}}}}},shapes:{S5:{type:"structure",members:{Id:{},ProductId:{},Name:{},Owner:{},ShortDescription:{},Type:{},Distributor:{},HasDefaultPath:{type:"boolean"},SupportEmail:{},SupportDescription:{},SupportUrl:{}}},Sf:{type:"list",member:{type:"structure",members:{Id:{},Name:{},Description:{},CreatedTime:{type:"timestamp"}}}},Sy:{type:"list",member:{type:"structure",members:{Type:{},Description:{}}}},S1a:{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:{}}}}}},S1x:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},S23:{type:"structure",members:{Key:{},Value:{}}}}}},{}],116:[function(e,t,r){t.exports={version:"2.0",metadata:{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:{}}}}}}},{}],117:[function(e,t,r){t.exports={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"}}}},{}],118:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2012-11-05",endpointPrefix:"sqs",protocol:"query",serviceAbbreviation:"Amazon SQS",serviceFullName:"Amazon Simple Queue Service",signatureVersion:"v4",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:!0},Actions:{type:"list",member:{locationName:"ActionName"},flattened:!0}}}},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:!0}}},output:{resultWrapper:"ChangeMessageVisibilityBatchResult",type:"structure",required:["Successful","Failed"],members:{Successful:{type:"list",member:{locationName:"ChangeMessageVisibilityBatchResultEntry",type:"structure",required:["Id"],members:{Id:{}}},flattened:!0},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:!0}}},output:{resultWrapper:"DeleteMessageBatchResult",type:"structure",required:["Successful","Failed"],members:{Successful:{type:"list",member:{locationName:"DeleteMessageBatchResultEntry",type:"structure",required:["Id"],members:{Id:{}}},flattened:!0},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:!0},MaxNumberOfMessages:{type:"integer"},VisibilityTimeout:{type:"integer"},WaitTimeSeconds:{type:"integer"}}},output:{resultWrapper:"ReceiveMessageResult",type:"structure",members:{Messages:{type:"list",member:{locationName:"Message",type:"structure",members:{MessageId:{},ReceiptHandle:{},MD5OfBody:{},Body:{},Attributes:{shape:"Sh",locationName:"Attribute"},MD5OfMessageAttributes:{},MessageAttributes:{shape:"S19",locationName:"MessageAttribute"}}},flattened:!0}}}},RemovePermission:{input:{type:"structure",required:["QueueUrl","Label"],members:{QueueUrl:{},Label:{}}}},SendMessage:{input:{type:"structure",required:["QueueUrl","MessageBody"],members:{QueueUrl:{},MessageBody:{},DelaySeconds:{type:"integer"},MessageAttributes:{shape:"S19",locationName:"MessageAttribute"}}},output:{resultWrapper:"SendMessageResult",type:"structure",members:{MD5OfMessageBody:{},MD5OfMessageAttributes:{},MessageId:{}}}},SendMessageBatch:{input:{type:"structure",required:["QueueUrl","Entries"],members:{QueueUrl:{},Entries:{type:"list",member:{locationName:"SendMessageBatchRequestEntry",type:"structure",required:["Id","MessageBody"],members:{Id:{},MessageBody:{},DelaySeconds:{type:"integer"},MessageAttributes:{shape:"S19",locationName:"MessageAttribute"}}},flattened:!0}}},output:{resultWrapper:"SendMessageBatchResult",type:"structure",required:["Successful","Failed"],members:{Successful:{type:"list",member:{locationName:"SendMessageBatchResultEntry",type:"structure",required:["Id","MessageId","MD5OfMessageBody"],members:{Id:{},MessageId:{},MD5OfMessageBody:{},MD5OfMessageAttributes:{}}},flattened:!0},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:!0},Sh:{type:"map",key:{locationName:"Name"},value:{locationName:"Value"},flattened:!0,locationName:"Attribute"},St:{type:"list",member:{locationName:"AttributeName"},flattened:!0},Sz:{type:"list",member:{locationName:"QueueUrl"},flattened:!0},S19:{type:"map",key:{locationName:"Name"},value:{locationName:"Value",type:"structure",required:["DataType"],members:{StringValue:{},BinaryValue:{type:"blob"},StringListValues:{flattened:!0,locationName:"StringListValue",type:"list",member:{locationName:"StringListValue"}},BinaryListValues:{flattened:!0,locationName:"BinaryListValue",type:"list",member:{locationName:"BinaryListValue",type:"blob"}},DataType:{}}},flattened:!0}}}},{}],119:[function(e,t,r){t.exports={pagination:{ListQueues:{result_key:"QueueUrls"}}}},{}],120:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-11-06",endpointPrefix:"ssm",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Amazon SSM",serviceFullName:"Amazon Simple Systems Management Service",signatureVersion:"v4",targetPrefix:"AmazonSSM"},operations:{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","InstanceId"],members:{Name:{},InstanceId:{},Parameters:{shape:"Sp"}}},output:{type:"structure",members:{AssociationDescription:{shape:"Su"}}}},CreateAssociationBatch:{input:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{shape:"S12",locationName:"entries"}}}},output:{type:"structure",members:{Successful:{type:"list",member:{shape:"Su",locationName:"AssociationDescription"}},Failed:{type:"list",member:{locationName:"FailedCreateAssociationEntry",type:"structure",members:{Entry:{shape:"S12"},Message:{},Fault:{}}}}}}},CreateDocument:{input:{type:"structure",required:["Content","Name"],members:{Content:{},Name:{}}},output:{type:"structure",members:{DocumentDescription:{shape:"S1c"}}}},DeleteActivation:{input:{type:"structure",required:["ActivationId"],members:{ActivationId:{}}},output:{type:"structure",members:{}}},DeleteAssociation:{input:{type:"structure",required:["Name","InstanceId"],members:{Name:{},InstanceId:{}}},output:{type:"structure",members:{}}},DeleteDocument:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},DeregisterManagedInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}},output:{type:"structure",members:{}}},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",required:["Name","InstanceId"],members:{Name:{},InstanceId:{}}},output:{type:"structure",members:{AssociationDescription:{shape:"Su"}}}},DescribeDocument:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{Document:{shape:"S1c"}}}},DescribeDocumentPermission:{input:{type:"structure",required:["Name","PermissionType"],members:{Name:{},PermissionType:{}}},output:{type:"structure",members:{AccountIds:{shape:"S2m"}}}},DescribeInstanceInformation:{input:{type:"structure",members:{InstanceInformationFilterList:{type:"list",member:{locationName:"InstanceInformationFilter",type:"structure",required:["key","valueSet"],members:{key:{},valueSet:{type:"list",member:{locationName:"InstanceInformationFilterValue"}}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{InstanceInformationList:{type:"list",member:{locationName:"InstanceInformation",type:"structure",members:{InstanceId:{},PingStatus:{},LastPingDateTime:{type:"timestamp"},AgentVersion:{},IsLatestVersion:{type:"boolean"},PlatformType:{},PlatformName:{},PlatformVersion:{},ActivationId:{},IamRole:{},RegistrationDate:{type:"timestamp"},ResourceType:{},Name:{},IPAddress:{},ComputerName:{}}}},NextToken:{}}}},GetDocument:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{Name:{},Content:{}}}},ListAssociations:{input:{type:"structure",required:["AssociationFilterList"],members:{AssociationFilterList:{type:"list",member:{locationName:"AssociationFilter",type:"structure",required:["key","value"],members:{key:{},value:{}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Associations:{type:"list",member:{locationName:"Association",type:"structure",members:{Name:{},InstanceId:{}}}},NextToken:{}}}},ListCommandInvocations:{input:{type:"structure",members:{CommandId:{},InstanceId:{},MaxResults:{type:"integer"},NextToken:{},Filters:{shape:"S3f"},Details:{type:"boolean"}}},output:{type:"structure",members:{CommandInvocations:{type:"list",member:{type:"structure",members:{CommandId:{},InstanceId:{},Comment:{},DocumentName:{},RequestedDateTime:{type:"timestamp"},Status:{},TraceOutput:{},CommandPlugins:{type:"list",member:{type:"structure",members:{Name:{},Status:{},ResponseCode:{type:"integer"},ResponseStartDateTime:{type:"timestamp"},ResponseFinishDateTime:{type:"timestamp"},Output:{},OutputS3BucketName:{},OutputS3KeyPrefix:{}}}},ServiceRole:{},NotificationConfig:{shape:"S3y"}}}},NextToken:{}}}},ListCommands:{input:{type:"structure",members:{CommandId:{},InstanceId:{},MaxResults:{type:"integer"},NextToken:{},Filters:{shape:"S3f"}}},output:{type:"structure",members:{Commands:{type:"list",member:{shape:"S46"}},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:"S1q"}}}},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:"S2m"},AccountIdsToRemove:{shape:"S2m"}}},output:{type:"structure",members:{}}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceType","ResourceId","TagKeys"],members:{ResourceType:{},ResourceId:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},SendCommand:{input:{type:"structure",required:["InstanceIds","DocumentName"],members:{InstanceIds:{shape:"Sb"},DocumentName:{},DocumentHash:{},DocumentHashType:{},TimeoutSeconds:{type:"integer"},Comment:{},Parameters:{shape:"Sp"},OutputS3BucketName:{},OutputS3KeyPrefix:{},ServiceRoleArn:{},NotificationConfig:{shape:"S3y"}}},output:{type:"structure",members:{Command:{shape:"S46"}}}},UpdateAssociationStatus:{input:{type:"structure",required:["Name","InstanceId","AssociationStatus"],members:{Name:{},InstanceId:{},AssociationStatus:{shape:"Sw"}}},output:{type:"structure",members:{AssociationDescription:{shape:"Su"}}}},UpdateManagedInstanceRole:{input:{type:"structure",required:["InstanceId","IamRole"],members:{InstanceId:{},IamRole:{}}},output:{type:"structure",members:{}}}},shapes:{S4:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},Sb:{type:"list",member:{}},Sp:{type:"map",key:{},value:{type:"list",member:{}}},Su:{type:"structure",members:{Name:{},InstanceId:{},Date:{type:"timestamp"},Status:{shape:"Sw"},Parameters:{shape:"Sp"}}},Sw:{type:"structure",required:["Date","Name","Message"],members:{Date:{type:"timestamp"},Name:{},Message:{},AdditionalInfo:{}}},S12:{type:"structure",members:{Name:{},InstanceId:{},Parameters:{shape:"Sp"}}},S1c:{type:"structure",members:{Sha1:{},Hash:{},HashType:{},Name:{},Owner:{},CreatedDate:{type:"timestamp"},Status:{},Description:{},Parameters:{type:"list",member:{locationName:"DocumentParameter",type:"structure",members:{Name:{},Type:{},Description:{},DefaultValue:{}}}},PlatformTypes:{shape:"S1q"}}},S1q:{type:"list",member:{locationName:"PlatformType"}},S2m:{type:"list",member:{locationName:"AccountId"}},S3f:{type:"list",member:{type:"structure",required:["key","value"],members:{key:{},value:{}}}},S3y:{type:"structure",members:{NotificationArn:{},NotificationEvents:{type:"list",member:{}},NotificationType:{}}},S46:{type:"structure",members:{CommandId:{},DocumentName:{},Comment:{},ExpiresAfter:{type:"timestamp"},Parameters:{shape:"Sp"},InstanceIds:{shape:"Sb"},RequestedDateTime:{type:"timestamp"},Status:{},OutputS3BucketName:{},OutputS3KeyPrefix:{},ServiceRole:{},NotificationConfig:{shape:"S3y"}}}}}},{}],121:[function(e,t,r){t.exports={pagination:{DescribeInstanceInformation:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"InstanceInformationList"},ListAssociations:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Associations"},ListCommandInvocations:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"CommandInvocations"},ListCommands:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Commands"},ListDocuments:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"DocumentIdentifiers"},DescribeActivations:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"ActivationList"}}}},{}],122:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-06-30",endpointPrefix:"storagegateway",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS Storage Gateway",signatureVersion:"v4",targetPrefix:"StorageGateway_20130630"},operations:{ActivateGateway:{input:{type:"structure",required:["ActivationKey","GatewayName","GatewayTimezone","GatewayRegion"],members:{ActivationKey:{},GatewayName:{},GatewayTimezone:{},GatewayRegion:{},GatewayType:{},TapeDriveType:{},MediumChangerType:{}}},output:{type:"structure",members:{GatewayARN:{}}}},AddCache:{input:{type:"structure",required:["GatewayARN","DiskIds"],members:{GatewayARN:{},DiskIds:{shape:"Sc"}}},output:{type:"structure",members:{GatewayARN:{}}}},AddTagsToResource:{input:{type:"structure",required:["ResourceARN","Tags"],members:{ResourceARN:{},Tags:{shape:"Sh"}}},output:{type:"structure",members:{ResourceARN:{}}}},AddUploadBuffer:{input:{type:"structure",required:["GatewayARN","DiskIds"],members:{GatewayARN:{},DiskIds:{shape:"Sc"}}},output:{type:"structure",members:{GatewayARN:{}}}},AddWorkingStorage:{input:{type:"structure",required:["GatewayARN","DiskIds"],members:{GatewayARN:{},DiskIds:{shape:"Sc"}}},output:{ -type:"structure",members:{GatewayARN:{}}}},CancelArchival:{input:{type:"structure",required:["GatewayARN","TapeARN"],members:{GatewayARN:{},TapeARN:{}}},output:{type:"structure",members:{TapeARN:{}}}},CancelRetrieval:{input:{type:"structure",required:["GatewayARN","TapeARN"],members:{GatewayARN:{},TapeARN:{}}},output:{type:"structure",members:{TapeARN:{}}}},CreateCachediSCSIVolume:{input:{type:"structure",required:["GatewayARN","VolumeSizeInBytes","TargetName","NetworkInterfaceId","ClientToken"],members:{GatewayARN:{},VolumeSizeInBytes:{type:"long"},SnapshotId:{},TargetName:{},NetworkInterfaceId:{},ClientToken:{}}},output:{type:"structure",members:{VolumeARN:{},TargetARN:{}}}},CreateSnapshot:{input:{type:"structure",required:["VolumeARN","SnapshotDescription"],members:{VolumeARN:{},SnapshotDescription:{}}},output:{type:"structure",members:{VolumeARN:{},SnapshotId:{}}}},CreateSnapshotFromVolumeRecoveryPoint:{input:{type:"structure",required:["VolumeARN","SnapshotDescription"],members:{VolumeARN:{},SnapshotDescription:{}}},output:{type:"structure",members:{SnapshotId:{},VolumeARN:{},VolumeRecoveryPointTime:{}}}},CreateStorediSCSIVolume:{input:{type:"structure",required:["GatewayARN","DiskId","PreserveExistingData","TargetName","NetworkInterfaceId"],members:{GatewayARN:{},DiskId:{},SnapshotId:{},PreserveExistingData:{type:"boolean"},TargetName:{},NetworkInterfaceId:{}}},output:{type:"structure",members:{VolumeARN:{},VolumeSizeInBytes:{type:"long"},TargetARN:{}}}},CreateTapeWithBarcode:{input:{type:"structure",required:["GatewayARN","TapeSizeInBytes","TapeBarcode"],members:{GatewayARN:{},TapeSizeInBytes:{type:"long"},TapeBarcode:{}}},output:{type:"structure",members:{TapeARN:{}}}},CreateTapes:{input:{type:"structure",required:["GatewayARN","TapeSizeInBytes","ClientToken","NumTapesToCreate","TapeBarcodePrefix"],members:{GatewayARN:{},TapeSizeInBytes:{type:"long"},ClientToken:{},NumTapesToCreate:{type:"integer"},TapeBarcodePrefix:{}}},output:{type:"structure",members:{TapeARNs:{shape:"S1l"}}}},DeleteBandwidthRateLimit:{input:{type:"structure",required:["GatewayARN","BandwidthType"],members:{GatewayARN:{},BandwidthType:{}}},output:{type:"structure",members:{GatewayARN:{}}}},DeleteChapCredentials:{input:{type:"structure",required:["TargetARN","InitiatorName"],members:{TargetARN:{},InitiatorName:{}}},output:{type:"structure",members:{TargetARN:{},InitiatorName:{}}}},DeleteGateway:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},DeleteSnapshotSchedule:{input:{type:"structure",required:["VolumeARN"],members:{VolumeARN:{}}},output:{type:"structure",members:{VolumeARN:{}}}},DeleteTape:{input:{type:"structure",required:["GatewayARN","TapeARN"],members:{GatewayARN:{},TapeARN:{}}},output:{type:"structure",members:{TapeARN:{}}}},DeleteTapeArchive:{input:{type:"structure",required:["TapeARN"],members:{TapeARN:{}}},output:{type:"structure",members:{TapeARN:{}}}},DeleteVolume:{input:{type:"structure",required:["VolumeARN"],members:{VolumeARN:{}}},output:{type:"structure",members:{VolumeARN:{}}}},DescribeBandwidthRateLimit:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},AverageUploadRateLimitInBitsPerSec:{type:"long"},AverageDownloadRateLimitInBitsPerSec:{type:"long"}}}},DescribeCache:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},DiskIds:{shape:"Sc"},CacheAllocatedInBytes:{type:"long"},CacheUsedPercentage:{type:"double"},CacheDirtyPercentage:{type:"double"},CacheHitPercentage:{type:"double"},CacheMissPercentage:{type:"double"}}}},DescribeCachediSCSIVolumes:{input:{type:"structure",required:["VolumeARNs"],members:{VolumeARNs:{shape:"S2a"}}},output:{type:"structure",members:{CachediSCSIVolumes:{type:"list",member:{type:"structure",members:{VolumeARN:{},VolumeId:{},VolumeType:{},VolumeStatus:{},VolumeSizeInBytes:{type:"long"},VolumeProgress:{type:"double"},SourceSnapshotId:{},VolumeiSCSIAttributes:{shape:"S2i"}}}}}}},DescribeChapCredentials:{input:{type:"structure",required:["TargetARN"],members:{TargetARN:{}}},output:{type:"structure",members:{ChapCredentials:{type:"list",member:{type:"structure",members:{TargetARN:{},SecretToAuthenticateInitiator:{},InitiatorName:{},SecretToAuthenticateTarget:{}}}}}}},DescribeGatewayInformation:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},GatewayId:{},GatewayName:{},GatewayTimezone:{},GatewayState:{},GatewayNetworkInterfaces:{type:"list",member:{type:"structure",members:{Ipv4Address:{},MacAddress:{},Ipv6Address:{}}}},GatewayType:{},NextUpdateAvailabilityDate:{},LastSoftwareUpdate:{}}}},DescribeMaintenanceStartTime:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},HourOfDay:{type:"integer"},MinuteOfHour:{type:"integer"},DayOfWeek:{type:"integer"},Timezone:{}}}},DescribeSnapshotSchedule:{input:{type:"structure",required:["VolumeARN"],members:{VolumeARN:{}}},output:{type:"structure",members:{VolumeARN:{},StartAt:{type:"integer"},RecurrenceInHours:{type:"integer"},Description:{},Timezone:{}}}},DescribeStorediSCSIVolumes:{input:{type:"structure",required:["VolumeARNs"],members:{VolumeARNs:{shape:"S2a"}}},output:{type:"structure",members:{StorediSCSIVolumes:{type:"list",member:{type:"structure",members:{VolumeARN:{},VolumeId:{},VolumeType:{},VolumeStatus:{},VolumeSizeInBytes:{type:"long"},VolumeProgress:{type:"double"},VolumeDiskId:{},SourceSnapshotId:{},PreservedExistingData:{type:"boolean"},VolumeiSCSIAttributes:{shape:"S2i"}}}}}}},DescribeTapeArchives:{input:{type:"structure",members:{TapeARNs:{shape:"S1l"},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{TapeArchives:{type:"list",member:{type:"structure",members:{TapeARN:{},TapeBarcode:{},TapeSizeInBytes:{type:"long"},CompletionTime:{type:"timestamp"},RetrievedTo:{},TapeStatus:{}}}},Marker:{}}}},DescribeTapeRecoveryPoints:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{GatewayARN:{},TapeRecoveryPointInfos:{type:"list",member:{type:"structure",members:{TapeARN:{},TapeRecoveryPointTime:{type:"timestamp"},TapeSizeInBytes:{type:"long"},TapeStatus:{}}}},Marker:{}}}},DescribeTapes:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},TapeARNs:{shape:"S1l"},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Tapes:{type:"list",member:{type:"structure",members:{TapeARN:{},TapeBarcode:{},TapeSizeInBytes:{type:"long"},TapeStatus:{},VTLDevice:{},Progress:{type:"double"}}}},Marker:{}}}},DescribeUploadBuffer:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},DiskIds:{shape:"Sc"},UploadBufferUsedInBytes:{type:"long"},UploadBufferAllocatedInBytes:{type:"long"}}}},DescribeVTLDevices:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},VTLDeviceARNs:{type:"list",member:{}},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{GatewayARN:{},VTLDevices:{type:"list",member:{type:"structure",members:{VTLDeviceARN:{},VTLDeviceType:{},VTLDeviceVendor:{},VTLDeviceProductIdentifier:{},DeviceiSCSIAttributes:{type:"structure",members:{TargetARN:{},NetworkInterfaceId:{},NetworkInterfacePort:{type:"integer"},ChapEnabled:{type:"boolean"}}}}}},Marker:{}}}},DescribeWorkingStorage:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},DiskIds:{shape:"Sc"},WorkingStorageUsedInBytes:{type:"long"},WorkingStorageAllocatedInBytes:{type:"long"}}}},DisableGateway:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},ListGateways:{input:{type:"structure",members:{Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Gateways:{type:"list",member:{type:"structure",members:{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:"S1l"},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"}}}}}}},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:!0}}},output:{type:"structure",members:{GatewayARN:{}}}},ShutdownGateway:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},StartGateway:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateBandwidthRateLimit:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},AverageUploadRateLimitInBitsPerSec:{type:"long"},AverageDownloadRateLimitInBitsPerSec:{type:"long"}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateChapCredentials:{input:{type:"structure",required:["TargetARN","SecretToAuthenticateInitiator","InitiatorName"],members:{TargetARN:{},SecretToAuthenticateInitiator:{},InitiatorName:{},SecretToAuthenticateTarget:{}}},output:{type:"structure",members:{TargetARN:{},InitiatorName:{}}}},UpdateGatewayInformation:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},GatewayName:{},GatewayTimezone:{}}},output:{type:"structure",members:{GatewayARN:{},GatewayName:{}}}},UpdateGatewaySoftwareNow:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateMaintenanceStartTime:{input:{type:"structure",required:["GatewayARN","HourOfDay","MinuteOfHour","DayOfWeek"],members:{GatewayARN:{},HourOfDay:{type:"integer"},MinuteOfHour:{type:"integer"},DayOfWeek:{type:"integer"}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateSnapshotSchedule:{input:{type:"structure",required:["VolumeARN","StartAt","RecurrenceInHours"],members:{VolumeARN:{},StartAt:{type:"integer"},RecurrenceInHours:{type:"integer"},Description:{}}},output:{type:"structure",members:{VolumeARN:{}}}},UpdateVTLDeviceType:{input:{type:"structure",required:["VTLDeviceARN","DeviceType"],members:{VTLDeviceARN:{},DeviceType:{}}},output:{type:"structure",members:{VTLDeviceARN:{}}}}},shapes:{Sc:{type:"list",member:{}},Sh:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S1l:{type:"list",member:{}},S2a:{type:"list",member:{}},S2i:{type:"structure",members:{TargetARN:{},NetworkInterfaceId:{},NetworkInterfacePort:{type:"integer"},LunNumber:{type:"integer"},ChapEnabled:{type:"boolean"}}}}}},{}],123:[function(e,t,r){t.exports={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"}}}},{}],124:[function(e,t,r){t.exports={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"},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:{}}}}}},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"}}}}}},{}],125:[function(e,t,r){t.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",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:{}}}}}},{}],126:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-08-24",endpointPrefix:"waf",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"WAF",serviceFullName:"AWS WAF",signatureVersion:"v4",targetPrefix:"AWSWAF_20150824"},operations:{CreateByteMatchSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{ByteMatchSet:{shape:"S5"},ChangeToken:{}}}},CreateIPSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{IPSet:{shape:"Sh"},ChangeToken:{}}}},CreateRule:{input:{type:"structure",required:["Name","MetricName","ChangeToken"],members:{Name:{},MetricName:{},ChangeToken:{}}},output:{type:"structure",members:{Rule:{shape:"Sp"},ChangeToken:{}}}},CreateSizeConstraintSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{SizeConstraintSet:{shape:"Sw"},ChangeToken:{}}}},CreateSqlInjectionMatchSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{SqlInjectionMatchSet:{shape:"S13"},ChangeToken:{}}}},CreateWebACL:{input:{type:"structure",required:["Name","MetricName","DefaultAction","ChangeToken"],members:{Name:{},MetricName:{},DefaultAction:{shape:"S17"},ChangeToken:{}}},output:{type:"structure",members:{WebACL:{shape:"S1a"},ChangeToken:{}}}},CreateXssMatchSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{XssMatchSet:{shape:"S1g"},ChangeToken:{}}}},DeleteByteMatchSet:{input:{type:"structure",required:["ByteMatchSetId","ChangeToken"],members:{ByteMatchSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteIPSet:{input:{type:"structure",required:["IPSetId","ChangeToken"],members:{IPSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteRule:{input:{type:"structure",required:["RuleId","ChangeToken"],members:{RuleId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteSizeConstraintSet:{input:{type:"structure",required:["SizeConstraintSetId","ChangeToken"],members:{SizeConstraintSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteSqlInjectionMatchSet:{input:{type:"structure",required:["SqlInjectionMatchSetId","ChangeToken"],members:{SqlInjectionMatchSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteWebACL:{input:{type:"structure",required:["WebACLId","ChangeToken"],members:{WebACLId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteXssMatchSet:{input:{type:"structure",required:["XssMatchSetId","ChangeToken"],members:{XssMatchSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},GetByteMatchSet:{input:{type:"structure",required:["ByteMatchSetId"],members:{ByteMatchSetId:{}}},output:{type:"structure",members:{ByteMatchSet:{shape:"S5"}}}},GetChangeToken:{input:{type:"structure",members:{}},output:{type:"structure",members:{ChangeToken:{}}}},GetChangeTokenStatus:{input:{type:"structure",required:["ChangeToken"],members:{ChangeToken:{}}},output:{type:"structure",members:{ChangeTokenStatus:{}}}},GetIPSet:{input:{type:"structure",required:["IPSetId"],members:{IPSetId:{}}},output:{type:"structure",members:{IPSet:{shape:"Sh"}}}},GetRule:{input:{type:"structure",required:["RuleId"],members:{RuleId:{}}},output:{type:"structure",members:{Rule:{shape:"Sp"}}}},GetSampledRequests:{input:{type:"structure",required:["WebAclId","RuleId","TimeWindow","MaxItems"],members:{WebAclId:{},RuleId:{},TimeWindow:{shape:"S29"},MaxItems:{type:"long"}}},output:{type:"structure",members:{SampledRequests:{type:"list",member:{type:"structure",required:["Request","Weight"],members:{Request:{type:"structure",members:{ClientIP:{},Country:{},URI:{},Method:{},HTTPVersion:{},Headers:{type:"list",member:{type:"structure",members:{Name:{},Value:{}}}}}},Weight:{type:"long"},Timestamp:{type:"timestamp"},Action:{}}}},PopulationSize:{type:"long"},TimeWindow:{shape:"S29"}}}},GetSizeConstraintSet:{input:{type:"structure",required:["SizeConstraintSetId"],members:{SizeConstraintSetId:{}}},output:{type:"structure",members:{SizeConstraintSet:{shape:"Sw"}}}},GetSqlInjectionMatchSet:{input:{type:"structure",required:["SqlInjectionMatchSetId"],members:{SqlInjectionMatchSetId:{}}},output:{type:"structure",members:{SqlInjectionMatchSet:{shape:"S13"}}}},GetWebACL:{input:{type:"structure",required:["WebACLId"],members:{WebACLId:{}}},output:{type:"structure",members:{WebACL:{shape:"S1a"}}}},GetXssMatchSet:{input:{type:"structure",required:["XssMatchSetId"],members:{XssMatchSetId:{}}},output:{type:"structure",members:{XssMatchSet:{shape:"S1g"}}}},ListByteMatchSets:{input:{type:"structure",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:{}}}}}}},ListRules:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},Rules:{type:"list",member:{type:"structure",required:["RuleId","Name"],members:{RuleId:{},Name:{}}}}}}},ListSizeConstraintSets:{input:{type:"structure",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:{}}}},UpdateRule:{input:{type:"structure",required:["RuleId","ChangeToken","Updates"],members:{RuleId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","Predicate"],members:{Action:{},Predicate:{shape:"Sr"}}}}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateSizeConstraintSet:{input:{type:"structure",required:["SizeConstraintSetId","ChangeToken","Updates"],members:{SizeConstraintSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","SizeConstraint"],members:{Action:{},SizeConstraint:{shape:"Sy"}}}}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateSqlInjectionMatchSet:{input:{type:"structure",required:["SqlInjectionMatchSetId","ChangeToken","Updates"],members:{SqlInjectionMatchSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","SqlInjectionMatchTuple"],members:{Action:{},SqlInjectionMatchTuple:{shape:"S15"}}}}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateWebACL:{input:{type:"structure",required:["WebACLId","ChangeToken"],members:{WebACLId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","ActivatedRule"],members:{Action:{},ActivatedRule:{shape:"S1c"}}}},DefaultAction:{shape:"S17"}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateXssMatchSet:{input:{type:"structure",required:["XssMatchSetId","ChangeToken","Updates"],members:{XssMatchSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","XssMatchTuple"],members:{Action:{},XssMatchTuple:{shape:"S1i"}}}}}},output:{type:"structure",members:{ChangeToken:{}}}}},shapes:{S5:{type:"structure",required:["ByteMatchSetId","ByteMatchTuples"],members:{ByteMatchSetId:{},Name:{},ByteMatchTuples:{type:"list",member:{shape:"S8"}}}},S8:{type:"structure",required:["FieldToMatch","TargetString","TextTransformation","PositionalConstraint"],members:{FieldToMatch:{shape:"S9"},TargetString:{type:"blob"},TextTransformation:{},PositionalConstraint:{}}},S9:{type:"structure",required:["Type"],members:{Type:{},Data:{}}},Sh:{type:"structure",required:["IPSetId","IPSetDescriptors"],members:{IPSetId:{},Name:{},IPSetDescriptors:{type:"list",member:{shape:"Sj"}}}},Sj:{type:"structure",required:["Type","Value"],members:{Type:{},Value:{}}},Sp:{type:"structure",required:["RuleId","Predicates"],members:{RuleId:{},Name:{},MetricName:{},Predicates:{type:"list",member:{shape:"Sr"}}}},Sr:{type:"structure",required:["Negated","Type","DataId"],members:{Negated:{type:"boolean"},Type:{},DataId:{}}},Sw:{type:"structure",required:["SizeConstraintSetId","SizeConstraints"],members:{SizeConstraintSetId:{},Name:{},SizeConstraints:{type:"list",member:{shape:"Sy"}}}},Sy:{type:"structure",required:["FieldToMatch","TextTransformation","ComparisonOperator","Size"],members:{FieldToMatch:{shape:"S9"},TextTransformation:{},ComparisonOperator:{},Size:{type:"long"}}},S13:{type:"structure",required:["SqlInjectionMatchSetId","SqlInjectionMatchTuples"],members:{SqlInjectionMatchSetId:{},Name:{},SqlInjectionMatchTuples:{type:"list",member:{shape:"S15"}}}},S15:{type:"structure",required:["FieldToMatch","TextTransformation"],members:{FieldToMatch:{shape:"S9"},TextTransformation:{}}},S17:{type:"structure",required:["Type"],members:{Type:{}}},S1a:{type:"structure",required:["WebACLId","DefaultAction","Rules"],members:{WebACLId:{},Name:{},MetricName:{},DefaultAction:{shape:"S17"},Rules:{type:"list",member:{shape:"S1c"}}}},S1c:{type:"structure",required:["Priority","RuleId","Action"],members:{Priority:{type:"integer"},RuleId:{},Action:{shape:"S17"}}},S1g:{type:"structure",required:["XssMatchSetId","XssMatchTuples"],members:{XssMatchSetId:{},Name:{},XssMatchTuples:{type:"list",member:{shape:"S1i"}}}},S1i:{type:"structure",required:["FieldToMatch","TextTransformation"],members:{FieldToMatch:{shape:"S9"},TextTransformation:{}}},S29:{type:"structure",required:["StartTime","EndTime"],members:{StartTime:{type:"timestamp"},EndTime:{type:"timestamp"}}}}}},{}],127:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.acm={},a.ACM=s.defineService("acm",["2015-12-08"]),Object.defineProperty(i.services.acm,"2015-12-08",{get:function(){var t=e("../apis/acm-2015-12-08.min.json");return t.paginators=e("../apis/acm-2015-12-08.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.ACM},{"../apis/acm-2015-12-08.min.json":1,"../apis/acm-2015-12-08.paginators.json":2,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],128:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.apigateway={},a.APIGateway=s.defineService("apigateway",["2015-07-09"]),e("../lib/services/apigateway"),Object.defineProperty(i.services.apigateway,"2015-07-09",{get:function(){var t=e("../apis/apigateway-2015-07-09.min.json");return t.paginators=e("../apis/apigateway-2015-07-09.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.APIGateway},{"../apis/apigateway-2015-07-09.min.json":3,"../apis/apigateway-2015-07-09.paginators.json":4,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/apigateway":226}],129:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.applicationautoscaling={},a.ApplicationAutoScaling=s.defineService("applicationautoscaling",["2016-02-06"]),Object.defineProperty(i.services.applicationautoscaling,"2016-02-06",{get:function(){var t=e("../apis/application-autoscaling-2016-02-06.min.json");return t.paginators=e("../apis/application-autoscaling-2016-02-06.paginators.json").pagination, -t},enumerable:!0,configurable:!0}),t.exports=a.ApplicationAutoScaling},{"../apis/application-autoscaling-2016-02-06.min.json":5,"../apis/application-autoscaling-2016-02-06.paginators.json":6,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],130:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.autoscaling={},a.AutoScaling=s.defineService("autoscaling",["2011-01-01"]),Object.defineProperty(i.services.autoscaling,"2011-01-01",{get:function(){var t=e("../apis/autoscaling-2011-01-01.min.json");return t.paginators=e("../apis/autoscaling-2011-01-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.AutoScaling},{"../apis/autoscaling-2011-01-01.min.json":7,"../apis/autoscaling-2011-01-01.paginators.json":8,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],131:[function(e,t,r){e("../lib/node_loader");e("../lib/core");t.exports={ACM:e("./acm"),APIGateway:e("./apigateway"),ApplicationAutoScaling:e("./applicationautoscaling"),AutoScaling:e("./autoscaling"),CloudFormation:e("./cloudformation"),CloudFront:e("./cloudfront"),CloudHSM:e("./cloudhsm"),CloudTrail:e("./cloudtrail"),CloudWatch:e("./cloudwatch"),CloudWatchEvents:e("./cloudwatchevents"),CloudWatchLogs:e("./cloudwatchlogs"),CodeCommit:e("./codecommit"),CodeDeploy:e("./codedeploy"),CodePipeline:e("./codepipeline"),CognitoIdentity:e("./cognitoidentity"),CognitoIdentityServiceProvider:e("./cognitoidentityserviceprovider"),CognitoSync:e("./cognitosync"),ConfigService:e("./configservice"),DeviceFarm:e("./devicefarm"),DirectConnect:e("./directconnect"),DynamoDB:e("./dynamodb"),DynamoDBStreams:e("./dynamodbstreams"),EC2:e("./ec2"),ECR:e("./ecr"),ECS:e("./ecs"),ElastiCache:e("./elasticache"),ElasticBeanstalk:e("./elasticbeanstalk"),ELB:e("./elb"),ELBv2:e("./elbv2"),EMR:e("./emr"),ElasticTranscoder:e("./elastictranscoder"),Firehose:e("./firehose"),GameLift:e("./gamelift"),Inspector:e("./inspector"),Iot:e("./iot"),IotData:e("./iotdata"),Kinesis:e("./kinesis"),KMS:e("./kms"),Lambda:e("./lambda"),MachineLearning:e("./machinelearning"),MarketplaceCommerceAnalytics:e("./marketplacecommerceanalytics"),MobileAnalytics:e("./mobileanalytics"),OpsWorks:e("./opsworks"),RDS:e("./rds"),Redshift:e("./redshift"),Route53:e("./route53"),Route53Domains:e("./route53domains"),S3:e("./s3"),ServiceCatalog:e("./servicecatalog"),SES:e("./ses"),SNS:e("./sns"),SQS:e("./sqs"),SSM:e("./ssm"),StorageGateway:e("./storagegateway"),STS:e("./sts"),WAF:e("./waf")}},{"../lib/core":188,"../lib/node_loader":185,"./acm":127,"./apigateway":128,"./applicationautoscaling":129,"./autoscaling":130,"./cloudformation":132,"./cloudfront":133,"./cloudhsm":134,"./cloudtrail":135,"./cloudwatch":136,"./cloudwatchevents":137,"./cloudwatchlogs":138,"./codecommit":139,"./codedeploy":140,"./codepipeline":141,"./cognitoidentity":142,"./cognitoidentityserviceprovider":143,"./cognitosync":144,"./configservice":145,"./devicefarm":146,"./directconnect":147,"./dynamodb":148,"./dynamodbstreams":149,"./ec2":150,"./ecr":151,"./ecs":152,"./elasticache":153,"./elasticbeanstalk":154,"./elastictranscoder":155,"./elb":156,"./elbv2":157,"./emr":158,"./firehose":159,"./gamelift":160,"./inspector":161,"./iot":162,"./iotdata":163,"./kinesis":164,"./kms":165,"./lambda":166,"./machinelearning":167,"./marketplacecommerceanalytics":168,"./mobileanalytics":169,"./opsworks":170,"./rds":171,"./redshift":172,"./route53":173,"./route53domains":174,"./s3":175,"./servicecatalog":176,"./ses":177,"./sns":178,"./sqs":179,"./ssm":180,"./storagegateway":181,"./sts":182,"./waf":183}],132:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.cloudformation={},a.CloudFormation=s.defineService("cloudformation",["2010-05-15"]),Object.defineProperty(i.services.cloudformation,"2010-05-15",{get:function(){var t=e("../apis/cloudformation-2010-05-15.min.json");return t.paginators=e("../apis/cloudformation-2010-05-15.paginators.json").pagination,t.waiters=e("../apis/cloudformation-2010-05-15.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.CloudFormation},{"../apis/cloudformation-2010-05-15.min.json":9,"../apis/cloudformation-2010-05-15.paginators.json":10,"../apis/cloudformation-2010-05-15.waiters2.json":11,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],133:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.cloudfront={},a.CloudFront=s.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"]),e("../lib/services/cloudfront"),Object.defineProperty(i.services.cloudfront,"2016-09-07",{get:function(){var t=e("../apis/cloudfront-2016-09-07.min.json");return t.paginators=e("../apis/cloudfront-2016-09-07.paginators.json").pagination,t.waiters=e("../apis/cloudfront-2016-09-07.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.CloudFront},{"../apis/cloudfront-2016-09-07.min.json":12,"../apis/cloudfront-2016-09-07.paginators.json":13,"../apis/cloudfront-2016-09-07.waiters2.json":14,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/cloudfront":227}],134:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.cloudhsm={},a.CloudHSM=s.defineService("cloudhsm",["2014-05-30"]),Object.defineProperty(i.services.cloudhsm,"2014-05-30",{get:function(){var t=e("../apis/cloudhsm-2014-05-30.min.json");return t},enumerable:!0,configurable:!0}),t.exports=a.CloudHSM},{"../apis/cloudhsm-2014-05-30.min.json":15,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],135:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.cloudtrail={},a.CloudTrail=s.defineService("cloudtrail",["2013-11-01"]),Object.defineProperty(i.services.cloudtrail,"2013-11-01",{get:function(){var t=e("../apis/cloudtrail-2013-11-01.min.json");return t.paginators=e("../apis/cloudtrail-2013-11-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.CloudTrail},{"../apis/cloudtrail-2013-11-01.min.json":16,"../apis/cloudtrail-2013-11-01.paginators.json":17,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],136:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.cloudwatch={},a.CloudWatch=s.defineService("cloudwatch",["2010-08-01"]),Object.defineProperty(i.services.cloudwatch,"2010-08-01",{get:function(){var t=e("../apis/monitoring-2010-08-01.min.json");return t.paginators=e("../apis/monitoring-2010-08-01.paginators.json").pagination,t.waiters=e("../apis/monitoring-2010-08-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.CloudWatch},{"../apis/monitoring-2010-08-01.min.json":88,"../apis/monitoring-2010-08-01.paginators.json":89,"../apis/monitoring-2010-08-01.waiters2.json":90,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],137:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.cloudwatchevents={},a.CloudWatchEvents=s.defineService("cloudwatchevents",["2014-02-03*","2015-10-07"]),Object.defineProperty(i.services.cloudwatchevents,"2015-10-07",{get:function(){var t=e("../apis/events-2015-10-07.min.json");return t},enumerable:!0,configurable:!0}),t.exports=a.CloudWatchEvents},{"../apis/events-2015-10-07.min.json":65,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],138:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.cloudwatchlogs={},a.CloudWatchLogs=s.defineService("cloudwatchlogs",["2014-03-28"]),Object.defineProperty(i.services.cloudwatchlogs,"2014-03-28",{get:function(){var t=e("../apis/logs-2014-03-28.min.json");return t.paginators=e("../apis/logs-2014-03-28.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.CloudWatchLogs},{"../apis/logs-2014-03-28.min.json":80,"../apis/logs-2014-03-28.paginators.json":81,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],139:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.codecommit={},a.CodeCommit=s.defineService("codecommit",["2015-04-13"]),Object.defineProperty(i.services.codecommit,"2015-04-13",{get:function(){var t=e("../apis/codecommit-2015-04-13.min.json");return t.paginators=e("../apis/codecommit-2015-04-13.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.CodeCommit},{"../apis/codecommit-2015-04-13.min.json":18,"../apis/codecommit-2015-04-13.paginators.json":19,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],140:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.codedeploy={},a.CodeDeploy=s.defineService("codedeploy",["2014-10-06"]),Object.defineProperty(i.services.codedeploy,"2014-10-06",{get:function(){var t=e("../apis/codedeploy-2014-10-06.min.json");return t.paginators=e("../apis/codedeploy-2014-10-06.paginators.json").pagination,t.waiters=e("../apis/codedeploy-2014-10-06.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.CodeDeploy},{"../apis/codedeploy-2014-10-06.min.json":20,"../apis/codedeploy-2014-10-06.paginators.json":21,"../apis/codedeploy-2014-10-06.waiters2.json":22,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],141:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.codepipeline={},a.CodePipeline=s.defineService("codepipeline",["2015-07-09"]),Object.defineProperty(i.services.codepipeline,"2015-07-09",{get:function(){var t=e("../apis/codepipeline-2015-07-09.min.json");return t},enumerable:!0,configurable:!0}),t.exports=a.CodePipeline},{"../apis/codepipeline-2015-07-09.min.json":23,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],142:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.cognitoidentity={},a.CognitoIdentity=s.defineService("cognitoidentity",["2014-06-30"]),e("../lib/services/cognitoidentity"),Object.defineProperty(i.services.cognitoidentity,"2014-06-30",{get:function(){var t=e("../apis/cognito-identity-2014-06-30.min.json");return t},enumerable:!0,configurable:!0}),t.exports=a.CognitoIdentity},{"../apis/cognito-identity-2014-06-30.min.json":24,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/cognitoidentity":228}],143:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.cognitoidentityserviceprovider={},a.CognitoIdentityServiceProvider=s.defineService("cognitoidentityserviceprovider",["2016-04-18"]),Object.defineProperty(i.services.cognitoidentityserviceprovider,"2016-04-18",{get:function(){var t=e("../apis/cognito-idp-2016-04-18.min.json");return t},enumerable:!0,configurable:!0}),t.exports=a.CognitoIdentityServiceProvider},{"../apis/cognito-idp-2016-04-18.min.json":25,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],144:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.cognitosync={},a.CognitoSync=s.defineService("cognitosync",["2014-06-30"]),Object.defineProperty(i.services.cognitosync,"2014-06-30",{get:function(){var t=e("../apis/cognito-sync-2014-06-30.min.json");return t},enumerable:!0,configurable:!0}),t.exports=a.CognitoSync},{"../apis/cognito-sync-2014-06-30.min.json":26,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],145:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.configservice={},a.ConfigService=s.defineService("configservice",["2014-11-12"]),Object.defineProperty(i.services.configservice,"2014-11-12",{get:function(){var t=e("../apis/config-2014-11-12.min.json");return t.paginators=e("../apis/config-2014-11-12.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.ConfigService},{"../apis/config-2014-11-12.min.json":27,"../apis/config-2014-11-12.paginators.json":28,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],146:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.devicefarm={},a.DeviceFarm=s.defineService("devicefarm",["2015-06-23"]),Object.defineProperty(i.services.devicefarm,"2015-06-23",{get:function(){var t=e("../apis/devicefarm-2015-06-23.min.json");return t.paginators=e("../apis/devicefarm-2015-06-23.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.DeviceFarm},{"../apis/devicefarm-2015-06-23.min.json":29,"../apis/devicefarm-2015-06-23.paginators.json":30,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],147:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.directconnect={},a.DirectConnect=s.defineService("directconnect",["2012-10-25"]),Object.defineProperty(i.services.directconnect,"2012-10-25",{get:function(){var t=e("../apis/directconnect-2012-10-25.min.json");return t.paginators=e("../apis/directconnect-2012-10-25.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.DirectConnect},{"../apis/directconnect-2012-10-25.min.json":31,"../apis/directconnect-2012-10-25.paginators.json":32,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],148:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.dynamodb={},a.DynamoDB=s.defineService("dynamodb",["2011-12-05","2012-08-10"]),e("../lib/services/dynamodb"),Object.defineProperty(i.services.dynamodb,"2011-12-05",{get:function(){var t=e("../apis/dynamodb-2011-12-05.min.json");return t.paginators=e("../apis/dynamodb-2011-12-05.paginators.json").pagination,t.waiters=e("../apis/dynamodb-2011-12-05.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),Object.defineProperty(i.services.dynamodb,"2012-08-10",{get:function(){var t=e("../apis/dynamodb-2012-08-10.min.json");return t.paginators=e("../apis/dynamodb-2012-08-10.paginators.json").pagination,t.waiters=e("../apis/dynamodb-2012-08-10.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.DynamoDB},{"../apis/dynamodb-2011-12-05.min.json":33,"../apis/dynamodb-2011-12-05.paginators.json":34,"../apis/dynamodb-2011-12-05.waiters2.json":35,"../apis/dynamodb-2012-08-10.min.json":36,"../apis/dynamodb-2012-08-10.paginators.json":37,"../apis/dynamodb-2012-08-10.waiters2.json":38,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/dynamodb":229}],149:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.dynamodbstreams={},a.DynamoDBStreams=s.defineService("dynamodbstreams",["2012-08-10"]),Object.defineProperty(i.services.dynamodbstreams,"2012-08-10",{get:function(){var t=e("../apis/streams.dynamodb-2012-08-10.min.json");return t},enumerable:!0,configurable:!0}),t.exports=a.DynamoDBStreams},{"../apis/streams.dynamodb-2012-08-10.min.json":124,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],150:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.ec2={},a.EC2=s.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"]),e("../lib/services/ec2"),Object.defineProperty(i.services.ec2,"2016-09-15",{get:function(){var t=e("../apis/ec2-2016-09-15.min.json");return t.paginators=e("../apis/ec2-2016-09-15.paginators.json").pagination,t.waiters=e("../apis/ec2-2016-09-15.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.EC2},{"../apis/ec2-2016-09-15.min.json":39,"../apis/ec2-2016-09-15.paginators.json":40,"../apis/ec2-2016-09-15.waiters2.json":41,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/ec2":230}],151:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.ecr={},a.ECR=s.defineService("ecr",["2015-09-21"]),Object.defineProperty(i.services.ecr,"2015-09-21",{get:function(){var t=e("../apis/ecr-2015-09-21.min.json");return t},enumerable:!0,configurable:!0}),t.exports=a.ECR},{"../apis/ecr-2015-09-21.min.json":42,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],152:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.ecs={},a.ECS=s.defineService("ecs",["2014-11-13"]),Object.defineProperty(i.services.ecs,"2014-11-13",{get:function(){var t=e("../apis/ecs-2014-11-13.min.json");return t.paginators=e("../apis/ecs-2014-11-13.paginators.json").pagination,t.waiters=e("../apis/ecs-2014-11-13.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.ECS},{"../apis/ecs-2014-11-13.min.json":43,"../apis/ecs-2014-11-13.paginators.json":44,"../apis/ecs-2014-11-13.waiters2.json":45,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],153:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.elasticache={},a.ElastiCache=s.defineService("elasticache",["2012-11-15*","2014-03-24*","2014-07-15*","2014-09-30*","2015-02-02"]),Object.defineProperty(i.services.elasticache,"2015-02-02",{get:function(){var t=e("../apis/elasticache-2015-02-02.min.json");return t.paginators=e("../apis/elasticache-2015-02-02.paginators.json").pagination,t.waiters=e("../apis/elasticache-2015-02-02.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.ElastiCache},{"../apis/elasticache-2015-02-02.min.json":46,"../apis/elasticache-2015-02-02.paginators.json":47,"../apis/elasticache-2015-02-02.waiters2.json":48,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],154:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.elasticbeanstalk={},a.ElasticBeanstalk=s.defineService("elasticbeanstalk",["2010-12-01"]),Object.defineProperty(i.services.elasticbeanstalk,"2010-12-01",{get:function(){var t=e("../apis/elasticbeanstalk-2010-12-01.min.json");return t.paginators=e("../apis/elasticbeanstalk-2010-12-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.ElasticBeanstalk},{"../apis/elasticbeanstalk-2010-12-01.min.json":49,"../apis/elasticbeanstalk-2010-12-01.paginators.json":50,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],155:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.elastictranscoder={},a.ElasticTranscoder=s.defineService("elastictranscoder",["2012-09-25"]),Object.defineProperty(i.services.elastictranscoder,"2012-09-25",{get:function(){var t=e("../apis/elastictranscoder-2012-09-25.min.json");return t.paginators=e("../apis/elastictranscoder-2012-09-25.paginators.json").pagination,t.waiters=e("../apis/elastictranscoder-2012-09-25.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.ElasticTranscoder},{"../apis/elastictranscoder-2012-09-25.min.json":59,"../apis/elastictranscoder-2012-09-25.paginators.json":60,"../apis/elastictranscoder-2012-09-25.waiters2.json":61,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],156:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.elb={},a.ELB=s.defineService("elb",["2012-06-01"]),Object.defineProperty(i.services.elb,"2012-06-01",{get:function(){var t=e("../apis/elasticloadbalancing-2012-06-01.min.json");return t.paginators=e("../apis/elasticloadbalancing-2012-06-01.paginators.json").pagination,t.waiters=e("../apis/elasticloadbalancing-2012-06-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.ELB},{"../apis/elasticloadbalancing-2012-06-01.min.json":51,"../apis/elasticloadbalancing-2012-06-01.paginators.json":52,"../apis/elasticloadbalancing-2012-06-01.waiters2.json":53,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],157:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.elbv2={},a.ELBv2=s.defineService("elbv2",["2015-12-01"]),Object.defineProperty(i.services.elbv2,"2015-12-01",{get:function(){var t=e("../apis/elasticloadbalancingv2-2015-12-01.min.json");return t.paginators=e("../apis/elasticloadbalancingv2-2015-12-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.ELBv2},{"../apis/elasticloadbalancingv2-2015-12-01.min.json":54,"../apis/elasticloadbalancingv2-2015-12-01.paginators.json":55,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],158:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.emr={},a.EMR=s.defineService("emr",["2009-03-31"]),Object.defineProperty(i.services.emr,"2009-03-31",{get:function(){var t=e("../apis/elasticmapreduce-2009-03-31.min.json");return t.paginators=e("../apis/elasticmapreduce-2009-03-31.paginators.json").pagination,t.waiters=e("../apis/elasticmapreduce-2009-03-31.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.EMR},{"../apis/elasticmapreduce-2009-03-31.min.json":56,"../apis/elasticmapreduce-2009-03-31.paginators.json":57,"../apis/elasticmapreduce-2009-03-31.waiters2.json":58,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],159:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.firehose={},a.Firehose=s.defineService("firehose",["2015-08-04"]),Object.defineProperty(i.services.firehose,"2015-08-04",{get:function(){var t=e("../apis/firehose-2015-08-04.min.json");return t},enumerable:!0,configurable:!0}),t.exports=a.Firehose},{"../apis/firehose-2015-08-04.min.json":66,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],160:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.gamelift={},a.GameLift=s.defineService("gamelift",["2015-10-01"]),Object.defineProperty(i.services.gamelift,"2015-10-01",{get:function(){var t=e("../apis/gamelift-2015-10-01.min.json");return t},enumerable:!0,configurable:!0}),t.exports=a.GameLift},{"../apis/gamelift-2015-10-01.min.json":67,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],161:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.inspector={},a.Inspector=s.defineService("inspector",["2015-08-18*","2016-02-16"]),Object.defineProperty(i.services.inspector,"2016-02-16",{get:function(){var t=e("../apis/inspector-2016-02-16.min.json");return t},enumerable:!0,configurable:!0}),t.exports=a.Inspector},{"../apis/inspector-2016-02-16.min.json":68,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],162:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.iot={},a.Iot=s.defineService("iot",["2015-05-28"]),Object.defineProperty(i.services.iot,"2015-05-28",{get:function(){var t=e("../apis/iot-2015-05-28.min.json");return t},enumerable:!0,configurable:!0}),t.exports=a.Iot},{"../apis/iot-2015-05-28.min.json":69,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],163:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.iotdata={},a.IotData=s.defineService("iotdata",["2015-05-28"]),e("../lib/services/iotdata"),Object.defineProperty(i.services.iotdata,"2015-05-28",{get:function(){var t=e("../apis/iot-data-2015-05-28.min.json");return t},enumerable:!0,configurable:!0}),t.exports=a.IotData},{"../apis/iot-data-2015-05-28.min.json":70,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/iotdata":231}],164:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.kinesis={},a.Kinesis=s.defineService("kinesis",["2013-12-02"]),Object.defineProperty(i.services.kinesis,"2013-12-02",{get:function(){var t=e("../apis/kinesis-2013-12-02.min.json");return t.paginators=e("../apis/kinesis-2013-12-02.paginators.json").pagination,t.waiters=e("../apis/kinesis-2013-12-02.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.Kinesis},{"../apis/kinesis-2013-12-02.min.json":71,"../apis/kinesis-2013-12-02.paginators.json":72,"../apis/kinesis-2013-12-02.waiters2.json":73,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],165:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.kms={},a.KMS=s.defineService("kms",["2014-11-01"]),Object.defineProperty(i.services.kms,"2014-11-01",{get:function(){var t=e("../apis/kms-2014-11-01.min.json");return t.paginators=e("../apis/kms-2014-11-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.KMS},{"../apis/kms-2014-11-01.min.json":74,"../apis/kms-2014-11-01.paginators.json":75,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],166:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.lambda={},a.Lambda=s.defineService("lambda",["2014-11-11","2015-03-31"]),Object.defineProperty(i.services.lambda,"2014-11-11",{get:function(){var t=e("../apis/lambda-2014-11-11.min.json");return t.paginators=e("../apis/lambda-2014-11-11.paginators.json").pagination,t},enumerable:!0,configurable:!0}),Object.defineProperty(i.services.lambda,"2015-03-31",{get:function(){var t=e("../apis/lambda-2015-03-31.min.json");return t.paginators=e("../apis/lambda-2015-03-31.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.Lambda},{"../apis/lambda-2014-11-11.min.json":76,"../apis/lambda-2014-11-11.paginators.json":77,"../apis/lambda-2015-03-31.min.json":78,"../apis/lambda-2015-03-31.paginators.json":79,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],167:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.machinelearning={},a.MachineLearning=s.defineService("machinelearning",["2014-12-12"]),e("../lib/services/machinelearning"),Object.defineProperty(i.services.machinelearning,"2014-12-12",{get:function(){var t=e("../apis/machinelearning-2014-12-12.min.json");return t.paginators=e("../apis/machinelearning-2014-12-12.paginators.json").pagination,t.waiters=e("../apis/machinelearning-2014-12-12.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.MachineLearning},{"../apis/machinelearning-2014-12-12.min.json":82,"../apis/machinelearning-2014-12-12.paginators.json":83,"../apis/machinelearning-2014-12-12.waiters2.json":84,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/machinelearning":232}],168:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.marketplacecommerceanalytics={},a.MarketplaceCommerceAnalytics=s.defineService("marketplacecommerceanalytics",["2015-07-01"]),Object.defineProperty(i.services.marketplacecommerceanalytics,"2015-07-01",{get:function(){var t=e("../apis/marketplacecommerceanalytics-2015-07-01.min.json");return t},enumerable:!0,configurable:!0}),t.exports=a.MarketplaceCommerceAnalytics},{"../apis/marketplacecommerceanalytics-2015-07-01.min.json":85,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],169:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.mobileanalytics={},a.MobileAnalytics=s.defineService("mobileanalytics",["2014-06-05"]),Object.defineProperty(i.services.mobileanalytics,"2014-06-05",{get:function(){var t=e("../apis/mobileanalytics-2014-06-05.min.json");return t},enumerable:!0,configurable:!0}),t.exports=a.MobileAnalytics},{"../apis/mobileanalytics-2014-06-05.min.json":87,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],170:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.opsworks={},a.OpsWorks=s.defineService("opsworks",["2013-02-18"]),Object.defineProperty(i.services.opsworks,"2013-02-18",{get:function(){var t=e("../apis/opsworks-2013-02-18.min.json");return t.paginators=e("../apis/opsworks-2013-02-18.paginators.json").pagination,t.waiters=e("../apis/opsworks-2013-02-18.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.OpsWorks},{"../apis/opsworks-2013-02-18.min.json":91,"../apis/opsworks-2013-02-18.paginators.json":92,"../apis/opsworks-2013-02-18.waiters2.json":93,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],171:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.rds={},a.RDS=s.defineService("rds",["2013-01-10","2013-02-12","2013-09-09","2014-09-01*","2014-10-31"]),Object.defineProperty(i.services.rds,"2013-01-10",{get:function(){var t=e("../apis/rds-2013-01-10.min.json");return t.paginators=e("../apis/rds-2013-01-10.paginators.json").pagination,t},enumerable:!0,configurable:!0}),Object.defineProperty(i.services.rds,"2013-02-12",{get:function(){var t=e("../apis/rds-2013-02-12.min.json");return t.paginators=e("../apis/rds-2013-02-12.paginators.json").pagination,t},enumerable:!0,configurable:!0}),Object.defineProperty(i.services.rds,"2013-09-09",{get:function(){var t=e("../apis/rds-2013-09-09.min.json");return t.paginators=e("../apis/rds-2013-09-09.paginators.json").pagination,t.waiters=e("../apis/rds-2013-09-09.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),Object.defineProperty(i.services.rds,"2014-10-31",{get:function(){var t=e("../apis/rds-2014-10-31.min.json");return t.paginators=e("../apis/rds-2014-10-31.paginators.json").pagination,t.waiters=e("../apis/rds-2014-10-31.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.RDS},{"../apis/rds-2013-01-10.min.json":94,"../apis/rds-2013-01-10.paginators.json":95,"../apis/rds-2013-02-12.min.json":96,"../apis/rds-2013-02-12.paginators.json":97,"../apis/rds-2013-09-09.min.json":98,"../apis/rds-2013-09-09.paginators.json":99,"../apis/rds-2013-09-09.waiters2.json":100,"../apis/rds-2014-10-31.min.json":101, -"../apis/rds-2014-10-31.paginators.json":102,"../apis/rds-2014-10-31.waiters2.json":103,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],172:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.redshift={},a.Redshift=s.defineService("redshift",["2012-12-01"]),Object.defineProperty(i.services.redshift,"2012-12-01",{get:function(){var t=e("../apis/redshift-2012-12-01.min.json");return t.paginators=e("../apis/redshift-2012-12-01.paginators.json").pagination,t.waiters=e("../apis/redshift-2012-12-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.Redshift},{"../apis/redshift-2012-12-01.min.json":104,"../apis/redshift-2012-12-01.paginators.json":105,"../apis/redshift-2012-12-01.waiters2.json":106,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],173:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.route53={},a.Route53=s.defineService("route53",["2013-04-01"]),e("../lib/services/route53"),Object.defineProperty(i.services.route53,"2013-04-01",{get:function(){var t=e("../apis/route53-2013-04-01.min.json");return t.paginators=e("../apis/route53-2013-04-01.paginators.json").pagination,t.waiters=e("../apis/route53-2013-04-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.Route53},{"../apis/route53-2013-04-01.min.json":107,"../apis/route53-2013-04-01.paginators.json":108,"../apis/route53-2013-04-01.waiters2.json":109,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/route53":233}],174:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.route53domains={},a.Route53Domains=s.defineService("route53domains",["2014-05-15"]),Object.defineProperty(i.services.route53domains,"2014-05-15",{get:function(){var t=e("../apis/route53domains-2014-05-15.min.json");return t.paginators=e("../apis/route53domains-2014-05-15.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.Route53Domains},{"../apis/route53domains-2014-05-15.min.json":110,"../apis/route53domains-2014-05-15.paginators.json":111,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],175:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.s3={},a.S3=s.defineService("s3",["2006-03-01"]),e("../lib/services/s3"),Object.defineProperty(i.services.s3,"2006-03-01",{get:function(){var t=e("../apis/s3-2006-03-01.min.json");return t.paginators=e("../apis/s3-2006-03-01.paginators.json").pagination,t.waiters=e("../apis/s3-2006-03-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.S3},{"../apis/s3-2006-03-01.min.json":112,"../apis/s3-2006-03-01.paginators.json":113,"../apis/s3-2006-03-01.waiters2.json":114,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/s3":234}],176:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.servicecatalog={},a.ServiceCatalog=s.defineService("servicecatalog",["2015-12-10"]),Object.defineProperty(i.services.servicecatalog,"2015-12-10",{get:function(){var t=e("../apis/servicecatalog-2015-12-10.min.json");return t},enumerable:!0,configurable:!0}),t.exports=a.ServiceCatalog},{"../apis/servicecatalog-2015-12-10.min.json":115,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],177:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.ses={},a.SES=s.defineService("ses",["2010-12-01"]),Object.defineProperty(i.services.ses,"2010-12-01",{get:function(){var t=e("../apis/email-2010-12-01.min.json");return t.paginators=e("../apis/email-2010-12-01.paginators.json").pagination,t.waiters=e("../apis/email-2010-12-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.SES},{"../apis/email-2010-12-01.min.json":62,"../apis/email-2010-12-01.paginators.json":63,"../apis/email-2010-12-01.waiters2.json":64,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],178:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.sns={},a.SNS=s.defineService("sns",["2010-03-31"]),Object.defineProperty(i.services.sns,"2010-03-31",{get:function(){var t=e("../apis/sns-2010-03-31.min.json");return t.paginators=e("../apis/sns-2010-03-31.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.SNS},{"../apis/sns-2010-03-31.min.json":116,"../apis/sns-2010-03-31.paginators.json":117,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],179:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.sqs={},a.SQS=s.defineService("sqs",["2012-11-05"]),e("../lib/services/sqs"),Object.defineProperty(i.services.sqs,"2012-11-05",{get:function(){var t=e("../apis/sqs-2012-11-05.min.json");return t.paginators=e("../apis/sqs-2012-11-05.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.SQS},{"../apis/sqs-2012-11-05.min.json":118,"../apis/sqs-2012-11-05.paginators.json":119,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/sqs":235}],180:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.ssm={},a.SSM=s.defineService("ssm",["2014-11-06"]),Object.defineProperty(i.services.ssm,"2014-11-06",{get:function(){var t=e("../apis/ssm-2014-11-06.min.json");return t.paginators=e("../apis/ssm-2014-11-06.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.SSM},{"../apis/ssm-2014-11-06.min.json":120,"../apis/ssm-2014-11-06.paginators.json":121,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],181:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.storagegateway={},a.StorageGateway=s.defineService("storagegateway",["2013-06-30"]),Object.defineProperty(i.services.storagegateway,"2013-06-30",{get:function(){var t=e("../apis/storagegateway-2013-06-30.min.json");return t.paginators=e("../apis/storagegateway-2013-06-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.StorageGateway},{"../apis/storagegateway-2013-06-30.min.json":122,"../apis/storagegateway-2013-06-30.paginators.json":123,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],182:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.sts={},a.STS=s.defineService("sts",["2011-06-15"]),e("../lib/services/sts"),Object.defineProperty(i.services.sts,"2011-06-15",{get:function(){var t=e("../apis/sts-2011-06-15.min.json");return t},enumerable:!0,configurable:!0}),t.exports=a.STS},{"../apis/sts-2011-06-15.min.json":125,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225,"../lib/services/sts":236}],183:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),s=e("../lib/service"),i=e("../lib/api_loader");i.services.waf={},a.WAF=s.defineService("waf",["2015-08-24"]),Object.defineProperty(i.services.waf,"2015-08-24",{get:function(){var t=e("../apis/waf-2015-08-24.min.json");return t},enumerable:!0,configurable:!0}),t.exports=a.WAF},{"../apis/waf-2015-08-24.min.json":126,"../lib/api_loader":184,"../lib/core":188,"../lib/node_loader":185,"../lib/service":225}],184:[function(e,t,r){var a=e("./core");a.apiLoader=function(e,t){if(!a.apiLoader.services.hasOwnProperty(e))throw new Error("InvalidService: Failed to load api for "+e);return a.apiLoader.services[e][t]},a.apiLoader.services={},t.exports=a.apiLoader},{"./core":188}],185:[function(e,t,r){(function(t){var r=e("./util");r.crypto.lib=e("crypto-browserify"),r.Buffer=e("buffer/").Buffer,r.url=e("url/"),r.querystring=e("querystring/");var a=e("./core");e("./api_loader"),a.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),"undefined"==typeof t&&(t={browser:!0})}).call(this,e("_process"))},{"./api_loader":184,"./core":188,"./http/xhr":202,"./util":245,"./xml/browser_parser":246,_process:250,"buffer/":258,"crypto-browserify":263,"querystring/":271,"url/":272}],186:[function(e,t,r){var a=e("../core"),s=a.util.url,i=a.util.crypto.lib,n=a.util.base64.encode,o=a.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,function(e){return t[e]})},p=function(e,t){var r=i.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},c=function(e,t,r,a){var s=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(s.toString(),a)}},m=function(e,t,r){return e=e.replace(/\s/gm,e),{Policy:u(n(e)),"Key-Pair-Id":t,Signature:p(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=s.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},y=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}},b=function(e,t){if(!t||"function"!=typeof t)throw e;t(e)},h=function(e,t){return t&&"function"==typeof t?void t(null,e):e};a.CloudFront.Signer=o({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?m(e.policy,this.keyPairId,this.privateKey):c(e.url,e.expires,this.keyPairId,this.privateKey),a={};for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(a["CloudFront-"+s]=r[s]);return h(a,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var a=s.parse(e.url,!0),i=Object.prototype.hasOwnProperty.call(e,"policy")?m(e.policy,this.keyPairId,this.privateKey):c(r,e.expires,this.keyPairId,this.privateKey);a.search=null;for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(a.query[n]=i[n]);try{var o="rtmp"===l(e.url)?d(s.format(a)):s.format(a)}catch(e){return b(e,t)}return h(o,t)}}),t.exports=a.CloudFront.Signer},{"../core":188}],187:[function(e,t,r){var a=e("./core");e("./credentials"),e("./credentials/credential_provider_chain"),a.Config=a.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),a.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:n.credentials)}function r(e,t){return new a.util.error(t||new Error,{code:"CredentialsError",message:e})}function s(){n.credentials.get(function(e){if(e){var a="Could not load credentials from "+n.credentials.constructor.name;e=r(a,e)}t(e)})}function i(){var e=null;n.credentials.accessKeyId&&n.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}var n=this;n.credentials?"function"==typeof n.credentials.get?s():i():n.credentialProvider?n.credentialProvider.resolve(function(e,a){e&&(e=r("Could not load credentials from any providers",e)),n.credentials=a,t(e)}):t(r("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),a.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||a.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(a.util.readFileSync(e)),r=new a.FileSystemCredentials(e),s=new a.CredentialProviderChain;return s.providers.unshift(r),s.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){a.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),"function"==typeof r?this[e]=r.call(this):this[e]=r):"httpOptions"===e&&this[e]?this[e]=a.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{base:100},useAccelerateEndpoint:!1},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=a.util.copy(e),e.credentials=new a.Credentials(e)),e},setPromisesDependency:function(e){a.util.addPromisesToRequests(a.Request,e)}}),a.config=new a.Config},{"./core":188,"./credentials":189,"./credentials/credential_provider_chain":191}],188:[function(e,t,r){var a={util:e("./util")},s={};s.toString(),t.exports=a,a.util.update(a,{VERSION:"2.6.8",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},util:e("./util"),apiLoader:function(){throw new Error("No API loader set")}}),e("./service"),e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),e("./config"),e("./http"),e("./sequential_executor"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),a.events=new a.SequentialExecutor},{"./config":187,"./credentials":189,"./credentials/cognito_identity_credentials":190,"./credentials/credential_provider_chain":191,"./credentials/saml_credentials":192,"./credentials/temporary_credentials":193,"./credentials/web_identity_credentials":194,"./event_listeners":200,"./http":201,"./json/builder":203,"./json/parser":204,"./model/api":205,"./model/operation":207,"./model/paginator":208,"./model/resource_waiter":209,"./model/shape":210,"./param_validator":211,"./protocol/json":212,"./protocol/query":213,"./protocol/rest":214,"./protocol/rest_json":215,"./protocol/rest_xml":216,"./request":220,"./resource_waiter":221,"./response":222,"./sequential_executor":224,"./service":225,"./signers/request_signer":238,"./util":245,"./xml/builder":247}],189:[function(e,t,r){var a=e("./core");a.Credentials=a.util.inherit({constructor:function(){if(a.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=a.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()}})},{"./core":188}],190:[function(e,t,r){var a=e("../core"),s=e("../../clients/cognitoidentity"),i=e("../../clients/sts");a.CognitoIdentityCredentials=a.util.inherit(a.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e){a.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this.identityId=null,this.loadCachedId()},refresh:function(e){var t=this;t.createClients(),t.data=null,t.identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this.identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;return"string"==typeof t.params.IdentityId?e(null,t.params.IdentityId):void t.cognito.getId(function(r,a){!r&&a.IdentityId?(t.params.IdentityId=a.IdentityId,e(null,a.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,a){r?t.clearIdOnNotAuthorized(r):(t.cacheId(a),t.data=a,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,a){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(a),t.params.WebIdentityToken=a.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(a.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins),s=(e.getStorage("providers")||"").split(","),i=s.filter(function(e){return r.indexOf(e)!==-1});0!==i.length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){this.webIdentityCredentials=this.webIdentityCredentials||new a.WebIdentityCredentials(this.params),this.cognito=this.cognito||new s({params:this.params}),this.sts=this.sts||new i},cacheId:function(e){this.identityId=e.IdentityId,this.params.IdentityId=this.identityId,a.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{return a.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{}}catch(e){return{}}}()})},{"../../clients/cognitoidentity":142,"../../clients/sts":182,"../core":188}],191:[function(e,t,r){var a=e("../core");a.CredentialProviderChain=a.util.inherit(a.Credentials,{constructor:function(e){e?this.providers=e:this.providers=a.CredentialProviderChain.defaultProviders.slice(0)},resolve:function(e){function t(s,i){if(!s&&i||r===a.length)return void e(s,i);var n=a[r++];i="function"==typeof n?n.call():n,i.get?i.get(function(e){t(e,e?null:i)}):t(null,i)}if(0===this.providers.length)return e(new Error("No providers")),this;var r=0,a=this.providers.slice(0);return t(),this}}),a.CredentialProviderChain.defaultProviders=[]},{"../core":188}],192:[function(e,t,r){var a=e("../core"),s=e("../../clients/sts");a.SAMLCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){var t=this;t.createClients(),e||(e=function(e){if(e)throw e}),t.service.assumeRoleWithSAML(function(r,a){r||t.service.credentialsFrom(a,t),e(r)})},createClients:function(){this.service=this.service||new s({params:this.params})}})},{"../../clients/sts":182,"../core":188}],193:[function(e,t,r){var a=e("../core"),s=e("../../clients/sts");a.TemporaryCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),this.loadMasterCredentials(),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){var t=this;t.createClients(),e||(e=function(e){if(e)throw e}),t.service.config.credentials=t.masterCredentials;var r=t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken;r.call(t.service,function(r,a){r||t.service.credentialsFrom(a,t),e(r)})},loadMasterCredentials:function(){for(this.masterCredentials=a.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials},createClients:function(){this.service=this.service||new s({params:this.params})}})},{"../../clients/sts":182,"../core":188}],194:[function(e,t,r){var a=e("../core"),s=e("../../clients/sts");a.WebIdentityCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null},refresh:function(e){var t=this;t.createClients(),e||(e=function(e){if(e)throw e}),t.service.assumeRoleWithWebIdentity(function(r,a){t.data=null,r||(t.data=a,t.service.credentialsFrom(a,t)),e(r)})},createClients:function(){this.service=this.service||new s({params:this.params})}})},{"../../clients/sts":182,"../core":188}],195:[function(e,t,r){function a(e){if("Object"===o(e)){var t={M:{}};for(var r in e)t.M[r]=a(e[r]);return t}if("Array"===o(e)){for(var i={L:[]},n=0;n=600?this.emit("sign",[this],function(e){e?t(e):n()}):n()}),e("HTTP_HEADERS","httpHeaders",function(e,t,r){r.httpResponse.statusCode=e,r.httpResponse.headers=t,r.httpResponse.body=new a.util.Buffer(""),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var s=t.date||t.Date;if(s){ -var i=Date.parse(s);r.request.service.config.correctClockSkew&&a.util.isClockSkewed(i)&&a.util.applyClockOffset(i)}}),e("HTTP_DATA","httpData",function(e,t){if(e){if(a.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers["content-length"],s={loaded:t.httpResponse.numBytes,total:r};t.request.emit("httpDownloadProgress",[s,t])}t.httpResponse.buffers.push(new a.util.Buffer(e))}}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=a.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers}),e("FINALIZE_ERROR","retry",function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))}),e("INVALIDATE_CREDENTIALS","retry",function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}}),e("EXPIRED_SIGNATURE","retry",function(e){var t=e.error;t&&"string"==typeof t.code&&"string"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)}),e("CLOCK_SKEWED","retry",function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&a.config.isClockSkewed&&(e.error.retryable=!0)}),e("REDIRECT","retry",function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new a.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)}),e("RETRY_CHECK","retry",function(e){e.error&&(e.error.redirect&&e.redirectCount=this.HEADERS_RECEIVED&&!m){try{c.responseType="arraybuffer"}catch(e){}u.statusCode=c.status,u.headers=n.parseHeaders(c.getAllResponseHeaders()),u.emit("headers",u.statusCode,u.headers),m=!0}this.readyState===this.DONE&&n.finishRequest(c,u)},!1),c.upload.addEventListener("progress",function(e){u.emit("sendProgress",e)}),c.addEventListener("progress",function(e){u.emit("receiveProgress",e)},!1),c.addEventListener("timeout",function(){i(a.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),c.addEventListener("error",function(){i(a.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),r(u),c.open(e.method,p,t.xhrAsync!==!1),a.util.each(e.headers,function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&c.setRequestHeader(e,t)}),t.timeout&&t.xhrAsync!==!1&&(c.timeout=t.timeout),t.xhrWithCredentials&&(c.withCredentials=!0);try{c.send(e.body)}catch(t){if(!e.body||"object"!=typeof e.body.buffer)throw t;c.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return a.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],a=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=a)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var s=e.response;r=new a.util.Buffer(s.byteLength);for(var i=new Uint8Array(s),n=0;n1){var s=this.errors.join("\n* ");throw s="There were "+this.errors.length+" validation errors:\n* "+s,a.util.error(new Error(s),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(a.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){this.validateType(t,r,["object"],"structure");for(var a,s=0;e.required&&s= "+e.min+", but found "+t+" for "+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+a+" <= "+e.max+", but found "+t+" for "+r)},validateEnum:function(e,t,r){this.validation.enum&&void 0!==e.enum&&e.enum.indexOf(t)===-1&&this.fail("EnumError","Found string value of "+t+", but expected "+e.enum.join("|")+" for "+r)},validateType:function(e,t,r,s){if(null===e||void 0===e)return!1;for(var i=!1,n=0;n0){var a=JSON.parse(r.body.toString());(a.__type||a.code)&&(t.code=(a.__type||a.code).split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=a.message||a.Message||null}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=n.error(new Error,t)}function i(e){var t=e.httpResponse.body.toString()||"{}";if(e.request.service.config.convertResponseTypes===!1)e.data=JSON.parse(t);else{var r=e.request.service.api.operations[e.request.operation],a=r.output||{},s=new u;e.data=s.parse(t,a)}}var n=e("../util"),o=e("../json/builder"),u=e("../json/parser");t.exports={buildRequest:a,extractError:s,extractData:i}},{"../json/builder":203,"../json/parser":204,"../util":245}],213:[function(e,t,r){function a(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",r.params={Version:e.service.api.apiVersion,Action:t.name};var a=new u;a.serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=o.queryParamsToString(r.params)}function s(e){var t,r=e.httpResponse.body.toString();t=r.match("=0?"&":"?";var n=[];p.arrayEach(Object.keys(s).sort(),function(e){Array.isArray(s[e])||(s[e]=[s[e]]);for(var t=0;t0){t=new o.XML.Parser;var m=t.parse(a.toString(),i);u.update(e.data,m)}}var o=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:s,extractError:i,extractData:n}},{"../core":188,"../util":245,"./rest":214}],217:[function(e,t,r){function a(){}function s(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function i(e,t,r,a){p.each(r.members,function(r,i){var n=t[r];if(null!==n&&void 0!==n){var o=s(i);o=e?e+"."+o:o,u(o,n,i,a)}})}function n(e,t,r,a){var s=1;p.each(t,function(t,i){var n=r.flattened?".":".entry.",o=n+s++ +".",p=o+(r.key.name||"key"),c=o+(r.value.name||"value");u(e+p,t,r.key,a),u(e+c,i,r.value,a)})}function o(e,t,r,a){var i=r.member||{};return 0===t.length?void a.call(this,e,null):void p.arrayEach(t,function(t,n){var o="."+(n+1);if("ec2"===r.api.protocol)o+="";else if(r.flattened){if(i.name){var p=e.split(".");p.pop(),p.push(s(i)),e=p.join(".")}}else o=".member"+o;u(e+o,t,i,a)})}function u(e,t,r,a){null!==t&&void 0!==t&&("structure"===r.type?i(e,t,r,a):"list"===r.type?o(e,t,r,a):"map"===r.type?n(e,t,r,a):a(e,r.toWireFormat(t).toString()))}var p=e("../util");a.prototype.serialize=function(e,t,r){i("",e,t,r)},t.exports=a},{"../util":245}],218:[function(e,t,r){t.exports={rules:{"*/*":{endpoint:"{service}.{region}.amazonaws.com"},"cn-*/*":{endpoint:"{service}.{region}.amazonaws.com.cn"},"*/cloudfront":"globalSSL","*/iam":"globalSSL","*/sts":"globalSSL","*/importexport":{endpoint:"{service}.amazonaws.com",signatureVersion:"v2",globalEndpoint:!0},"*/route53":{endpoint:"https://{service}.amazonaws.com",signatureVersion:"v3https",globalEndpoint:!0},"*/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:!0},globalGovCloud:{endpoint:"{service}.us-gov.amazonaws.com"},s3dash:{endpoint:"{service}-{region}.amazonaws.com",signatureVersion:"s3"}}}},{}],219:[function(e,t,r){function a(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function s(e){var t=e.config.region,r=a(t),s=e.api.endpointPrefix;return[[t,s],[r,s],[t,"*"],[r,"*"],["*",s],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function i(e,t){o.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function n(e){ -for(var t=s(e),r=0;r=0){u=!0;var p=0}var c=function(){u&&p!==o?s.emit("error",a.util.error(new Error("Stream content length mismatch. Received "+p+" of "+o+" bytes."),{code:"StreamContentLengthMismatch"})):2===a.HttpClient.streamsApiVersion?s.end():s.emit("end")},m=n.httpResponse.createUnbufferedStream();if(2===a.HttpClient.streamsApiVersion)if(u){var l=new e.PassThrough;l._write=function(t){return t&&t.length&&(p+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},l.on("end",c),m.pipe(l).pipe(s,{end:!1})}else m.pipe(s);else u&&m.on("data",function(e){e&&e.length&&(p+=e.length)}),m.on("data",function(e){s.emit("data",e)}),m.on("end",c);m.on("error",function(e){u=!1,s.emit("error",e)})}}),this.on("error",function(e){s.emit("error",e)}),s},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response));var s=a.SequentialExecutor.prototype.emit;s.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new a.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this.removeListener("validate",a.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",a.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),a.util.addPromisesToRequests(a.Request),a.util.mixin(a.Request,a.SequentialExecutor)}).call(this,e("_process"))},{"./core":188,"./state_machine":244,_process:250,jmespath:268}],221:[function(e,t,r){function a(e){var t=e.request._waiter,r=t.config.acceptors,a=!1,s="retry";r.forEach(function(r){if(!a){var i=t.matchers[r.matcher];i&&i(e,r.expected,r.argument)&&(a=!0,s=r.state)}}),!a&&e.error&&(s="failure"),"success"===s?t.setSuccess(e):t.setError(e,"retry"===s)}var s=e("./core"),i=s.util.inherit,n=e("jmespath");s.ResourceWaiter=i({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){var a=n.search(e.data,r);return n.strictDeepEqual(a,t)},pathAll:function(e,t,r){var a=n.search(e.data,r);Array.isArray(a)||(a=[a]);var s=a.length;if(!s)return!1;for(var i=0;ie.partSize&&(e.partSize=t)}else e.totalBytes=void 0},isDoneChunking:!1,partPos:0,totalChunkedBytes:0,totalUploadedBytes:0,totalBytes:void 0,numParts:0,totalPartNumbers:0,activeParts:0,doneParts:0,parts:null,completeInfo:null,failed:!1,multipartReq:null,partBuffers:null,partBufferLength:0,fillBuffer:function(){var e=this,t=s(e.body);if(0===t)return e.isDoneChunking=!0,e.numParts=1,void e.nextChunk(e.body);for(;e.activeParts=e.queueSize)){var t=e.body.read(e.partSize-e.partBufferLength)||e.body.read();if(t&&(e.partBuffers.push(t),e.partBufferLength+=t.length,e.totalChunkedBytes+=t.length),e.partBufferLength>=e.partSize){var r=1===e.partBuffers.length?e.partBuffers[0]:i.concat(e.partBuffers);if(e.partBuffers=[],e.partBufferLength=0,r.length>e.partSize){var a=r.slice(e.partSize);e.partBuffers.push(a),e.partBufferLength+=a.length,r=r.slice(0,e.partSize)}e.nextChunk(r)}e.isDoneChunking&&!e.isDoneSending&&(r=1===e.partBuffers.length?e.partBuffers[0]:i.concat(e.partBuffers),e.partBuffers=[],e.partBufferLength=0,e.totalBytes=e.totalChunkedBytes,e.isDoneSending=!0,(0===e.numParts||r.length>0)&&(e.numParts++,e.nextChunk(r))),e.body.read(0)}},nextChunk:function(e){var t=this;if(t.failed)return null;var r=++t.totalPartNumbers;if(t.isDoneChunking&&1===r){var s=t.service.putObject({Body:e});return s._managedUpload=t,s.on("httpUploadProgress",t.progress).send(t.finishSinglePart),null}if(t.service.config.params.ContentMD5){var i=a.util.error(new Error("The Content-MD5 you specified is invalid for multi-part uploads."),{code:"InvalidDigest",retryable:!1});return t.cleanup(i),null}return t.completeInfo[r]&&null!==t.completeInfo[r].ETag?null:(t.activeParts++,void(t.service.config.params.UploadId?t.uploadPart(e,r):t.multipartReq?t.queueChunks(e,r):(t.multipartReq=t.service.createMultipartUpload(),t.multipartReq.on("success",function(e){t.service.config.params.UploadId=e.data.UploadId,t.multipartReq=null}),t.queueChunks(e,r),t.multipartReq.on("error",function(e){t.cleanup(e)}),t.multipartReq.send())))},uploadPart:function(e,t){var r=this,s={Body:e,ContentLength:a.util.string.byteLength(e),PartNumber:t},i={ETag:null,PartNumber:t};r.completeInfo[t]=i;var n=r.service.uploadPart(s);r.parts[t]=n,n._lastUploadedBytes=0,n._managedUpload=r,n.on("httpUploadProgress",r.progress),n.send(function(e,t){if(delete r.parts[s.PartNumber],r.activeParts--,!(e||t&&t.ETag)){var n="No access to ETag property on response.";a.util.isBrowser()&&(n+=" Check CORS configuration to expose ETag header."),e=a.util.error(new Error(n),{code:"ETagMissing",retryable:!1})}return e?r.cleanup(e):(i.ETag=t.ETag,r.doneParts++,void(r.isDoneChunking&&r.doneParts===r.numParts?r.finishMultiPart():r.fillQueue.call(r)))})},queueChunks:function(e,t){var r=this;r.multipartReq.on("success",function(){r.uploadPart(e,t)})},cleanup:function(e){var t=this;t.failed||("function"==typeof t.body.removeAllListeners&&"function"==typeof t.body.resume&&(t.body.removeAllListeners("readable"),t.body.removeAllListeners("end"),t.body.resume()),t.service.config.params.UploadId&&!t.leavePartsOnError&&t.service.abortMultipartUpload().send(),a.util.each(t.parts,function(e,t){t.removeAllListeners("complete"),t.abort()}),t.activeParts=0,t.partPos=0,t.numParts=0,t.totalPartNumbers=0,t.parts={},t.failed=!0,t.callback(e))},finishMultiPart:function(){var e=this,t={MultipartUpload:{Parts:e.completeInfo.slice(1)}};e.service.completeMultipartUpload(t,function(t,r){return t?e.cleanup(t):void e.callback(t,r)})},finishSinglePart:function(e,t){var r=this.request._managedUpload,a=this.request.httpRequest,s=a.endpoint;return e?r.callback(e):(t.Location=[s.protocol,"//",s.host,a.path].join(""),t.key=this.request.params.Key,t.Key=this.request.params.Key,t.Bucket=this.request.params.Bucket,void r.callback(e,t))},progress:function(e){var t=this._managedUpload;"putObject"===this.operation?(e.part=1,e.key=this.params.Key):(t.totalUploadedBytes+=e.loaded-this._lastUploadedBytes,this._lastUploadedBytes=e.loaded,e={loaded:t.totalUploadedBytes,total:t.totalBytes,part:this.params.PartNumber,key:this.params.Key}),t.emit("httpUploadProgress",[e])}}),a.util.mixin(a.S3.ManagedUpload,a.SequentialExecutor),t.exports=a.S3.ManagedUpload},{"../core":188}],224:[function(e,t,r){var a=e("./core");a.SequentialExecutor=a.util.inherit({constructor:function(){this._events={}},listeners:function(e){return this._events[e]?this._events[e].slice(0):[]},on:function(e,t){return this._events[e]?this._events[e].push(t):this._events[e]=[t],this},onAsync:function(e,t){return t._isAsync=!0,this.on(e,t)},removeListener:function(e,t){var r=this._events[e];if(r){for(var a=r.length,s=-1,i=0;i-1&&r.splice(s,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var a=this.listeners(e),s=a.length;return this.callListeners(a,t,r),s>0},callListeners:function(e,t,r,s){function i(s){return s&&(o=a.util.error(o||new Error,s),n._haltHandlersOnError)?r.call(n,o):void n.callListeners(e,t,r,o)}for(var n=this,o=s||null;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(n,t.concat([i]));try{u.apply(n,t)}catch(e){o=a.util.error(o||new Error,e)}if(o&&n._haltHandlersOnError)return void r.call(n,o)}r.call(n,o)},addListeners:function(e){var t=this;return e._events&&(e=e._events),a.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),a.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r){return this[e]=r,this.addListener(t,r),this},addNamedAsyncListener:function(e,t,r){return r._isAsync=!0,this.addNamedListener(e,t,r)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),a.SequentialExecutor.prototype.addListener=a.SequentialExecutor.prototype.on,t.exports=a.SequentialExecutor},{"./core":188}],225:[function(e,t,r){var a=e("./core"),s=e("./model/api"),i=e("./region_config"),n=a.util.inherit,o=0;a.Service=n({constructor:function(e){if(!this.loadServiceClass)throw a.util.error(new Error,"Service must be constructed with `new' operator");var t=this.loadServiceClass(e||{});if(t){var r=a.util.copy(e),s=new t(e);return Object.defineProperty(s,"_originalConfig",{get:function(){return r},enumerable:!1,configurable:!0}),s._clientId=++o,s}this.initialize(e)},initialize:function(e){var t=a.config[this.serviceIdentifier];this.config=new a.Config(a.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||i(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint)},validateService:function(){},loadServiceClass:function(e){var t=e;if(a.util.isEmpty(this.api)){if(t.apiConfig)return a.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new a.Config(a.config),t.update(e,!0);var r=t.apiVersions[this.constructor.serviceIdentifier];return r=r||t.apiVersion,this.getLatestServiceClass(r)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&a.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error("No services defined on "+this.constructor.serviceIdentifier);if(e?a.util.isType(e,Date)&&(e=a.util.date.iso8601(e).split("T")[0]):e="latest",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),r=null,s=t.length-1;s>=0;s--)if("*"!==t[s][t[s].length-1]&&(r=t[s]),t[s].substr(0,10)<=e)return r;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,makeRequest:function(e,t,r){if("function"==typeof t&&(r=t,t=null),t=t||{},this.config.params){var s=this.api.operations[e];s&&(t=a.util.copy(t),a.util.each(this.config.params,function(e,r){s.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var i=new a.Request(this,e,t);return this.addAllRequestListeners(i),r&&i.send(r),i},makeUnauthenticatedRequest:function(e,t,r){"function"==typeof t&&(r=t,t={});var a=this.makeRequest(e,t).toUnauthenticated();return r?a.send(r):a},waitFor:function(e,t,r){var s=new a.ResourceWaiter(this,e);return s.wait(t,r)},addAllRequestListeners:function(e){for(var t=[a.events,a.EventListeners.Core,this.serviceInterface(),a.EventListeners.CorePost],r=0;r=500))},networkingError:function(e){return"NetworkingError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},throttledError:function(e){switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;var t=e;return t=t.replace(/\{service\}/g,this.api.endpointPrefix),t=t.replace(/\{region\}/g,this.config.region),t=t.replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new a.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var s=new Error;throw a.util.error(s,"No pagination configuration for "+e)}return null}return r}}),a.util.update(a.Service,{defineMethods:function(e){a.util.each(e.prototype.api.operations,function(t){if(!e.prototype[t]){var r=e.prototype.api.operations[t];"none"===r.authtype?e.prototype[t]=function(e,r){return this.makeUnauthenticatedRequest(t,e,r)}:e.prototype[t]=function(e,r){return this.makeRequest(t,e,r)}}})},defineService:function(e,t,r){a.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var s=n(a.Service,r||{});if("string"==typeof e){a.Service.addVersions(s,t);var i=s.serviceIdentifier||e;s.serviceIdentifier=i}else s.prototype.api=e,a.Service.defineMethods(s);return s},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r0?50*Math.pow(2,e-1):0;return t}})},{"../core":188,"../dynamodb/document_client":196}],230:[function(e,t,r){var a=e("../core");a.util.update(a.EC2.prototype,{setupRequestListeners:function(e){e.removeListener("extractError",a.EventListeners.Query.EXTRACT_ERROR),e.addListener("extractError",this.extractError),"copySnapshot"===e.operation&&e.onAsync("validate",this.buildCopySnapshotPresignedUrl)},buildCopySnapshotPresignedUrl:function(e,t){if(e.params.PresignedUrl||e._subRequest)return t();e.params=a.util.copy(e.params),e.params.DestinationRegion=e.service.config.region;var r=a.util.copy(e.service.config);delete r.endpoint,r.region=e.params.SourceRegion;var s=new e.service.constructor(r),i=s[e.operation](e.params);i._subRequest=!0,i.presign(function(r,a){r?t(r):(e.params.PresignedUrl=a,t())})},extractError:function(e){var t=e.httpResponse,r=(new a.XML.Parser).parse(t.body.toString()||"");r.Errors?e.error=a.util.error(new Error,{code:r.Errors.Error.Code,message:r.Errors.Error.Message}):e.error=a.util.error(new Error,{code:t.statusCode,message:null}),e.error.requestId=r.RequestID||null}})},{"../core":188}],231:[function(e,t,r){var a=e("../core");a.util.update(a.IotData.prototype,{validateService:function(){if(!this.config.endpoint||this.config.endpoint.indexOf("{")>=0){var e="AWS.IotData requires an explicit `endpoint' configuration option.";throw a.util.error(new Error,{name:"InvalidEndpoint",message:e})}},setupRequestListeners:function(e){e.addListener("validateResponse",this.validateResponseBody)},validateResponseBody:function(e){var t=e.httpResponse.body.toString()||"{}",r=t.trim();r&&"{"===r.charAt(0)||(e.httpResponse.body="")}})},{"../core":188}],232:[function(e,t,r){var a=e("../core");a.util.update(a.MachineLearning.prototype,{setupRequestListeners:function(e){"predict"===e.operation&&e.addListener("build",this.buildEndpoint)},buildEndpoint:function(e){var t=e.params.PredictEndpoint;t&&(e.httpRequest.endpoint=new a.Endpoint(t))}})},{"../core":188}],233:[function(e,t,r){var a=e("../core");a.util.update(a.Route53.prototype,{setupRequestListeners:function(e){e.on("build",this.sanitizeUrl)},sanitizeUrl:function(e){var t=e.httpRequest.path;e.httpRequest.path=t.replace(/\/%2F\w+%2F/,"/")},retryableError:function(e){if("PriorRequestNotComplete"===e.code&&400===e.statusCode)return!0;var t=a.Service.prototype.retryableError;return t.call(this,e)}})},{"../core":188}],234:[function(e,t,r){var a=e("../core");e("../s3/managed_upload");var s={completeMultipartUpload:!0,copyObject:!0,uploadPartCopy:!0},i=["AuthorizationHeaderMalformed","BadRequest","PermanentRedirect",301];a.util.update(a.S3.prototype,{getSignerClass:function(e){var t=this.api.signatureVersion,r=this._originalConfig?this._originalConfig.signatureVersion:null,s=this.config.signatureVersion;!!e&&e.isPresigned();return r?(r="v2"===r?"s3":r,a.Signers.RequestSigner.getVersion(r)):(s&&(t=s),a.Signers.RequestSigner.getVersion(t))},validateService:function(){var e,t=[];if(this.config.region||(this.config.region="us-east-1"),!this.config.endpoint&&this.config.s3BucketEndpoint&&t.push("An endpoint must be provided when configuring `s3BucketEndpoint` to true."),this.config.useAccelerateEndpoint&&this.config.useDualstack&&t.push("`useAccelerateEndpoint` and `useDualstack` cannot both be configured to true."),1===t.length?e=t[0]:t.length>1&&(e="Multiple configuration errors:\n"+t.join("\n")),e)throw a.util.error(new Error,{name:"InvalidEndpoint",message:e})},shouldDisableBodySigning:function(e){var t=this.getSignerClass();return this.config.s3DisableBodySigning===!0&&t===a.Signers.V4&&"https:"===e.httpRequest.endpoint.protocol},setupRequestListeners:function(e){e.addListener("validate",this.validateScheme),e.addListener("validate",this.validateBucketEndpoint),e.addListener("validate",this.correctBucketRegionFromCache),e.addListener("build",this.addContentType),e.addListener("build",this.populateURI),e.addListener("build",this.computeContentMd5),e.addListener("build",this.computeSseCustomerKeyMd5),e.addListener("afterBuild",this.addExpect100Continue),e.removeListener("validate",a.EventListeners.Core.VALIDATE_REGION),e.addListener("extractError",this.extractError),e.onAsync("extractError",this.requestBucketRegion),e.addListener("extractData",this.extractData),e.addListener("extractData",a.util.hoistPayloadMember),e.addListener("beforePresign",this.prepareSignedUrl),a.util.isBrowser()&&e.onAsync("retry",this.reqRegionForNetworkingError),this.shouldDisableBodySigning(e)&&(e.removeListener("afterBuild",a.EventListeners.Core.COMPUTE_SHA256),e.addListener("afterBuild",this.disableBodySigning))},validateScheme:function(e){var t=e.params,r=e.httpRequest.endpoint.protocol,s=t.SSECustomerKey||t.CopySourceSSECustomerKey;if(s&&"https:"!==r){var i="Cannot send SSE keys over HTTP. Set 'sslEnabled'to 'true' in your configuration";throw a.util.error(new Error,{code:"ConfigError",message:i})}},validateBucketEndpoint:function(e){if(!e.params.Bucket&&e.service.config.s3BucketEndpoint){var t="Cannot send requests to root API with `s3BucketEndpoint` set.";throw a.util.error(new Error,{code:"ConfigError",message:t})}},isValidAccelerateOperation:function(e){var t=["createBucket","deleteBucket","listBuckets"];return t.indexOf(e)===-1},populateURI:function(e){var t=e.httpRequest,r=e.params.Bucket,a=e.service,s=t.endpoint;if(r&&!a.pathStyleBucketName(r)){a.config.useAccelerateEndpoint&&a.isValidAccelerateOperation(e.operation)?s.hostname=r+".s3-accelerate.amazonaws.com":a.config.s3BucketEndpoint||(s.hostname=r+"."+s.hostname);var i=s.port;80!==i&&443!==i?s.host=s.hostname+":"+s.port:s.host=s.hostname, -t.virtualHostedBucket=r,a.removeVirtualHostedBucketFromPath(e)}},removeVirtualHostedBucketFromPath:function(e){var t=e.httpRequest,r=t.virtualHostedBucket;r&&t.path&&(t.path=t.path.replace(new RegExp("/"+r),""),"/"!==t.path[0]&&(t.path="/"+t.path))},addExpect100Continue:function(e){var t=e.httpRequest.headers["Content-Length"];a.util.isNode()&&t>=1048576&&(e.httpRequest.headers.Expect="100-continue")},addContentType:function(e){var t=e.httpRequest;if("GET"===t.method||"HEAD"===t.method)return void delete t.headers["Content-Type"];t.headers["Content-Type"]||(t.headers["Content-Type"]="application/octet-stream");var r=t.headers["Content-Type"];if(a.util.isBrowser())if("string"!=typeof t.body||r.match(/;\s*charset=/)){var s=function(e,t,r){return t+r.toUpperCase()};t.headers["Content-Type"]=r.replace(/(;\s*charset=)(.+)$/,s)}else{var i="; charset=UTF-8";t.headers["Content-Type"]+=i}},computableChecksumOperations:{putBucketCors:!0,putBucketLifecycle:!0,putBucketLifecycleConfiguration:!0,putBucketTagging:!0,deleteObjects:!0,putBucketReplication:!0},willComputeChecksums:function(e){if(this.computableChecksumOperations[e.operation])return!0;if(!this.config.computeChecksums)return!1;if(!a.util.Buffer.isBuffer(e.httpRequest.body)&&"string"!=typeof e.httpRequest.body)return!1;var t=e.service.api.operations[e.operation].input.members;return!(!e.service.shouldDisableBodySigning(e)||Object.prototype.hasOwnProperty.call(e.httpRequest.headers,"presigned-expires")||!t.ContentMD5||e.params.ContentMD5)||!(e.service.getSignerClass(e)===a.Signers.V4&&t.ContentMD5&&!t.ContentMD5.required)&&(!(!t.ContentMD5||e.params.ContentMD5)||void 0)},computeContentMd5:function(e){if(e.service.willComputeChecksums(e)){var t=a.util.crypto.md5(e.httpRequest.body,"base64");e.httpRequest.headers["Content-MD5"]=t}},computeSseCustomerKeyMd5:function(e){var t={SSECustomerKey:"x-amz-server-side-encryption-customer-key-MD5",CopySourceSSECustomerKey:"x-amz-copy-source-server-side-encryption-customer-key-MD5"};a.util.each(t,function(t,r){if(e.params[t]){var s=a.util.crypto.md5(e.params[t],"base64");e.httpRequest.headers[r]=s}})},pathStyleBucketName:function(e){return!!this.config.s3ForcePathStyle||!this.config.s3BucketEndpoint&&(!this.dnsCompatibleBucketName(e)||!(!this.config.sslEnabled||!e.match(/\./)))},dnsCompatibleBucketName:function(e){var t=e,r=new RegExp(/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/),a=new RegExp(/(\d+\.){3}\d+/),s=new RegExp(/\.\./);return!(!t.match(r)||t.match(a)||t.match(s))},successfulResponse:function(e){var t=e.request,r=e.httpResponse;return(!s[t.operation]||!r.body.toString().match(""))&&r.statusCode<300},retryableError:function(e,t){if(s[t.operation]&&200===e.statusCode)return!0;if(t._requestRegionForBucket&&t.service.bucketRegionCache[t._requestRegionForBucket])return!1;if(e&&"RequestTimeout"===e.code)return!0;if(e&&i.indexOf(e.code)!=-1&&e.region&&e.region!=t.httpRequest.region)return t.httpRequest.region=e.region,301===e.statusCode&&t.service.updateReqBucketRegion(t),!0;var r=a.Service.prototype.retryableError;return r.call(this,e,t)},updateReqBucketRegion:function(e,t){var r=e.httpRequest;if("string"==typeof t&&t.length&&(r.region=t),r.endpoint.host.match(/s3(?!-accelerate).*\.amazonaws\.com$/)){var s=e.service,i=s.config,n=i.s3BucketEndpoint;n&&delete i.s3BucketEndpoint;var o=a.util.copy(i);delete o.endpoint,o.region=r.region,r.endpoint=new a.S3(o).endpoint,s.populateURI(e),i.s3BucketEndpoint=n,r.headers.Host=r.endpoint.host,"validate"===e._asm.currentState&&(e.removeListener("build",s.populateURI),e.addListener("build",s.removeVirtualHostedBucketFromPath))}},extractData:function(e){var t=e.request;if("getBucketLocation"===t.operation){var r=e.httpResponse.body.toString().match(/>(.+)<\/Location/);delete e.data._,r?e.data.LocationConstraint=r[1]:e.data.LocationConstraint=""}var a=t.params.Bucket||null;if("deleteBucket"!==t.operation||"string"!=typeof a||e.error){var s=e.httpResponse.headers||{},i=s["x-amz-bucket-region"]||null;if(!i&&"createBucket"===t.operation&&!e.error){var n=t.params.CreateBucketConfiguration;i=n?"EU"===n.LocationConstraint?"eu-west-1":n.LocationConstraint:"us-east-1"}i&&a&&i!==t.service.bucketRegionCache[a]&&(t.service.bucketRegionCache[a]=i)}else t.service.clearBucketRegionCache(a);t.service.extractRequestIds(e)},extractError:function(e){var t={304:"NotModified",403:"Forbidden",400:"BadRequest",404:"NotFound"},r=e.request,s=e.httpResponse.statusCode,i=e.httpResponse.body||"",n=e.httpResponse.headers||{},o=n["x-amz-bucket-region"]||null,u=r.params.Bucket||null,p=r.service.bucketRegionCache;o&&u&&o!==p[u]&&(p[u]=o);var c;if(t[s]&&0===i.length)u&&!o&&(c=p[u]||null,c!==r.httpRequest.region&&(o=c)),e.error=a.util.error(new Error,{code:t[s],message:null,region:o});else{var m=(new a.XML.Parser).parse(i.toString());m.Region&&!o?(o=m.Region,u&&o!==p[u]&&(p[u]=o)):!u||o||m.Region||(c=p[u]||null,c!==r.httpRequest.region&&(o=c)),e.error=a.util.error(new Error,{code:m.Code||s,message:m.Message||null,region:o})}r.service.extractRequestIds(e)},requestBucketRegion:function(e,t){var r=e.error,s=e.request,n=s.params.Bucket||null;if(!r||!n||r.region||"listObjects"===s.operation||a.util.isNode()&&"headBucket"===s.operation||400===r.statusCode&&"headObject"!==s.operation||i.indexOf(r.code)===-1)return t();var o=a.util.isNode()?"headBucket":"listObjects",u={Bucket:n};"listObjects"===o&&(u.MaxKeys=0);var p=s.service[o](u);p._requestRegionForBucket=n,p.send(function(){var e=s.service.bucketRegionCache[n]||null;r.region=e,t()})},reqRegionForNetworkingError:function(e,t){if(!a.util.isBrowser())return t();var r=e.error,s=e.request,i=s.params.Bucket;if(!r||"NetworkingError"!==r.code||!i||"us-east-1"===s.httpRequest.region)return t();var n=s.service,o=n.bucketRegionCache,u=o[i]||null;if(u&&u!==s.httpRequest.region)n.updateReqBucketRegion(s,u),t();else if(n.dnsCompatibleBucketName(i))if(s.httpRequest.virtualHostedBucket){var p=n.listObjects({Bucket:i,MaxKeys:0});n.updateReqBucketRegion(p,"us-east-1"),p._requestRegionForBucket=i,p.send(function(){var e=n.bucketRegionCache[i]||null;e&&e!==s.httpRequest.region&&n.updateReqBucketRegion(s,e),t()})}else t();else n.updateReqBucketRegion(s,"us-east-1"),"us-east-1"!==o[i]&&(o[i]="us-east-1"),t()},bucketRegionCache:{},clearBucketRegionCache:function(e){var t=this.bucketRegionCache;e?"string"==typeof e&&(e=[e]):e=Object.keys(t);for(var r=0;r0&&t.throwInvalidChecksumError(e,i,"Invalid messages: "+s.join(", "))}},verifyReceiveMessageChecksum:function(e){if(e.data){var t=this.service,r=[];a.util.arrayEach(e.data.Messages,function(e){var a=e.MD5OfBody,s=e.Body;t.isChecksumValid(a,s)||r.push(e.MessageId)}),r.length>0&&t.throwInvalidChecksumError(e,r,"Invalid messages: "+r.join(", "))}},throwInvalidChecksumError:function(e,t,r){e.error=a.util.error(new Error,{retryable:!0,code:"InvalidChecksum",messageIds:t,message:e.request.operation+" returned an invalid MD5 response. "+r})},isChecksumValid:function(e,t){return this.calculateChecksum(t)===e},calculateChecksum:function(e){return a.util.crypto.md5(e,"hex")},buildEndpoint:function(e){var t=e.httpRequest.params.QueueUrl;if(t){e.httpRequest.endpoint=new a.Endpoint(t);var r=e.httpRequest.endpoint.host.match(/^sqs\.(.+?)\./);r&&(e.httpRequest.region=r[1])}}})},{"../core":188}],236:[function(e,t,r){var a=e("../core");a.util.update(a.STS.prototype,{credentialsFrom:function(e,t){return e?(t||(t=new a.TemporaryCredentials),t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretAccessKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration,t):null},assumeRoleWithWebIdentity:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithWebIdentity",e,t)},assumeRoleWithSAML:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithSAML",e,t)}})},{"../core":188}],237:[function(e,t,r){function a(e){var t=e.httpRequest.headers[o],r=e.service.getSignerClass(e);if(delete e.httpRequest.headers["User-Agent"],delete e.httpRequest.headers["X-Amz-User-Agent"],r===i.Signers.V4){if(t>604800){var a="Presigning does not support expiry time greater than a week with SigV4 signing.";throw i.util.error(new Error,{code:"InvalidExpiryTime",message:a,retryable:!1})}e.httpRequest.headers[o]=t}else{if(r!==i.Signers.S3)throw i.util.error(new Error,{message:"Presigning only supports S3 or SigV4 signing.",code:"UnsupportedSigner",retryable:!1});e.httpRequest.headers[o]=parseInt(i.util.date.unixTimestamp()+t,10).toString()}}function s(e){var t=e.httpRequest.endpoint,r=i.util.urlParse(e.httpRequest.path),a={};r.search&&(a=i.util.queryStringParse(r.search.substr(1))),i.util.each(e.httpRequest.headers,function(e,t){e===o&&(e="Expires"),0===e.indexOf("x-amz-meta-")&&(delete a[e],e=e.toLowerCase()),a[e]=t}),delete e.httpRequest.headers[o];var s=a.Authorization.split(" ");if("AWS"===s[0])s=s[1].split(":"),a.AWSAccessKeyId=s[0],a.Signature=s[1];else if("AWS4-HMAC-SHA256"===s[0]){s.shift();var n=s.join(" "),u=n.match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1];a["X-Amz-Signature"]=u,delete a.Expires}delete a.Authorization,delete a.Host,t.pathname=r.pathname,t.search=i.util.queryParamsToString(a)}var i=e("../core"),n=i.util.inherit,o="presigned-expires";i.Signers.Presign=n({sign:function(e,t,r){if(e.httpRequest.headers[o]=t||3600,e.on("build",a),e.on("sign",s),e.removeListener("afterBuild",i.EventListeners.Core.SET_CONTENT_LENGTH),e.removeListener("afterBuild",i.EventListeners.Core.COMPUTE_SHA256),e.emit("beforePresign",[e]),!r){if(e.build(),e.response.error)throw e.response.error;return i.util.urlFormat(e.httpRequest.endpoint)}e.build(function(){this.response.error?r(this.response.error):r(null,i.util.urlFormat(e.httpRequest.endpoint))})}}),t.exports=i.Signers.Presign},{"../core":188}],238:[function(e,t,r){var a=e("../core"),s=a.util.inherit;a.Signers.RequestSigner=s({constructor:function(e){this.request=e},setServiceClientId:function(e){this.serviceClientId=e},getServiceClientId:function(){return this.serviceClientId}}),a.Signers.RequestSigner.getVersion=function(e){switch(e){case"v2":return a.Signers.V2;case"v3":return a.Signers.V3;case"v4":return a.Signers.V4;case"s3":return a.Signers.S3;case"v3https":return a.Signers.V3Https}throw new Error("Unknown signing version "+e)},e("./v2"),e("./v3"),e("./v3https"),e("./v4"),e("./s3"),e("./presign")},{"../core":188,"./presign":237,"./s3":239,"./v2":240,"./v3":241,"./v3https":242,"./v4":243}],239:[function(e,t,r){var a=e("../core"),s=a.util.inherit;a.Signers.S3=s(a.Signers.RequestSigner,{subResources:{acl:1,accelerate:1,cors:1,lifecycle:1,delete:1,location:1,logging:1,notification:1,partNumber:1,policy:1,requestPayment:1,replication:1,restore:1,tagging:1,torrent:1,uploadId:1,uploads:1,versionId:1,versioning:1,versions:1,website:1},responseHeaders:{"response-content-type":1,"response-content-language":1,"response-expires":1,"response-cache-control":1,"response-content-disposition":1,"response-content-encoding":1},addAuthorization:function(e,t){this.request.headers["presigned-expires"]||(this.request.headers["X-Amz-Date"]=a.util.date.rfc822(t)),e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken);var r=this.sign(e.secretAccessKey,this.stringToSign()),s="AWS "+e.accessKeyId+":"+r;this.request.headers.Authorization=s},stringToSign:function(){var e=this.request,t=[];t.push(e.method),t.push(e.headers["Content-MD5"]||""),t.push(e.headers["Content-Type"]||""),t.push(e.headers["presigned-expires"]||"");var r=this.canonicalizedAmzHeaders();return r&&t.push(r),t.push(this.canonicalizedResource()),t.join("\n")},canonicalizedAmzHeaders:function(){var e=[];a.util.each(this.request.headers,function(t){t.match(/^x-amz-/i)&&e.push(t)}),e.sort(function(e,t){return e.toLowerCase()=0?"&":"?";this.request.path+=i+a.util.queryParamsToString(s)},authorization:function(e,t){var r=[],a=this.credentialString(t);return r.push(this.algorithm+" Credential="+e.accessKeyId+"/"+a),r.push("SignedHeaders="+this.signedHeaders()),r.push("Signature="+this.signature(e,t)),r.join(", ")},signature:function(e,t){var r=null,s=this.serviceName+(this.getServiceClientId()?"_"+this.getServiceClientId():"");if(this.signatureCache){var r=i[s];r||(n.push(s),n.length>o&&delete i[n.shift()])}var u=t.substr(0,8);if(!r||r.akid!==e.accessKeyId||r.region!==this.request.region||r.date!==u){var p=e.secretAccessKey,c=a.util.crypto.hmac("AWS4"+p,u,"buffer"),m=a.util.crypto.hmac(c,this.request.region,"buffer"),l=a.util.crypto.hmac(m,this.serviceName,"buffer"),d=a.util.crypto.hmac(l,"aws4_request","buffer");if(!this.signatureCache)return a.util.crypto.hmac(d,this.stringToSign(t),"hex");i[s]={region:this.request.region,date:u,key:d,akid:e.accessKeyId}}var y=i[s].key;return a.util.crypto.hmac(y,this.stringToSign(t),"hex")},stringToSign:function(e){var t=[];return t.push("AWS4-HMAC-SHA256"),t.push(e),t.push(this.credentialString(e)),t.push(this.hexEncodedHash(this.canonicalString())),t.join("\n")},canonicalString:function(){var e=[],t=this.request.pathname();return"s3"!==this.serviceName&&(t=a.util.uriEscapePath(t)),e.push(this.request.method),e.push(t),e.push(this.request.search()),e.push(this.canonicalHeaders()+"\n"),e.push(this.signedHeaders()),e.push(this.hexEncodedBodyHash()),e.join("\n")},canonicalHeaders:function(){var e=[];a.util.each.call(this,this.request.headers,function(t,r){e.push([t,r])}),e.sort(function(e,t){return e[0].toLowerCase()=e.length)return t.push(null);var s=r+a;s>e.length&&(s=e.length),t.push(e.slice(r,s)),r=s},t},concat:function(e){var t,r=0,a=0,i=null;for(t=0;t>>8^t[255&(r^i)]}return(r^-1)>>>0},hmac:function(e,t,r,a){return r||(r="binary"),"buffer"===r&&(r=void 0),a||(a="sha256"),"string"==typeof t&&(t=new s.Buffer(t)),s.crypto.lib.createHmac(a,e).update(t).digest(r)},md5:function(e,t,r){return s.crypto.hash("md5",e,t,r)},sha256:function(e,t,r){return s.crypto.hash("sha256",e,t,r)},hash:function(e,t,r,a){var i=s.crypto.createHash(e);r||(r="binary"),"buffer"===r&&(r=void 0),"string"==typeof t&&(t=new s.Buffer(t));var n=s.arraySliceFn(t),o=s.Buffer.isBuffer(t);if(s.isBrowser()&&"undefined"!=typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(o=!0),a&&"object"==typeof t&&"function"==typeof t.on&&!o)t.on("data",function(e){i.update(e)}),t.on("error",function(e){a(e)}),t.on("end",function(){a(null,i.digest(r))});else{if(!a||!n||o||"undefined"==typeof FileReader){s.isBrowser()&&"object"==typeof t&&!o&&(t=new s.Buffer(new Uint8Array(t)));var u=i.update(t).digest(r);return a&&a(null,u),u}var p=0,c=524288,m=new FileReader;m.onerror=function(){a(new Error("Failed to read data."))},m.onload=function(){var e=new s.Buffer(new Uint8Array(m.result));i.update(e),p+=e.length,m._continueReading()},m._continueReading=function(){if(p>=t.size)return void a(null,i.digest(r));var e=p+c;e>t.size&&(e=t.size),m.readAsArrayBuffer(n.call(t,p,e))},m._continueReading()}},toHex:function(e){for(var t=[],r=0;r=3e5,!1),a.config.isClockSkewed},applyClockOffset:function(e){e&&(a.config.systemClockOffset=e-(new Date).getTime())},extractRequestId:function(e){var t=e.httpResponse.headers["x-amz-request-id"]||e.httpResponse.headers["x-amzn-requestid"];!t&&e.data&&e.data.ResponseMetadata&&(t=e.data.ResponseMetadata.RequestId),t&&(e.requestId=t),e.error&&(e.error.requestId=t)},addPromisesToRequests:function(e,t){return t=t||null,t||"undefined"==typeof Promise||(t=Promise),"function"!=typeof t?void delete e.prototype.promise:void(e.prototype.promise=function(){var e=this;return new t(function(t,r){e.on("complete",function(e){e.error?r(e.error):t(e.data)}),e.runTo()})})},isDualstackAvailable:function(t){if(!t)return!1;var r=e("../apis/metadata.json");return"string"!=typeof t&&(t=t.serviceIdentifier),!("string"!=typeof t||!r.hasOwnProperty(t))&&!!r[t].dualstackAvailable},calculateRetryDelay:function(e,t){t||(t={});var r=t.customBackoff||null;if("function"==typeof r)return r(e);var a=t.base||100,s=Math.random()*(Math.pow(2,e)*a);return s},handleRequestWithRetries:function(e,t,i){t||(t={});var n=a.HttpClient.getInstance(),o=t.httpOptions||{},u=0,p=function(e){var r=t.maxRetries||0;if(e&&"TimeoutError"===e.code&&(e.retryable=!0),e&&e.retryable&&u=500||429===r});a&&n.retryable&&(n.retryAfter=a),p(n)}})},p)};r.nextTick(c)}};t.exports=s}).call(this,e("_process"))},{"../apis/metadata.json":86,"./core":188,_process:250,fs:248}],246:[function(e,t,r){function a(){}function s(e,t){switch(t||(t={}),t.type){case"structure":return i(e,t);case"map":return n(e,t);case"list":return o(e,t);case void 0:case null:return p(e);default:return u(e,t)}}function i(e,t){var r={};return null===e?r:(c.each(t.members,function(t,a){if(a.isXmlAttribute){if(Object.prototype.hasOwnProperty.call(e.attributes,a.name)){var i=e.attributes[a.name].value;r[t]=s({textContent:i},a)}}else{var n=a.flattened?e:e.getElementsByTagName(a.name)[0];n?r[t]=s(n,a):a.flattened||"list"!==a.type||(r[t]=a.defaultValue)}}),r)}function n(e,t){for(var r={},a=t.key.name||"key",i=t.value.name||"value",n=t.flattened?t.name:"entry",o=e.firstElementChild;o;){if(o.nodeName===n){var u=o.getElementsByTagName(a)[0].textContent,p=o.getElementsByTagName(i)[0];r[u]=s(p,t.value)}o=o.nextElementSibling}return r}function o(e,t){for(var r=[],a=t.flattened?t.name:t.member.name||"member",i=e.firstElementChild;i;)i.nodeName===a&&r.push(s(i,t.member)),i=i.nextElementSibling;return r}function u(e,t){if(e.getAttribute){var r=e.getAttribute("encoding");"base64"===r&&(t=new m.create({type:r}))}var a=e.textContent;return""===a&&(a=null),"function"==typeof t.toType?t.toType(a):a}function p(e){if(void 0===e||null===e)return"";if(!e.firstElementChild)return null===e.parentNode.parentNode?{}:0===e.childNodes.length?"":e.textContent;for(var t={type:"structure",members:{}},r=e.firstElementChild;r;){var a=r.nodeName;Object.prototype.hasOwnProperty.call(t.members,a)?t.members[a].type="list":t.members[a]={name:a},r=r.nextElementSibling}return i(e,t)}var c=e("../util"),m=e("../model/shape");a.prototype.parse=function(e,t){if(""===e.replace(/^\s+/,""))return{};var r,a;try{if(window.DOMParser){try{var i=new DOMParser;r=i.parseFromString(e,"text/xml")}catch(e){throw c.error(new Error("Parse error in document"),{originalError:e,code:"XMLParserError",retryable:!0})}if(null===r.documentElement)throw c.error(new Error("Cannot parse empty document."),{code:"XMLParserError",retryable:!0});var n=r.getElementsByTagName("parsererror")[0];if(n&&(n.parentNode===r||"body"===n.parentNode.nodeName||n.parentNode.parentNode===r||"body"===n.parentNode.parentNode.nodeName)){var o=n.getElementsByTagName("div")[0]||n;throw c.error(new Error(o.textContent||"Parser error in document"),{code:"XMLParserError",retryable:!0})}}else{if(!window.ActiveXObject)throw new Error("Cannot load XML parser");if(r=new window.ActiveXObject("Microsoft.XMLDOM"),r.async=!1,!r.loadXML(e))throw c.error(new Error("Parse error in document"),{code:"XMLParserError",retryable:!0})}}catch(e){a=e}if(r&&r.documentElement&&!a){var u=s(r.documentElement,t),p=r.getElementsByTagName("ResponseMetadata")[0];return p&&(u.ResponseMetadata=s(p,{})),u}if(a)throw c.error(a||new Error,{code:"XMLParserError",retryable:!0});return{}},t.exports=a},{"../model/shape":210,"../util":245}],247:[function(e,t,r){function a(){}function s(e,t,r){switch(r.type){case"structure":return i(e,t,r);case"map":return n(e,t,r);case"list":return o(e,t,r);default:return u(e,t,r)}}function i(e,t,r){c.arrayEach(r.memberNames,function(a){var i=r.members[a];if("body"===i.location){var n=t[a],o=i.name;if(void 0!==n&&null!==n)if(i.isXmlAttribute)e.att(o,n);else if(i.flattened)s(e,n,i);else{var u=e.ele(o);p(u,i),s(u,n,i)}}})}function n(e,t,r){var a=r.key.name||"key",i=r.value.name||"value";c.each(t,function(t,n){var o=e.ele(r.flattened?r.name:"entry");s(o.ele(a),t,r.key),s(o.ele(i),n,r.value)})}function o(e,t,r){r.flattened?c.arrayEach(t,function(t){var a=r.member.name||r.name,i=e.ele(a);s(i,t,r.member)}):c.arrayEach(t,function(t){var a=r.member.name||"member",i=e.ele(a);s(i,t,r.member)})}function u(e,t,r){e.txt(r.toWireFormat(t))}function p(e,t){var r,a="xmlns";t.xmlNamespaceUri?(r=t.xmlNamespaceUri,t.xmlNamespacePrefix&&(a+=":"+t.xmlNamespacePrefix)):e.isRoot&&t.api.xmlNamespaceUri&&(r=t.api.xmlNamespaceUri),r&&e.att(a,r)}var c=e("../util"),m=e("xmlbuilder");a.prototype.toXML=function(e,t,r,a){var i=m.create(r);return p(i,t),s(i,e,t),i.children.length>0||a?i.root().toString():""},t.exports=a},{"../util":245,xmlbuilder:289}],248:[function(e,t,r){},{}],249:[function(e,t,r){function a(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function s(e){return"function"==typeof e}function i(e){return"number"==typeof e}function n(e){return"object"==typeof e&&null!==e}function o(e){return void 0===e}t.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._maxListeners=void 0,a.defaultMaxListeners=10,a.prototype.setMaxListeners=function(e){if(!i(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},a.prototype.emit=function(e){var t,r,a,i,u,p;if(this._events||(this._events={}),"error"===e&&(!this._events.error||n(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var c=new Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}if(r=this._events[e],o(r))return!1;if(s(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:i=Array.prototype.slice.call(arguments,1),r.apply(this,i)}else if(n(r))for(i=Array.prototype.slice.call(arguments,1),p=r.slice(),a=p.length,u=0;u0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())),this},a.prototype.on=a.prototype.addListener,a.prototype.once=function(e,t){function r(){this.removeListener(e,r),a||(a=!0,t.apply(this,arguments))}if(!s(t))throw TypeError("listener must be a function");var a=!1;return r.listener=t,this.on(e,r),this},a.prototype.removeListener=function(e,t){var r,a,i,o;if(!s(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],i=r.length,a=-1,r===t||s(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(n(r)){for(o=i;o-- >0;)if(r[o]===t||r[o].listener&&r[o].listener===t){a=o;break}if(a<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(a,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},a.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],s(r))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},a.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?s(this._events[e])?[this._events[e]]:this._events[e].slice():[]},a.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(s(t))return 1;if(t)return t.length}return 0},a.listenerCount=function(e,t){return e.listenerCount(t)}},{}],250:[function(e,t,r){function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function i(e){if(m===setTimeout)return setTimeout(e,0);if((m===a||!m)&&setTimeout)return m=setTimeout,setTimeout(e,0);try{return m(e,0)}catch(t){try{return m.call(null,e,0)}catch(t){return m.call(this,e,0)}}}function n(e){if(l===clearTimeout)return clearTimeout(e);if((l===s||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(e);try{return l(e)}catch(t){try{return l.call(null,e)}catch(t){return l.call(this,e)}}}function o(){h&&y&&(h=!1,y.length?b=y.concat(b):S=-1,b.length&&u())}function u(){if(!h){var e=i(o);h=!0;for(var t=b.length;t;){for(y=b,b=[];++S1)for(var r=1;r1&&(a=r[0]+"@",e=r[1]),e=e.replace(E,".");var s=e.split("."),n=i(s,t).join(".");return a+n}function o(e){for(var t,r,a=[],s=0,i=e.length;s=55296&&t<=56319&&s65535&&(e-=65536,t+=G(e>>>10&1023|55296),e=56320|1023&e),t+=G(e)}).join("")}function p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:v}function c(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function m(e,t,r){var a=0;for(e=r?w(e/T):e>>1,e+=w(e/t);e>B*C>>1;a+=v)e=w(e/B);return w(a+(B+1)*e/(e+R))}function l(e){var t,r,a,i,n,o,c,l,d,y,b=[],h=e.length,S=0,g=A,f=k;for(r=e.lastIndexOf(P),r<0&&(r=0),a=0;a=128&&s("not-basic"),b.push(e.charCodeAt(a));for(i=r>0?r+1:0;i=h&&s("invalid-input"),l=p(e.charCodeAt(i++)),(l>=v||l>w((I-S)/o))&&s("overflow"),S+=l*o,d=c<=f?D:c>=f+C?C:c-f,!(lw(I/y)&&s("overflow"),o*=y;t=b.length+1,f=m(S-n,t,0==n),w(S/t)>I-g&&s("overflow"),g+=w(S/t),S%=t,b.splice(S++,0,g)}return u(b)}function d(e){var t,r,a,i,n,u,p,l,d,y,b,h,S,g,f,N=[];for(e=o(e),h=e.length,t=A,r=0,n=k,u=0;u=t&&bw((I-r)/S)&&s("overflow"),r+=(p-t)*S,t=p,u=0;uI&&s("overflow"),b==t){for(l=r,d=v;y=d<=n?D:d>=n+C?C:d-n,!(l= 0x80 (not a basic code point)","invalid-input":"Invalid input"},B=v-D,w=Math.floor,G=String.fromCharCode;if(f={version:"1.4.1",ucs2:{decode:o,encode:u},decode:l,encode:d,toASCII:b,toUnicode:y},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return f});else if(h&&S)if(t.exports==h)S.exports=f;else for(N in f)f.hasOwnProperty(N)&&(h[N]=f[N]);else a.punycode=f}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],252:[function(e,t,r){"use strict";function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,r,i){t=t||"&",r=r||"=";var n={};if("string"!=typeof e||0===e.length)return n;var o=/\+/g;e=e.split(t);var u=1e3;i&&"number"==typeof i.maxKeys&&(u=i.maxKeys);var p=e.length;u>0&&p>u&&(p=u);for(var c=0;c=0?(m=b.substr(0,h),l=b.substr(h+1)):(m=b,l=""),d=decodeURIComponent(m),y=decodeURIComponent(l),a(n,d)?s(n[d])?n[d].push(y):n[d]=[n[d],y]:n[d]=y}return n};var s=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],253:[function(e,t,r){"use strict";function a(e,t){if(e.map)return e.map(t);for(var r=[],a=0;a=3&&(a.depth=arguments[2]),arguments.length>=4&&(a.colors=arguments[3]),b(t)?a.showHidden=t:t&&r._extend(a,t),I(a.showHidden)&&(a.showHidden=!1),I(a.depth)&&(a.depth=2),I(a.colors)&&(a.colors=!1),I(a.customInspect)&&(a.customInspect=!0),a.colors&&(a.stylize=i),u(a,e,a.depth)}function i(e,t){var r=s.styles[t];return r?"["+s.colors[r][0]+"m"+e+"["+s.colors[r][1]+"m":e}function n(e,t){return e}function o(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function u(e,t,a){if(e.customInspect&&t&&T(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var s=t.inspect(a,e);return f(s)||(s=u(e,s,a)),s}var i=p(e,t);if(i)return i;var n=Object.keys(t),b=o(n);if(e.showHidden&&(n=Object.getOwnPropertyNames(t)),R(t)&&(n.indexOf("message")>=0||n.indexOf("description")>=0))return c(t);if(0===n.length){if(T(t)){var h=t.name?": "+t.name:"";return e.stylize("[Function"+h+"]","special")}if(v(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(C(t))return e.stylize(Date.prototype.toString.call(t),"date");if(R(t))return c(t)}var S="",g=!1,N=["{","}"];if(y(t)&&(g=!0,N=["[","]"]),T(t)){var I=t.name?": "+t.name:"";S=" [Function"+I+"]"}if(v(t)&&(S=" "+RegExp.prototype.toString.call(t)),C(t)&&(S=" "+Date.prototype.toUTCString.call(t)),R(t)&&(S=" "+c(t)),0===n.length&&(!g||0==t.length))return N[0]+S+N[1];if(a<0)return v(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var D;return D=g?m(e,t,a,b,n):n.map(function(r){return l(e,t,a,b,r,g)}),e.seen.pop(),d(D,S,N)}function p(e,t){if(I(t))return e.stylize("undefined","undefined");if(f(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return g(t)?e.stylize(""+t,"number"):b(t)?e.stylize(""+t,"boolean"):h(t)?e.stylize("null","null"):void 0}function c(e){return"["+Error.prototype.toString.call(e)+"]"}function m(e,t,r,a,s){for(var i=[],n=0,o=t.length;n-1&&(o=i?o.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+o.split("\n").map(function(e){return" "+e}).join("\n"))):o=e.stylize("[Circular]","special")),I(n)){if(i&&s.match(/^\d+$/))return o;n=JSON.stringify(""+s),n.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(n=n.substr(1,n.length-2),n=e.stylize(n,"name")):(n=n.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),n=e.stylize(n,"string"))}return n+": "+o}function d(e,t,r){var a=0,s=e.reduce(function(e,t){return a++,t.indexOf("\n")>=0&&a++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return s>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function y(e){return Array.isArray(e)}function b(e){return"boolean"==typeof e}function h(e){return null===e}function S(e){return null==e}function g(e){return"number"==typeof e}function f(e){return"string"==typeof e}function N(e){return"symbol"==typeof e}function I(e){return void 0===e}function v(e){return D(e)&&"[object RegExp]"===A(e)}function D(e){return"object"==typeof e&&null!==e}function C(e){return D(e)&&"[object Date]"===A(e)}function R(e){return D(e)&&("[object Error]"===A(e)||e instanceof Error)}function T(e){return"function"==typeof e}function k(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function A(e){return Object.prototype.toString.call(e)}function P(e){return e<10?"0"+e.toString(10):e.toString(10)}function q(){var e=new Date,t=[P(e.getHours()),P(e.getMinutes()),P(e.getSeconds())].join(":");return[e.getDate(),w[e.getMonth()],t].join(" ")}function x(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var E=/%[sdj%]/g;r.format=function(e){if(!f(e)){for(var t=[],r=0;r=i)return e;switch(e){case"%s":return String(a[r++]);case"%d":return Number(a[r++]);case"%j":try{return JSON.stringify(a[r++])}catch(e){return"[Circular]"}default:return e}}),o=a[r];r=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function h(e){return+e!=e&&(e=0),n.alloc(+e)}function S(e,t){if(n.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Z(e).length;default:if(a)return z(e).length;t=(""+t).toLowerCase(),a=!0}}function g(e,t,r){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return M(this,t,r);case"utf8":case"utf-8":return P(this,t,r);case"ascii":return x(this,t,r);case"latin1":case"binary":return E(this,t,r);case"base64":return A(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,r);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function f(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function N(e,t,r,a,s){if(0===e.length)return-1;if("string"==typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=s?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(s)return-1;r=e.length-1}else if(r<0){if(!s)return-1;r=0}if("string"==typeof t&&(t=n.from(t,a)),n.isBuffer(t))return 0===t.length?-1:I(e,t,r,a,s);if("number"==typeof t)return t=255&t,n.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?s?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):I(e,[t],r,a,s);throw new TypeError("val must be string, number or Buffer")}function I(e,t,r,a,s){function i(e,t){return 1===n?e[t]:e.readUInt16BE(t*n)}var n=1,o=e.length,u=t.length;if(void 0!==a&&(a=String(a).toLowerCase(),"ucs2"===a||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return-1;n=2,o/=2,u/=2,r/=2}var p;if(s){var c=-1;for(p=r;po&&(r=o-u),p=r;p>=0;p--){for(var m=!0,l=0;ls&&(a=s)):a=s;var i=t.length;if(i%2!==0)throw new TypeError("Invalid hex string");a>i/2&&(a=i/2);for(var n=0;n239?4:i>223?3:i>191?2:1;if(s+o<=r){var u,p,c,m;switch(o){case 1:i<128&&(n=i);break;case 2:u=e[s+1],128===(192&u)&&(m=(31&i)<<6|63&u,m>127&&(n=m));break;case 3:u=e[s+1],p=e[s+2],128===(192&u)&&128===(192&p)&&(m=(15&i)<<12|(63&u)<<6|63&p,m>2047&&(m<55296||m>57343)&&(n=m));break;case 4:u=e[s+1],p=e[s+2],c=e[s+3],128===(192&u)&&128===(192&p)&&128===(192&c)&&(m=(15&i)<<18|(63&u)<<12|(63&p)<<6|63&c,m>65535&&m<1114112&&(n=m))}}null===n?(n=65533,o=1):n>65535&&(n-=65536,a.push(n>>>10&1023|55296),n=56320|1023&n),a.push(n),s+=o}return q(a)}function q(e){var t=e.length;if(t<=ee)return String.fromCharCode.apply(String,e);for(var r="",a=0;aa)&&(r=a);for(var s="",i=t;ir)throw new RangeError("Trying to access beyond buffer length")}function G(e,t,r,a,s,i){if(!n.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>s||te.length)throw new RangeError("Index out of range")}function L(e,t,r,a){t<0&&(t=65535+t+1);for(var s=0,i=Math.min(e.length-r,2);s>>8*(a?s:1-s)}function _(e,t,r,a){t<0&&(t=4294967295+t+1);for(var s=0,i=Math.min(e.length-r,4);s>>8*(a?s:3-s)&255}function U(e,t,r,a,s,i){if(r+a>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function V(e,t,r,a,s){return s||U(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38), -Y.write(e,t,r,a,23,4),r+4}function O(e,t,r,a,s){return s||U(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),Y.write(e,t,r,a,52,8),r+8}function F(e){if(e=j(e).replace(te,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function j(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function W(e){return e<16?"0"+e.toString(16):e.toString(16)}function z(e,t){t=t||1/0;for(var r,a=e.length,s=null,i=[],n=0;n55295&&r<57344){if(!s){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(n+1===a){(t-=3)>-1&&i.push(239,191,189);continue}s=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),s=r;continue}r=(s-55296<<10|r-56320)+65536}else s&&(t-=3)>-1&&i.push(239,191,189);if(s=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function K(e){for(var t=[],r=0;r>8,s=r%256,i.push(s),i.push(a);return i}function Z(e){return J.toByteArray(F(e))}function Q(e,t,r,a){for(var s=0;s=t.length||s>=e.length);++s)t[s+r]=e[s];return s}function X(e){return e!==e}var J=e("base64-js"),Y=e("ieee754"),$=e("isarray");r.Buffer=n,r.SlowBuffer=h,r.INSPECT_MAX_BYTES=50,n.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:a(),r.kMaxLength=s(),n.poolSize=8192,n._augment=function(e){return e.__proto__=n.prototype,e},n.from=function(e,t,r){return o(null,e,t,r)},n.TYPED_ARRAY_SUPPORT&&(n.prototype.__proto__=Uint8Array.prototype,n.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&n[Symbol.species]===n&&Object.defineProperty(n,Symbol.species,{value:null,configurable:!0})),n.alloc=function(e,t,r){return p(null,e,t,r)},n.allocUnsafe=function(e){return c(null,e)},n.allocUnsafeSlow=function(e){return c(null,e)},n.isBuffer=function(e){return!(null==e||!e._isBuffer)},n.compare=function(e,t){if(!n.isBuffer(e)||!n.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,a=t.length,s=0,i=Math.min(r,a);s0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""},n.prototype.compare=function(e,t,r,a,s){if(!n.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===a&&(a=0),void 0===s&&(s=this.length),t<0||r>e.length||a<0||s>this.length)throw new RangeError("out of range index");if(a>=s&&t>=r)return 0;if(a>=s)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,a>>>=0,s>>>=0,this===e)return 0;for(var i=s-a,o=r-t,u=Math.min(i,o),p=this.slice(a,s),c=e.slice(t,r),m=0;ms)&&(r=s),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var i=!1;;)switch(a){case"hex":return v(this,e,t,r);case"utf8":case"utf-8":return D(this,e,t,r);case"ascii":return C(this,e,t,r);case"latin1":case"binary":return R(this,e,t,r);case"base64":return T(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),i=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ee=4096;n.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t0&&(s*=256);)a+=this[e+--t]*s;return a},n.prototype.readUInt8=function(e,t){return t||w(e,1,this.length),this[e]},n.prototype.readUInt16LE=function(e,t){return t||w(e,2,this.length),this[e]|this[e+1]<<8},n.prototype.readUInt16BE=function(e,t){return t||w(e,2,this.length),this[e]<<8|this[e+1]},n.prototype.readUInt32LE=function(e,t){return t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},n.prototype.readUInt32BE=function(e,t){return t||w(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},n.prototype.readIntLE=function(e,t,r){e=0|e,t=0|t,r||w(e,t,this.length);for(var a=this[e],s=1,i=0;++i=s&&(a-=Math.pow(2,8*t)),a},n.prototype.readIntBE=function(e,t,r){e=0|e,t=0|t,r||w(e,t,this.length);for(var a=t,s=1,i=this[e+--a];a>0&&(s*=256);)i+=this[e+--a]*s;return s*=128,i>=s&&(i-=Math.pow(2,8*t)),i},n.prototype.readInt8=function(e,t){return t||w(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},n.prototype.readInt16LE=function(e,t){t||w(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},n.prototype.readInt16BE=function(e,t){t||w(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},n.prototype.readInt32LE=function(e,t){return t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},n.prototype.readInt32BE=function(e,t){return t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},n.prototype.readFloatLE=function(e,t){return t||w(e,4,this.length),Y.read(this,e,!0,23,4)},n.prototype.readFloatBE=function(e,t){return t||w(e,4,this.length),Y.read(this,e,!1,23,4)},n.prototype.readDoubleLE=function(e,t){return t||w(e,8,this.length),Y.read(this,e,!0,52,8)},n.prototype.readDoubleBE=function(e,t){return t||w(e,8,this.length),Y.read(this,e,!1,52,8)},n.prototype.writeUIntLE=function(e,t,r,a){if(e=+e,t=0|t,r=0|r,!a){var s=Math.pow(2,8*r)-1;G(this,e,t,r,s,0)}var i=1,n=0;for(this[t]=255&e;++n=0&&(n*=256);)this[t+i]=e/n&255;return t+r},n.prototype.writeUInt8=function(e,t,r){return e=+e,t=0|t,r||G(this,e,t,1,255,0),n.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},n.prototype.writeUInt16LE=function(e,t,r){return e=+e,t=0|t,r||G(this,e,t,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},n.prototype.writeUInt16BE=function(e,t,r){return e=+e,t=0|t,r||G(this,e,t,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},n.prototype.writeUInt32LE=function(e,t,r){return e=+e,t=0|t,r||G(this,e,t,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):_(this,e,t,!0),t+4},n.prototype.writeUInt32BE=function(e,t,r){return e=+e,t=0|t,r||G(this,e,t,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):_(this,e,t,!1),t+4},n.prototype.writeIntLE=function(e,t,r,a){if(e=+e,t=0|t,!a){var s=Math.pow(2,8*r-1);G(this,e,t,r,s-1,-s)}var i=0,n=1,o=0;for(this[t]=255&e;++i>0)-o&255;return t+r},n.prototype.writeIntBE=function(e,t,r,a){if(e=+e,t=0|t,!a){var s=Math.pow(2,8*r-1);G(this,e,t,r,s-1,-s)}var i=r-1,n=1,o=0;for(this[t+i]=255&e;--i>=0&&(n*=256);)e<0&&0===o&&0!==this[t+i+1]&&(o=1),this[t+i]=(e/n>>0)-o&255;return t+r},n.prototype.writeInt8=function(e,t,r){return e=+e,t=0|t,r||G(this,e,t,1,127,-128),n.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},n.prototype.writeInt16LE=function(e,t,r){return e=+e,t=0|t,r||G(this,e,t,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},n.prototype.writeInt16BE=function(e,t,r){return e=+e,t=0|t,r||G(this,e,t,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},n.prototype.writeInt32LE=function(e,t,r){return e=+e,t=0|t,r||G(this,e,t,4,2147483647,-2147483648),n.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):_(this,e,t,!0),t+4},n.prototype.writeInt32BE=function(e,t,r){return e=+e,t=0|t,r||G(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),n.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):_(this,e,t,!1),t+4},n.prototype.writeFloatLE=function(e,t,r){return V(this,e,t,!0,r)},n.prototype.writeFloatBE=function(e,t,r){return V(this,e,t,!1,r)},n.prototype.writeDoubleLE=function(e,t,r){return O(this,e,t,!0,r)},n.prototype.writeDoubleBE=function(e,t,r){return O(this,e,t,!1,r)},n.prototype.copy=function(e,t,r,a){if(r||(r=0),a||0===a||(a=this.length),t>=e.length&&(t=e.length),t||(t=0),a>0&&a=this.length)throw new RangeError("sourceStart out of bounds");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-t=0;--s)e[s+t]=this[s+r];else if(i<1e3||!n.TYPED_ARRAY_SUPPORT)for(s=0;s>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var i;if("number"==typeof e)for(i=t;i0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function s(e){return 3*e.length/4-a(e)}function i(e){var t,r,s,i,n,o,u=e.length;n=a(e),o=new m(3*u/4-n),s=n>0?u-4:u;var p=0;for(t=0,r=0;t>16&255,o[p++]=i>>8&255,o[p++]=255&i;return 2===n?(i=c[e.charCodeAt(t)]<<2|c[e.charCodeAt(t+1)]>>4,o[p++]=255&i):1===n&&(i=c[e.charCodeAt(t)]<<10|c[e.charCodeAt(t+1)]<<4|c[e.charCodeAt(t+2)]>>2,o[p++]=i>>8&255,o[p++]=255&i),o}function n(e){return p[e>>18&63]+p[e>>12&63]+p[e>>6&63]+p[63&e]}function o(e,t,r){for(var a,s=[],i=t;ic?c:u+n));return 1===a?(t=e[r-1],s+=p[t>>2],s+=p[t<<4&63],s+="=="):2===a&&(t=(e[r-2]<<8)+e[r-1],s+=p[t>>10],s+=p[t>>4&63],s+=p[t<<2&63],s+="="),i.push(s),i.join("")}r.byteLength=s,r.toByteArray=i,r.fromByteArray=u;for(var p=[],c=[],m="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=0,y=l.length;d>1,c=-7,m=r?s-1:0,l=r?-1:1,d=e[t+m];for(m+=l,i=d&(1<<-c)-1,d>>=-c,c+=o;c>0;i=256*i+e[t+m],m+=l,c-=8);for(n=i&(1<<-c)-1,i>>=-c,c+=a;c>0;n=256*n+e[t+m],m+=l,c-=8);if(0===i)i=1-p;else{if(i===u)return n?NaN:(d?-1:1)*(1/0);n+=Math.pow(2,a),i-=p}return(d?-1:1)*n*Math.pow(2,i-a)},r.write=function(e,t,r,a,s,i){var n,o,u,p=8*i-s-1,c=(1<>1,l=23===s?Math.pow(2,-24)-Math.pow(2,-77):0,d=a?0:i-1,y=a?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,n=c):(n=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-n))<1&&(n--,u*=2),t+=n+m>=1?l/u:l*Math.pow(2,1-m),t*u>=2&&(n++,u/=2),n+m>=c?(o=0,n=c):n+m>=1?(o=(t*u-1)*Math.pow(2,s),n+=m):(o=t*Math.pow(2,m-1)*Math.pow(2,s),n=0));s>=8;e[r+d]=255&o,d+=y,o/=256,s-=8);for(n=n<0;e[r+d]=255&n,d+=y,n/=256,p-=8);e[r+d-y]|=128*b}},{}],261:[function(e,t,r){var a={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==a.call(e)}},{}],262:[function(e,t,r){function a(e,t){if(e.length%o!==0){var r=e.length+(o-e.length%o);e=n.concat([e,u],r)}for(var a=[],s=t?e.readInt32BE:e.readInt32LE,i=0;id?t=e(t):t.length>5]|=128<>>9<<4)+14]=t;for(var r=1732584193,a=-271733879,s=-1732584194,c=271733878,m=0;m>16)+(t>>16)+(r>>16);return a<<16|65535&r}function c(e,t){return e<>>32-t}var m=e("./helpers");t.exports=function(e){return m.hash(e,a,16)}},{"./helpers":262}],265:[function(e,t,r){!function(){var e,r,a=this;e=function(e){for(var t,t,r=new Array(e),a=0;a>>((3&a)<<3)&255;return r},a.crypto&&crypto.getRandomValues&&(r=function(e){var t=new Uint8Array(e);return crypto.getRandomValues(t),t}),t.exports=r||e}()},{}],266:[function(e,t,r){function a(e,t){e[t>>5]|=128<<24-t%32,e[(t+64>>9<<4)+15]=t;for(var r=Array(80),a=1732584193,u=-271733879,p=-1732584194,c=271733878,m=-1009589776,l=0;l>16)+(t>>16)+(r>>16);return a<<16|65535&r}function o(e,t){return e<>>32-t}var u=e("./helpers");t.exports=function(e){return u.hash(e,a,20,!0)}},{"./helpers":262}],267:[function(e,t,r){var a=e("./helpers"),s=function(e,t){var r=(65535&e)+(65535&t),a=(e>>16)+(t>>16)+(r>>16);return a<<16|65535&r},i=function(e,t){return e>>>t|e<<32-t},n=function(e,t){return e>>>t},o=function(e,t,r){return e&t^~e&r},u=function(e,t,r){return e&t^e&r^t&r},p=function(e){return i(e,2)^i(e,13)^i(e,22)},c=function(e){return i(e,6)^i(e,11)^i(e,25)},m=function(e){return i(e,7)^i(e,18)^n(e,3)},l=function(e){return i(e,17)^i(e,19)^n(e,10)},d=function(e,t){var r,a,i,n,d,y,b,h,S,g,f,N,I=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),v=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),D=new Array(64);e[t>>5]|=128<<24-t%32,e[(t+64>>9<<4)+15]=t;for(var S=0;S="a"&&e<="z"||e>="A"&&e<="Z"||"_"===e}function o(e){return e>="0"&&e<="9"||"-"===e}function u(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"_"===e}function p(){}function c(){}function m(e){this.runtime=e}function l(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[S]}]},avg:{_func:this._functionAvg,_signature:[{types:[R]}]},ceil:{_func:this._functionCeil,_signature:[{types:[S]}]},contains:{_func:this._functionContains,_signature:[{types:[f,N]},{types:[g]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[f]},{types:[f]}]},floor:{_func:this._functionFloor,_signature:[{types:[S]}]},length:{_func:this._functionLength,_signature:[{types:[f,N,I]}]},map:{_func:this._functionMap,_signature:[{types:[D]},{types:[N]}]},max:{_func:this._functionMax,_signature:[{types:[R,T]}]},merge:{_func:this._functionMerge,_signature:[{types:[I],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[N]},{types:[D]}]},sum:{_func:this._functionSum,_signature:[{types:[R]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[f]},{types:[f]}]},min:{_func:this._functionMin,_signature:[{types:[R,T]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[N]},{types:[D]}]},type:{_func:this._functionType,_signature:[{types:[g]}]},keys:{_func:this._functionKeys,_signature:[{types:[I]}]},values:{_func:this._functionValues,_signature:[{types:[I]}]},sort:{_func:this._functionSort,_signature:[{types:[T,R]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[N]},{types:[D]}]},join:{_func:this._functionJoin,_signature:[{types:[f]},{types:[T]}]},reverse:{_func:this._functionReverse,_signature:[{types:[f,N]}]},to_array:{_func:this._functionToArray,_signature:[{types:[g]}]},to_string:{_func:this._functionToString,_signature:[{types:[g]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[g]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[g],variadic:!0}]}}}function d(e){var t=new c,r=t.parse(e);return r}function y(e){var t=new p;return t.tokenize(e)}function b(e,t){var r=new c,a=new l,s=new m(a);a._interpreter=s;var i=r.parse(t);return s.search(i,e)}var h;h="function"==typeof String.prototype.trimLeft?function(e){return e.trimLeft()}:function(e){return e.match(/^\s*(.*)/)[1]};var S=0,g=1,f=2,N=3,I=4,v=5,D=6,C=7,R=8,T=9,k="EOF",A="UnquotedIdentifier",P="QuotedIdentifier",q="Rbracket",x="Rparen",E="Comma",M="Colon",B="Rbrace",w="Number",G="Current",L="Expref",_="Pipe",U="Or",V="And",O="EQ",F="GT",j="LT",W="GTE",z="LTE",K="NE",H="Flatten",Z="Star",Q="Filter",X="Dot",J="Not",Y="Lbrace",$="Lbracket",ee="Lparen",te="Literal",re={".":X,"*":Z,",":E,":":M,"{":Y,"}":B,"]":q,"(":ee,")":x,"@":G},ae={"<":!0,">":!0,"=":!0,"!":!0},se={" ":!0,"\t":!0,"\n":!0};p.prototype={tokenize:function(e){var t=[];this._current=0;for(var r,a,s;this._current"===r?"="===e[this._current]?(this._current++,{type:W,value:">=",start:t}):{type:F,value:">",start:t}:"="===r&&"="===e[this._current]?(this._current++,{type:O,value:"==",start:t}):void 0},_consumeLiteral:function(e){this._current++;for(var t,r=this._current,a=e.length;"`"!==e[this._current]&&this._current=0)return!0;if(r.indexOf(e)>=0)return!0;if(!(a.indexOf(e[0])>=0))return!1;try{return JSON.parse(e),!0}catch(e){return!1}}};var ie={};ie[k]=0,ie[A]=0,ie[P]=0,ie[q]=0,ie[x]=0,ie[E]=0,ie[B]=0,ie[w]=0,ie[G]=0,ie[L]=0,ie[_]=1,ie[U]=2,ie[V]=3,ie[O]=5,ie[F]=5,ie[j]=5,ie[W]=5,ie[z]=5,ie[K]=5,ie[H]=9,ie[Z]=20,ie[Q]=21,ie[X]=40,ie[J]=45,ie[Y]=50,ie[$]=55,ie[ee]=60,c.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if(this._lookahead(0)!==k){var r=this._lookaheadToken(0),a=new Error("Unexpected token type: "+r.type+", value: "+r.value);throw a.name="ParserError",a}return t},_loadTokens:function(e){var t=new p,r=t.tokenize(e);r.push({type:k,value:"",start:e.length}),this.tokens=r},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var r=this.nud(t),a=this._lookahead(0);e=0?this.expression(e):t===$?(this._match($),this._parseMultiselectList()):t===Y?(this._match(Y),this._parseMultiselectHash()):void 0},_parseProjectionRHS:function(e){var t;if(ie[this._lookahead(0)]<10)t={type:"Identity"};else if(this._lookahead(0)===$)t=this.expression(e);else if(this._lookahead(0)===Q)t=this.expression(e);else{if(this._lookahead(0)!==X){var r=this._lookaheadToken(0),a=new Error("Sytanx error, unexpected token: "+r.value+"("+r.type+")");throw a.name="ParserError",a}this._match(X),t=this._parseDotRHS(e)}return t},_parseMultiselectList:function(){for(var e=[];this._lookahead(0)!==q;){var t=this.expression(0);if(e.push(t),this._lookahead(0)===E&&(this._match(E),this._lookahead(0)===q))throw new Error("Unexpected token Rbracket")}return this._match(q),{type:"MultiSelectList",children:e}},_parseMultiselectHash:function(){for(var e,t,r,a,s=[],i=[A,P];;){if(e=this._lookaheadToken(0),i.indexOf(e.type)<0)throw new Error("Expecting an identifier token, got: "+e.type);if(t=e.value,this._advance(),this._match(M),r=this.expression(0),a={type:"KeyValuePair",name:t,value:r},s.push(a),this._lookahead(0)===E)this._match(E);else if(this._lookahead(0)===B){this._match(B);break}}return{type:"MultiSelectHash",children:s}}},m.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,n){var o,u,p,c,m,l,d,y,b,h;switch(e.type){case"Field":return null===n?null:r(n)?(l=n[e.name],void 0===l?null:l):null;case"Subexpression":for(p=this.visit(e.children[0],n),h=1;h0)for(h=N;hI;h+=v)p.push(n[h]);return p;case"Projection":var D=this.visit(e.children[0],n);if(!t(D))return null;for(b=[],h=0;hm;break;case W:p=c>=m;break;case j:p=c=e&&(t=r<0?e-1:e),t}},l.prototype={callFunction:function(e,t){var r=this.functionTable[e];if(void 0===r)throw new Error("Unknown function: "+e+"()");return this._validateArgs(e,t,r._signature),r._func.call(this,t)},_validateArgs:function(e,t,r){var a;if(r[r.length-1].variadic){if(t.length=0;s--)a+=r[s];return a}var i=e[0].slice(0);return i.reverse(),i},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,r=e[0],a=0;a=0},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return r(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],r=this._interpreter,a=e[0],s=e[1],i=0;i0){var t=this._getTypeName(e[0][0]);if(t===S)return Math.max.apply(Math,e[0]);for(var r=e[0],a=r[0],s=1;s0){var t=this._getTypeName(e[0][0]);if(t===S)return Math.min.apply(Math,e[0]);for(var r=e[0],a=r[0],s=1;so?1:nn&&(n=r,t=s[o]);return t},_functionMinBy:function(e){for(var t,r,a=e[1],s=e[0],i=this.createKeyFunction(a,[S,f]),n=1/0,o=0;o0&&u>o&&(u=o);for(var p=0;p=0?(c=y.substr(0,b),m=y.substr(b+1)):(c=y,m=""),l=decodeURIComponent(c),d=decodeURIComponent(m),a(i,l)?Array.isArray(i[l])?i[l].push(d):i[l]=[i[l],d]:i[l]=d}return i}},{}],270:[function(e,t,r){"use strict";var a=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(s){var i=encodeURIComponent(a(s))+r;return Array.isArray(e[s])?e[s].map(function(e){return i+encodeURIComponent(a(e))}).join(t):i+encodeURIComponent(a(e[s]))}).join(t):s?encodeURIComponent(a(s))+r+encodeURIComponent(a(e)):""}},{}],271:[function(e,t,r){arguments[4][254][0].apply(r,arguments)},{"./decode":269,"./encode":270,dup:254}],272:[function(e,t,r){function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function s(e,t,r){if(e&&p(e)&&e instanceof a)return e;var s=new a;return s.parse(e,t,r),s}function i(e){return u(e)&&(e=s(e)),e instanceof a?e.format():a.prototype.format.call(e)}function n(e,t){return s(e,!1,!0).resolve(t)}function o(e,t){return e?s(e,!1,!0).resolveObject(t):t}function u(e){return"string"==typeof e}function p(e){return"object"==typeof e&&null!==e}function c(e){return null===e}function m(e){return null==e}var l=e("punycode");r.parse=s,r.resolve=n,r.resolveObject=o,r.format=i,r.Url=a;var d=/^([a-z0-9.+-]+:)/i,y=/:[0-9]*$/,b=["<",">",'"',"`"," ","\r","\n","\t"],h=["{","}","|","\\","^","`"].concat(b),S=["'"].concat(h),g=["%","/","?",";","#"].concat(S),f=["/","?","#"],N=255,I=/^[a-z0-9A-Z_-]{0,63}$/,v=/^([a-z0-9A-Z_-]{0,63})(.*)$/,D={javascript:!0,"javascript:":!0},C={javascript:!0,"javascript:":!0},R={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},T=e("querystring");a.prototype.parse=function(e,t,r){if(!u(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e;a=a.trim();var s=d.exec(a);if(s){s=s[0];var i=s.toLowerCase();this.protocol=i,a=a.substr(s.length)}if(r||s||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var n="//"===a.substr(0,2);!n||s&&C[s]||(a=a.substr(2),this.slashes=!0)}if(!C[s]&&(n||s&&!R[s])){for(var o=-1,p=0;p127?"x":A[q];if(!P.match(I)){var E=h.slice(0,p),M=h.slice(p+1),B=A.match(v);B&&(E.push(B[1]),M.unshift(B[2])),M.length&&(a="/"+M.join(".")+a),this.hostname=E.join(".");break}}}if(this.hostname.length>N?this.hostname="":this.hostname=this.hostname.toLowerCase(),!b){for(var w=this.hostname.split("."),G=[],p=0;p0)&&r.host.split("@");h&&(r.auth=h.shift(),r.host=r.hostname=h.shift())}return r.search=e.search,r.query=e.query,c(r.pathname)&&c(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!y.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var S=y.slice(-1)[0],g=(r.host||e.host)&&("."===S||".."===S)||""===S,f=0,N=y.length;N>=0;N--)S=y[N],"."==S?y.splice(N,1):".."===S?(y.splice(N,1),f++):f&&(y.splice(N,1),f--);if(!l&&!d)for(;f--;f)y.unshift("..");!l||""===y[0]||y[0]&&"/"===y[0].charAt(0)||y.unshift(""),g&&"/"!==y.join("/").substr(-1)&&y.push("");var I=""===y[0]||y[0]&&"/"===y[0].charAt(0);if(b){r.hostname=r.host=I?"":y.length?y.shift():"";var h=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");h&&(r.auth=h.shift(),r.host=r.hostname=h.shift())}return l=l||r.host&&y.length,l&&!I&&y.unshift(""),y.length?r.pathname=y.join("/"):(r.pathname=null,r.path=null),c(r.pathname)&&c(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},a.prototype.parseHost=function(){var e=this.host,t=y.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{punycode:251,querystring:254}],273:[function(e,t,r){(function(){var r,a;a=e("lodash/object/create"),t.exports=r=function(){function e(e,t,r){if(this.stringify=e.stringify,null==t)throw new Error("Missing attribute name of element "+e.name);if(null==r)throw new Error("Missing attribute value for attribute "+t+" of element "+e.name);this.name=this.stringify.attName(t),this.value=this.stringify.attValue(r)}return e.prototype.clone=function(){return a(e.prototype,this)},e.prototype.toString=function(e,t){return" "+this.name+'="'+this.value+'"'},e}()}).call(this)},{"lodash/object/create":332}],274:[function(e,t,r){(function(){var r,a,s,i,n;n=e("./XMLStringifier"),a=e("./XMLDeclaration"),s=e("./XMLDocType"),i=e("./XMLElement"),t.exports=r=function(){function e(e,t){var r,a;if(null==e)throw new Error("Root element needs a name");null==t&&(t={}),this.options=t,this.stringify=new n(t),a=new i(this,"doc"),r=a.element(e),r.isRoot=!0,r.documentObject=this,this.rootObject=r,t.headless||(r.declaration(t),null==t.pubID&&null==t.sysID||r.doctype(t))}return e.prototype.root=function(){return this.rootObject},e.prototype.end=function(e){return this.toString(e)},e.prototype.toString=function(e){var t,r,a,s,i,n,o,u;return s=(null!=e?e.pretty:void 0)||!1,t=null!=(n=null!=e?e.indent:void 0)?n:" ",a=null!=(o=null!=e?e.offset:void 0)?o:0,r=null!=(u=null!=e?e.newline:void 0)?u:"\n",i="",null!=this.xmldec&&(i+=this.xmldec.toString(e)),null!=this.doctype&&(i+=this.doctype.toString(e)),i+=this.rootObject.toString(e),s&&i.slice(-r.length)===r&&(i=i.slice(0,-r.length)),i},e}()}).call(this)},{"./XMLDeclaration":281,"./XMLDocType":282,"./XMLElement":283,"./XMLStringifier":287}],275:[function(e,t,r){(function(){var r,a,s,i=function(e,t){function r(){this.constructor=e}for(var a in t)n.call(t,a)&&(e[a]=t[a]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},n={}.hasOwnProperty;s=e("lodash/object/create"),a=e("./XMLNode"),t.exports=r=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing CDATA text");this.text=this.stringify.cdata(r)}return i(t,e),t.prototype.clone=function(){return s(t.prototype,this)},t.prototype.toString=function(e,t){var r,a,s,i,n,o,u,p,c;return i=(null!=e?e.pretty:void 0)||!1,r=null!=(o=null!=e?e.indent:void 0)?o:" ",s=null!=(u=null!=e?e.offset:void 0)?u:0,a=null!=(p=null!=e?e.newline:void 0)?p:"\n",t||(t=0),c=new Array(t+s+1).join(r),n="",i&&(n+=c),n+="",i&&(n+=a),n},t}(a)}).call(this)},{"./XMLNode":284,"lodash/object/create":332}],276:[function(e,t,r){(function(){var r,a,s,i=function(e,t){function r(){this.constructor=e}for(var a in t)n.call(t,a)&&(e[a]=t[a]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},n={}.hasOwnProperty;s=e("lodash/object/create"),a=e("./XMLNode"),t.exports=r=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing comment text");this.text=this.stringify.comment(r)}return i(t,e),t.prototype.clone=function(){return s(t.prototype,this)},t.prototype.toString=function(e,t){var r,a,s,i,n,o,u,p,c;return i=(null!=e?e.pretty:void 0)||!1,r=null!=(o=null!=e?e.indent:void 0)?o:" ",s=null!=(u=null!=e?e.offset:void 0)?u:0,a=null!=(p=null!=e?e.newline:void 0)?p:"\n",t||(t=0),c=new Array(t+s+1).join(r),n="",i&&(n+=c),n+="",i&&(n+=a),n},t}(a)}).call(this)},{"./XMLNode":284,"lodash/object/create":332}],277:[function(e,t,r){(function(){var r,a;a=e("lodash/object/create"),t.exports=r=function(){function e(e,t,r,a,s,i){if(this.stringify=e.stringify,null==t)throw new Error("Missing DTD element name");if(null==r)throw new Error("Missing DTD attribute name");if(!a)throw new Error("Missing DTD attribute type");if(!s)throw new Error("Missing DTD attribute default");if(0!==s.indexOf("#")&&(s="#"+s),!s.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT");if(i&&!s.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT");this.elementName=this.stringify.eleName(t),this.attributeName=this.stringify.attName(r),this.attributeType=this.stringify.dtdAttType(a),this.defaultValue=this.stringify.dtdAttDefault(i),this.defaultValueType=s}return e.prototype.clone=function(){return a(e.prototype,this)},e.prototype.toString=function(e,t){var r,a,s,i,n,o,u,p,c;return i=(null!=e?e.pretty:void 0)||!1,r=null!=(o=null!=e?e.indent:void 0)?o:" ",s=null!=(u=null!=e?e.offset:void 0)?u:0,a=null!=(p=null!=e?e.newline:void 0)?p:"\n",t||(t=0),c=new Array(t+s+1).join(r),n="",i&&(n+=c),n+="",i&&(n+=a),n},e}()}).call(this)},{"lodash/object/create":332}],278:[function(e,t,r){(function(){var r,a,s;a=e("lodash/object/create"),s=e("lodash/lang/isArray"),t.exports=r=function(){function e(e,t,r){if(this.stringify=e.stringify,null==t)throw new Error("Missing DTD element name");r||(r="(#PCDATA)"),s(r)&&(r="("+r.join(",")+")"),this.name=this.stringify.eleName(t),this.value=this.stringify.dtdElementValue(r)}return e.prototype.clone=function(){return a(e.prototype,this)},e.prototype.toString=function(e,t){var r,a,s,i,n,o,u,p,c;return i=(null!=e?e.pretty:void 0)||!1,r=null!=(o=null!=e?e.indent:void 0)?o:" ",s=null!=(u=null!=e?e.offset:void 0)?u:0,a=null!=(p=null!=e?e.newline:void 0)?p:"\n",t||(t=0),c=new Array(t+s+1).join(r),n="",i&&(n+=c),n+="",i&&(n+=a),n},e}()}).call(this)},{"lodash/lang/isArray":324,"lodash/object/create":332}],279:[function(e,t,r){(function(){var r,a,s;a=e("lodash/object/create"),s=e("lodash/lang/isObject"),t.exports=r=function(){function e(e,t,r,a){if(this.stringify=e.stringify,null==r)throw new Error("Missing entity name");if(null==a)throw new Error("Missing entity value");if(this.pe=!!t,this.name=this.stringify.eleName(r),s(a)){if(!a.pubID&&!a.sysID)throw new Error("Public and/or system identifiers are required for an external entity");if(a.pubID&&!a.sysID)throw new Error("System identifier is required for a public external entity");if(null!=a.pubID&&(this.pubID=this.stringify.dtdPubID(a.pubID)),null!=a.sysID&&(this.sysID=this.stringify.dtdSysID(a.sysID)),null!=a.nData&&(this.nData=this.stringify.dtdNData(a.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity")}else this.value=this.stringify.dtdEntityValue(a)}return e.prototype.clone=function(){return a(e.prototype,this)},e.prototype.toString=function(e,t){var r,a,s,i,n,o,u,p,c;return i=(null!=e?e.pretty:void 0)||!1,r=null!=(o=null!=e?e.indent:void 0)?o:" ",s=null!=(u=null!=e?e.offset:void 0)?u:0,a=null!=(p=null!=e?e.newline:void 0)?p:"\n",t||(t=0),c=new Array(t+s+1).join(r),n="",i&&(n+=c),n+="",i&&(n+=a),n},e}()}).call(this)},{"lodash/lang/isObject":328,"lodash/object/create":332}],280:[function(e,t,r){(function(){var r,a;a=e("lodash/object/create"),t.exports=r=function(){function e(e,t,r){if(this.stringify=e.stringify,null==t)throw new Error("Missing notation name");if(!r.pubID&&!r.sysID)throw new Error("Public or system identifiers are required for an external entity");this.name=this.stringify.eleName(t),null!=r.pubID&&(this.pubID=this.stringify.dtdPubID(r.pubID)),null!=r.sysID&&(this.sysID=this.stringify.dtdSysID(r.sysID))}return e.prototype.clone=function(){return a(e.prototype,this)},e.prototype.toString=function(e,t){var r,a,s,i,n,o,u,p,c;return i=(null!=e?e.pretty:void 0)||!1,r=null!=(o=null!=e?e.indent:void 0)?o:" ",s=null!=(u=null!=e?e.offset:void 0)?u:0,a=null!=(p=null!=e?e.newline:void 0)?p:"\n",t||(t=0),c=new Array(t+s+1).join(r),n="",i&&(n+=c),n+="",i&&(n+=a),n},e}()}).call(this)},{"lodash/object/create":332}],281:[function(e,t,r){(function(){var r,a,s,i,n=function(e,t){function r(){this.constructor=e}for(var a in t)o.call(t,a)&&(e[a]=t[a]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;s=e("lodash/object/create"),i=e("lodash/lang/isObject"),a=e("./XMLNode"),t.exports=r=function(e){function t(e,r,a,s){var n;t.__super__.constructor.call(this,e),i(r)&&(n=r,r=n.version,a=n.encoding,s=n.standalone),r||(r="1.0"),null!=r&&(this.version=this.stringify.xmlVersion(r)),null!=a&&(this.encoding=this.stringify.xmlEncoding(a)),null!=s&&(this.standalone=this.stringify.xmlStandalone(s))}return n(t,e),t.prototype.clone=function(){return s(t.prototype,this)},t.prototype.toString=function(e,t){var r,a,s,i,n,o,u,p,c;return i=(null!=e?e.pretty:void 0)||!1,r=null!=(o=null!=e?e.indent:void 0)?o:" ",s=null!=(u=null!=e?e.offset:void 0)?u:0,a=null!=(p=null!=e?e.newline:void 0)?p:"\n",t||(t=0),c=new Array(t+s+1).join(r),n="",i&&(n+=c),n+="",i&&(n+=a),n},t}(a)}).call(this)},{"./XMLNode":284,"lodash/lang/isObject":328,"lodash/object/create":332}],282:[function(e,t,r){(function(){var r,a,s,i,n,o,u,p,c,m;c=e("lodash/object/create"),m=e("lodash/lang/isObject"),r=e("./XMLCData"),a=e("./XMLComment"),s=e("./XMLDTDAttList"),n=e("./XMLDTDEntity"),i=e("./XMLDTDElement"),o=e("./XMLDTDNotation"),p=e("./XMLProcessingInstruction"),t.exports=u=function(){function e(e,t,r){var a,s;this.documentObject=e,this.stringify=this.documentObject.stringify,this.children=[],m(t)&&(a=t,t=a.pubID,r=a.sysID),null==r&&(s=[t,r],r=s[0],t=s[1]),null!=t&&(this.pubID=this.stringify.dtdPubID(t)),null!=r&&(this.sysID=this.stringify.dtdSysID(r))}return e.prototype.clone=function(){return c(e.prototype,this)},e.prototype.element=function(e,t){var r;return r=new i(this,e,t),this.children.push(r),this},e.prototype.attList=function(e,t,r,a,i){var n;return n=new s(this,e,t,r,a,i),this.children.push(n),this},e.prototype.entity=function(e,t){var r;return r=new n(this,!1,e,t),this.children.push(r),this},e.prototype.pEntity=function(e,t){var r;return r=new n(this,!0,e,t),this.children.push(r),this},e.prototype.notation=function(e,t){var r;return r=new o(this,e,t),this.children.push(r),this},e.prototype.cdata=function(e){var t;return t=new r(this,e),this.children.push(t),this},e.prototype.comment=function(e){var t;return t=new a(this,e),this.children.push(t),this},e.prototype.instruction=function(e,t){var r;return r=new p(this,e,t),this.children.push(r),this},e.prototype.root=function(){return this.documentObject.root()},e.prototype.document=function(){return this.documentObject},e.prototype.toString=function(e,t){var r,a,s,i,n,o,u,p,c,m,l,d,y;if(u=(null!=e?e.pretty:void 0)||!1,s=null!=(c=null!=e?e.indent:void 0)?c:" ",o=null!=(m=null!=e?e.offset:void 0)?m:0,n=null!=(l=null!=e?e.newline:void 0)?l:"\n",t||(t=0),y=new Array(t+o+1).join(s),p="",u&&(p+=y),p+="0){for(p+=" [",u&&(p+=n),d=this.children,a=0,i=d.length;a",b&&(h+=d);else if(b&&1===this.children.length&&null!=this.children[0].value)h+=">",h+=this.children[0].value,h+="",h+=d;else{for(h+=">",b&&(h+=d),v=this.children,u=0,c=v.length;u",b&&(h+=d)}return h},t.prototype.att=function(e,t){return this.attribute(e,t)},t.prototype.ins=function(e,t){return this.instruction(e,t)},t.prototype.a=function(e,t){return this.attribute(e,t)},t.prototype.i=function(e,t){return this.instruction(e,t)},t}(s)}).call(this)},{"./XMLAttribute":273,"./XMLNode":284,"./XMLProcessingInstruction":285,"lodash/collection/every":290,"lodash/lang/isArray":324,"lodash/lang/isFunction":326,"lodash/lang/isObject":328,"lodash/object/create":332}],284:[function(e,t,r){(function(){var r,a,s,i,n,o,u,p,c,m,l,d,y={}.hasOwnProperty;d=e("lodash/lang/isObject"),c=e("lodash/lang/isArray"),l=e("lodash/lang/isFunction"),m=e("lodash/lang/isEmpty"),n=null,r=null,a=null,s=null,i=null,u=null,p=null,t.exports=o=function(){function t(t){this.parent=t,this.options=this.parent.options,this.stringify=this.parent.stringify,null===n&&(n=e("./XMLElement"),r=e("./XMLCData"),a=e("./XMLComment"),s=e("./XMLDeclaration"),i=e("./XMLDocType"),u=e("./XMLRaw"),p=e("./XMLText"))}return t.prototype.clone=function(){throw new Error("Cannot clone generic XMLNode")},t.prototype.element=function(e,t,r){var a,s,i,n,o,u,p;if(n=null,null==t&&(t={}),t=t.valueOf(),d(t)||(u=[t,r],r=u[0],t=u[1]),null!=e&&(e=e.valueOf()),c(e))for(s=0,o=e.length;s/))throw new Error("Invalid CDATA text: "+e);return this.assertLegalChar(e)},e.prototype.comment=function(e){if(e=""+e||"",e.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+e);return this.assertLegalChar(e)},e.prototype.raw=function(e){return""+e||""},e.prototype.attName=function(e){return""+e||""},e.prototype.attValue=function(e){return e=""+e||"",this.attEscape(e)},e.prototype.insTarget=function(e){return""+e||""},e.prototype.insValue=function(e){if(e=""+e||"",e.match(/\?>/))throw new Error("Invalid processing instruction value: "+e);return e},e.prototype.xmlVersion=function(e){if(e=""+e||"",!e.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+e);return e},e.prototype.xmlEncoding=function(e){if(e=""+e||"",!e.match(/[A-Za-z](?:[A-Za-z0-9._-]|-)*/))throw new Error("Invalid encoding: "+e);return e},e.prototype.xmlStandalone=function(e){return e?"yes":"no"},e.prototype.dtdPubID=function(e){return""+e||""},e.prototype.dtdSysID=function(e){return""+e||""},e.prototype.dtdElementValue=function(e){return""+e||""},e.prototype.dtdAttType=function(e){return""+e||""},e.prototype.dtdAttDefault=function(e){return null!=e?""+e||"":e},e.prototype.dtdEntityValue=function(e){return""+e||""},e.prototype.dtdNData=function(e){return""+e||""},e.prototype.convertAttKey="@",e.prototype.convertPIKey="?",e.prototype.convertTextKey="#text",e.prototype.convertCDataKey="#cdata",e.prototype.convertCommentKey="#comment",e.prototype.convertRawKey="#raw",e.prototype.convertListKey="#list",e.prototype.assertLegalChar=function(e){var t,r;if(t=this.allowSurrogateChars?/[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uFFFE-\uFFFF]/:/[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uD800-\uDFFF\uFFFE-\uFFFF]/,r=e.match(t))throw new Error("Invalid character ("+r+") in string: "+e+" at index "+r.index);return e},e.prototype.elEscape=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/\r/g," ")},e.prototype.attEscape=function(e){return e.replace(/&/g,"&").replace(/3&&"function"==typeof n?(n=s(n,o,5),r-=2):(n=r>2&&"function"==typeof o?o:null,r-=n?1:0),u&&i(t[1],t[2],u)&&(n=3==r?null:n,r=2);for(var p=0;++pu))return!1;for(;c&&++o-1&&e%1==0&&e-1&&e%1==0&&e<=s}var s=Math.pow(2,53)-1;t.exports=a},{}],318:[function(e,t,r){function a(e){return e&&"object"==typeof e||!1}t.exports=a},{}],319:[function(e,t,r){function a(e){return e===e&&(0===e?1/e>0:!s(e))}var s=e("../lang/isObject");t.exports=a},{"../lang/isObject":328}],320:[function(e,t,r){(function(r){var a=e("../lang/isNative"),s=a(s=r.WeakMap)&&s,i=s&&new s;t.exports=i}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../lang/isNative":327}],321:[function(e,t,r){function a(e){for(var t=u(e),r=t.length,a=r&&e.length,c=a&&o(a)&&(i(e)||p.nonEnumArgs&&s(e)),l=-1,d=[];++l0;++a, some require you to add "/cfx/st" into your URL). - * - * @param options [Object] The options to create a signed URL. - * @option options url [String] The URL to which the signature will grant - * access. Required. - * @option options expires [Number] A Unix UTC timestamp indicating when the - * signature should expire. Required unless you - * pass in a full policy. - * @option options policy [String] A CloudFront JSON policy. Required unless - * you pass in a url and an expiry time. - * - * @param cb [Function] if a callback is provided, this function will - * pass the URL as the second parameter (after the error parameter) to - * the callback function. - * - * @return [String] if called synchronously (with no callback), returns the - * signed URL. - * @return [null] nothing is returned if a callback is provided. - */ - getSignedUrl: function (options, cb) { - try { - var resource = getResource(options.url); - } catch (err) { - return handleError(err, cb); - } - - var parsedUrl = url.parse(options.url, true), - signatureHash = Object.prototype.hasOwnProperty.call(options, 'policy') - ? signWithCustomPolicy(options.policy, this.keyPairId, this.privateKey) - : signWithCannedPolicy(resource, options.expires, this.keyPairId, this.privateKey); - - parsedUrl.search = null; - for (var key in signatureHash) { - if (Object.prototype.hasOwnProperty.call(signatureHash, key)) { - parsedUrl.query[key] = signatureHash[key]; - } - } - - try { - var signedUrl = determineScheme(options.url) === 'rtmp' - ? getRtmpUrl(url.format(parsedUrl)) - : url.format(parsedUrl); - } catch (err) { - return handleError(err, cb); - } - - return handleSuccess(signedUrl, cb); - } -}); - -module.exports = AWS.CloudFront.Signer; diff --git a/node_modules/aws-sdk/lib/config.js b/node_modules/aws-sdk/lib/config.js deleted file mode 100644 index 856b5ad..0000000 --- a/node_modules/aws-sdk/lib/config.js +++ /dev/null @@ -1,511 +0,0 @@ -var AWS = require('./core'); -require('./credentials'); -require('./credentials/credential_provider_chain'); - -/** - * The main configuration class used by all service objects to set - * the region, credentials, and other options for requests. - * - * By default, credentials and region settings are left unconfigured. - * This should be configured by the application before using any - * AWS service APIs. - * - * In order to set global configuration options, properties should - * be assigned to the global {AWS.config} object. - * - * @see AWS.config - * - * @!group General Configuration Options - * - * @!attribute credentials - * @return [AWS.Credentials] the AWS credentials to sign requests with. - * - * @!attribute region - * @example Set the global region setting to us-west-2 - * AWS.config.update({region: 'us-west-2'}); - * @return [AWS.Credentials] The region to send service requests to. - * @see http://docs.amazonwebservices.com/general/latest/gr/rande.html - * A list of available endpoints for each AWS service - * - * @!attribute maxRetries - * @return [Integer] the maximum amount of retries to perform for a - * service request. By default this value is calculated by the specific - * service object that the request is being made to. - * - * @!attribute maxRedirects - * @return [Integer] the maximum amount of redirects to follow for a - * service request. Defaults to 10. - * - * @!attribute paramValidation - * @return [Boolean|map] whether input parameters should be validated against - * the operation description before sending the request. Defaults to true. - * Pass a map to enable any of the following specific validation features: - * - * * **min** [Boolean] — Validates that a value meets the min - * constraint. This is enabled by default when paramValidation is set - * to `true`. - * * **max** [Boolean] — Validates that a value meets the max - * constraint. - * * **pattern** [Boolean] — Validates that a string value matches a - * regular expression. - * * **enum** [Boolean] — Validates that a string value matches one - * of the allowable enum values. - * - * @!attribute computeChecksums - * @return [Boolean] whether to compute checksums for payload bodies when - * the service accepts it (currently supported in S3 only). - * - * @!attribute convertResponseTypes - * @return [Boolean] whether types are converted when parsing response data. - * Currently only supported for JSON based services. Turning this off may - * improve performance on large response payloads. Defaults to `true`. - * - * @!attribute correctClockSkew - * @return [Boolean] whether to apply a clock skew correction and retry - * requests that fail because of an skewed client clock. Defaults to - * `false`. - * - * @!attribute sslEnabled - * @return [Boolean] whether SSL is enabled for requests - * - * @!attribute s3ForcePathStyle - * @return [Boolean] whether to force path style URLs for S3 objects - * - * @!attribute s3BucketEndpoint - * @note Setting this configuration option requires an `endpoint` to be - * provided explicitly to the service constructor. - * @return [Boolean] whether the provided endpoint addresses an individual - * bucket (false if it addresses the root API endpoint). - * - * @!attribute 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 - * }}}); - * @note This works with all services except DynamoDB. - * @return [map] A set of options to configure the retry delay on retryable errors. - * Currently supported options are: - * - * * **base** [Integer] — The base number of milliseconds to use in the - * exponential backoff for operation retries. Defaults to 100 ms. - * * **customBackoff ** [function] — A custom function that accepts a retry count - * and returns the amount of time to delay in milliseconds. The `base` option will be - * ignored if this option is supplied. - * - * @!attribute httpOptions - * @return [map] A set of options to pass to the low-level HTTP request. - * Currently supported options are: - * - * * **proxy** [String] — the URL to proxy requests through - * * **agent** [http.Agent, https.Agent] — the Agent object to perform - * HTTP requests with. Used for connection pooling. Defaults to the global - * agent (`http.globalAgent`) for non-SSL connections. Note that for - * SSL connections, a special Agent object is used in order to enable - * peer certificate verification. This feature is only supported in the - * Node.js environment. - * * **timeout** [Integer] — The number of milliseconds to wait before - * giving up on a connection attempt. Defaults to two minutes (120000). - * * **xhrAsync** [Boolean] — Whether the SDK will send asynchronous - * HTTP requests. Used in the browser environment only. Set to false to - * send requests synchronously. Defaults to true (async on). - * * **xhrWithCredentials** [Boolean] — Sets the "withCredentials" - * property of an XMLHttpRequest object. Used in the browser environment - * only. Defaults to false. - * @!attribute logger - * @return [#write,#log] an object that responds to .write() (like a stream) - * or .log() (like the console object) in order to log information about - * requests - * - * @!attribute systemClockOffset - * @return [Number] an offset value in milliseconds to apply to all signing - * times. Use this to compensate for clock skew when your system may be - * out of sync with the service time. Note that this configuration option - * can only be applied to the global `AWS.config` object and cannot be - * overridden in service-specific configuration. Defaults to 0 milliseconds. - * - * @!attribute signatureVersion - * @return [String] the signature version to sign requests with (overriding - * the API configuration). Possible values are: 'v2', 'v3', 'v4'. - * - * @!attribute signatureCache - * @return [Boolean] whether the signature to sign requests with (overriding - * the API configuration) is cached. Only applies to the signature version 'v4'. - * Defaults to `true`. - */ -AWS.Config = AWS.util.inherit({ - /** - * @!endgroup - */ - - /** - * Creates a new configuration object. This is the object that passes - * option data along to service requests, including credentials, security, - * region information, and some service specific settings. - * - * @example Creating a new configuration object with credentials and region - * var config = new AWS.Config({ - * accessKeyId: 'AKID', secretAccessKey: 'SECRET', region: 'us-west-2' - * }); - * @option options accessKeyId [String] your AWS access key ID. - * @option options secretAccessKey [String] your AWS secret access key. - * @option options sessionToken [AWS.Credentials] the optional AWS - * session token to sign requests with. - * @option options credentials [AWS.Credentials] the AWS credentials - * to sign requests with. You can either specify this object, or - * specify the accessKeyId and secretAccessKey options directly. - * @option options credentialProvider [AWS.CredentialProviderChain] the - * provider chain used to resolve credentials if no static `credentials` - * property is set. - * @option options region [String] the region to send service requests to. - * See {region} for more information. - * @option options maxRetries [Integer] the maximum amount of retries to - * attempt with a request. See {maxRetries} for more information. - * @option options maxRedirects [Integer] the maximum amount of redirects to - * follow with a request. See {maxRedirects} for more information. - * @option options sslEnabled [Boolean] whether to enable SSL for - * requests. - * @option options paramValidation [Boolean|map] whether input parameters - * should be validated against the operation description before sending - * the request. Defaults to true. Pass a map to enable any of the - * following specific validation features: - * - * * **min** [Boolean] — Validates that a value meets the min - * constraint. This is enabled by default when paramValidation is set - * to `true`. - * * **max** [Boolean] — Validates that a value meets the max - * constraint. - * * **pattern** [Boolean] — Validates that a string value matches a - * regular expression. - * * **enum** [Boolean] — Validates that a string value matches one - * of the allowable enum values. - * @option options computeChecksums [Boolean] whether to compute checksums - * for payload bodies when the service accepts it (currently supported - * in S3 only) - * @option options convertResponseTypes [Boolean] whether types are converted - * when parsing response data. Currently only supported for JSON based - * services. Turning this off may improve performance on large response - * payloads. Defaults to `true`. - * @option options correctClockSkew [Boolean] whether to apply a clock skew - * correction and retry requests that fail because of an skewed client - * clock. Defaults to `false`. - * @option options s3ForcePathStyle [Boolean] whether to force path - * style URLs for S3 objects. - * @option options s3BucketEndpoint [Boolean] whether the provided endpoint - * addresses an individual bucket (false if it addresses the root API - * endpoint). Note that setting this configuration option requires an - * `endpoint` to be provided explicitly to the service constructor. - * @option options 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. - * * **customBackoff ** [function] — A custom function that accepts a retry count - * and returns the amount of time to delay in milliseconds. The `base` option will be - * ignored if this option is supplied. - * @option options httpOptions [map] A set of options to pass to the low-level - * HTTP request. Currently supported options are: - * - * * **proxy** [String] — the URL to proxy requests through - * * **agent** [http.Agent, https.Agent] — the Agent object to perform - * HTTP requests with. Used for connection pooling. Defaults to the global - * agent (`http.globalAgent`) for non-SSL connections. Note that for - * SSL connections, a special Agent object is used in order to enable - * peer certificate verification. This feature is only available in the - * Node.js environment. - * * **timeout** [Integer] — Sets the socket to timeout after timeout - * milliseconds of inactivity on the socket. Defaults to two minutes - * (120000). - * * **xhrAsync** [Boolean] — Whether the SDK will send asynchronous - * HTTP requests. Used in the browser environment only. Set to false to - * send requests synchronously. Defaults to true (async on). - * * **xhrWithCredentials** [Boolean] — Sets the "withCredentials" - * property of an XMLHttpRequest object. Used in the browser environment - * only. Defaults to false. - * @option options apiVersion [String, Date] a String in YYYY-MM-DD format - * (or a date) that represents the latest possible API version that can be - * used in all services (unless overridden by `apiVersions`). Specify - * 'latest' to use the latest possible version. - * @option options apiVersions [map] a map of service - * identifiers (the lowercase service class name) with the API version to - * use when instantiating a service. Specify 'latest' for each individual - * that can use the latest available version. - * @option options logger [#write,#log] an object that responds to .write() - * (like a stream) or .log() (like the console object) in order to log - * information about requests - * @option options systemClockOffset [Number] an offset value in milliseconds - * to apply to all signing times. Use this to compensate for clock skew - * when your system may be out of sync with the service time. Note that - * this configuration option can only be applied to the global `AWS.config` - * object and cannot be overridden in service-specific configuration. - * Defaults to 0 milliseconds. - * @option options signatureVersion [String] the signature version to sign - * requests with (overriding the API configuration). Possible values are: - * 'v2', 'v3', 'v4'. - * @option options signatureCache [Boolean] whether the signature to sign - * requests with (overriding the API configuration) is cached. Only applies - * to the signature version 'v4'. Defaults to `true`. - */ - constructor: function Config(options) { - if (options === undefined) options = {}; - options = this.extractCredentials(options); - - AWS.util.each.call(this, this.keys, function (key, value) { - this.set(key, options[key], value); - }); - }, - - /** - * @!group Managing Credentials - */ - - /** - * Loads credentials from the configuration object. This is used internally - * by the SDK to ensure that refreshable {Credentials} objects are properly - * refreshed and loaded when sending a request. If you want to ensure that - * your credentials are loaded prior to a request, you can use this method - * directly to provide accurate credential data stored in the object. - * - * @note If you configure the SDK with static or environment credentials, - * the credential data should already be present in {credentials} attribute. - * This method is primarily necessary to load credentials from asynchronous - * sources, or sources that can refresh credentials periodically. - * @example Getting your access key - * AWS.config.getCredentials(function(err) { - * if (err) console.log(err.stack); // credentials not loaded - * else console.log("Access Key:", AWS.config.credentials.accessKeyId); - * }) - * @callback callback function(err) - * Called when the {credentials} have been properly set on the configuration - * object. - * - * @param err [Error] if this is set, credentials were not successfuly - * loaded and this error provides information why. - * @see credentials - * @see Credentials - */ - getCredentials: function getCredentials(callback) { - var self = this; - - function finish(err) { - callback(err, err ? null : self.credentials); - } - - function credError(msg, err) { - return new AWS.util.error(err || new Error(), { - code: 'CredentialsError', message: msg - }); - } - - function getAsyncCredentials() { - self.credentials.get(function(err) { - if (err) { - var msg = 'Could not load credentials from ' + - self.credentials.constructor.name; - err = credError(msg, err); - } - finish(err); - }); - } - - function getStaticCredentials() { - var err = null; - if (!self.credentials.accessKeyId || !self.credentials.secretAccessKey) { - err = credError('Missing credentials'); - } - finish(err); - } - - if (self.credentials) { - if (typeof self.credentials.get === 'function') { - getAsyncCredentials(); - } else { // static credentials - getStaticCredentials(); - } - } else if (self.credentialProvider) { - self.credentialProvider.resolve(function(err, creds) { - if (err) { - err = credError('Could not load credentials from any providers', err); - } - self.credentials = creds; - finish(err); - }); - } else { - finish(credError('No credentials to load')); - } - }, - - /** - * @!group Loading and Setting Configuration Options - */ - - /** - * @overload update(options, allowUnknownKeys = false) - * Updates the current configuration object with new options. - * - * @example Update maxRetries property of a configuration object - * config.update({maxRetries: 10}); - * @param [Object] options a map of option keys and values. - * @param [Boolean] allowUnknownKeys whether unknown keys can be set on - * the configuration object. Defaults to `false`. - * @see constructor - */ - update: function update(options, allowUnknownKeys) { - allowUnknownKeys = allowUnknownKeys || false; - options = this.extractCredentials(options); - AWS.util.each.call(this, options, function (key, value) { - if (allowUnknownKeys || 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: { - base: 100 - }, - 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. - * @param [Constructor] dep A reference to a Promise constructor - */ - setPromisesDependency: function setPromisesDependency(dep) { - AWS.util.addPromisesToRequests(AWS.Request, dep); - } -}); - -/** - * @return [AWS.Config] The global configuration object singleton instance - * @readonly - * @see AWS.Config - */ -AWS.config = new AWS.Config(); diff --git a/node_modules/aws-sdk/lib/core.js b/node_modules/aws-sdk/lib/core.js deleted file mode 100644 index a1d5c7b..0000000 --- a/node_modules/aws-sdk/lib/core.js +++ /dev/null @@ -1,107 +0,0 @@ -/** - * The main AWS namespace - */ -var AWS = { util: require('./util') }; - -/** - * @api private - * @!macro [new] nobrowser - * @note This feature is not supported in the browser environment of the SDK. - */ -var _hidden = {}; _hidden.toString(); // hack to parse macro - -module.exports = AWS; - -AWS.util.update(AWS, { - - /** - * @constant - */ - VERSION: '2.6.8', - - /** - * @api private - */ - Signers: {}, - - /** - * @api private - */ - Protocol: { - Json: require('./protocol/json'), - Query: require('./protocol/query'), - Rest: require('./protocol/rest'), - RestJson: require('./protocol/rest_json'), - RestXml: require('./protocol/rest_xml') - }, - - /** - * @api private - */ - XML: { - Builder: require('./xml/builder'), - Parser: null // conditionally set based on environment - }, - - /** - * @api private - */ - JSON: { - Builder: require('./json/builder'), - Parser: require('./json/parser') - }, - - /** - * @api private - */ - Model: { - Api: require('./model/api'), - Operation: require('./model/operation'), - Shape: require('./model/shape'), - Paginator: require('./model/paginator'), - ResourceWaiter: require('./model/resource_waiter') - }, - - util: require('./util'), - - /** - * @api private - */ - apiLoader: function() { throw new Error('No API loader set'); } -}); - -require('./service'); - -require('./credentials'); -require('./credentials/credential_provider_chain'); -require('./credentials/temporary_credentials'); -require('./credentials/web_identity_credentials'); -require('./credentials/cognito_identity_credentials'); -require('./credentials/saml_credentials'); - -require('./config'); -require('./http'); -require('./sequential_executor'); -require('./event_listeners'); -require('./request'); -require('./response'); -require('./resource_waiter'); -require('./signers/request_signer'); -require('./param_validator'); - -/** - * @readonly - * @return [AWS.SequentialExecutor] a collection of global event listeners that - * are attached to every sent request. - * @see AWS.Request AWS.Request for a list of events to listen for - * @example Logging the time taken to send a request - * AWS.events.on('send', function startSend(resp) { - * resp.startTime = new Date().getTime(); - * }).on('complete', function calculateTime(resp) { - * var time = (new Date().getTime() - resp.startTime) / 1000; - * console.log('Request took ' + time + ' seconds'); - * }); - * - * new AWS.S3().listBuckets(); // prints 'Request took 0.285 seconds' - */ -AWS.events = new AWS.SequentialExecutor(); diff --git a/node_modules/aws-sdk/lib/credentials.js b/node_modules/aws-sdk/lib/credentials.js deleted file mode 100644 index 43ecdcf..0000000 --- a/node_modules/aws-sdk/lib/credentials.js +++ /dev/null @@ -1,150 +0,0 @@ -var AWS = require('./core'); - -/** - * Represents your AWS security credentials, specifically the - * {accessKeyId}, {secretAccessKey}, and optional {sessionToken}. - * Creating a `Credentials` object allows you to pass around your - * security information to configuration and service objects. - * - * Note that this class typically does not need to be constructed manually, - * as the {AWS.Config} and {AWS.Service} classes both accept simple - * options hashes with the three keys. These structures will be converted - * into Credentials objects automatically. - * - * ## Expiring and Refreshing Credentials - * - * Occasionally credentials can expire in the middle of a long-running - * application. In this case, the SDK will automatically attempt to - * refresh the credentials from the storage location if the Credentials - * class implements the {refresh} method. - * - * If you are implementing a credential storage location, you - * will want to create a subclass of the `Credentials` class and - * override the {refresh} method. This method allows credentials to be - * retrieved from the backing store, be it a file system, database, or - * some network storage. The method should reset the credential attributes - * on the object. - * - * @!attribute expired - * @return [Boolean] whether the credentials have been expired and - * require a refresh. Used in conjunction with {expireTime}. - * @!attribute expireTime - * @return [Date] a time when credentials should be considered expired. Used - * in conjunction with {expired}. - * @!attribute accessKeyId - * @return [String] the AWS access key ID - * @!attribute secretAccessKey - * @return [String] the AWS secret access key - * @!attribute sessionToken - * @return [String] an optional AWS session token - */ -AWS.Credentials = AWS.util.inherit({ - /** - * A credentials object can be created using positional arguments or an options - * hash. - * - * @overload AWS.Credentials(accessKeyId, secretAccessKey, sessionToken=null) - * Creates a Credentials object with a given set of credential information - * as positional arguments. - * @param accessKeyId [String] the AWS access key ID - * @param secretAccessKey [String] the AWS secret access key - * @param sessionToken [String] the optional AWS session token - * @example Create a credentials object with AWS credentials - * var creds = new AWS.Credentials('akid', 'secret', 'session'); - * @overload AWS.Credentials(options) - * Creates a Credentials object with a given set of credential information - * as an options hash. - * @option options accessKeyId [String] the AWS access key ID - * @option options secretAccessKey [String] the AWS secret access key - * @option options sessionToken [String] the optional AWS session token - * @example Create a credentials object with AWS credentials - * var creds = new AWS.Credentials({ - * accessKeyId: 'akid', secretAccessKey: 'secret', sessionToken: 'session' - * }); - */ - constructor: function Credentials() { - // hide secretAccessKey from being displayed with util.inspect - AWS.util.hideProperties(this, ['secretAccessKey']); - - this.expired = false; - this.expireTime = null; - if (arguments.length === 1 && typeof arguments[0] === 'object') { - var creds = arguments[0].credentials || arguments[0]; - this.accessKeyId = creds.accessKeyId; - this.secretAccessKey = creds.secretAccessKey; - this.sessionToken = creds.sessionToken; - } else { - this.accessKeyId = arguments[0]; - this.secretAccessKey = arguments[1]; - this.sessionToken = arguments[2]; - } - }, - - /** - * @return [Integer] the window size in seconds to attempt refreshing of - * credentials before the expireTime occurs. - */ - expiryWindow: 15, - - /** - * @return [Boolean] whether the credentials object should call {refresh} - * @note Subclasses should override this method to provide custom refresh - * logic. - */ - needsRefresh: function needsRefresh() { - var currentTime = AWS.util.date.getDate().getTime(); - var adjustedTime = new Date(currentTime + this.expiryWindow * 1000); - - if (this.expireTime && adjustedTime > this.expireTime) { - return true; - } else { - return this.expired || !this.accessKeyId || !this.secretAccessKey; - } - }, - - /** - * Gets the existing credentials, refreshing them if they are not yet loaded - * or have expired. Users should call this method before using {refresh}, - * as this will not attempt to reload credentials when they are already - * loaded into the object. - * - * @callback callback function(err) - * Called when the instance metadata service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - */ - get: function get(callback) { - var self = this; - if (this.needsRefresh()) { - this.refresh(function(err) { - if (!err) self.expired = false; // reset expired flag - if (callback) callback(err); - }); - } else if (callback) { - callback(); - } - }, - - /** - * Refreshes the credentials. Users should call {get} before attempting - * to forcibly refresh credentials. - * - * @callback callback function(err) - * Called when the instance metadata service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @note Subclasses should override this class to reset the - * {accessKeyId}, {secretAccessKey} and optional {sessionToken} - * on the credentials object and then call the callback with - * any error information. - * @see get - */ - refresh: function refresh(callback) { - this.expired = false; - callback(); - } -}); diff --git a/node_modules/aws-sdk/lib/credentials/cognito_identity_credentials.js b/node_modules/aws-sdk/lib/credentials/cognito_identity_credentials.js deleted file mode 100644 index aa59b87..0000000 --- a/node_modules/aws-sdk/lib/credentials/cognito_identity_credentials.js +++ /dev/null @@ -1,340 +0,0 @@ -var AWS = require('../core'); -var CognitoIdentity = require('../../clients/cognitoidentity'); -var STS = require('../../clients/sts'); - -/** - * 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' - * - * }); - * @see AWS.CognitoIdentity.getId - * @see AWS.CognitoIdentity.getCredentialsForIdentity - * @see AWS.STS.assumeRoleWithWebIdentity - * @see AWS.CognitoIdentity.getOpenIdToken - */ - constructor: function CognitoIdentityCredentials(params) { - AWS.Credentials.call(this); - this.expired = true; - this.params = params; - this.data = null; - this.identityId = null; - this.loadCachedId(); - }, - - /** - * Refreshes credentials using {AWS.CognitoIdentity.getCredentialsForIdentity}, - * or {AWS.STS.assumeRoleWithWebIdentity}. - * - * @callback callback function(err) - * Called when the STS service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - var self = this; - self.createClients(); - self.data = null; - self.identityId = null; - self.getId(function(err) { - if (!err) { - if (!self.params.RoleArn) { - self.getCredentialsForIdentity(callback); - } else { - self.getCredentialsFromSTS(callback); - } - } else { - self.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() { - this.webIdentityCredentials = this.webIdentityCredentials || - new AWS.WebIdentityCredentials(this.params); - this.cognito = this.cognito || - new CognitoIdentity({params: this.params}); - this.sts = this.sts || new STS(); - }, - - /** - * @api private - */ - cacheId: function cacheId(data) { - this.identityId = data.IdentityId; - this.params.IdentityId = this.identityId; - - // cache this IdentityId in browser localStorage if possible - if (AWS.util.isBrowser()) { - this.setStorage('id', data.IdentityId); - - if (this.params.Logins) { - this.setStorage('providers', Object.keys(this.params.Logins).join(',')); - } - } - }, - - /** - * @api private - */ - getStorage: function getStorage(key) { - return this.storage[this.localStorageKey[key] + this.params.IdentityPoolId + (this.params.LoginId || '')]; - }, - - /** - * @api private - */ - setStorage: function setStorage(key, val) { - try { - this.storage[this.localStorageKey[key] + this.params.IdentityPoolId + (this.params.LoginId || '')] = val; - } catch (_) {} - }, - - /** - * @api private - */ - storage: (function() { - try { - return AWS.util.isBrowser() && window.localStorage !== null && typeof window.localStorage === 'object' ? - window.localStorage : {}; - } catch (_) { - return {}; - } - })() -}); diff --git a/node_modules/aws-sdk/lib/credentials/credential_provider_chain.js b/node_modules/aws-sdk/lib/credentials/credential_provider_chain.js deleted file mode 100644 index 79bed3d..0000000 --- a/node_modules/aws-sdk/lib/credentials/credential_provider_chain.js +++ /dev/null @@ -1,135 +0,0 @@ -var AWS = require('../core'); - -/** - * Creates a credential provider chain that searches for AWS credentials - * in a list of credential providers specified by the {providers} property. - * - * By default, the chain will use the {defaultProviders} to resolve credentials. - * These providers will look in the environment using the - * {AWS.EnvironmentCredentials} class with the 'AWS' and 'AMAZON' prefixes. - * - * ## Setting Providers - * - * Each provider in the {providers} list should be a function that returns - * a {AWS.Credentials} object, or a hardcoded credentials object. The function - * form allows for delayed execution of the credential construction. - * - * ## Resolving Credentials from a Chain - * - * Call {resolve} to return the first valid credential object that can be - * loaded by the provider chain. - * - * For example, to resolve a chain with a custom provider that checks a file - * on disk after the set of {defaultProviders}: - * - * ```javascript - * var diskProvider = new AWS.FileSystemCredentials('./creds.json'); - * var chain = new AWS.CredentialProviderChain(); - * chain.providers.push(diskProvider); - * chain.resolve(); - * ``` - * - * The above code will return the `diskProvider` object if the - * file contains credentials and the `defaultProviders` do not contain - * any credential settings. - * - * @!attribute providers - * @return [Array] - * a list of credentials objects or functions that return credentials - * objects. If the provider is a function, the function will be - * executed lazily when the provider needs to be checked for valid - * credentials. By default, this object will be set to the - * {defaultProviders}. - * @see defaultProviders - */ -AWS.CredentialProviderChain = AWS.util.inherit(AWS.Credentials, { - - /** - * Creates a new CredentialProviderChain with a default set of providers - * specified by {defaultProviders}. - */ - constructor: function CredentialProviderChain(providers) { - if (providers) { - this.providers = providers; - } else { - this.providers = AWS.CredentialProviderChain.defaultProviders.slice(0); - } - }, - - /** - * Resolves the provider chain by searching for the first set of - * credentials in {providers}. - * - * @callback callback function(err, credentials) - * Called when the provider resolves the chain to a credentials object - * or null if no credentials can be found. - * - * @param err [Error] the error object returned if no credentials are - * found. - * @param credentials [AWS.Credentials] the credentials object resolved - * by the provider chain. - * @return [AWS.CredentialProviderChain] the provider, for chaining. - */ - resolve: function resolve(callback) { - if (this.providers.length === 0) { - callback(new Error('No providers')); - return this; - } - - var index = 0; - var providers = this.providers.slice(0); - - function resolveNext(err, creds) { - if ((!err && creds) || index === providers.length) { - callback(err, creds); - return; - } - - var provider = providers[index++]; - if (typeof provider === 'function') { - creds = provider.call(); - } else { - creds = provider; - } - - if (creds.get) { - creds.get(function(getErr) { - resolveNext(getErr, getErr ? null : creds); - }); - } else { - resolveNext(null, creds); - } - } - - resolveNext(); - return this; - } - -}); - -/** - * The default set of providers used by a vanilla CredentialProviderChain. - * - * 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 = []; diff --git a/node_modules/aws-sdk/lib/credentials/ec2_metadata_credentials.js b/node_modules/aws-sdk/lib/credentials/ec2_metadata_credentials.js deleted file mode 100644 index 42e1f7e..0000000 --- a/node_modules/aws-sdk/lib/credentials/ec2_metadata_credentials.js +++ /dev/null @@ -1,81 +0,0 @@ -var AWS = require('../core'); -require('../metadata_service'); - -/** - * Represents credentials received from the metadata service on an EC2 instance. - * - * By default, this class will connect to the metadata service using - * {AWS.MetadataService} and attempt to load any available credentials. If it - * can connect, and credentials are available, these will be used with zero - * configuration. - * - * This credentials class will by default timeout after 1 second of inactivity - * and retry 3 times. - * If your requests to the EC2 metadata service are timing out, you can increase - * these values by configuring them directly: - * - * ```javascript - * AWS.config.credentials = new AWS.EC2MetadataCredentials({ - * httpOptions: { timeout: 5000 }, // 5 second timeout - * maxRetries: 10, // retry 10 times - * retryDelayOptions: { base: 200 } // see AWS.Config for information - * }); - * ``` - * - * @see AWS.Config.retryDelayOptions - * - * @!macro nobrowser - */ -AWS.EC2MetadataCredentials = AWS.util.inherit(AWS.Credentials, { - constructor: function EC2MetadataCredentials(options) { - AWS.Credentials.call(this); - - options = options ? AWS.util.copy(options) : {}; - options = AWS.util.merge( - {maxRetries: this.defaultMaxRetries}, options); - if (!options.httpOptions) options.httpOptions = {}; - options.httpOptions = AWS.util.merge( - {timeout: this.defaultTimeout}, options.httpOptions); - - this.metadataService = new AWS.MetadataService(options); - this.metadata = {}; - }, - - /** - * @api private - */ - defaultTimeout: 1000, - - /** - * @api private - */ - defaultMaxRetries: 3, - - /** - * Loads the credentials from the instance metadata service - * - * @callback callback function(err) - * Called when the instance metadata service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - var self = this; - if (!callback) callback = function(err) { if (err) throw err; }; - - self.metadataService.loadCredentials(function (err, creds) { - if (!err) { - self.expired = false; - self.metadata = creds; - self.accessKeyId = creds.AccessKeyId; - self.secretAccessKey = creds.SecretAccessKey; - self.sessionToken = creds.Token; - self.expireTime = new Date(creds.Expiration); - } - callback(err); - }); - } -}); diff --git a/node_modules/aws-sdk/lib/credentials/ecs_credentials.js b/node_modules/aws-sdk/lib/credentials/ecs_credentials.js deleted file mode 100644 index 7eab957..0000000 --- a/node_modules/aws-sdk/lib/credentials/ecs_credentials.js +++ /dev/null @@ -1,164 +0,0 @@ -var AWS = require('../core'); - -/** - * Represents credentials received from relative URI specified in the ECS container. - * - * This class will request refreshable credentials from the relative URI - * specified by the AWS_CONTAINER_CREDENTIALS_RELATIVE_URI environment variable - * in the container. If valid credentials are returned in the response, these - * will be used with zero configuration. - * - * This credentials class will by default timeout after 1 second of inactivity - * and retry 3 times. - * If your requests to the relative URI are timing out, you can increase - * the value by configuring them directly: - * - * ```javascript - * AWS.config.credentials = new AWS.ECSCredentials({ - * httpOptions: { timeout: 5000 }, // 5 second timeout - * maxRetries: 10, // retry 10 times - * retryDelayOptions: { base: 200 } // see AWS.Config for information - * }); - * ``` - * - * @see AWS.Config.retryDelayOptions - * - * @!macro nobrowser - */ -AWS.ECSCredentials = AWS.util.inherit(AWS.Credentials, { - constructor: function ECSCredentials(options) { - AWS.Credentials.call(this); - options = options ? AWS.util.copy(options) : {}; - if (!options.httpOptions) options.httpOptions = {}; - options.httpOptions = AWS.util.merge( - this.httpOptions, options.httpOptions); - AWS.util.update(this, options); - }, - - /** - * @api private - */ - httpOptions: { timeout: 1000 }, - - /** - * @api private - */ - host: '169.254.170.2', - - /** - * @api private - */ - maxRetries: 3, - - /** - * Sets the name of the ECS environment variable to check for relative URI - * If changed, please change the name in the documentation for defaultProvider - * in credential_provider_chain.js and in all tests in test/credentials.spec.coffee - * - * @api private - */ - environmentVar: 'AWS_CONTAINER_CREDENTIALS_RELATIVE_URI', - - /** - * @api private - */ - getECSRelativeUri: function getECSRelativeUri() { - if (process && process.env) return process.env[this.environmentVar]; - }, - - /** - * @api private - */ - credsFormatIsValid: function credsFormatIsValid(credData) { - return (!!credData.AccessKeyId && !!credData.SecretAccessKey && - !!credData.Token && !!credData.Expiration); - }, - - /** - * @api private - */ - request: function request(path, callback) { - path = path || '/'; - var httpRequest = new AWS.HttpRequest('http://' + this.host + path); - httpRequest.method = 'GET'; - httpRequest.headers.Accept = 'application/json'; - AWS.util.handleRequestWithRetries(httpRequest, this, callback); - }, - - /** - * @api private - */ - refreshQueue: [], - - /** - * Loads the credentials from the relative URI specified by container - * - * @callback callback function(err) - * Called when the request to the relative URI 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`, `sessionToken`, and `expireTime` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - var self = this; - var refreshQueue = self.refreshQueue; - if (!callback) callback = function(err) { if (err) throw err; }; - refreshQueue.push({ - provider: self, - errCallback: callback - }); - if (refreshQueue.length > 1) { return; } - - function callbacks(err, creds) { - var call, cb; - while ((call = refreshQueue.shift()) !== undefined) { - cb = call.errCallback; - if (!err) AWS.util.update(call.provider, creds); - cb(err); - } - } - - if (process === undefined) { - callbacks(AWS.util.error( - new Error('No process info available'), - { code: 'ECSCredentialsProviderFailure' } - )); - return; - } - var relativeUri = this.getECSRelativeUri(); - if (relativeUri === undefined) { - callbacks(AWS.util.error( - new Error('Variable ' + this.environmentVar + ' not set.'), - { code: 'ECSCredentialsProviderFailure' } - )); - return; - } - - this.request(relativeUri, function(err, data) { - if (!err) { - try { - data = JSON.parse(data); - if (self.credsFormatIsValid(data)) { - var creds = { - expired: false, - accessKeyId: data.AccessKeyId, - secretAccessKey: data.SecretAccessKey, - sessionToken: data.Token, - expireTime: new Date(data.Expiration) - }; - } else { - throw AWS.util.error( - new Error('Response data is not in valid format'), - { code: 'ECSCredentialsProviderFailure' } - ); - } - } catch (dataError) { - err = dataError; - } - } - callbacks(err, creds); - }); - } -}); diff --git a/node_modules/aws-sdk/lib/credentials/environment_credentials.js b/node_modules/aws-sdk/lib/credentials/environment_credentials.js deleted file mode 100644 index b406518..0000000 --- a/node_modules/aws-sdk/lib/credentials/environment_credentials.js +++ /dev/null @@ -1,91 +0,0 @@ -var AWS = require('../core'); - -/** - * Represents credentials from the environment. - * - * By default, this class will look for the matching environment variables - * prefixed by a given {envPrefix}. The un-prefixed environment variable names - * for each credential value is listed below: - * - * ```javascript - * accessKeyId: ACCESS_KEY_ID - * secretAccessKey: SECRET_ACCESS_KEY - * sessionToken: SESSION_TOKEN - * ``` - * - * With the default prefix of 'AWS', the environment variables would be: - * - * AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN - * - * @!attribute envPrefix - * @readonly - * @return [String] the prefix for the environment variable names excluding - * the separating underscore ('_'). - */ -AWS.EnvironmentCredentials = AWS.util.inherit(AWS.Credentials, { - - /** - * Creates a new EnvironmentCredentials class with a given variable - * prefix {envPrefix}. For example, to load credentials using the 'AWS' - * prefix: - * - * ```javascript - * var creds = new AWS.EnvironmentCredentials('AWS'); - * creds.accessKeyId == 'AKID' // from AWS_ACCESS_KEY_ID env var - * ``` - * - * @param envPrefix [String] the prefix to use (e.g., 'AWS') for environment - * variables. Do not include the separating underscore. - */ - constructor: function EnvironmentCredentials(envPrefix) { - AWS.Credentials.call(this); - this.envPrefix = envPrefix; - this.get(function() {}); - }, - - /** - * Loads credentials from the environment using the prefixed - * environment variables. - * - * @callback callback function(err) - * Called after the (prefixed) ACCESS_KEY_ID, SECRET_ACCESS_KEY, and - * SESSION_TOKEN environment variables are read. When this callback is - * called with no error, it means that the credentials information has - * been loaded into the object (as the `accessKeyId`, `secretAccessKey`, - * and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - if (!callback) callback = function(err) { if (err) throw err; }; - - if (!process || !process.env) { - callback(AWS.util.error( - new Error('No process info or environment variables available'), - { code: 'EnvironmentCredentialsProviderFailure' } - )); - return; - } - - var keys = ['ACCESS_KEY_ID', 'SECRET_ACCESS_KEY', 'SESSION_TOKEN']; - var values = []; - - for (var i = 0; i < keys.length; i++) { - var prefix = ''; - if (this.envPrefix) prefix = this.envPrefix + '_'; - values[i] = process.env[prefix + keys[i]]; - if (!values[i] && keys[i] !== 'SESSION_TOKEN') { - callback(AWS.util.error( - new Error('Variable ' + prefix + keys[i] + ' not set.'), - { code: 'EnvironmentCredentialsProviderFailure' } - )); - return; - } - } - - this.expired = false; - AWS.Credentials.apply(this, values); - callback(); - } - -}); diff --git a/node_modules/aws-sdk/lib/credentials/file_system_credentials.js b/node_modules/aws-sdk/lib/credentials/file_system_credentials.js deleted file mode 100644 index f6d6fc1..0000000 --- a/node_modules/aws-sdk/lib/credentials/file_system_credentials.js +++ /dev/null @@ -1,68 +0,0 @@ -var AWS = require('../core'); - -/** - * Represents credentials from a JSON file on disk. - * If the credentials expire, the SDK can {refresh} the credentials - * from the file. - * - * The format of the file should be similar to the options passed to - * {AWS.Config}: - * - * ```javascript - * {accessKeyId: 'akid', secretAccessKey: 'secret', sessionToken: 'optional'} - * ``` - * - * @example Loading credentials from disk - * var creds = new AWS.FileSystemCredentials('./configuration.json'); - * creds.accessKeyId == 'AKID' - * - * @!attribute filename - * @readonly - * @return [String] the path to the JSON file on disk containing the - * credentials. - * @!macro nobrowser - */ -AWS.FileSystemCredentials = AWS.util.inherit(AWS.Credentials, { - - /** - * @overload AWS.FileSystemCredentials(filename) - * Creates a new FileSystemCredentials object from a filename - * - * @param filename [String] the path on disk to the JSON file to load. - */ - constructor: function FileSystemCredentials(filename) { - AWS.Credentials.call(this); - this.filename = filename; - this.get(function() {}); - }, - - /** - * Loads the credentials from the {filename} on disk. - * - * @callback callback function(err) - * Called after the JSON file on disk is read and parsed. When this callback - * is called with no error, it means that the credentials information - * has been loaded into the object (as the `accessKeyId`, `secretAccessKey`, - * and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - if (!callback) callback = function(err) { if (err) throw err; }; - try { - var creds = JSON.parse(AWS.util.readFileSync(this.filename)); - AWS.Credentials.call(this, creds); - if (!this.accessKeyId || !this.secretAccessKey) { - throw AWS.util.error( - new Error('Credentials not set in ' + this.filename), - { code: 'FileSystemCredentialsProviderFailure' } - ); - } - this.expired = false; - callback(); - } catch (err) { - callback(err); - } - } - -}); diff --git a/node_modules/aws-sdk/lib/credentials/saml_credentials.js b/node_modules/aws-sdk/lib/credentials/saml_credentials.js deleted file mode 100644 index 0034384..0000000 --- a/node_modules/aws-sdk/lib/credentials/saml_credentials.js +++ /dev/null @@ -1,89 +0,0 @@ -var AWS = require('../core'); -var STS = require('../../clients/sts'); - -/** - * 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}); - } - -}); diff --git a/node_modules/aws-sdk/lib/credentials/shared_ini_file_credentials.js b/node_modules/aws-sdk/lib/credentials/shared_ini_file_credentials.js deleted file mode 100644 index 4e958fb..0000000 --- a/node_modules/aws-sdk/lib/credentials/shared_ini_file_credentials.js +++ /dev/null @@ -1,204 +0,0 @@ -var AWS = require('../core'); -var path = require('path'); -var STS = require('../../clients/sts'); - -/** - * Represents credentials loaded from shared credentials file - * (defaulting to ~/.aws/credentials). - * - * ## Using the shared credentials file - * - * This provider is checked by default in the Node.js environment. To use the - * credentials file provider, simply add your access and secret keys to the - * ~/.aws/credentials file in the following format: - * - * [default] - * aws_access_key_id = AKID... - * aws_secret_access_key = YOUR_SECRET_KEY - * - * ## Using custom profiles - * - * The SDK supports loading credentials for separate profiles. This can be done - * in two ways: - * - * 1. Set the `AWS_PROFILE` environment variable in your process prior to - * loading the SDK. - * 2. Directly load the AWS.SharedIniFileCredentials provider: - * - * ```javascript - * var creds = new AWS.SharedIniFileCredentials({profile: 'myprofile'}); - * AWS.config.credentials = creds; - * ``` - * - * @!macro nobrowser - */ -AWS.SharedIniFileCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new SharedIniFileCredentials object. - * - * @param options [map] a set of options - * @option options profile [String] (AWS_PROFILE env var or 'default') - * the name of the profile to load. - * @option options filename [String] ('~/.aws/credentials') the filename - * to use when loading credentials. - * @option options disableAssumeRole [Boolean] (false) True to disable - * support for profiles that assume an IAM role. If true, and an assume - * role profile is selected, an error is raised. - */ - constructor: function SharedIniFileCredentials(options) { - AWS.Credentials.call(this); - - options = options || {}; - - this.filename = options.filename; - this.profile = options.profile || process.env.AWS_PROFILE || 'default'; - this.disableAssumeRole = !!options.disableAssumeRole; - this.get(function() {}); - }, - - /** - * Loads the credentials from the shared credentials file - * - * @callback callback function(err) - * Called after the shared INI file on disk is read and parsed. When this - * callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - if (!callback) callback = function(err) { if (err) throw err; }; - try { - if (!this.filename) this.loadDefaultFilename(); - var creds = AWS.util.ini.parse(AWS.util.readFileSync(this.filename)); - var profile = creds[this.profile]; - - if (typeof profile !== 'object') { - throw AWS.util.error( - new Error('Profile ' + this.profile + ' not found in ' + this.filename), - { code: 'SharedIniFileCredentialsProviderFailure' } - ); - } - - if (profile['role_arn']) { - this.loadRoleProfile(creds, profile, callback); - return; - } - - this.accessKeyId = profile['aws_access_key_id']; - this.secretAccessKey = profile['aws_secret_access_key']; - this.sessionToken = profile['aws_session_token']; - - if (!this.accessKeyId || !this.secretAccessKey) { - throw AWS.util.error( - new Error('Credentials not set in ' + this.filename + - ' using profile ' + this.profile), - { code: 'SharedIniFileCredentialsProviderFailure' } - ); - } - this.expired = false; - callback(); - } catch (err) { - callback(err); - } - }, - - /** - * @api private - */ - loadRoleProfile: function loadRoleProfile(creds, roleProfile, callback) { - if (this.disableAssumeRole) { - throw AWS.util.error( - new Error('Role assumption profiles are disabled. ' + - 'Failed to load profile ' + this.profile + ' from ' + - this.filename), - { code: 'SharedIniFileCredentialsProviderFailure' } - ); - } - - var self = this; - var roleArn = roleProfile['role_arn']; - var roleSessionName = roleProfile['role_session_name']; - var externalId = roleProfile['external_id']; - var sourceProfileName = roleProfile['source_profile']; - - if (!sourceProfileName) { - throw AWS.util.error( - new Error('source_profile is not set in ' + this.filename + - ' using profile ' + this.profile), - { code: 'SharedIniFileCredentialsProviderFailure' } - ); - } - - var sourceProfile = creds[sourceProfileName]; - - if (typeof sourceProfile !== 'object') { - throw AWS.util.error( - new Error('source_profile ' + sourceProfileName + ' set in ' + - this.filename + ' using profile ' + this.profile + - ' does not exist'), - { code: 'SharedIniFileCredentialsProviderFailure' } - ); - } - - var sourceCredentials = { - accessKeyId: sourceProfile['aws_access_key_id'], - secretAccessKey: sourceProfile['aws_secret_access_key'], - sessionToken: sourceProfile['aws_session_token'] - }; - - if (!sourceCredentials.accessKeyId || !sourceCredentials.secretAccessKey) { - throw AWS.util.error( - new Error('Credentials not set in source_profile ' + - sourceProfileName + ' set in ' + this.filename + - ' using profile ' + this.profile), - { code: 'SharedIniFileCredentialsProviderFailure' } - ); - } - - var sts = new STS({ - credentials: new AWS.Credentials(sourceCredentials) - }); - - var roleParams = { - RoleArn: roleArn, - RoleSessionName: roleSessionName || 'aws-sdk-js-' + Date.now() - }; - - if (externalId) { - roleParams.ExternalId = externalId; - } - - sts.assumeRole(roleParams, function (err, data) { - if (err) { - callback(err); - return; - } - - self.accessKeyId = data.Credentials.AccessKeyId; - self.secretAccessKey = data.Credentials.SecretAccessKey; - self.sessionToken = data.Credentials.SessionToken; - self.expireTime = data.Credentials.Expiration; - callback(); - }); - }, - - /** - * @api private - */ - loadDefaultFilename: function loadDefaultFilename() { - var env = process.env; - var home = env.HOME || - env.USERPROFILE || - (env.HOMEPATH ? ((env.HOMEDRIVE || 'C:/') + env.HOMEPATH) : null); - if (!home) { - throw AWS.util.error( - new Error('Cannot load credentials, HOME path not set'), - { code: 'SharedIniFileCredentialsProviderFailure' } - ); - } - - this.filename = path.join(home, '.aws', 'credentials'); - } -}); diff --git a/node_modules/aws-sdk/lib/credentials/temporary_credentials.js b/node_modules/aws-sdk/lib/credentials/temporary_credentials.js deleted file mode 100644 index a3e78a1..0000000 --- a/node_modules/aws-sdk/lib/credentials/temporary_credentials.js +++ /dev/null @@ -1,112 +0,0 @@ -var AWS = require('../core'); -var STS = require('../../clients/sts'); - -/** - * Represents temporary credentials retrieved from {AWS.STS}. Without any - * extra parameters, credentials will be fetched from the - * {AWS.STS.getSessionToken} operation. If an IAM role is provided, the - * {AWS.STS.assumeRole} operation will be used to fetch credentials for the - * role instead. - * - * To setup temporary credentials, configure a set of master credentials - * using the standard credentials providers (environment, EC2 instance metadata, - * or from the filesystem), then set the global credentials to a new - * temporary credentials object: - * - * ```javascript - * // Note that environment credentials are loaded by default, - * // the following line is shown for clarity: - * AWS.config.credentials = new AWS.EnvironmentCredentials('AWS'); - * - * // Now set temporary credentials seeded from the master credentials - * AWS.config.credentials = new AWS.TemporaryCredentials(); - * - * // subsequent requests will now use temporary credentials from AWS STS. - * new AWS.S3().listBucket(function(err, data) { ... }); - * ``` - * - * @!attribute masterCredentials - * @return [AWS.Credentials] the master (non-temporary) credentials used to - * get and refresh temporary credentials from AWS STS. - * @note (see constructor) - */ -AWS.TemporaryCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new temporary credentials object. - * - * @note In order to create temporary credentials, you first need to have - * "master" credentials configured in {AWS.Config.credentials}. These - * master credentials are necessary to retrieve the temporary credentials, - * as well as refresh the credentials when they expire. - * @param params [map] a map of options that are passed to the - * {AWS.STS.assumeRole} or {AWS.STS.getSessionToken} operations. - * If a `RoleArn` parameter is passed in, credentials will be based on the - * IAM role. - * @example Creating a new credentials object for generic temporary credentials - * AWS.config.credentials = new AWS.TemporaryCredentials(); - * @example Creating a new credentials object for an IAM role - * AWS.config.credentials = new AWS.TemporaryCredentials({ - * RoleArn: 'arn:aws:iam::1234567890:role/TemporaryCredentials', - * }); - * @see AWS.STS.assumeRole - * @see AWS.STS.getSessionToken - */ - constructor: function TemporaryCredentials(params) { - AWS.Credentials.call(this); - this.loadMasterCredentials(); - this.expired = true; - - this.params = params || {}; - if (this.params.RoleArn) { - this.params.RoleSessionName = - this.params.RoleSessionName || 'temporary-credentials'; - } - }, - - /** - * Refreshes credentials using {AWS.STS.assumeRole} or - * {AWS.STS.getSessionToken}, depending on whether an IAM role ARN was passed - * to the credentials {constructor}. - * - * @callback callback function(err) - * Called when the STS service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - var self = this; - self.createClients(); - if (!callback) callback = function(err) { if (err) throw err; }; - - self.service.config.credentials = self.masterCredentials; - var operation = self.params.RoleArn ? - self.service.assumeRole : self.service.getSessionToken; - operation.call(self.service, function (err, data) { - if (!err) { - self.service.credentialsFrom(data, self); - } - callback(err); - }); - }, - - /** - * @api private - */ - loadMasterCredentials: function loadMasterCredentials() { - this.masterCredentials = AWS.config.credentials; - while (this.masterCredentials.masterCredentials) { - this.masterCredentials = this.masterCredentials.masterCredentials; - } - }, - - /** - * @api private - */ - createClients: function() { - this.service = this.service || new STS({params: this.params}); - } - -}); diff --git a/node_modules/aws-sdk/lib/credentials/web_identity_credentials.js b/node_modules/aws-sdk/lib/credentials/web_identity_credentials.js deleted file mode 100644 index e4f6907..0000000 --- a/node_modules/aws-sdk/lib/credentials/web_identity_credentials.js +++ /dev/null @@ -1,96 +0,0 @@ -var AWS = require('../core'); -var STS = require('../../clients/sts'); - -/** - * Represents credentials retrieved from STS Web Identity Federation support. - * - * By default this provider gets credentials using the - * {AWS.STS.assumeRoleWithWebIdentity} service operation. This operation - * requires a `RoleArn` containing the ARN of the IAM trust policy for the - * application for which credentials will be given. In addition, the - * `WebIdentityToken` must be set to the token provided by the identity - * provider. See {constructor} for an example on creating a credentials - * object with proper `RoleArn` and `WebIdentityToken` values. - * - * ## Refreshing Credentials from Identity Service - * - * In addition to AWS credentials expiring after a given amount of time, the - * login token from the identity provider will also expire. Once this token - * expires, it will not be usable to refresh AWS credentials, and another - * token will be needed. The SDK does not manage refreshing of the token value, - * but this can be done through a "refresh token" supported by most identity - * providers. Consult the documentation for the identity provider for refreshing - * tokens. Once the refreshed token is acquired, you should make sure to update - * this new token in the credentials object's {params} property. The following - * code will update the WebIdentityToken, assuming you have retrieved an updated - * token from the identity provider: - * - * ```javascript - * AWS.config.credentials.params.WebIdentityToken = updatedToken; - * ``` - * - * Future calls to `credentials.refresh()` will now use the new token. - * - * @!attribute params - * @return [map] the map of params passed to - * {AWS.STS.assumeRoleWithWebIdentity}. To update the token, set the - * `params.WebIdentityToken` property. - * @!attribute data - * @return [map] the raw data response from the call to - * {AWS.STS.assumeRoleWithWebIdentity}. Use this if you want to get - * access to other properties from the response. - */ -AWS.WebIdentityCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new credentials object. - * @param (see AWS.STS.assumeRoleWithWebIdentity) - * @example Creating a new credentials object - * AWS.config.credentials = new AWS.WebIdentityCredentials({ - * RoleArn: 'arn:aws:iam::1234567890:role/WebIdentity', - * WebIdentityToken: 'ABCDEFGHIJKLMNOP', // token from identity service - * RoleSessionName: 'web' // optional name, defaults to web-identity - * }); - * @see AWS.STS.assumeRoleWithWebIdentity - */ - constructor: function WebIdentityCredentials(params) { - AWS.Credentials.call(this); - this.expired = true; - this.params = params; - this.params.RoleSessionName = this.params.RoleSessionName || 'web-identity'; - this.data = null; - }, - - /** - * Refreshes credentials using {AWS.STS.assumeRoleWithWebIdentity} - * - * @callback callback function(err) - * Called when the STS service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - var self = this; - self.createClients(); - if (!callback) callback = function(err) { if (err) throw err; }; - - self.service.assumeRoleWithWebIdentity(function (err, data) { - self.data = null; - if (!err) { - self.data = data; - self.service.credentialsFrom(data, self); - } - callback(err); - }); - }, - - /** - * @api private - */ - createClients: function() { - this.service = this.service || new STS({params: this.params}); - } - -}); diff --git a/node_modules/aws-sdk/lib/dynamodb/converter.js b/node_modules/aws-sdk/lib/dynamodb/converter.js deleted file mode 100644 index a5e35e3..0000000 --- a/node_modules/aws-sdk/lib/dynamodb/converter.js +++ /dev/null @@ -1,96 +0,0 @@ -var util = require('../core').util; -var typeOf = require('./types').typeOf; -var DynamoDBSet = require('./set'); - -function convertInput(data) { - if (typeOf(data) === 'Object') { - var map = {M: {}}; - for (var key in data) { - map['M'][key] = convertInput(data[key]); - } - return map; - } else if (typeOf(data) === 'Array') { - var list = {L: []}; - for (var i = 0; i < data.length; i++) { - list['L'].push(convertInput(data[i])); - } - return list; - } else if (typeOf(data) === 'Set') { - return formatSet(data); - } else if (typeOf(data) === 'String') { - return { 'S': data }; - } else if (typeOf(data) === 'Number') { - return { 'N': data.toString() }; - } else if (typeOf(data) === 'Binary') { - return { 'B': data }; - } else if (typeOf(data) === 'Boolean') { - return {'BOOL': data}; - } else if (typeOf(data) === 'null') { - return {'NULL': true}; - } -} - -function formatSet(data) { - var map = {}; - switch (data.type) { - case 'String': map['SS'] = data.values; break; - case 'Binary': map['BS'] = data.values; break; - case 'Number': map['NS'] = data.values.map(function (value) { - return value.toString(); - }); - } - return map; -} - -function convertOutput(data) { - var list, map, i; - for (var type in data) { - var values = data[type]; - if (type === 'M') { - map = {}; - for (var key in values) { - map[key] = convertOutput(values[key]); - } - return map; - } else if (type === 'L') { - list = []; - for (i = 0; i < values.length; i++) { - list.push(convertOutput(values[i])); - } - return list; - } else if (type === 'SS') { - list = []; - for (i = 0; i < values.length; i++) { - list.push(values[i] + ''); - } - return new DynamoDBSet(list); - } else if (type === 'NS') { - list = []; - for (i = 0; i < values.length; i++) { - list.push(Number(values[i])); - } - return new DynamoDBSet(list); - } else if (type === 'BS') { - list = []; - for (i = 0; i < values.length; i++) { - list.push(new util.Buffer(values[i])); - } - return new DynamoDBSet(list); - } else if (type === 'S') { - return values + ''; - } else if (type === 'N') { - return Number(values); - } else if (type === 'B') { - return new util.Buffer(values); - } else if (type === 'BOOL') { - return (values === 'true' || values === 'TRUE' || values === true); - } else if (type === 'NULL') { - return null; - } - } -} - -module.exports = { - input: convertInput, - output: convertOutput -}; diff --git a/node_modules/aws-sdk/lib/dynamodb/document_client.js b/node_modules/aws-sdk/lib/dynamodb/document_client.js deleted file mode 100644 index f3f9756..0000000 --- a/node_modules/aws-sdk/lib/dynamodb/document_client.js +++ /dev/null @@ -1,519 +0,0 @@ -var AWS = require('../core'); -var Translator = require('./translator'); -var DynamoDBSet = require('./set'); - -/** - * The document client simplifies working with items in Amazon DynamoDB - * by abstracting away the notion of attribute values. This abstraction - * annotates native JavaScript types supplied as input parameters, as well - * as converts annotated response data to native JavaScript types. - * - * ## Marshalling Input and Unmarshalling Response Data - * - * The document client affords developers the use of native JavaScript types - * instead of `AttributeValue`s to simplify the JavaScript development - * experience with Amazon DynamoDB. JavaScript objects passed in as parameters - * are marshalled into `AttributeValue` shapes required by Amazon DynamoDB. - * Responses from DynamoDB are unmarshalled into plain JavaScript objects - * by the `DocumentClient`. The `DocumentClient`, does not accept - * `AttributeValue`s in favor of native JavaScript types. - * - * | JavaScript Type | DynamoDB AttributeValue | - * |:----------------------------------------------------------------------:|-------------------------| - * | String | S | - * | Number | N | - * | Boolean | BOOL | - * | null | NULL | - * | Array | L | - * | Object | M | - * | Buffer, File, Blob, ArrayBuffer, DataView, and JavaScript typed arrays | B | - * - * ## Support for Sets - * - * The `DocumentClient` offers a convenient way to create sets from - * JavaScript Arrays. The type of set is inferred from the first element - * in the array. DynamoDB supports string, number, and binary sets. To - * learn more about supported types see the - * [Amazon DynamoDB Data Model Documentation](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html) - * For more information see {AWS.DynamoDB.DocumentClient.createSet} - * - */ -AWS.DynamoDB.DocumentClient = AWS.util.inherit({ - - /** - * @api private - */ - operations: { - batchGetItem: 'batchGet', - batchWriteItem: 'batchWrite', - putItem: 'put', - getItem: 'get', - deleteItem: 'delete', - updateItem: 'update', - scan: 'scan', - query: 'query' - }, - - /** - * Creates a DynamoDB document client with a set of configuration options. - * - * @option options params [map] An optional map of parameters to bind to every - * request sent by this service object. - * @option options service [AWS.DynamoDB] An optional pre-configured instance - * of the AWS.DynamoDB service object to use for requests. The object may - * bound parameters used by the document client. - * @see AWS.DynamoDB.constructor - * - */ - constructor: function DocumentClient(options) { - var self = this; - self.options = options || {}; - self.configure(self.options); - }, - - /** - * @api private - */ - configure: function configure(options) { - var self = this; - self.service = options.service; - self.bindServiceObject(options); - self.attrValue = - self.service.api.operations.putItem.input.members.Item.value.shape; - }, - - /** - * @api private - */ - bindServiceObject: function bindServiceObject(options) { - var self = this; - options = options || {}; - - if (!self.service) { - self.service = new AWS.DynamoDB(options); - } else { - var config = AWS.util.copy(self.service.config); - self.service = new self.service.constructor.__super__(config); - self.service.config.params = - AWS.util.merge(self.service.config.params || {}, options.params); - } - }, - - /** - * Returns the attributes of one or more items from one or more tables - * by delegating to `AWS.DynamoDB.batchGetItem()`. - * - * Supply the same parameters as {AWS.DynamoDB.batchGetItem} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.batchGetItem - * @example Get items from multiple tables - * var params = { - * RequestItems: { - * 'Table-1': { - * Keys: [ - * { - * HashKey: 'haskey', - * NumberRangeKey: 1 - * } - * ] - * }, - * 'Table-2': { - * Keys: [ - * { foo: 'bar' }, - * ] - * } - * } - * }; - * - * var docClient = new AWS.DynamoDB.DocumentClient(); - * - * docClient.batchGet(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - batchGet: function(params, callback) { - var self = this; - var request = self.service.batchGetItem(params); - self.setupRequest(request); - self.setupResponse(request); - if (typeof callback === 'function') { - request.send(callback); - } - return request; - }, - - /** - * Puts or deletes multiple items in one or more tables by delegating - * to `AWS.DynamoDB.batchWriteItem()`. - * - * Supply the same parameters as {AWS.DynamoDB.batchWriteItem} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.batchWriteItem - * @example Write to and delete from a table - * var params = { - * RequestItems: { - * 'Table-1': [ - * { - * DeleteRequest: { - * Key: { HashKey: 'someKey' } - * } - * }, - * { - * PutRequest: { - * Item: { - * HashKey: 'anotherKey', - * NumAttribute: 1, - * BoolAttribute: true, - * ListAttribute: [1, 'two', false], - * MapAttribute: { foo: 'bar' } - * } - * } - * } - * ] - * } - * }; - * - * var docClient = new AWS.DynamoDB.DocumentClient(); - * - * docClient.batchWrite(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - batchWrite: function(params, callback) { - var self = this; - var request = self.service.batchWriteItem(params); - self.setupRequest(request); - self.setupResponse(request); - if (typeof callback === 'function') { - request.send(callback); - } - return request; - }, - - /** - * Deletes a single item in a table by primary key by delegating to - * `AWS.DynamoDB.deleteItem()` - * - * Supply the same parameters as {AWS.DynamoDB.deleteItem} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.deleteItem - * @example Delete an item from a table - * var params = { - * TableName : 'Table', - * Key: { - * HashKey: 'hashkey', - * NumberRangeKey: 1 - * } - * }; - * - * var docClient = new AWS.DynamoDB.DocumentClient(); - * - * docClient.delete(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - delete: function(params, callback) { - var self = this; - var request = self.service.deleteItem(params); - self.setupRequest(request); - self.setupResponse(request); - if (typeof callback === 'function') { - request.send(callback); - } - return request; - }, - - /** - * Returns a set of attributes for the item with the given primary key - * by delegating to `AWS.DynamoDB.getItem()`. - * - * Supply the same parameters as {AWS.DynamoDB.getItem} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.getItem - * @example Get an item from a table - * var params = { - * TableName : 'Table', - * Key: { - * HashKey: 'hashkey' - * } - * }; - * - * var docClient = new AWS.DynamoDB.DocumentClient(); - * - * docClient.get(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - get: function(params, callback) { - var self = this; - var request = self.service.getItem(params); - self.setupRequest(request); - self.setupResponse(request); - if (typeof callback === 'function') { - request.send(callback); - } - return request; - }, - - /** - * Creates a new item, or replaces an old item with a new item by - * delegating to `AWS.DynamoDB.putItem()`. - * - * Supply the same parameters as {AWS.DynamoDB.putItem} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.putItem - * @example Create a new item in a table - * var params = { - * TableName : 'Table', - * Item: { - * HashKey: 'haskey', - * NumAttribute: 1, - * BoolAttribute: true, - * ListAttribute: [1, 'two', false], - * MapAttribute: { foo: 'bar'}, - * NullAttribute: null - * } - * }; - * - * var docClient = new AWS.DynamoDB.DocumentClient(); - * - * docClient.put(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - put: function put(params, callback) { - var self = this; - var request = self.service.putItem(params); - self.setupRequest(request); - self.setupResponse(request); - if (typeof callback === 'function') { - request.send(callback); - } - return request; - }, - - /** - * Edits an existing item's attributes, or adds a new item to the table if - * it does not already exist by delegating to `AWS.DynamoDB.updateItem()`. - * - * Supply the same parameters as {AWS.DynamoDB.updateItem} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.updateItem - * @example Update an item with expressions - * var params = { - * TableName: 'Table', - * Key: { HashKey : 'hashkey' }, - * UpdateExpression: 'set #a = :x + :y', - * ConditionExpression: '#a < :MAX', - * ExpressionAttributeNames: {'#a' : 'Sum'}, - * ExpressionAttributeValues: { - * ':x' : 20, - * ':y' : 45, - * ':MAX' : 100, - * } - * }; - * - * var docClient = new AWS.DynamoDB.DocumentClient(); - * - * docClient.update(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - update: function(params, callback) { - var self = this; - var request = self.service.updateItem(params); - self.setupRequest(request); - self.setupResponse(request); - if (typeof callback === 'function') { - request.send(callback); - } - return request; - }, - - /** - * Returns one or more items and item attributes by accessing every item - * in a table or a secondary index. - * - * Supply the same parameters as {AWS.DynamoDB.scan} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.scan - * @example Scan the table with a filter expression - * var params = { - * TableName : 'Table', - * FilterExpression : 'Year = :this_year', - * ExpressionAttributeValues : {':this_year' : 2015} - * }; - * - * var docClient = new AWS.DynamoDB.DocumentClient(); - * - * docClient.scan(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - scan: function(params, callback) { - var self = this; - var request = self.service.scan(params); - self.setupRequest(request); - self.setupResponse(request); - if (typeof callback === 'function') { - request.send(callback); - } - return request; - }, - - /** - * Directly access items from a table by primary key or a secondary index. - * - * Supply the same parameters as {AWS.DynamoDB.query} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.query - * @example Query an index - * var params = { - * TableName: 'Table', - * IndexName: 'Index', - * KeyConditionExpression: 'HashKey = :hkey and RangeKey > :rkey', - * ExpressionAttributeValues: { - * ':hkey': 'key', - * ':rkey': 2015 - * } - * }; - * - * var docClient = new AWS.DynamoDB.DocumentClient(); - * - * docClient.query(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - query: function(params, callback) { - var self = this; - var request = self.service.query(params); - self.setupRequest(request); - self.setupResponse(request); - if (typeof callback === 'function') { - request.send(callback); - } - return request; - }, - - /** - * Creates a set of elements inferring the type of set from - * the type of the first element. Amazon DynamoDB currently supports - * the number sets, string sets, and binary sets. For more information - * about DynamoDB data types see the documentation on the - * [Amazon DynamoDB Data Model](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html#DataModel.DataTypes). - * - * @param list [Array] Collection to represent your DynamoDB Set - * @param options [map] - * * **validate** [Boolean] set to true if you want to validate the type - * of each element in the set. Defaults to `false`. - * @example Creating a number set - * var docClient = new AWS.DynamoDB.DocumentClient(); - * - * var params = { - * Item: { - * hashkey: 'hashkey' - * numbers: docClient.createSet([1, 2, 3]); - * } - * }; - * - * docClient.put(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - createSet: function(list, options) { - options = options || {}; - return new DynamoDBSet(list, options); - }, - - /** - * @api private - */ - getTranslator: function() { - return new Translator({attrValue: this.attrValue}); - }, - - /** - * @api private - */ - setupRequest: function setupRequest(request) { - var self = this; - var translator = self.getTranslator(); - var operation = request.operation; - var inputShape = request.service.api.operations[operation].input; - request._events.validate.unshift(function(req) { - req.rawParams = AWS.util.copy(req.params); - req.params = translator.translateInput(req.rawParams, inputShape); - }); - }, - - /** - * @api private - */ - setupResponse: function setupResponse(request) { - var self = this; - var translator = self.getTranslator(); - var outputShape = self.service.api.operations[request.operation].output; - request.on('extractData', function(response) { - response.data = translator.translateOutput(response.data, outputShape); - }); - - var response = request.response; - response.nextPage = function(cb) { - var resp = this; - var req = resp.request; - var config; - var service = req.service; - var operation = req.operation; - try { - config = service.paginationConfig(operation, true); - } catch (e) { resp.error = e; } - - if (!resp.hasNextPage()) { - if (cb) cb(resp.error, null); - else if (resp.error) throw resp.error; - return null; - } - - var params = AWS.util.copy(req.rawParams); - if (!resp.nextPageTokens) { - return cb ? cb(null, null) : null; - } else { - var inputTokens = config.inputToken; - if (typeof inputTokens === 'string') inputTokens = [inputTokens]; - for (var i = 0; i < inputTokens.length; i++) { - params[inputTokens[i]] = resp.nextPageTokens[i]; - } - return self[operation](params, cb); - } - }; - } - -}); - -module.exports = AWS.DynamoDB.DocumentClient; diff --git a/node_modules/aws-sdk/lib/dynamodb/set.js b/node_modules/aws-sdk/lib/dynamodb/set.js deleted file mode 100644 index e07d555..0000000 --- a/node_modules/aws-sdk/lib/dynamodb/set.js +++ /dev/null @@ -1,53 +0,0 @@ -var util = require('../core').util; -var typeOf = require('./types').typeOf; - -var DynamoDBSet = util.inherit({ - - constructor: function Set(list, options) { - options = options || {}; - this.initialize(list, options.validate); - }, - - initialize: function(list, validate) { - var self = this; - self.values = [].concat(list); - self.detectType(); - if (validate) { - self.validate(); - } - }, - - detectType: function() { - var self = this; - var value = self.values[0]; - if (typeOf(value) === 'String') { - self.type = 'String'; - } else if (typeOf(value) === 'Number') { - self.type = 'Number'; - } else if (typeOf(value) === 'Binary') { - self.type = 'Binary'; - } else { - throw util.error(new Error(), { - code: 'InvalidSetType', - message: 'Sets can contain string, number, or binary values' - }); - } - }, - - validate: function() { - var self = this; - var length = self.values.length; - var values = self.values; - for (var i = 0; i < length; i++) { - if (typeOf(values[i]) !== self.type) { - throw util.error(new Error(), { - code: 'InvalidType', - message: self.type + ' Set contains ' + typeOf(values[i]) + ' value' - }); - } - } - } - -}); - -module.exports = DynamoDBSet; diff --git a/node_modules/aws-sdk/lib/dynamodb/translator.js b/node_modules/aws-sdk/lib/dynamodb/translator.js deleted file mode 100644 index 116c095..0000000 --- a/node_modules/aws-sdk/lib/dynamodb/translator.js +++ /dev/null @@ -1,79 +0,0 @@ -var util = require('../core').util; -var convert = require('./converter'); - -var Translator = function(options) { - options = options || {}; - this.attrValue = options.attrValue; -}; - -Translator.prototype.translateInput = function(value, shape) { - this.mode = 'input'; - return this.translate(value, shape); -}; - -Translator.prototype.translateOutput = function(value, shape) { - this.mode = 'output'; - return this.translate(value, shape); -}; - -Translator.prototype.translate = function(value, shape) { - var self = this; - if (!shape || value === undefined) return undefined; - - if (shape.shape === self.attrValue) { - return convert[self.mode](value); - } - switch (shape.type) { - case 'structure': return self.translateStructure(value, shape); - case 'map': return self.translateMap(value, shape); - case 'list': return self.translateList(value, shape); - default: return self.translateScalar(value, shape); - } -}; - -Translator.prototype.translateStructure = function(structure, shape) { - var self = this; - if (structure == null) return undefined; - - var struct = {}; - util.each(structure, function(name, value) { - var memberShape = shape.members[name]; - if (memberShape) { - var result = self.translate(value, memberShape); - if (result !== undefined) struct[name] = result; - } - }); - return struct; -}; - -Translator.prototype.translateList = function(list, shape) { - var self = this; - if (list == null) return undefined; - - var out = []; - util.arrayEach(list, function(value) { - var result = self.translate(value, shape.member); - if (result === undefined) out.push(null); - else out.push(result); - }); - return out; -}; - -Translator.prototype.translateMap = function(map, shape) { - var self = this; - if (map == null) return undefined; - - var out = {}; - util.each(map, function(key, value) { - var result = self.translate(value, shape.value); - if (result === undefined) out[key] = null; - else out[key] = result; - }); - return out; -}; - -Translator.prototype.translateScalar = function(value, shape) { - return shape.toType(value); -}; - -module.exports = Translator; diff --git a/node_modules/aws-sdk/lib/dynamodb/types.js b/node_modules/aws-sdk/lib/dynamodb/types.js deleted file mode 100644 index 0a0b1d3..0000000 --- a/node_modules/aws-sdk/lib/dynamodb/types.js +++ /dev/null @@ -1,40 +0,0 @@ -var util = require('../core').util; - -function typeOf(data) { - if (data === null && typeof data === 'object') { - return 'null'; - } else if (data !== undefined && isBinary(data)) { - return 'Binary'; - } else if (data !== undefined && data.constructor) { - return util.typeName(data.constructor); - } else { - return 'undefined'; - } -} - -function isBinary(data) { - var types = [ - 'Buffer', 'File', 'Blob', 'ArrayBuffer', 'DataView', - 'Int8Array', 'Uint8Array', 'Uint8ClampedArray', - 'Int16Array', 'Uint16Array', 'Int32Array', 'Uint32Array', - 'Float32Array', 'Float64Array' - ]; - if (util.isNode()) { - var Stream = util.stream.Stream; - if (util.Buffer.isBuffer(data) || data instanceof Stream) - return true; - } else { - for (var i = 0; i < types.length; i++) { - if (data !== undefined && data.constructor) { - if (util.isType(data, types[i])) return true; - if (util.typeName(data.constructor) === types[i]) return true; - } - } - } - return false; -} - -module.exports = { - typeOf: typeOf, - isBinary: isBinary -}; diff --git a/node_modules/aws-sdk/lib/event_listeners.js b/node_modules/aws-sdk/lib/event_listeners.js deleted file mode 100644 index 8b23891..0000000 --- a/node_modules/aws-sdk/lib/event_listeners.js +++ /dev/null @@ -1,471 +0,0 @@ -var AWS = require('./core'); -var SequentialExecutor = require('./sequential_executor'); - -/** - * The namespace used to register global event listeners for request building - * and sending. - */ -AWS.EventListeners = { - /** - * @!attribute VALIDATE_CREDENTIALS - * A request listener that validates whether the request is being - * sent with credentials. - * Handles the {AWS.Request~validate 'validate' Request event} - * @example Sending a request without validating credentials - * var listener = AWS.EventListeners.Core.VALIDATE_CREDENTIALS; - * request.removeListener('validate', listener); - * @readonly - * @return [Function] - * @!attribute VALIDATE_REGION - * A request listener that validates whether the region is set - * for a request. - * Handles the {AWS.Request~validate 'validate' Request event} - * @example Sending a request without validating region configuration - * var listener = AWS.EventListeners.Core.VALIDATE_REGION; - * request.removeListener('validate', listener); - * @readonly - * @return [Function] - * @!attribute VALIDATE_PARAMETERS - * A request listener that validates input parameters in a request. - * Handles the {AWS.Request~validate 'validate' Request event} - * @example Sending a request without validating parameters - * var listener = AWS.EventListeners.Core.VALIDATE_PARAMETERS; - * request.removeListener('validate', listener); - * @example Disable parameter validation globally - * AWS.EventListeners.Core.removeListener('validate', - * AWS.EventListeners.Core.VALIDATE_REGION); - * @readonly - * @return [Function] - * @!attribute SEND - * A request listener that initiates the HTTP connection for a - * request being sent. Handles the {AWS.Request~send 'send' Request event} - * @example Replacing the HTTP handler - * var listener = AWS.EventListeners.Core.SEND; - * request.removeListener('send', listener); - * request.on('send', function(response) { - * customHandler.send(response); - * }); - * @return [Function] - * @readonly - * @!attribute HTTP_DATA - * A request listener that reads data from the HTTP connection in order - * to build the response data. - * Handles the {AWS.Request~httpData 'httpData' Request event}. - * Remove this handler if you are overriding the 'httpData' event and - * do not want extra data processing and buffering overhead. - * @example Disabling default data processing - * var listener = AWS.EventListeners.Core.HTTP_DATA; - * request.removeListener('httpData', listener); - * @return [Function] - * @readonly - */ - Core: {} /* doc hack */ -}; - -AWS.EventListeners = { - Core: new SequentialExecutor().addNamedListeners(function(add, addAsync) { - addAsync('VALIDATE_CREDENTIALS', 'validate', - function VALIDATE_CREDENTIALS(req, done) { - if (!req.service.api.signatureVersion) return done(); // none - req.service.config.getCredentials(function(err) { - if (err) { - req.response.error = AWS.util.error(err, - {code: 'CredentialsError', message: 'Missing credentials in config'}); - } - done(); - }); - }); - - add('VALIDATE_REGION', 'validate', function VALIDATE_REGION(req) { - if (!req.service.config.region && !req.service.isGlobalEndpoint) { - req.response.error = AWS.util.error(new Error(), - {code: 'ConfigError', message: 'Missing region in config'}); - } - }); - - add('VALIDATE_PARAMETERS', 'validate', function VALIDATE_PARAMETERS(req) { - var rules = req.service.api.operations[req.operation].input; - var validation = req.service.config.paramValidation; - new AWS.ParamValidator(validation).validate(rules, req.params); - }); - - addAsync('COMPUTE_SHA256', 'afterBuild', function COMPUTE_SHA256(req, done) { - req.haltHandlersOnError(); - if (!req.service.api.signatureVersion) return done(); // none - if (req.service.getSignerClass(req) === AWS.Signers.V4) { - var body = req.httpRequest.body || ''; - AWS.util.computeSha256(body, function(err, sha) { - if (err) { - done(err); - } - else { - req.httpRequest.headers['X-Amz-Content-Sha256'] = sha; - done(); - } - }); - } else { - done(); - } - }); - - add('SET_CONTENT_LENGTH', 'afterBuild', function SET_CONTENT_LENGTH(req) { - if (req.httpRequest.headers['Content-Length'] === undefined) { - var length = AWS.util.string.byteLength(req.httpRequest.body); - req.httpRequest.headers['Content-Length'] = length; - } - }); - - add('SET_HTTP_HOST', 'afterBuild', function SET_HTTP_HOST(req) { - req.httpRequest.headers['Host'] = req.httpRequest.endpoint.host; - }); - - add('RESTART', 'restart', function RESTART() { - var err = this.response.error; - if (!err || !err.retryable) return; - - this.httpRequest = new AWS.HttpRequest( - this.service.endpoint, - this.service.region - ); - - if (this.response.retryCount < this.service.config.maxRetries) { - this.response.retryCount++; - } else { - this.response.error = null; - } - }); - - addAsync('SIGN', 'sign', function SIGN(req, done) { - var service = req.service; - if (!service.api.signatureVersion) 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, - service.config.signatureCache); - 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; - - httpResp.on('headers', function onHeaders(statusCode, headers) { - resp.request.emit('httpHeaders', [statusCode, headers, resp]); - - if (!resp.httpResponse.streaming) { - if (AWS.HttpClient.streamsApiVersion === 2) { // streams2 API check - httpResp.on('readable', function onReadable() { - var data = httpResp.read(); - if (data !== null) { - resp.request.emit('httpData', [data, resp]); - } - }); - } else { // legacy streams API - httpResp.on('data', function onData(data) { - resp.request.emit('httpData', [data, resp]); - }); - } - } - }); - - httpResp.on('end', function onEnd() { - resp.request.emit('httpDone'); - done(); - }); - } - - function progress(httpResp) { - httpResp.on('sendProgress', function onSendProgress(value) { - resp.request.emit('httpUploadProgress', [value, resp]); - }); - - httpResp.on('receiveProgress', function onReceiveProgress(value) { - resp.request.emit('httpDownloadProgress', [value, resp]); - }); - } - - function error(err) { - resp.error = AWS.util.error(err, { - code: 'NetworkingError', - region: resp.request.httpRequest.region, - hostname: resp.request.httpRequest.endpoint.hostname, - retryable: true - }); - resp.request.emit('httpError', [resp.error, resp], function() { - done(); - }); - } - - function executeSend() { - var http = AWS.HttpClient.getInstance(); - var httpOptions = resp.request.service.config.httpOptions || {}; - try { - var stream = http.handleRequest(resp.request.httpRequest, httpOptions, - callback, error); - progress(stream); - } catch (err) { - error(err); - } - } - - var timeDiff = (AWS.util.date.getDate() - this.signedAt) / 1000; - if (timeDiff >= 60 * 10) { // if we signed 10min ago, re-sign - this.emit('sign', [this], function(err) { - if (err) done(err); - else executeSend(); - }); - } else { - executeSend(); - } - }); - - add('HTTP_HEADERS', 'httpHeaders', - function HTTP_HEADERS(statusCode, headers, resp) { - resp.httpResponse.statusCode = statusCode; - resp.httpResponse.headers = headers; - resp.httpResponse.body = new AWS.util.Buffer(''); - resp.httpResponse.buffers = []; - resp.httpResponse.numBytes = 0; - var dateHeader = headers.date || headers.Date; - if (dateHeader) { - var serverTime = Date.parse(dateHeader); - if (resp.request.service.config.correctClockSkew - && AWS.util.isClockSkewed(serverTime)) { - AWS.util.applyClockOffset(serverTime); - } - } - }); - - add('HTTP_DATA', 'httpData', function HTTP_DATA(chunk, resp) { - if (chunk) { - if (AWS.util.isNode()) { - resp.httpResponse.numBytes += chunk.length; - - var total = resp.httpResponse.headers['content-length']; - var progress = { loaded: resp.httpResponse.numBytes, total: total }; - resp.request.emit('httpDownloadProgress', [progress, resp]); - } - - resp.httpResponse.buffers.push(new AWS.util.Buffer(chunk)); - } - }); - - add('HTTP_DONE', 'httpDone', function HTTP_DONE(resp) { - // convert buffers array into single buffer - if (resp.httpResponse.buffers && resp.httpResponse.buffers.length > 0) { - var body = AWS.util.buffer.concat(resp.httpResponse.buffers); - resp.httpResponse.body = body; - } - delete resp.httpResponse.numBytes; - delete resp.httpResponse.buffers; - }); - - add('FINALIZE_ERROR', 'retry', function FINALIZE_ERROR(resp) { - if (resp.httpResponse.statusCode) { - resp.error.statusCode = resp.httpResponse.statusCode; - if (resp.error.retryable === undefined) { - resp.error.retryable = this.service.retryableError(resp.error, this); - } - } - }); - - add('INVALIDATE_CREDENTIALS', 'retry', function INVALIDATE_CREDENTIALS(resp) { - if (!resp.error) return; - switch (resp.error.code) { - case 'RequestExpired': // EC2 only - case 'ExpiredTokenException': - case 'ExpiredToken': - resp.error.retryable = true; - resp.request.service.config.credentials.expired = true; - } - }); - - add('EXPIRED_SIGNATURE', 'retry', function EXPIRED_SIGNATURE(resp) { - var err = resp.error; - if (!err) return; - if (typeof err.code === 'string' && typeof err.message === 'string') { - if (err.code.match(/Signature/) && err.message.match(/expired/)) { - resp.error.retryable = true; - } - } - }); - - add('CLOCK_SKEWED', 'retry', function CLOCK_SKEWED(resp) { - if (!resp.error) return; - if (this.service.clockSkewError(resp.error) - && this.service.config.correctClockSkew - && AWS.config.isClockSkewed) { - resp.error.retryable = true; - } - }); - - add('REDIRECT', 'retry', function REDIRECT(resp) { - if (resp.error && resp.error.statusCode >= 300 && - resp.error.statusCode < 400 && resp.httpResponse.headers['location']) { - this.httpRequest.endpoint = - new AWS.Endpoint(resp.httpResponse.headers['location']); - this.httpRequest.headers['Host'] = this.httpRequest.endpoint.host; - resp.error.redirect = true; - resp.error.retryable = true; - } - }); - - add('RETRY_CHECK', 'retry', function RETRY_CHECK(resp) { - if (resp.error) { - if (resp.error.redirect && resp.redirectCount < resp.maxRedirects) { - resp.error.retryDelay = 0; - } else if (resp.retryCount < resp.maxRetries) { - resp.error.retryDelay = this.service.retryDelays(resp.retryCount) || 0; - } - } - }); - - addAsync('RESET_RETRY_STATE', 'afterRetry', function RESET_RETRY_STATE(resp, done) { - var delay, willRetry = false; - - if (resp.error) { - delay = resp.error.retryDelay || 0; - if (resp.error.retryable && resp.retryCount < resp.maxRetries) { - resp.retryCount++; - willRetry = true; - } else if (resp.error.redirect && resp.redirectCount < resp.maxRedirects) { - resp.redirectCount++; - willRetry = true; - } - } - - if (willRetry) { - resp.error = null; - setTimeout(done, delay); - } else { - done(); - } - }); - }), - - CorePost: new SequentialExecutor().addNamedListeners(function(add) { - add('EXTRACT_REQUEST_ID', 'extractData', AWS.util.extractRequestId); - add('EXTRACT_REQUEST_ID', 'extractError', AWS.util.extractRequestId); - - add('ENOTFOUND_ERROR', 'httpError', function ENOTFOUND_ERROR(err) { - if (err.code === 'NetworkingError' && err.errno === 'ENOTFOUND') { - var message = 'Inaccessible host: `' + err.hostname + - '\'. This service may not be available in the `' + err.region + - '\' region.'; - this.response.error = AWS.util.error(new Error(message), { - code: 'UnknownEndpoint', - region: err.region, - hostname: err.hostname, - retryable: true, - originalError: err - }); - } - }); - }), - - Logger: new SequentialExecutor().addNamedListeners(function(add) { - add('LOG_REQUEST', 'complete', function LOG_REQUEST(resp) { - var req = resp.request; - var logger = req.service.config.logger; - if (!logger) return; - - function buildMessage() { - var time = AWS.util.date.getDate().getTime(); - var delta = (time - req.startTime.getTime()) / 1000; - var ansi = logger.isTTY ? true : false; - var status = resp.httpResponse.statusCode; - var params = require('util').inspect(req.params, true, null); - - var message = ''; - if (ansi) message += '\x1B[33m'; - message += '[AWS ' + req.service.serviceIdentifier + ' ' + status; - message += ' ' + delta.toString() + 's ' + resp.retryCount + ' retries]'; - if (ansi) message += '\x1B[0;1m'; - message += ' ' + AWS.util.string.lowerFirst(req.operation); - message += '(' + params + ')'; - if (ansi) message += '\x1B[0m'; - return message; - } - - var line = buildMessage(); - if (typeof logger.log === 'function') { - logger.log(line); - } else if (typeof logger.write === 'function') { - logger.write(line + '\n'); - } - }); - }), - - Json: new SequentialExecutor().addNamedListeners(function(add) { - var svc = require('./protocol/json'); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }), - - Rest: new SequentialExecutor().addNamedListeners(function(add) { - var svc = require('./protocol/rest'); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }), - - RestJson: new SequentialExecutor().addNamedListeners(function(add) { - var svc = require('./protocol/rest_json'); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }), - - RestXml: new SequentialExecutor().addNamedListeners(function(add) { - var svc = require('./protocol/rest_xml'); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }), - - Query: new SequentialExecutor().addNamedListeners(function(add) { - var svc = require('./protocol/query'); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }) -}; diff --git a/node_modules/aws-sdk/lib/http.js b/node_modules/aws-sdk/lib/http.js deleted file mode 100644 index 394088f..0000000 --- a/node_modules/aws-sdk/lib/http.js +++ /dev/null @@ -1,208 +0,0 @@ -var AWS = require('./core'); -var inherit = AWS.util.inherit; - -/** - * The endpoint that a service will talk to, for example, - * `'https://ec2.ap-southeast-1.amazonaws.com'`. If - * you need to override an endpoint for a service, you can - * set the endpoint on a service by passing the endpoint - * object with the `endpoint` option key: - * - * ```javascript - * var ep = new AWS.Endpoint('awsproxy.example.com'); - * var s3 = new AWS.S3({endpoint: ep}); - * s3.service.endpoint.hostname == 'awsproxy.example.com' - * ``` - * - * Note that if you do not specify a protocol, the protocol will - * be selected based on your current {AWS.config} configuration. - * - * @!attribute protocol - * @return [String] the protocol (http or https) of the endpoint - * URL - * @!attribute hostname - * @return [String] the host portion of the endpoint, e.g., - * example.com - * @!attribute host - * @return [String] the host portion of the endpoint including - * the port, e.g., example.com:80 - * @!attribute port - * @return [Integer] the port of the endpoint - * @!attribute href - * @return [String] the full URL of the endpoint - */ -AWS.Endpoint = inherit({ - - /** - * @overload Endpoint(endpoint) - * Constructs a new endpoint given an endpoint URL. If the - * URL omits a protocol (http or https), the default protocol - * set in the global {AWS.config} will be used. - * @param endpoint [String] the URL to construct an endpoint from - */ - constructor: function Endpoint(endpoint, config) { - AWS.util.hideProperties(this, ['slashes', 'auth', 'hash', 'search', 'query']); - - if (typeof endpoint === 'undefined' || endpoint === null) { - throw new Error('Invalid endpoint: ' + endpoint); - } else if (typeof endpoint !== 'string') { - return AWS.util.copy(endpoint); - } - - if (!endpoint.match(/^http/)) { - var useSSL = config && config.sslEnabled !== undefined ? - config.sslEnabled : AWS.config.sslEnabled; - endpoint = (useSSL ? 'https' : 'http') + '://' + endpoint; - } - - AWS.util.update(this, AWS.util.urlParse(endpoint)); - - // Ensure the port property is set as an integer - if (this.port) { - this.port = parseInt(this.port, 10); - } else { - this.port = this.protocol === 'https:' ? 443 : 80; - } - } - -}); - -/** - * The low level HTTP request object, encapsulating all HTTP header - * and body data sent by a service request. - * - * @!attribute method - * @return [String] the HTTP method of the request - * @!attribute path - * @return [String] the path portion of the URI, e.g., - * "/list/?start=5&num=10" - * @!attribute headers - * @return [map] - * a map of header keys and their respective values - * @!attribute body - * @return [String] the request body payload - * @!attribute endpoint - * @return [AWS.Endpoint] the endpoint for the request - * @!attribute region - * @api private - * @return [String] the region, for signing purposes only. - */ -AWS.HttpRequest = inherit({ - - /** - * @api private - */ - constructor: function HttpRequest(endpoint, region, customUserAgent) { - endpoint = new AWS.Endpoint(endpoint); - this.method = 'POST'; - this.path = endpoint.path || '/'; - this.headers = {}; - this.body = ''; - this.endpoint = endpoint; - this.region = region; - this.setUserAgent(customUserAgent); - }, - - /** - * @api private - */ - setUserAgent: function setUserAgent(customUserAgent) { - var prefix = AWS.util.isBrowser() ? 'X-Amz-' : ''; - var customSuffix = ''; - if (typeof customUserAgent === 'string' && customUserAgent) { - customSuffix += ' ' + customUserAgent; - } - this.headers[prefix + 'User-Agent'] = AWS.util.userAgent() + customSuffix; - }, - - /** - * @return [String] the part of the {path} excluding the - * query string - */ - pathname: function pathname() { - return this.path.split('?', 1)[0]; - }, - - /** - * @return [String] the query string portion of the {path} - */ - search: function search() { - var query = this.path.split('?', 2)[1]; - if (query) { - query = AWS.util.queryStringParse(query); - return AWS.util.queryParamsToString(query); - } - return ''; - } - -}); - -/** - * The low level HTTP response object, encapsulating all HTTP header - * and body data returned from the request. - * - * @!attribute statusCode - * @return [Integer] the HTTP status code of the response (e.g., 200, 404) - * @!attribute headers - * @return [map] - * a map of response header keys and their respective values - * @!attribute body - * @return [String] the response body payload - * @!attribute [r] streaming - * @return [Boolean] whether this response is being streamed at a low-level. - * Defaults to `false` (buffered reads). Do not modify this manually, use - * {createUnbufferedStream} to convert the stream to unbuffered mode - * instead. - */ -AWS.HttpResponse = inherit({ - - /** - * @api private - */ - constructor: function HttpResponse() { - this.statusCode = undefined; - this.headers = {}; - this.body = undefined; - this.streaming = false; - this.stream = null; - }, - - /** - * Disables buffering on the HTTP response and returns the stream for reading. - * @return [Stream, XMLHttpRequest, null] the underlying stream object. - * Use this object to directly read data off of the stream. - * @note This object is only available after the {AWS.Request~httpHeaders} - * event has fired. This method must be called prior to - * {AWS.Request~httpData}. - * @example Taking control of a stream - * request.on('httpHeaders', function(statusCode, headers) { - * if (statusCode < 300) { - * if (headers.etag === 'xyz') { - * // pipe the stream, disabling buffering - * var stream = this.response.httpResponse.createUnbufferedStream(); - * stream.pipe(process.stdout); - * } else { // abort this request and set a better error message - * this.abort(); - * this.response.error = new Error('Invalid ETag'); - * } - * } - * }).send(console.log); - */ - createUnbufferedStream: function createUnbufferedStream() { - this.streaming = true; - return this.stream; - } -}); - - -AWS.HttpClient = inherit({}); - -/** - * @api private - */ -AWS.HttpClient.getInstance = function getInstance() { - if (this.singleton === undefined) { - this.singleton = new this(); - } - return this.singleton; -}; diff --git a/node_modules/aws-sdk/lib/http/node.js b/node_modules/aws-sdk/lib/http/node.js deleted file mode 100644 index 644f993..0000000 --- a/node_modules/aws-sdk/lib/http/node.js +++ /dev/null @@ -1,169 +0,0 @@ -var AWS = require('../core'); -var Stream = AWS.util.stream.Stream; -var TransformStream = AWS.util.stream.Transform; -var ReadableStream = AWS.util.stream.Readable; -require('../http'); - -/** - * @api private - */ -AWS.NodeHttpClient = AWS.util.inherit({ - handleRequest: function handleRequest(httpRequest, httpOptions, callback, errCallback) { - var self = this; - var cbAlreadyCalled = false; - var endpoint = httpRequest.endpoint; - var pathPrefix = ''; - if (!httpOptions) httpOptions = {}; - if (httpOptions.proxy) { - pathPrefix = endpoint.protocol + '//' + endpoint.hostname; - if (endpoint.port !== 80 && endpoint.port !== 443) { - pathPrefix += ':' + endpoint.port; - } - endpoint = new AWS.Endpoint(httpOptions.proxy); - } - - var useSSL = endpoint.protocol === 'https:'; - var http = useSSL ? require('https') : require('http'); - var options = { - host: endpoint.hostname, - port: endpoint.port, - method: httpRequest.method, - headers: httpRequest.headers, - path: pathPrefix + httpRequest.path - }; - - if (useSSL && !httpOptions.agent) { - options.agent = this.sslAgent(); - } - - AWS.util.update(options, httpOptions); - delete options.proxy; // proxy isn't an HTTP option - delete options.timeout; // timeout isn't an HTTP option - - var stream = http.request(options, function (httpResp) { - if (cbAlreadyCalled) return; cbAlreadyCalled = true; - - callback(httpResp); - httpResp.emit('headers', httpResp.statusCode, httpResp.headers); - }); - httpRequest.stream = stream; // attach stream to httpRequest - - // timeout support - stream.setTimeout(httpOptions.timeout || 0, function() { - if (cbAlreadyCalled) return; cbAlreadyCalled = true; - - var msg = 'Connection timed out after ' + httpOptions.timeout + 'ms'; - errCallback(AWS.util.error(new Error(msg), {code: 'TimeoutError'})); - stream.abort(); - }); - - stream.on('error', function() { - if (cbAlreadyCalled) return; cbAlreadyCalled = true; - errCallback.apply(this, arguments); - }); - - var expect = httpRequest.headers.Expect || httpRequest.headers.expect; - if (expect === '100-continue') { - stream.on('continue', function() { - self.writeBody(stream, httpRequest); - }); - } else { - this.writeBody(stream, httpRequest); - } - - return stream; - }, - - writeBody: function writeBody(stream, httpRequest) { - var body = httpRequest.body; - var totalBytes = parseInt(httpRequest.headers['Content-Length'], 10); - - if (body instanceof Stream) { - // For progress support of streaming content - - // pipe the data through a transform stream to emit 'sendProgress' events - var progressStream = this.progressStream(stream, totalBytes); - if (progressStream) { - body.pipe(progressStream).pipe(stream); - } else { - body.pipe(stream); - } - } else if (body) { - // The provided body is a buffer/string and is already fully available in memory - - // For performance it's best to send it as a whole by calling stream.end(body), - // Callers expect a 'sendProgress' event which is best emitted once - // the http request stream has been fully written and all data flushed. - // The use of totalBytes is important over body.length for strings where - // length is char length and not byte length. - stream.once('finish', function() { - stream.emit('sendProgress', { - loaded: totalBytes, - total: totalBytes - }); - }); - stream.end(body); - } else { - // no request body - stream.end(); - } - }, - - sslAgent: function sslAgent() { - var https = require('https'); - - if (!AWS.NodeHttpClient.sslAgent) { - AWS.NodeHttpClient.sslAgent = new https.Agent({rejectUnauthorized: true}); - AWS.NodeHttpClient.sslAgent.setMaxListeners(0); - - // delegate maxSockets to globalAgent, set a default limit of 50 if current value is Infinity. - // Users can bypass this default by supplying their own Agent as part of SDK configuration. - Object.defineProperty(AWS.NodeHttpClient.sslAgent, 'maxSockets', { - enumerable: true, - get: function() { - var defaultMaxSockets = 50; - var globalAgent = https.globalAgent; - if (globalAgent && globalAgent.maxSockets !== Infinity && typeof globalAgent.maxSockets === 'number') { - return globalAgent.maxSockets; - } - return defaultMaxSockets; - } - }); - } - return AWS.NodeHttpClient.sslAgent; - }, - - progressStream: function progressStream(stream, totalBytes) { - if (typeof TransformStream === 'undefined') { - // for node 0.8 there is no streaming progress - return; - } - var loadedBytes = 0; - var reporter = new TransformStream(); - reporter._transform = function(chunk, encoding, callback) { - if (chunk) { - loadedBytes += chunk.length; - stream.emit('sendProgress', { - loaded: loadedBytes, - total: totalBytes - }); - } - callback(null, chunk); - }; - return reporter; - }, - - emitter: null -}); - -/** - * @!ignore - */ - -/** - * @api private - */ -AWS.HttpClient.prototype = AWS.NodeHttpClient.prototype; - -/** - * @api private - */ -AWS.HttpClient.streamsApiVersion = ReadableStream ? 2 : 1; diff --git a/node_modules/aws-sdk/lib/http/xhr.js b/node_modules/aws-sdk/lib/http/xhr.js deleted file mode 100644 index 9fc80a7..0000000 --- a/node_modules/aws-sdk/lib/http/xhr.js +++ /dev/null @@ -1,122 +0,0 @@ -var AWS = require('../core'); -var EventEmitter = require('events').EventEmitter; -require('../http'); - -/** - * @api private - */ -AWS.XHRClient = AWS.util.inherit({ - handleRequest: function handleRequest(httpRequest, httpOptions, callback, errCallback) { - var self = this; - var endpoint = httpRequest.endpoint; - var emitter = new EventEmitter(); - var href = endpoint.protocol + '//' + endpoint.hostname; - if (endpoint.port !== 80 && endpoint.port !== 443) { - href += ':' + endpoint.port; - } - href += httpRequest.path; - - var xhr = new XMLHttpRequest(), headersEmitted = false; - httpRequest.stream = xhr; - - xhr.addEventListener('readystatechange', function() { - try { - if (xhr.status === 0) return; // 0 code is invalid - } catch (e) { return; } - - if (this.readyState >= this.HEADERS_RECEIVED && !headersEmitted) { - try { xhr.responseType = 'arraybuffer'; } catch (e) {} - emitter.statusCode = xhr.status; - emitter.headers = self.parseHeaders(xhr.getAllResponseHeaders()); - emitter.emit('headers', emitter.statusCode, emitter.headers); - headersEmitted = true; - } - if (this.readyState === this.DONE) { - self.finishRequest(xhr, emitter); - } - }, false); - xhr.upload.addEventListener('progress', function (evt) { - emitter.emit('sendProgress', evt); - }); - xhr.addEventListener('progress', function (evt) { - emitter.emit('receiveProgress', evt); - }, false); - xhr.addEventListener('timeout', function () { - errCallback(AWS.util.error(new Error('Timeout'), {code: 'TimeoutError'})); - }, false); - xhr.addEventListener('error', function () { - errCallback(AWS.util.error(new Error('Network Failure'), { - code: 'NetworkingError' - })); - }, false); - - callback(emitter); - xhr.open(httpRequest.method, href, httpOptions.xhrAsync !== false); - AWS.util.each(httpRequest.headers, function (key, value) { - if (key !== 'Content-Length' && key !== 'User-Agent' && key !== 'Host') { - xhr.setRequestHeader(key, value); - } - }); - - if (httpOptions.timeout && httpOptions.xhrAsync !== false) { - xhr.timeout = httpOptions.timeout; - } - - if (httpOptions.xhrWithCredentials) { - xhr.withCredentials = true; - } - - try { - xhr.send(httpRequest.body); - } catch (err) { - if (httpRequest.body && typeof httpRequest.body.buffer === 'object') { - xhr.send(httpRequest.body.buffer); // send ArrayBuffer directly - } else { - throw err; - } - } - - return emitter; - }, - - parseHeaders: function parseHeaders(rawHeaders) { - var headers = {}; - AWS.util.arrayEach(rawHeaders.split(/\r?\n/), function (line) { - var key = line.split(':', 1)[0]; - var value = line.substring(key.length + 2); - if (key.length > 0) headers[key.toLowerCase()] = value; - }); - return headers; - }, - - finishRequest: function finishRequest(xhr, emitter) { - var buffer; - if (xhr.responseType === 'arraybuffer' && xhr.response) { - var ab = xhr.response; - buffer = new AWS.util.Buffer(ab.byteLength); - var view = new Uint8Array(ab); - for (var i = 0; i < buffer.length; ++i) { - buffer[i] = view[i]; - } - } - - try { - if (!buffer && typeof xhr.responseText === 'string') { - buffer = new AWS.util.Buffer(xhr.responseText); - } - } catch (e) {} - - if (buffer) emitter.emit('data', buffer); - emitter.emit('end'); - } -}); - -/** - * @api private - */ -AWS.HttpClient.prototype = AWS.XHRClient.prototype; - -/** - * @api private - */ -AWS.HttpClient.streamsApiVersion = 1; diff --git a/node_modules/aws-sdk/lib/json/builder.js b/node_modules/aws-sdk/lib/json/builder.js deleted file mode 100644 index 53cb9eb..0000000 --- a/node_modules/aws-sdk/lib/json/builder.js +++ /dev/null @@ -1,56 +0,0 @@ -var util = require('../util'); - -function JsonBuilder() { } - -JsonBuilder.prototype.build = function(value, shape) { - return JSON.stringify(translate(value, shape)); -}; - -function translate(value, shape) { - if (!shape || value === undefined || value === null) return undefined; - - switch (shape.type) { - case 'structure': return translateStructure(value, shape); - case 'map': return translateMap(value, shape); - case 'list': return translateList(value, shape); - default: return translateScalar(value, shape); - } -} - -function translateStructure(structure, shape) { - var struct = {}; - util.each(structure, function(name, value) { - var memberShape = shape.members[name]; - if (memberShape) { - if (memberShape.location !== 'body') return; - var locationName = memberShape.isLocationName ? memberShape.name : name; - var result = translate(value, memberShape); - if (result !== undefined) struct[locationName] = result; - } - }); - return struct; -} - -function translateList(list, shape) { - var out = []; - util.arrayEach(list, function(value) { - var result = translate(value, shape.member); - if (result !== undefined) out.push(result); - }); - return out; -} - -function translateMap(map, shape) { - var out = {}; - util.each(map, function(key, value) { - var result = translate(value, shape.value); - if (result !== undefined) out[key] = result; - }); - return out; -} - -function translateScalar(value, shape) { - return shape.toWireFormat(value); -} - -module.exports = JsonBuilder; diff --git a/node_modules/aws-sdk/lib/json/parser.js b/node_modules/aws-sdk/lib/json/parser.js deleted file mode 100644 index dc3b33f..0000000 --- a/node_modules/aws-sdk/lib/json/parser.js +++ /dev/null @@ -1,64 +0,0 @@ -var util = require('../util'); - -function JsonParser() { } - -JsonParser.prototype.parse = function(value, shape) { - return translate(JSON.parse(value), shape); -}; - -function translate(value, shape) { - if (!shape || value === undefined) return undefined; - - switch (shape.type) { - case 'structure': return translateStructure(value, shape); - case 'map': return translateMap(value, shape); - case 'list': return translateList(value, shape); - default: return translateScalar(value, shape); - } -} - -function translateStructure(structure, shape) { - if (structure == null) return undefined; - - var struct = {}; - var shapeMembers = shape.members; - util.each(shapeMembers, function(name, memberShape) { - var locationName = memberShape.isLocationName ? memberShape.name : name; - if (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; diff --git a/node_modules/aws-sdk/lib/metadata_service.js b/node_modules/aws-sdk/lib/metadata_service.js deleted file mode 100644 index 08f5081..0000000 --- a/node_modules/aws-sdk/lib/metadata_service.js +++ /dev/null @@ -1,121 +0,0 @@ -var AWS = require('./core'); -require('./http'); -var inherit = AWS.util.inherit; - -/** - * Represents a metadata service available on EC2 instances. Using the - * {request} method, you can receieve metadata about any available resource - * on the metadata service. - * - * @!attribute [r] httpOptions - * @return [map] a map of options to pass to the underlying HTTP request: - * - * * **timeout** (Number) — a timeout value in milliseconds to wait - * before aborting the connection. Set to 0 for no timeout. - * - * @!macro nobrowser - */ -AWS.MetadataService = inherit({ - /** - * @return [String] the hostname of the instance metadata service - */ - host: '169.254.169.254', - - /** - * @!ignore - */ - - /** - * Default HTTP options. By default, the metadata service is set to not - * timeout on long requests. This means that on non-EC2 machines, this - * request will never return. If you are calling this operation from an - * environment that may not always run on EC2, set a `timeout` value so - * the SDK will abort the request after a given number of milliseconds. - */ - httpOptions: { timeout: 0 }, - - /** - * Creates a new MetadataService object with a given set of options. - * - * @option options host [String] the hostname of the instance metadata - * service - * @option options httpOptions [map] a map of options to pass to the - * underlying HTTP request: - * - * * **timeout** (Number) — a timeout value in milliseconds to wait - * before aborting the connection. Set to 0 for no timeout. - * @option options maxRetries [Integer] the maximum number of retries to - * perform for timeout errors - * @option options retryDelayOptions [map] A set of options to configure the - * retry delay on retryable errors. See AWS.Config for details. - */ - constructor: function MetadataService(options) { - AWS.util.update(this, options); - }, - - /** - * Sends a request to the instance metadata service for a given resource. - * - * @param path [String] the path of the resource to get - * @callback callback function(err, data) - * Called when a response is available from the service. - * @param err [Error, null] if an error occurred, this value will be set - * @param data [String, null] if the request was successful, the body of - * the response - */ - request: function request(path, callback) { - path = path || '/'; - var httpRequest = new AWS.HttpRequest('http://' + this.host + path); - httpRequest.method = 'GET'; - AWS.util.handleRequestWithRetries(httpRequest, this, callback); - }, - - /** - * @api private - */ - loadCredentialsCallbacks: [], - - /** - * Loads a set of credentials stored in the instance metadata service - * - * @api private - * @callback callback function(err, credentials) - * Called when credentials are loaded from the resource - * @param err [Error] if an error occurred, this value will be set - * @param credentials [Object] the raw JSON object containing all - * metadata from the credentials resource - */ - loadCredentials: function loadCredentials(callback) { - var self = this; - var basePath = '/latest/meta-data/iam/security-credentials/'; - self.loadCredentialsCallbacks.push(callback); - if (self.loadCredentialsCallbacks.length > 1) { return; } - - function callbacks(err, creds) { - var cb; - while ((cb = self.loadCredentialsCallbacks.shift()) !== undefined) { - cb(err, creds); - } - } - - self.request(basePath, function (err, roleName) { - if (err) callbacks(err); - else { - roleName = roleName.split('\n')[0]; // grab first (and only) role - self.request(basePath + roleName, function (credErr, credData) { - if (credErr) callbacks(credErr); - else { - try { - var credentials = JSON.parse(credData); - callbacks(null, credentials); - } catch (parseError) { - callbacks(parseError); - } - } - }); - } - }); - } -}); - -module.exports = AWS.MetadataService; diff --git a/node_modules/aws-sdk/lib/model/api.js b/node_modules/aws-sdk/lib/model/api.js deleted file mode 100644 index 53c7384..0000000 --- a/node_modules/aws-sdk/lib/model/api.js +++ /dev/null @@ -1,63 +0,0 @@ -var Collection = require('./collection'); -var Operation = require('./operation'); -var Shape = require('./shape'); -var Paginator = require('./paginator'); -var ResourceWaiter = require('./resource_waiter'); - -var util = require('../util'); -var property = util.property; -var memoizedProperty = util.memoizedProperty; - -function Api(api, options) { - api = api || {}; - options = options || {}; - options.api = this; - - api.metadata = api.metadata || {}; - - property(this, 'isApi', true, false); - property(this, 'apiVersion', api.metadata.apiVersion); - property(this, 'endpointPrefix', api.metadata.endpointPrefix); - property(this, 'signingName', api.metadata.signingName); - property(this, 'globalEndpoint', api.metadata.globalEndpoint); - property(this, 'signatureVersion', api.metadata.signatureVersion); - property(this, 'jsonVersion', api.metadata.jsonVersion); - property(this, 'targetPrefix', api.metadata.targetPrefix); - property(this, 'protocol', api.metadata.protocol); - property(this, 'timestampFormat', api.metadata.timestampFormat); - property(this, 'xmlNamespaceUri', api.metadata.xmlNamespace); - property(this, 'abbreviation', api.metadata.serviceAbbreviation); - property(this, 'fullName', api.metadata.serviceFullName); - - memoizedProperty(this, 'className', function() { - var name = api.metadata.serviceAbbreviation || api.metadata.serviceFullName; - if (!name) return null; - - name = name.replace(/^Amazon|AWS\s*|\(.*|\s+|\W+/g, ''); - if (name === 'ElasticLoadBalancing') name = 'ELB'; - return name; - }); - - property(this, 'operations', new Collection(api.operations, options, function(name, operation) { - return new Operation(name, operation, options); - }, util.string.lowerFirst)); - - property(this, 'shapes', new Collection(api.shapes, options, function(name, shape) { - return Shape.create(shape, options); - })); - - property(this, 'paginators', new Collection(api.paginators, options, function(name, paginator) { - return new Paginator(name, paginator, options); - })); - - property(this, 'waiters', new Collection(api.waiters, options, function(name, waiter) { - return new ResourceWaiter(name, waiter, options); - }, util.string.lowerFirst)); - - if (options.documentation) { - property(this, 'documentation', api.documentation); - property(this, 'documentationUrl', api.documentationUrl); - } -} - -module.exports = Api; diff --git a/node_modules/aws-sdk/lib/model/collection.js b/node_modules/aws-sdk/lib/model/collection.js deleted file mode 100644 index 439103f..0000000 --- a/node_modules/aws-sdk/lib/model/collection.js +++ /dev/null @@ -1,20 +0,0 @@ -var memoizedProperty = require('../util').memoizedProperty; - -function memoize(name, value, fn, nameTr) { - memoizedProperty(this, nameTr(name), function() { - return fn(name, value); - }); -} - -function Collection(iterable, options, fn, nameTr) { - nameTr = nameTr || String; - var self = this; - - for (var id in iterable) { - if (Object.prototype.hasOwnProperty.call(iterable, id)) { - memoize.call(self, id, iterable[id], fn, nameTr); - } - } -} - -module.exports = Collection; diff --git a/node_modules/aws-sdk/lib/model/operation.js b/node_modules/aws-sdk/lib/model/operation.js deleted file mode 100644 index 616d5fe..0000000 --- a/node_modules/aws-sdk/lib/model/operation.js +++ /dev/null @@ -1,53 +0,0 @@ -var Shape = require('./shape'); - -var util = require('../util'); -var property = util.property; -var memoizedProperty = util.memoizedProperty; - -function Operation(name, operation, options) { - options = options || {}; - - property(this, 'name', operation.name || name); - property(this, 'api', options.api, false); - - operation.http = operation.http || {}; - property(this, 'httpMethod', operation.http.method || 'POST'); - property(this, 'httpPath', operation.http.requestUri || '/'); - 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); - } -} - -module.exports = Operation; diff --git a/node_modules/aws-sdk/lib/model/paginator.js b/node_modules/aws-sdk/lib/model/paginator.js deleted file mode 100644 index 1fad68e..0000000 --- a/node_modules/aws-sdk/lib/model/paginator.js +++ /dev/null @@ -1,11 +0,0 @@ -var property = require('../util').property; - -function Paginator(name, paginator) { - property(this, 'inputToken', paginator.input_token); - property(this, 'limitKey', paginator.limit_key); - property(this, 'moreResults', paginator.more_results); - property(this, 'outputToken', paginator.output_token); - property(this, 'resultKey', paginator.result_key); -} - -module.exports = Paginator; diff --git a/node_modules/aws-sdk/lib/model/resource_waiter.js b/node_modules/aws-sdk/lib/model/resource_waiter.js deleted file mode 100644 index 110482b..0000000 --- a/node_modules/aws-sdk/lib/model/resource_waiter.js +++ /dev/null @@ -1,30 +0,0 @@ -var util = require('../util'); -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; diff --git a/node_modules/aws-sdk/lib/model/shape.js b/node_modules/aws-sdk/lib/model/shape.js deleted file mode 100644 index 44ac3d7..0000000 --- a/node_modules/aws-sdk/lib/model/shape.js +++ /dev/null @@ -1,346 +0,0 @@ -var Collection = require('./collection'); - -var util = require('../util'); - -function property(obj, name, value) { - if (value !== null && value !== undefined) { - util.property.apply(this, arguments); - } -} - -function memoizedProperty(obj, name) { - if (!obj.constructor.prototype[name]) { - util.memoizedProperty.apply(this, arguments); - } -} - -function Shape(shape, options, memberName) { - options = options || {}; - - property(this, 'shape', shape.shape); - property(this, 'api', options.api, false); - property(this, 'type', shape.type); - property(this, 'enum', shape.enum); - property(this, 'min', shape.min); - property(this, 'max', shape.max); - property(this, 'pattern', shape.pattern); - property(this, 'location', shape.location || this.location || 'body'); - property(this, 'name', this.name || shape.xmlName || shape.queryName || - shape.locationName || memberName); - property(this, 'isStreaming', shape.streaming || this.isStreaming || false); - property(this, 'isComposite', shape.isComposite || false); - property(this, 'isShape', true, false); - property(this, 'isQueryName', shape.queryName ? true : false, false); - property(this, 'isLocationName', shape.locationName ? true : false, false); - - if (options.documentation) { - property(this, 'documentation', shape.documentation); - property(this, 'documentationUrl', shape.documentationUrl); - } - - if (shape.xmlAttribute) { - property(this, 'isXmlAttribute', shape.xmlAttribute || false); - } - - // type conversion and parsing - property(this, 'defaultValue', null); - this.toWireFormat = function(value) { - if (value === null || value === undefined) return ''; - return value; - }; - this.toType = function(value) { return value; }; -} - -/** - * @api private - */ -Shape.normalizedTypes = { - character: 'string', - double: 'float', - long: 'integer', - short: 'integer', - biginteger: 'integer', - bigdecimal: 'float', - blob: 'binary' -}; - -/** - * @api private - */ -Shape.types = { - 'structure': StructureShape, - 'list': ListShape, - 'map': MapShape, - 'boolean': BooleanShape, - 'timestamp': TimestampShape, - 'float': FloatShape, - 'integer': IntegerShape, - 'string': StringShape, - 'base64': Base64Shape, - 'binary': BinaryShape -}; - -Shape.resolve = function resolve(shape, options) { - if (shape.shape) { - var refShape = options.api.shapes[shape.shape]; - if (!refShape) { - throw new Error('Cannot find shape reference: ' + shape.shape); - } - - return refShape; - } else { - return null; - } -}; - -Shape.create = function create(shape, options, memberName) { - if (shape.isShape) return shape; - - var refShape = Shape.resolve(shape, options); - if (refShape) { - var filteredKeys = Object.keys(shape); - if (!options.documentation) { - filteredKeys = filteredKeys.filter(function(name) { - return !name.match(/documentation/); - }); - } - if (filteredKeys === ['shape']) { // no inline customizations - return refShape; - } - - // create an inline shape with extra members - var InlineShape = function() { - refShape.constructor.call(this, shape, options, memberName); - }; - InlineShape.prototype = refShape; - return new InlineShape(); - } else { - // set type if not set - if (!shape.type) { - if (shape.members) shape.type = 'structure'; - else if (shape.member) shape.type = 'list'; - else if (shape.key) shape.type = 'map'; - else shape.type = 'string'; - } - - // normalize types - var origType = shape.type; - if (Shape.normalizedTypes[shape.type]) { - shape.type = Shape.normalizedTypes[shape.type]; - } - - if (Shape.types[shape.type]) { - return new Shape.types[shape.type](shape, options, memberName); - } else { - throw new Error('Unrecognized shape type: ' + origType); - } - } -}; - -function CompositeShape(shape) { - Shape.apply(this, arguments); - property(this, 'isComposite', true); - - if (shape.flattened) { - property(this, 'flattened', shape.flattened || false); - } -} - -function StructureShape(shape, options) { - var requiredMap = null, firstInit = !this.isShape; - - CompositeShape.apply(this, arguments); - - if (firstInit) { - property(this, 'defaultValue', function() { return {}; }); - property(this, 'members', {}); - property(this, 'memberNames', []); - property(this, 'required', []); - property(this, 'isRequired', function() { return false; }); - } - - if (shape.members) { - property(this, 'members', new Collection(shape.members, options, function(name, member) { - return Shape.create(member, options, name); - })); - memoizedProperty(this, 'memberNames', function() { - return shape.xmlOrder || Object.keys(shape.members); - }); - } - - if (shape.required) { - property(this, 'required', shape.required); - property(this, 'isRequired', function(name) { - if (!requiredMap) { - requiredMap = {}; - for (var i = 0; i < shape.required.length; i++) { - requiredMap[shape.required[i]] = true; - } - } - - return requiredMap[name]; - }, false, true); - } - - property(this, 'resultWrapper', shape.resultWrapper || null); - - if (shape.payload) { - property(this, 'payload', shape.payload); - } - - if (typeof shape.xmlNamespace === 'string') { - property(this, 'xmlNamespaceUri', shape.xmlNamespace); - } else if (typeof shape.xmlNamespace === 'object') { - property(this, 'xmlNamespacePrefix', shape.xmlNamespace.prefix); - property(this, 'xmlNamespaceUri', shape.xmlNamespace.uri); - } -} - -function ListShape(shape, options) { - var self = this, firstInit = !this.isShape; - CompositeShape.apply(this, arguments); - - if (firstInit) { - property(this, 'defaultValue', function() { return []; }); - } - - if (shape.member) { - memoizedProperty(this, 'member', function() { - return Shape.create(shape.member, options); - }); - } - - if (this.flattened) { - var oldName = this.name; - memoizedProperty(this, 'name', function() { - return self.member.name || oldName; - }); - } -} - -function MapShape(shape, options) { - var firstInit = !this.isShape; - CompositeShape.apply(this, arguments); - - if (firstInit) { - property(this, 'defaultValue', function() { return {}; }); - property(this, 'key', Shape.create({type: 'string'}, options)); - property(this, 'value', Shape.create({type: 'string'}, options)); - } - - if (shape.key) { - memoizedProperty(this, 'key', function() { - return Shape.create(shape.key, options); - }); - } - if (shape.value) { - memoizedProperty(this, 'value', function() { - return Shape.create(shape.value, options); - }); - } -} - -function TimestampShape(shape) { - var self = this; - Shape.apply(this, arguments); - - if (this.location === 'header') { - property(this, 'timestampFormat', 'rfc822'); - } else if (shape.timestampFormat) { - property(this, 'timestampFormat', shape.timestampFormat); - } else if (this.api) { - if (this.api.timestampFormat) { - property(this, 'timestampFormat', this.api.timestampFormat); - } else { - switch (this.api.protocol) { - case 'json': - case 'rest-json': - property(this, 'timestampFormat', 'unixTimestamp'); - break; - case 'rest-xml': - case 'query': - case 'ec2': - property(this, 'timestampFormat', 'iso8601'); - break; - } - } - } - - this.toType = function(value) { - if (value === null || value === undefined) return null; - if (typeof value.toUTCString === 'function') return value; - return typeof value === 'string' || typeof value === 'number' ? - util.date.parseTimestamp(value) : null; - }; - - this.toWireFormat = function(value) { - return util.date.format(value, self.timestampFormat); - }; -} - -function StringShape() { - Shape.apply(this, arguments); - - if (this.api) { - switch (this.api.protocol) { - case 'rest-xml': - case 'query': - case 'ec2': - this.toType = function(value) { return value || ''; }; - } - } -} - -function FloatShape() { - Shape.apply(this, arguments); - - this.toType = function(value) { - if (value === null || value === undefined) return null; - return parseFloat(value); - }; - this.toWireFormat = this.toType; -} - -function IntegerShape() { - Shape.apply(this, arguments); - - this.toType = function(value) { - if (value === null || value === undefined) return null; - return parseInt(value, 10); - }; - this.toWireFormat = this.toType; -} - -function BinaryShape() { - Shape.apply(this, arguments); - this.toType = util.base64.decode; - this.toWireFormat = util.base64.encode; -} - -function Base64Shape() { - BinaryShape.apply(this, arguments); -} - -function BooleanShape() { - Shape.apply(this, arguments); - - this.toType = function(value) { - if (typeof value === 'boolean') return value; - if (value === null || value === undefined) return null; - return value === 'true'; - }; -} - -/** - * @api private - */ -Shape.shapes = { - StructureShape: StructureShape, - ListShape: ListShape, - MapShape: MapShape, - StringShape: StringShape, - BooleanShape: BooleanShape, - Base64Shape: Base64Shape -}; - -module.exports = Shape; diff --git a/node_modules/aws-sdk/lib/node_loader.js b/node_modules/aws-sdk/lib/node_loader.js deleted file mode 100644 index adb25a2..0000000 --- a/node_modules/aws-sdk/lib/node_loader.js +++ /dev/null @@ -1,67 +0,0 @@ -var util = require('./util'); - -// node.js specific modules -util.crypto.lib = require('crypto'); -util.Buffer = require('buffer').Buffer; -util.domain = require('domain'); -util.stream = require('stream'); -util.url = require('url'); -util.querystring = require('querystring'); - -var AWS = require('./core'); - -// Use default API loader function -require('./api_loader'); - -// Load the xml2js XML parser -AWS.XML.Parser = require('./xml/node_parser'); - -// Load Node HTTP client -require('./http/node'); - -// Load custom credential providers -require('./credentials/ec2_metadata_credentials'); -require('./credentials/ecs_credentials'); -require('./credentials/environment_credentials'); -require('./credentials/file_system_credentials'); -require('./credentials/shared_ini_file_credentials'); - -// Setup default chain providers -// If this changes, please update documentation for -// AWS.CredentialProviderChain.defaultProviders in -// credentials/credential_provider_chain.js -AWS.CredentialProviderChain.defaultProviders = [ - function () { return new AWS.EnvironmentCredentials('AWS'); }, - function () { return new AWS.EnvironmentCredentials('AMAZON'); }, - function () { return new AWS.SharedIniFileCredentials(); }, - function () { - if (AWS.ECSCredentials.prototype.getECSRelativeUri() !== undefined) { - return new AWS.ECSCredentials(); - } - return new AWS.EC2MetadataCredentials(); - } -]; - -// Update configuration keys -AWS.util.update(AWS.Config.prototype.keys, { - credentials: function () { - var credentials = null; - new AWS.CredentialProviderChain([ - function () { return new AWS.EnvironmentCredentials('AWS'); }, - function () { return new AWS.EnvironmentCredentials('AMAZON'); }, - function () { return new AWS.SharedIniFileCredentials({ disableAssumeRole: true }); } - ]).resolve(function(err, creds) { - if (!err) credentials = creds; - }); - return credentials; - }, - credentialProvider: function() { - return new AWS.CredentialProviderChain(); - }, - region: function() { - return process.env.AWS_REGION || process.env.AMAZON_REGION; - } -}); - -// Reset configuration -AWS.config = new AWS.Config(); diff --git a/node_modules/aws-sdk/lib/param_validator.js b/node_modules/aws-sdk/lib/param_validator.js deleted file mode 100644 index cc42698..0000000 --- a/node_modules/aws-sdk/lib/param_validator.js +++ /dev/null @@ -1,254 +0,0 @@ -var AWS = require('./core'); - -/** - * @api private - */ -AWS.ParamValidator = AWS.util.inherit({ - /** - * Create a new validator object. - * - * @param validation [Boolean|map] whether input parameters should be - * validated against the operation description before sending the - * request. Pass a map to enable any of the following specific - * validation features: - * - * * **min** [Boolean] — Validates that a value meets the min - * constraint. This is enabled by default when paramValidation is set - * to `true`. - * * **max** [Boolean] — Validates that a value meets the max - * constraint. - * * **pattern** [Boolean] — Validates that a string value matches a - * regular expression. - * * **enum** [Boolean] — Validates that a string value matches one - * of the allowable enum values. - */ - constructor: function ParamValidator(validation) { - if (validation === true || validation === undefined) { - validation = {'min': true}; - } - this.validation = validation; - }, - - validate: function validate(shape, params, context) { - this.errors = []; - this.validateMember(shape, params || {}, context || 'params'); - - if (this.errors.length > 1) { - var msg = this.errors.join('\n* '); - msg = 'There were ' + this.errors.length + - ' validation errors:\n* ' + msg; - throw AWS.util.error(new Error(msg), - {code: 'MultipleValidationErrors', errors: this.errors}); - } else if (this.errors.length === 1) { - throw this.errors[0]; - } else { - return true; - } - }, - - fail: function fail(code, message) { - this.errors.push(AWS.util.error(new Error(message), {code: code})); - }, - - validateStructure: function validateStructure(shape, params, context) { - this.validateType(params, context, ['object'], 'structure'); - - var paramName; - for (var i = 0; shape.required && i < shape.required.length; i++) { - paramName = shape.required[i]; - var value = params[paramName]; - if (value === undefined || value === null) { - this.fail('MissingRequiredParameter', - 'Missing required key \'' + paramName + '\' in ' + context); - } - } - - // validate hash members - for (paramName in params) { - if (!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) { - if (this.validateType(value, context, ['string'])) { - this.validateEnum(shape, value, context); - this.validateRange(shape, value.length, context, 'string length'); - this.validatePattern(shape, value, context); - } - }, - - validatePattern: function validatePattern(shape, value, context) { - if (this.validation['pattern'] && shape['pattern'] !== undefined) { - if (!(new RegExp(shape['pattern'])).test(value)) { - this.fail('PatternMatchError', 'Provided value "' + value + '" ' - + 'does not match regex pattern /' + shape['pattern'] + '/ for ' - + context); - } - } - }, - - validateRange: function validateRange(shape, value, context, descriptor) { - if (this.validation['min']) { - if (shape['min'] !== undefined && value < shape['min']) { - this.fail('MinRangeError', 'Expected ' + descriptor + ' >= ' - + shape['min'] + ', but found ' + value + ' for ' + context); - } - } - if (this.validation['max']) { - if (shape['max'] !== undefined && value > shape['max']) { - this.fail('MaxRangeError', 'Expected ' + descriptor + ' <= ' - + shape['max'] + ', but found ' + value + ' for ' + context); - } - } - }, - - validateEnum: function validateRange(shape, value, context) { - if (this.validation['enum'] && shape['enum'] !== undefined) { - // Fail if the string value is not present in the enum list - if (shape['enum'].indexOf(value) === -1) { - this.fail('EnumError', 'Found string value of ' + value + ', but ' - + 'expected ' + shape['enum'].join('|') + ' for ' + context); - } - } - }, - - validateType: function validateType(value, context, acceptedTypes, type) { - // We will not log an error for null or undefined, but we will return - // false so that callers know that the expected type was not strictly met. - if (value === null || value === undefined) return false; - - var foundInvalidType = false; - for (var i = 0; i < acceptedTypes.length; i++) { - if (typeof acceptedTypes[i] === 'string') { - if (typeof value === acceptedTypes[i]) return true; - } else if (acceptedTypes[i] instanceof RegExp) { - if ((value || '').toString().match(acceptedTypes[i])) return true; - } else { - if (value instanceof acceptedTypes[i]) return true; - if (AWS.util.isType(value, acceptedTypes[i])) return true; - if (!type && !foundInvalidType) acceptedTypes = acceptedTypes.slice(); - acceptedTypes[i] = AWS.util.typeName(acceptedTypes[i]); - } - foundInvalidType = true; - } - - var acceptedType = type; - if (!acceptedType) { - acceptedType = acceptedTypes.join(', ').replace(/,([^,]+)$/, ', or$1'); - } - - var vowel = acceptedType.match(/^[aeiou]/i) ? 'n' : ''; - this.fail('InvalidParameterType', 'Expected ' + context + ' to be a' + - vowel + ' ' + acceptedType); - return false; - }, - - validateNumber: function validateNumber(shape, value, context) { - if (value === null || value === undefined) return; - if (typeof value === 'string') { - var castedValue = parseFloat(value); - if (castedValue.toString() === value) value = castedValue; - } - if (this.validateType(value, context, ['number'])) { - this.validateRange(shape, value, context, 'numeric value'); - } - }, - - validatePayload: function validatePayload(value, context) { - if (value === null || value === undefined) return; - if (typeof value === 'string') return; - if (value && typeof value.byteLength === 'number') return; // typed arrays - if (AWS.util.isNode()) { // special check for buffer/stream in Node.js - var Stream = AWS.util.stream.Stream; - if (AWS.util.Buffer.isBuffer(value) || value instanceof Stream) return; - } - - var types = ['Buffer', 'Stream', 'File', 'Blob', 'ArrayBuffer', 'DataView']; - if (value) { - for (var i = 0; i < types.length; i++) { - if (AWS.util.isType(value, types[i])) return; - if (AWS.util.typeName(value.constructor) === types[i]) return; - } - } - - this.fail('InvalidParameterType', 'Expected ' + context + ' to be a ' + - 'string, Buffer, Stream, Blob, or typed array object'); - } -}); diff --git a/node_modules/aws-sdk/lib/protocol/json.js b/node_modules/aws-sdk/lib/protocol/json.js deleted file mode 100644 index b9c9d8c..0000000 --- a/node_modules/aws-sdk/lib/protocol/json.js +++ /dev/null @@ -1,62 +0,0 @@ -var util = require('../util'); -var JsonBuilder = require('../json/builder'); -var JsonParser = require('../json/parser'); - -function buildRequest(req) { - var httpRequest = req.httpRequest; - var api = req.service.api; - var target = api.targetPrefix + '.' + api.operations[req.operation].name; - var version = api.jsonVersion || '1.0'; - var input = api.operations[req.operation].input; - var builder = new JsonBuilder(); - - if (version === 1) version = '1.0'; - httpRequest.body = builder.build(req.params || {}, input); - httpRequest.headers['Content-Type'] = 'application/x-amz-json-' + version; - httpRequest.headers['X-Amz-Target'] = target; -} - -function extractError(resp) { - var error = {}; - var httpResponse = resp.httpResponse; - - error.code = httpResponse.headers['x-amzn-errortype'] || 'UnknownError'; - if (typeof error.code === 'string') { - error.code = error.code.split(':')[0]; - } - - if (httpResponse.body.length > 0) { - var e = JSON.parse(httpResponse.body.toString()); - if (e.__type || e.code) { - error.code = (e.__type || e.code).split('#').pop(); - } - if (error.code === 'RequestEntityTooLarge') { - error.message = 'Request body must be less than 1 MB'; - } else { - error.message = (e.message || e.Message || null); - } - } else { - error.statusCode = httpResponse.statusCode; - error.message = httpResponse.statusCode.toString(); - } - - resp.error = util.error(new Error(), error); -} - -function extractData(resp) { - var body = resp.httpResponse.body.toString() || '{}'; - if (resp.request.service.config.convertResponseTypes === false) { - resp.data = JSON.parse(body); - } else { - var operation = resp.request.service.api.operations[resp.request.operation]; - var shape = operation.output || {}; - var parser = new JsonParser(); - resp.data = parser.parse(body, shape); - } -} - -module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData -}; diff --git a/node_modules/aws-sdk/lib/protocol/query.js b/node_modules/aws-sdk/lib/protocol/query.js deleted file mode 100644 index 2e1adcb..0000000 --- a/node_modules/aws-sdk/lib/protocol/query.js +++ /dev/null @@ -1,97 +0,0 @@ -var AWS = require('../core'); -var util = require('../util'); -var QueryParamSerializer = require('../query/query_param_serializer'); -var Shape = require('../model/shape'); - -function buildRequest(req) { - var operation = req.service.api.operations[req.operation]; - var httpRequest = req.httpRequest; - httpRequest.headers['Content-Type'] = - 'application/x-www-form-urlencoded; charset=utf-8'; - httpRequest.params = { - Version: req.service.api.apiVersion, - Action: operation.name - }; - - // convert the request parameters into a list of query params, - // e.g. Deeply.NestedParam.0.Name=value - var builder = new QueryParamSerializer(); - builder.serialize(req.params, operation.input, function(name, value) { - httpRequest.params[name] = value; - }); - httpRequest.body = util.queryParamsToString(httpRequest.params); -} - -function extractError(resp) { - var data, body = resp.httpResponse.body.toString(); - if (body.match('= 0 ? '&' : '?'); - var parts = []; - util.arrayEach(Object.keys(queryString).sort(), function(key) { - if (!Array.isArray(queryString[key])) { - queryString[key] = [queryString[key]]; - } - for (var i = 0; i < queryString[key].length; i++) { - parts.push(util.uriEscape(String(key)) + '=' + queryString[key][i]); - } - }); - uri += parts.join('&'); - } - - req.httpRequest.path = uri; -} - -function populateHeaders(req) { - var operation = req.service.api.operations[req.operation]; - util.each(operation.input.members, function (name, member) { - var value = req.params[name]; - if (value === null || value === undefined) return; - - if (member.location === 'headers' && member.type === 'map') { - util.each(value, function(key, memberValue) { - req.httpRequest.headers[member.name + key] = memberValue; - }); - } else if (member.location === 'header') { - value = member.toWireFormat(value).toString(); - req.httpRequest.headers[member.name] = value; - } - }); -} - -function buildRequest(req) { - populateMethod(req); - populateURI(req); - populateHeaders(req); -} - -function extractError() { -} - -function extractData(resp) { - var req = resp.request; - var data = {}; - var r = resp.httpResponse; - var operation = req.service.api.operations[req.operation]; - var output = operation.output; - - // normalize headers names to lower-cased keys for matching - var headers = {}; - util.each(r.headers, function (k, v) { - headers[k.toLowerCase()] = v; - }); - - util.each(output.members, function(name, member) { - var header = (member.name || name).toLowerCase(); - if (member.location === 'headers' && member.type === 'map') { - data[name] = {}; - var location = member.isLocationName ? member.name : ''; - var pattern = new RegExp('^' + location + '(.+)', 'i'); - util.each(r.headers, function (k, v) { - var result = k.match(pattern); - if (result !== null) { - data[name][result[1]] = v; - } - }); - } else if (member.location === 'header') { - if (headers[header] !== undefined) { - data[name] = headers[header]; - } - } else if (member.location === 'statusCode') { - data[name] = parseInt(r.statusCode, 10); - } - }); - - resp.data = data; -} - -module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData -}; diff --git a/node_modules/aws-sdk/lib/protocol/rest_json.js b/node_modules/aws-sdk/lib/protocol/rest_json.js deleted file mode 100644 index 992bbb5..0000000 --- a/node_modules/aws-sdk/lib/protocol/rest_json.js +++ /dev/null @@ -1,67 +0,0 @@ -var util = require('../util'); -var Rest = require('./rest'); -var Json = require('./json'); -var JsonBuilder = require('../json/builder'); -var JsonParser = require('../json/parser'); - -function populateBody(req) { - var builder = new JsonBuilder(); - var input = req.service.api.operations[req.operation].input; - - if (input.payload) { - var params = {}; - var payloadShape = input.members[input.payload]; - params = req.params[input.payload]; - if (params === undefined) return; - - if (payloadShape.type === 'structure') { - req.httpRequest.body = builder.build(params, payloadShape); - } else { // non-JSON payload - req.httpRequest.body = params; - } - } else { - req.httpRequest.body = builder.build(req.params, input); - } -} - -function buildRequest(req) { - Rest.buildRequest(req); - - // never send body payload on GET/HEAD/DELETE - if (['GET', 'HEAD', 'DELETE'].indexOf(req.httpRequest.method) < 0) { - populateBody(req); - } -} - -function extractError(resp) { - Json.extractError(resp); -} - -function extractData(resp) { - Rest.extractData(resp); - - var req = resp.request; - var rules = req.service.api.operations[req.operation].output || {}; - if (rules.payload) { - var payloadMember = rules.members[rules.payload]; - var body = resp.httpResponse.body; - if (payloadMember.isStreaming) { - resp.data[rules.payload] = body; - } else if (payloadMember.type === 'structure' || payloadMember.type === 'list') { - var parser = new JsonParser(); - resp.data[rules.payload] = parser.parse(body, payloadMember); - } else { - resp.data[rules.payload] = body.toString(); - } - } else { - var data = resp.data; - Json.extractData(resp); - resp.data = util.merge(data, resp.data); - } -} - -module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData -}; diff --git a/node_modules/aws-sdk/lib/protocol/rest_xml.js b/node_modules/aws-sdk/lib/protocol/rest_xml.js deleted file mode 100644 index ebfd1b6..0000000 --- a/node_modules/aws-sdk/lib/protocol/rest_xml.js +++ /dev/null @@ -1,87 +0,0 @@ -var AWS = require('../core'); -var util = require('../util'); -var Rest = require('./rest'); - -function populateBody(req) { - var input = req.service.api.operations[req.operation].input; - var builder = new AWS.XML.Builder(); - var params = req.params; - - var payload = input.payload; - if (payload) { - var payloadMember = input.members[payload]; - params = params[payload]; - if (params === undefined) return; - - if (payloadMember.type === 'structure') { - var rootElement = payloadMember.name; - req.httpRequest.body = builder.toXML(params, payloadMember, rootElement, true); - } else { // non-xml payload - req.httpRequest.body = params; - } - } else { - req.httpRequest.body = builder.toXML(params, input, input.name || - input.shape || util.string.upperFirst(req.operation) + 'Request'); - } -} - -function buildRequest(req) { - Rest.buildRequest(req); - - // never send body payload on GET/HEAD - if (['GET', 'HEAD'].indexOf(req.httpRequest.method) < 0) { - populateBody(req); - } -} - -function extractError(resp) { - Rest.extractError(resp); - - var data = new AWS.XML.Parser().parse(resp.httpResponse.body.toString()); - if (data.Errors) data = data.Errors; - if (data.Error) data = data.Error; - if (data.Code) { - resp.error = util.error(new Error(), { - code: data.Code, - message: data.Message - }); - } else { - resp.error = util.error(new Error(), { - code: resp.httpResponse.statusCode, - message: null - }); - } -} - -function extractData(resp) { - Rest.extractData(resp); - - var parser; - var req = resp.request; - var body = resp.httpResponse.body; - var operation = req.service.api.operations[req.operation]; - var output = operation.output; - - var payload = output.payload; - if (payload) { - var payloadMember = output.members[payload]; - if (payloadMember.isStreaming) { - resp.data[payload] = body; - } else if (payloadMember.type === 'structure') { - parser = new AWS.XML.Parser(); - resp.data[payload] = parser.parse(body.toString(), payloadMember); - } else { - resp.data[payload] = body.toString(); - } - } else if (body.length > 0) { - parser = new AWS.XML.Parser(); - var data = parser.parse(body.toString(), output); - util.update(resp.data, data); - } -} - -module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData -}; diff --git a/node_modules/aws-sdk/lib/query/query_param_serializer.js b/node_modules/aws-sdk/lib/query/query_param_serializer.js deleted file mode 100644 index 169acf2..0000000 --- a/node_modules/aws-sdk/lib/query/query_param_serializer.js +++ /dev/null @@ -1,81 +0,0 @@ -var util = require('../util'); - -function QueryParamSerializer() { -} - -QueryParamSerializer.prototype.serialize = function(params, shape, fn) { - serializeStructure('', params, shape, fn); -}; - -function ucfirst(shape) { - if (shape.isQueryName || shape.api.protocol !== 'ec2') { - return shape.name; - } else { - return shape.name[0].toUpperCase() + shape.name.substr(1); - } -} - -function serializeStructure(prefix, struct, rules, fn) { - util.each(rules.members, function(name, member) { - var value = struct[name]; - if (value === null || value === undefined) return; - - var memberName = ucfirst(member); - memberName = prefix ? prefix + '.' + memberName : memberName; - serializeMember(memberName, value, member, fn); - }); -} - -function serializeMap(name, map, rules, fn) { - var i = 1; - util.each(map, function (key, value) { - var prefix = rules.flattened ? '.' : '.entry.'; - var position = prefix + (i++) + '.'; - var keyName = position + (rules.key.name || 'key'); - var valueName = position + (rules.value.name || 'value'); - serializeMember(name + keyName, key, rules.key, fn); - serializeMember(name + valueName, value, rules.value, fn); - }); -} - -function serializeList(name, list, rules, fn) { - var memberRules = rules.member || {}; - - if (list.length === 0) { - fn.call(this, name, null); - return; - } - - util.arrayEach(list, function (v, n) { - var suffix = '.' + (n + 1); - if (rules.api.protocol === 'ec2') { - // Do nothing for EC2 - suffix = suffix + ''; // make linter happy - } else if (rules.flattened) { - if (memberRules.name) { - var parts = name.split('.'); - parts.pop(); - parts.push(ucfirst(memberRules)); - name = parts.join('.'); - } - } else { - suffix = '.member' + suffix; - } - serializeMember(name + suffix, v, memberRules, fn); - }); -} - -function serializeMember(name, value, rules, fn) { - if (value === null || value === undefined) return; - if (rules.type === 'structure') { - serializeStructure(name, value, rules, fn); - } else if (rules.type === 'list') { - serializeList(name, value, rules, fn); - } else if (rules.type === 'map') { - serializeMap(name, value, rules, fn); - } else { - fn(name, rules.toWireFormat(value).toString()); - } -} - -module.exports = QueryParamSerializer; diff --git a/node_modules/aws-sdk/lib/region_config.js b/node_modules/aws-sdk/lib/region_config.js deleted file mode 100644 index 68d63fa..0000000 --- a/node_modules/aws-sdk/lib/region_config.js +++ /dev/null @@ -1,69 +0,0 @@ -var util = require('./util'); -var regionConfig = require('./region_config.json'); - -function generateRegionPrefix(region) { - if (!region) return null; - - var parts = region.split('-'); - if (parts.length < 3) return null; - return parts.slice(0, parts.length - 2).join('-') + '-*'; -} - -function derivedKeys(service) { - var region = service.config.region; - var regionPrefix = generateRegionPrefix(region); - var endpointPrefix = service.api.endpointPrefix; - - return [ - [region, endpointPrefix], - [regionPrefix, endpointPrefix], - [region, '*'], - [regionPrefix, '*'], - ['*', endpointPrefix], - ['*', '*'] - ].map(function(item) { - return item[0] && item[1] ? item.join('/') : null; - }); -} - -function applyConfig(service, config) { - util.each(config, function(key, value) { - if (key === 'globalEndpoint') return; - if (service.config[key] === undefined || service.config[key] === null) { - service.config[key] = value; - } - }); -} - -function configureEndpoint(service) { - var keys = derivedKeys(service); - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - if (!key) continue; - - if (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; diff --git a/node_modules/aws-sdk/lib/region_config.json b/node_modules/aws-sdk/lib/region_config.json deleted file mode 100644 index 38a614a..0000000 --- a/node_modules/aws-sdk/lib/region_config.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "rules": { - "*/*": { - "endpoint": "{service}.{region}.amazonaws.com" - }, - "cn-*/*": { - "endpoint": "{service}.{region}.amazonaws.com.cn" - }, - "*/cloudfront": "globalSSL", - "*/iam": "globalSSL", - "*/sts": "globalSSL", - "*/importexport": { - "endpoint": "{service}.amazonaws.com", - "signatureVersion": "v2", - "globalEndpoint": true - }, - "*/route53": { - "endpoint": "https://{service}.amazonaws.com", - "signatureVersion": "v3https", - "globalEndpoint": true - }, - "*/waf": "globalSSL", - "us-gov-*/iam": "globalGovCloud", - "us-gov-*/sts": { - "endpoint": "{service}.{region}.amazonaws.com" - }, - "us-gov-west-1/s3": "s3dash", - "us-west-1/s3": "s3dash", - "us-west-2/s3": "s3dash", - "eu-west-1/s3": "s3dash", - "ap-southeast-1/s3": "s3dash", - "ap-southeast-2/s3": "s3dash", - "ap-northeast-1/s3": "s3dash", - "sa-east-1/s3": "s3dash", - "us-east-1/s3": { - "endpoint": "{service}.amazonaws.com", - "signatureVersion": "s3" - }, - "us-east-1/sdb": { - "endpoint": "{service}.amazonaws.com", - "signatureVersion": "v2" - }, - "*/sdb": { - "endpoint": "{service}.{region}.amazonaws.com", - "signatureVersion": "v2" - } - }, - - "patterns": { - "globalSSL": { - "endpoint": "https://{service}.amazonaws.com", - "globalEndpoint": true - }, - "globalGovCloud": { - "endpoint": "{service}.us-gov.amazonaws.com" - }, - "s3dash": { - "endpoint": "{service}-{region}.amazonaws.com", - "signatureVersion": "s3" - } - } -} diff --git a/node_modules/aws-sdk/lib/request.js b/node_modules/aws-sdk/lib/request.js deleted file mode 100644 index 9282e8c..0000000 --- a/node_modules/aws-sdk/lib/request.js +++ /dev/null @@ -1,756 +0,0 @@ -var AWS = require('./core'); -var AcceptorStateMachine = require('./state_machine'); -var inherit = AWS.util.inherit; -var domain = AWS.util.domain; -var jmespath = require('jmespath'); - -/** - * @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(); - * ``` - * - * ## Removing Default Listeners for Events - * - * Request objects are built with default listeners for the various events, - * depending on the service type. In some cases, you may want to remove - * some built-in listeners to customize behaviour. Doing this requires - * access to the built-in listener functions, which are exposed through - * the {AWS.EventListeners.Core} namespace. For instance, you may - * want to customize the HTTP handler used when sending a request. In this - * case, you can remove the built-in listener associated with the 'send' - * event, the {AWS.EventListeners.Core.SEND} listener and add your own. - * - * ## Multiple Callbacks and Chaining - * - * You can register multiple callbacks on any request object. The - * callbacks can be registered for different events, or all for the - * same event. In addition, you can chain callback registration, for - * example: - * - * ```javascript - * request. - * on('success', function(response) { - * console.log("Success!"); - * }). - * on('error', function(response) { - * console.log("Error!"); - * }). - * on('complete', function(response) { - * console.log("Always!"); - * }). - * send(); - * ``` - * - * The above example will print either "Success! Always!", or "Error! Always!", - * depending on whether the request succeeded or not. - * - * @!attribute httpRequest - * @readonly - * @!group HTTP Properties - * @return [AWS.HttpRequest] the raw HTTP request object - * containing request headers and body information - * sent by the service. - * - * @!attribute startTime - * @readonly - * @!group Operation Properties - * @return [Date] the time that the request started - * - * @!group Request Building Events - * - * @!event validate(request) - * Triggered when a request is being validated. Listeners - * should throw an error if the request should not be sent. - * @param request [Request] the request object being sent - * @see AWS.EventListeners.Core.VALIDATE_CREDENTIALS - * @see AWS.EventListeners.Core.VALIDATE_REGION - * @example Ensuring that a certain parameter is set before sending a request - * var req = s3.putObject(params); - * req.on('validate', function() { - * if (!req.params.Body.match(/^Hello\s/)) { - * throw new Error('Body must start with "Hello "'); - * } - * }); - * req.send(function(err, data) { ... }); - * - * @!event build(request) - * Triggered when the request payload is being built. Listeners - * should fill the necessary information to send the request - * over HTTP. - * @param (see AWS.Request~validate) - * @example Add a custom HTTP header to a request - * var req = s3.putObject(params); - * req.on('build', function() { - * req.httpRequest.headers['Custom-Header'] = 'value'; - * }); - * req.send(function(err, data) { ... }); - * - * @!event sign(request) - * Triggered when the request is being signed. Listeners should - * add the correct authentication headers and/or adjust the body, - * depending on the authentication mechanism being used. - * @param (see AWS.Request~validate) - * - * @!group Request Sending Events - * - * @!event send(response) - * Triggered when the request is ready to be sent. Listeners - * should call the underlying transport layer to initiate - * the sending of the request. - * @param response [Response] the response object - * @context [Request] the request object that was sent - * @see AWS.EventListeners.Core.SEND - * - * @!event retry(response) - * Triggered when a request failed and might need to be retried or redirected. - * If the response is retryable, the listener should set the - * `response.error.retryable` property to `true`, and optionally set - * `response.error.retryCount` to the millisecond delay for the next attempt. - * In the case of a redirect, `response.error.redirect` should be set to - * `true` with `retryCount` set to an optional delay on the next request. - * - * If a listener decides that a request should not be retried, - * it should set both `retryable` and `redirect` to false. - * - * Note that a retryable error will be retried at most - * {AWS.Config.maxRetries} times (based on the service object's config). - * Similarly, a request that is redirected will only redirect at most - * {AWS.Config.maxRedirects} times. - * - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @example Adding a custom retry for a 404 response - * request.on('retry', function(response) { - * // this resource is not yet available, wait 10 seconds to get it again - * if (response.httpResponse.statusCode === 404 && response.error) { - * response.error.retryable = true; // retry this error - * response.error.retryCount = 10000; // wait 10 seconds - * } - * }); - * - * @!group Data Parsing Events - * - * @!event extractError(response) - * Triggered on all non-2xx requests so that listeners can extract - * error details from the response body. Listeners to this event - * should set the `response.error` property. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event extractData(response) - * Triggered in successful requests to allow listeners to - * de-serialize the response body into `response.data`. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!group Completion Events - * - * @!event success(response) - * Triggered when the request completed successfully. - * `response.data` will contain the response data and - * `response.error` will be null. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event error(error, response) - * Triggered when an error occurs at any point during the - * request. `response.error` will contain details about the error - * that occurred. `response.data` will be null. - * @param error [Error] the error object containing details about - * the error that occurred. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event complete(response) - * Triggered whenever a request cycle completes. `response.error` - * should be checked, since the request may have failed. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!group HTTP Events - * - * @!event httpHeaders(statusCode, headers, response) - * Triggered when headers are sent by the remote server - * @param statusCode [Integer] the HTTP response code - * @param headers [map] the response headers - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event httpData(chunk, response) - * Triggered when data is sent by the remote server - * @param chunk [Buffer] the buffer data containing the next data chunk - * from the server - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @see AWS.EventListeners.Core.HTTP_DATA - * - * @!event httpUploadProgress(progress, response) - * Triggered when the HTTP request has uploaded more data - * @param progress [map] An object containing the `loaded` and `total` bytes - * of the request. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @note This event will not be emitted in Node.js 0.8.x. - * - * @!event httpDownloadProgress(progress, response) - * Triggered when the HTTP request has downloaded more data - * @param progress [map] An object containing the `loaded` and `total` bytes - * of the request. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @note This event will not be emitted in Node.js 0.8.x. - * - * @!event httpError(error, response) - * Triggered when the HTTP request failed - * @param error [Error] the error object that was thrown - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event httpDone(response) - * Triggered when the server is finished sending data - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @see AWS.Response - */ -AWS.Request = inherit({ - - /** - * Creates a request for an operation on a given service with - * a set of input parameters. - * - * @param service [AWS.Service] the service to perform the operation on - * @param operation [String] the operation to perform on the service - * @param params [Object] parameters to send to the operation. - * See the operation's documentation for the format of the - * parameters. - */ - constructor: function Request(service, operation, params) { - var endpoint = service.endpoint; - var region = service.config.region; - var customUserAgent = service.config.customUserAgent; - - // global endpoints sign as us-east-1 - if (service.isGlobalEndpoint) region = 'us-east-1'; - - this.domain = domain && domain.active; - this.service = service; - this.operation = operation; - this.params = params || {}; - this.httpRequest = new AWS.HttpRequest(endpoint, region, customUserAgent); - this.startTime = AWS.util.date.getDate(); - - this.response = new AWS.Response(this); - this._asm = new AcceptorStateMachine(fsm.states, 'validate'); - this._haltHandlersOnError = false; - - AWS.SequentialExecutor.call(this); - this.emit = this.emitEvent; - }, - - /** - * @!group Sending a Request - */ - - /** - * @overload send(callback = null) - * Sends the request object. - * - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @context [AWS.Request] the request object being sent. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - * @example Sending a request with a callback - * request = s3.putObject({Bucket: 'bucket', Key: 'key'}); - * request.send(function(err, data) { console.log(err, data); }); - * @example Sending a request with no callback (using event handlers) - * request = s3.putObject({Bucket: 'bucket', Key: 'key'}); - * request.on('complete', function(response) { ... }); // register a callback - * request.send(); - */ - send: function send(callback) { - if (callback) { - this.on('complete', function (resp) { - callback.call(resp, resp.error, resp.data); - }); - } - this.runTo(); - - return this.response; - }, - - /** - * @!method promise() - * 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) { // 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; - }, - - /** - * 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(); - req.send(); - } else { - stream = new streams.Stream(); - stream.readable = true; - - stream.sent = false; - stream.on('newListener', function(event) { - if (!stream.sent && event === 'data') { - stream.sent = true; - process.nextTick(function() { req.send(); }); - } - }); - } - - this.on('httpHeaders', function streamHeaders(statusCode, headers, resp) { - if (statusCode < 300) { - req.removeListener('httpData', AWS.EventListeners.Core.HTTP_DATA); - req.removeListener('httpError', AWS.EventListeners.Core.HTTP_ERROR); - req.on('httpError', function streamHttpError(error) { - resp.error = error; - resp.error.retryable = false; - }); - - var 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); - 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); - }); - } - }); - - this.on('error', function(err) { - stream.emit('error', err); - }); - - return stream; - }, - - /** - * @param [Array,Response] args This should be the response object, - * or an array of args to send to the event. - * @api private - */ - emitEvent: function emit(eventName, args, done) { - if (typeof args === 'function') { done = args; args = null; } - if (!done) done = function() { }; - if (!args) args = this.eventParameters(eventName, this.response); - - var origEmit = AWS.SequentialExecutor.prototype.emit; - origEmit.call(this, eventName, args, function (err) { - if (err) this.response.error = err; - done.call(this, err); - }); - }, - - /** - * @api private - */ - eventParameters: function eventParameters(eventName) { - switch (eventName) { - case 'restart': - case 'validate': - case 'sign': - case 'build': - case 'afterValidate': - case 'afterBuild': - return [this]; - case 'error': - return [this.response.error, this.response]; - default: - return [this.response]; - } - }, - - /** - * @api private - */ - presign: function presign(expires, callback) { - if (!callback && typeof expires === 'function') { - callback = expires; - expires = null; - } - return new AWS.Signers.Presign().sign(this.toGet(), expires, callback); - }, - - /** - * @api private - */ - 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; - } -}); - -AWS.util.addPromisesToRequests(AWS.Request); - -AWS.util.mixin(AWS.Request, AWS.SequentialExecutor); diff --git a/node_modules/aws-sdk/lib/resource_waiter.js b/node_modules/aws-sdk/lib/resource_waiter.js deleted file mode 100644 index a2fe364..0000000 --- a/node_modules/aws-sdk/lib/resource_waiter.js +++ /dev/null @@ -1,178 +0,0 @@ -/** - * Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). You - * may not use this file except in compliance with the License. A copy of - * the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF - * ANY KIND, either express or implied. See the License for the specific - * language governing permissions and limitations under the License. - */ - -var AWS = require('./core'); -var inherit = AWS.util.inherit; -var jmespath = require('jmespath'); - -/** - * @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) { - var result = jmespath.search(resp.data, argument); - return jmespath.strictDeepEqual(result,expected); - }, - - pathAll: function(resp, expected, argument) { - var results = jmespath.search(resp.data, argument); - 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) { - var results = jmespath.search(resp.data, argument); - 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; - } - - 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 = this.service.api.waiters[state]; - } -}); diff --git a/node_modules/aws-sdk/lib/response.js b/node_modules/aws-sdk/lib/response.js deleted file mode 100644 index 568f831..0000000 --- a/node_modules/aws-sdk/lib/response.js +++ /dev/null @@ -1,201 +0,0 @@ -var AWS = require('./core'); -var inherit = AWS.util.inherit; -var jmespath = require('jmespath'); - -/** - * 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; - } - -}); diff --git a/node_modules/aws-sdk/lib/s3/managed_upload.js b/node_modules/aws-sdk/lib/s3/managed_upload.js deleted file mode 100644 index 1dcb1e6..0000000 --- a/node_modules/aws-sdk/lib/s3/managed_upload.js +++ /dev/null @@ -1,601 +0,0 @@ -var AWS = require('../core'); -var byteLength = AWS.util.string.byteLength; -var Buffer = AWS.util.Buffer; - -/** - * The managed uploader allows for easy and efficient uploading of buffers, - * blobs, or streams, using a configurable amount of concurrency to perform - * multipart uploads where possible. This abstraction also enables uploading - * streams of unknown size due to the use of multipart uploads. - * - * To construct a managed upload object, see the {constructor} function. - * - * ## Tracking upload progress - * - * The managed upload object can also track progress by attaching an - * 'httpUploadProgress' listener to the upload manager. This event is similar - * to {AWS.Request~httpUploadProgress} but groups all concurrent upload progress - * into a single event. See {AWS.S3.ManagedUpload~httpUploadProgress} for more - * information. - * - * ## Handling Multipart Cleanup - * - * By default, this class will automatically clean up any multipart uploads - * when an individual part upload fails. This behavior can be disabled in order - * to manually handle failures by setting the `leavePartsOnError` configuration - * option to `true` when initializing the upload object. - * - * @!event httpUploadProgress(progress) - * Triggered when the uploader has uploaded more data. - * @note The `total` property may not be set if the stream being uploaded has - * not yet finished chunking. In this case the `total` will be undefined - * until the total stream size is known. - * @note This event will not be emitted in Node.js 0.8.x. - * @param progress [map] An object containing the `loaded` and `total` bytes - * of the request and the `key` of the S3 object. Note that `total` may be undefined until the payload - * size is known. - * @context (see AWS.Request~send) - */ -AWS.S3.ManagedUpload = AWS.util.inherit({ - /** - * Creates a managed upload object with a set of configuration options. - * - * @note A "Body" parameter is required to be set prior to calling {send}. - * @option options params [map] a map of parameters to pass to the upload - * requests. The "Body" parameter is required to be specified either on - * the service or in the params option. - * @note ContentMD5 should not be provided when using the managed upload object. - * Instead, setting "computeChecksums" to true will enable automatic ContentMD5 generation - * by the managed upload object. - * @option options queueSize [Number] (4) the size of the concurrent queue - * manager to upload parts in parallel. Set to 1 for synchronous uploading - * of parts. Note that the uploader will buffer at most queueSize * partSize - * bytes into memory at any given time. - * @option options partSize [Number] (5mb) the size in bytes for each - * individual part to be uploaded. Adjust the part size to ensure the number - * of parts does not exceed {maxTotalParts}. See {minPartSize} for the - * minimum allowed part size. - * @option options leavePartsOnError [Boolean] (false) whether to abort the - * multipart upload if an error occurs. Set to true if you want to handle - * failures manually. - * @option options service [AWS.S3] an optional S3 service object to use for - * requests. This object might have bound parameters used by the uploader. - * @example Creating a default uploader for a stream object - * var upload = new AWS.S3.ManagedUpload({ - * params: {Bucket: 'bucket', Key: 'key', Body: stream} - * }); - * @example Creating an uploader with concurrency of 1 and partSize of 10mb - * var upload = new AWS.S3.ManagedUpload({ - * partSize: 10 * 1024 * 1024, queueSize: 1, - * params: {Bucket: 'bucket', Key: 'key', Body: stream} - * }); - * @see send - */ - constructor: function ManagedUpload(options) { - var self = this; - AWS.SequentialExecutor.call(self); - self.body = null; - self.sliceFn = null; - self.callback = null; - self.parts = {}; - self.completeInfo = []; - self.fillQueue = function() { - self.callback(new Error('Unsupported body payload ' + typeof self.body)); - }; - - self.configure(options); - }, - - /** - * @api private - */ - configure: function configure(options) { - options = options || {}; - this.partSize = this.minPartSize; - - if (options.queueSize) this.queueSize = options.queueSize; - if (options.partSize) this.partSize = options.partSize; - if (options.leavePartsOnError) this.leavePartsOnError = true; - - if (this.partSize < this.minPartSize) { - throw new Error('partSize must be greater than ' + - this.minPartSize); - } - - this.service = options.service; - this.bindServiceObject(options.params); - this.validateBody(); - this.adjustTotalBytes(); - }, - - /** - * @api private - */ - leavePartsOnError: false, - - /** - * @api private - */ - queueSize: 4, - - /** - * @api private - */ - partSize: null, - - /** - * @readonly - * @return [Number] the minimum number of bytes for an individual part - * upload. - */ - minPartSize: 1024 * 1024 * 5, - - /** - * @readonly - * @return [Number] the maximum allowed number of parts in a multipart upload. - */ - maxTotalParts: 10000, - - /** - * Initiates the managed upload for the payload. - * - * @callback callback function(err, data) - * @param err [Error] an error or null if no error occurred. - * @param data [map] The response data from the successful upload: - * * `Location` (String) the URL of the uploaded object - * * `ETag` (String) the ETag of the uploaded object - * * `Bucket` (String) the bucket to which the object was uploaded - * * `Key` (String) the key to which the object was uploaded - * @example Sending a managed upload object - * var params = {Bucket: 'bucket', Key: 'key', Body: stream}; - * var upload = new AWS.S3.ManagedUpload({params: params}); - * upload.send(function(err, data) { - * console.log(err, data); - * }); - */ - send: function(callback) { - var self = this; - self.failed = false; - self.callback = callback || function(err) { if (err) throw err; }; - - var runFill = true; - if (self.sliceFn) { - self.fillQueue = self.fillBuffer; - } else if (AWS.util.isNode()) { - var Stream = AWS.util.stream.Stream; - if (self.body instanceof Stream) { - runFill = false; - self.fillQueue = self.fillStream; - self.partBuffers = []; - self.body. - on('readable', function() { self.fillQueue(); }). - on('end', function() { - self.isDoneChunking = true; - self.numParts = self.totalPartNumbers; - self.fillQueue.call(self); - }); - } - } - - if (runFill) self.fillQueue.call(self); - }, - - /** - * Aborts a managed upload, including all concurrent upload requests. - * @note By default, calling this function will cleanup a multipart upload - * if one was created. To leave the multipart upload around after aborting - * a request, configure `leavePartsOnError` to `true` in the {constructor}. - * @note Calling {abort} in the browser environment will not abort any requests - * that are already in flight. If a multipart upload was created, any parts - * not yet uploaded will not be sent, and the multipart upload will be cleaned up. - * @example Aborting an upload - * var params = { - * Bucket: 'bucket', Key: 'key', - * Body: new Buffer(1024 * 1024 * 25) // 25MB payload - * }; - * var upload = s3.upload(params); - * upload.send(function (err, data) { - * if (err) console.log("Error:", err.code, err.message); - * else console.log(data); - * }); - * - * // abort request in 1 second - * setTimeout(upload.abort.bind(upload), 1000); - */ - abort: function() { - this.cleanup(AWS.util.error(new Error('Request aborted by user'), { - code: 'RequestAbortedError', retryable: false - })); - }, - - /** - * @api private - */ - validateBody: function validateBody() { - var self = this; - self.body = self.service.config.params.Body; - if (!self.body) throw new Error('params.Body is required'); - if (typeof self.body === 'string') { - self.body = new AWS.util.Buffer(self.body); - } - self.sliceFn = AWS.util.arraySliceFn(self.body); - }, - - /** - * @api private - */ - bindServiceObject: function bindServiceObject(params) { - params = params || {}; - var self = this; - - // bind parameters to new service object - if (!self.service) { - self.service = new AWS.S3({params: params}); - } else { - var config = AWS.util.copy(self.service.config); - self.service = new self.service.constructor.__super__(config); - self.service.config.params = - AWS.util.merge(self.service.config.params || {}, params); - } - }, - - /** - * @api private - */ - adjustTotalBytes: function adjustTotalBytes() { - var self = this; - try { // try to get totalBytes - self.totalBytes = byteLength(self.body); - } catch (e) { } - - // try to adjust partSize if we know payload length - if (self.totalBytes) { - var newPartSize = Math.ceil(self.totalBytes / self.maxTotalParts); - if (newPartSize > self.partSize) self.partSize = newPartSize; - } else { - self.totalBytes = undefined; - } - }, - - /** - * @api private - */ - isDoneChunking: false, - - /** - * @api private - */ - partPos: 0, - - /** - * @api private - */ - totalChunkedBytes: 0, - - /** - * @api private - */ - totalUploadedBytes: 0, - - /** - * @api private - */ - totalBytes: undefined, - - /** - * @api private - */ - numParts: 0, - - /** - * @api private - */ - totalPartNumbers: 0, - - /** - * @api private - */ - activeParts: 0, - - /** - * @api private - */ - doneParts: 0, - - /** - * @api private - */ - parts: null, - - /** - * @api private - */ - completeInfo: null, - - /** - * @api private - */ - failed: false, - - /** - * @api private - */ - multipartReq: null, - - /** - * @api private - */ - partBuffers: null, - - /** - * @api private - */ - partBufferLength: 0, - - /** - * @api private - */ - fillBuffer: function fillBuffer() { - var self = this; - var bodyLen = byteLength(self.body); - - if (bodyLen === 0) { - self.isDoneChunking = true; - self.numParts = 1; - self.nextChunk(self.body); - return; - } - - while (self.activeParts < self.queueSize && self.partPos < bodyLen) { - var endPos = Math.min(self.partPos + self.partSize, bodyLen); - var buf = self.sliceFn.call(self.body, self.partPos, endPos); - self.partPos += self.partSize; - - if (byteLength(buf) < self.partSize || self.partPos === bodyLen) { - self.isDoneChunking = true; - self.numParts = self.totalPartNumbers + 1; - } - self.nextChunk(buf); - } - }, - - /** - * @api private - */ - fillStream: function fillStream() { - var self = this; - if (self.activeParts >= self.queueSize) return; - - var buf = self.body.read(self.partSize - self.partBufferLength) || - self.body.read(); - if (buf) { - self.partBuffers.push(buf); - self.partBufferLength += buf.length; - self.totalChunkedBytes += buf.length; - } - - if (self.partBufferLength >= self.partSize) { - // if we have single buffer we avoid copyfull concat - var pbuf = self.partBuffers.length === 1 ? - self.partBuffers[0] : Buffer.concat(self.partBuffers); - self.partBuffers = []; - self.partBufferLength = 0; - - // if we have more than partSize, push the rest back on the queue - if (pbuf.length > self.partSize) { - var rest = pbuf.slice(self.partSize); - self.partBuffers.push(rest); - self.partBufferLength += rest.length; - pbuf = pbuf.slice(0, self.partSize); - } - - self.nextChunk(pbuf); - } - - if (self.isDoneChunking && !self.isDoneSending) { - // if we have single buffer we avoid copyfull concat - pbuf = self.partBuffers.length === 1 ? - self.partBuffers[0] : Buffer.concat(self.partBuffers); - self.partBuffers = []; - self.partBufferLength = 0; - self.totalBytes = self.totalChunkedBytes; - self.isDoneSending = true; - - if (self.numParts === 0 || pbuf.length > 0) { - self.numParts++; - self.nextChunk(pbuf); - } - } - - self.body.read(0); - }, - - /** - * @api private - */ - nextChunk: function nextChunk(chunk) { - var self = this; - if (self.failed) return null; - - var partNumber = ++self.totalPartNumbers; - if (self.isDoneChunking && partNumber === 1) { - var req = self.service.putObject({Body: chunk}); - req._managedUpload = self; - req.on('httpUploadProgress', self.progress).send(self.finishSinglePart); - return null; - } else if (self.service.config.params.ContentMD5) { - var err = AWS.util.error(new Error('The Content-MD5 you specified is invalid for multi-part uploads.'), { - code: 'InvalidDigest', retryable: false - }); - - self.cleanup(err); - return null; - } - - if (self.completeInfo[partNumber] && self.completeInfo[partNumber].ETag !== null) { - return null; // Already uploaded this part. - } - - self.activeParts++; - if (!self.service.config.params.UploadId) { - - if (!self.multipartReq) { // create multipart - self.multipartReq = self.service.createMultipartUpload(); - self.multipartReq.on('success', function(resp) { - self.service.config.params.UploadId = resp.data.UploadId; - self.multipartReq = null; - }); - self.queueChunks(chunk, partNumber); - self.multipartReq.on('error', function(err) { - self.cleanup(err); - }); - self.multipartReq.send(); - } else { - self.queueChunks(chunk, partNumber); - } - } else { // multipart is created, just send - self.uploadPart(chunk, partNumber); - } - }, - - /** - * @api private - */ - uploadPart: function uploadPart(chunk, partNumber) { - var self = this; - - var partParams = { - Body: chunk, - ContentLength: AWS.util.string.byteLength(chunk), - PartNumber: partNumber - }; - - var partInfo = {ETag: null, PartNumber: partNumber}; - self.completeInfo[partNumber] = partInfo; - - var req = self.service.uploadPart(partParams); - self.parts[partNumber] = req; - req._lastUploadedBytes = 0; - req._managedUpload = self; - req.on('httpUploadProgress', self.progress); - req.send(function(err, data) { - delete self.parts[partParams.PartNumber]; - self.activeParts--; - - if (!err && (!data || !data.ETag)) { - var message = 'No access to ETag property on response.'; - if (AWS.util.isBrowser()) { - message += ' Check CORS configuration to expose ETag header.'; - } - - err = AWS.util.error(new Error(message), { - code: 'ETagMissing', retryable: false - }); - } - if (err) return self.cleanup(err); - - partInfo.ETag = data.ETag; - self.doneParts++; - if (self.isDoneChunking && self.doneParts === self.numParts) { - self.finishMultiPart(); - } else { - self.fillQueue.call(self); - } - }); - }, - - /** - * @api private - */ - queueChunks: function queueChunks(chunk, partNumber) { - var self = this; - self.multipartReq.on('success', function() { - self.uploadPart(chunk, partNumber); - }); - }, - - /** - * @api private - */ - cleanup: function cleanup(err) { - var self = this; - if (self.failed) return; - - // clean up stream - if (typeof self.body.removeAllListeners === 'function' && - typeof self.body.resume === 'function') { - self.body.removeAllListeners('readable'); - self.body.removeAllListeners('end'); - self.body.resume(); - } - - if (self.service.config.params.UploadId && !self.leavePartsOnError) { - self.service.abortMultipartUpload().send(); - } - - AWS.util.each(self.parts, function(partNumber, part) { - part.removeAllListeners('complete'); - part.abort(); - }); - - self.activeParts = 0; - self.partPos = 0; - self.numParts = 0; - self.totalPartNumbers = 0; - self.parts = {}; - self.failed = true; - self.callback(err); - }, - - /** - * @api private - */ - finishMultiPart: function finishMultiPart() { - var self = this; - var completeParams = { MultipartUpload: { Parts: self.completeInfo.slice(1) } }; - self.service.completeMultipartUpload(completeParams, function(err, data) { - if (err) return self.cleanup(err); - else self.callback(err, data); - }); - }, - - /** - * @api private - */ - finishSinglePart: function finishSinglePart(err, data) { - var upload = this.request._managedUpload; - var httpReq = this.request.httpRequest; - var endpoint = httpReq.endpoint; - if (err) return upload.callback(err); - data.Location = - [endpoint.protocol, '//', endpoint.host, httpReq.path].join(''); - data.key = this.request.params.Key; // will stay undocumented - data.Key = this.request.params.Key; - data.Bucket = this.request.params.Bucket; - upload.callback(err, data); - }, - - /** - * @api private - */ - progress: function progress(info) { - var upload = this._managedUpload; - if (this.operation === 'putObject') { - info.part = 1; - info.key = this.params.Key; - } else { - upload.totalUploadedBytes += info.loaded - this._lastUploadedBytes; - this._lastUploadedBytes = info.loaded; - info = { - loaded: upload.totalUploadedBytes, - total: upload.totalBytes, - part: this.params.PartNumber, - key: this.params.Key - }; - } - upload.emit('httpUploadProgress', [info]); - } -}); - -AWS.util.mixin(AWS.S3.ManagedUpload, AWS.SequentialExecutor); -module.exports = AWS.S3.ManagedUpload; diff --git a/node_modules/aws-sdk/lib/sequential_executor.js b/node_modules/aws-sdk/lib/sequential_executor.js deleted file mode 100644 index 88c002b..0000000 --- a/node_modules/aws-sdk/lib/sequential_executor.js +++ /dev/null @@ -1,231 +0,0 @@ -var AWS = require('./core'); - -/** - * @api private - * @!method on(eventName, callback) - * Registers an event listener callback for the event given by `eventName`. - * Parameters passed to the callback function depend on the individual event - * being triggered. See the event documentation for those parameters. - * - * @param eventName [String] the event name to register the listener for - * @param callback [Function] the listener callback function - * @return [AWS.SequentialExecutor] the same object for chaining - */ -AWS.SequentialExecutor = AWS.util.inherit({ - - constructor: function SequentialExecutor() { - this._events = {}; - }, - - /** - * @api private - */ - listeners: function listeners(eventName) { - return this._events[eventName] ? this._events[eventName].slice(0) : []; - }, - - on: function on(eventName, listener) { - if (this._events[eventName]) { - this._events[eventName].push(listener); - } else { - this._events[eventName] = [listener]; - } - return this; - }, - - /** - * @api private - */ - onAsync: function onAsync(eventName, listener) { - listener._isAsync = true; - return this.on(eventName, listener); - }, - - removeListener: function removeListener(eventName, listener) { - var listeners = this._events[eventName]; - if (listeners) { - var length = listeners.length; - var position = -1; - for (var i = 0; i < length; ++i) { - if (listeners[i] === listener) { - position = i; - } - } - if (position > -1) { - listeners.splice(position, 1); - } - } - return this; - }, - - removeAllListeners: function removeAllListeners(eventName) { - if (eventName) { - delete this._events[eventName]; - } else { - this._events = {}; - } - return this; - }, - - /** - * @api private - */ - emit: function emit(eventName, eventArgs, doneCallback) { - if (!doneCallback) doneCallback = function() { }; - var listeners = this.listeners(eventName); - var count = listeners.length; - this.callListeners(listeners, eventArgs, doneCallback); - return count > 0; - }, - - /** - * @api private - */ - callListeners: function callListeners(listeners, args, doneCallback, prevError) { - var self = this; - var error = prevError || null; - - function callNextListener(err) { - if (err) { - error = AWS.util.error(error || new Error(), err); - if (self._haltHandlersOnError) { - return doneCallback.call(self, error); - } - } - self.callListeners(listeners, args, doneCallback, error); - } - - while (listeners.length > 0) { - var listener = listeners.shift(); - if (listener._isAsync) { // asynchronous listener - listener.apply(self, args.concat([callNextListener])); - return; // stop here, callNextListener will continue - } else { // synchronous listener - try { - listener.apply(self, args); - } catch (err) { - error = AWS.util.error(error || new Error(), err); - } - if (error && self._haltHandlersOnError) { - doneCallback.call(self, error); - return; - } - } - } - doneCallback.call(self, error); - }, - - /** - * Adds or copies a set of listeners from another list of - * listeners or SequentialExecutor object. - * - * @param listeners [map>, AWS.SequentialExecutor] - * a list of events and callbacks, or an event emitter object - * containing listeners to add to this emitter object. - * @return [AWS.SequentialExecutor] the emitter object, for chaining. - * @example Adding listeners from a map of listeners - * emitter.addListeners({ - * event1: [function() { ... }, function() { ... }], - * event2: [function() { ... }] - * }); - * emitter.emit('event1'); // emitter has event1 - * emitter.emit('event2'); // emitter has event2 - * @example Adding listeners from another emitter object - * var emitter1 = new AWS.SequentialExecutor(); - * emitter1.on('event1', function() { ... }); - * emitter1.on('event2', function() { ... }); - * var emitter2 = new AWS.SequentialExecutor(); - * emitter2.addListeners(emitter1); - * emitter2.emit('event1'); // emitter2 has event1 - * emitter2.emit('event2'); // emitter2 has event2 - */ - addListeners: function addListeners(listeners) { - var self = this; - - // extract listeners if parameter is an SequentialExecutor object - if (listeners._events) listeners = listeners._events; - - AWS.util.each(listeners, function(event, callbacks) { - if (typeof callbacks === 'function') callbacks = [callbacks]; - AWS.util.arrayEach(callbacks, function(callback) { - self.on(event, callback); - }); - }); - - return self; - }, - - /** - * Registers an event with {on} and saves the callback handle function - * as a property on the emitter object using a given `name`. - * - * @param name [String] the property name to set on this object containing - * the callback function handle so that the listener can be removed in - * the future. - * @param (see on) - * @return (see on) - * @example Adding a named listener DATA_CALLBACK - * var listener = function() { doSomething(); }; - * emitter.addNamedListener('DATA_CALLBACK', 'data', listener); - * - * // the following prints: true - * console.log(emitter.DATA_CALLBACK == listener); - */ - addNamedListener: function addNamedListener(name, eventName, callback) { - this[name] = callback; - this.addListener(eventName, callback); - return this; - }, - - /** - * @api private - */ - addNamedAsyncListener: function addNamedAsyncListener(name, eventName, callback) { - callback._isAsync = true; - return this.addNamedListener(name, eventName, callback); - }, - - /** - * Helper method to add a set of named listeners using - * {addNamedListener}. The callback contains a parameter - * with a handle to the `addNamedListener` method. - * - * @callback callback function(add) - * The callback function is called immediately in order to provide - * the `add` function to the block. This simplifies the addition of - * a large group of named listeners. - * @param add [Function] the {addNamedListener} function to call - * when registering listeners. - * @example Adding a set of named listeners - * emitter.addNamedListeners(function(add) { - * add('DATA_CALLBACK', 'data', function() { ... }); - * add('OTHER', 'otherEvent', function() { ... }); - * add('LAST', 'lastEvent', function() { ... }); - * }); - * - * // these properties are now set: - * emitter.DATA_CALLBACK; - * emitter.OTHER; - * emitter.LAST; - */ - addNamedListeners: function addNamedListeners(callback) { - var self = this; - callback( - function() { - self.addNamedListener.apply(self, arguments); - }, - function() { - self.addNamedAsyncListener.apply(self, arguments); - } - ); - return this; - } -}); - -/** - * {on} is the prefered method. - * @api private - */ -AWS.SequentialExecutor.prototype.addListener = AWS.SequentialExecutor.prototype.on; - -module.exports = AWS.SequentialExecutor; diff --git a/node_modules/aws-sdk/lib/service.js b/node_modules/aws-sdk/lib/service.js deleted file mode 100644 index 43aaa3e..0000000 --- a/node_modules/aws-sdk/lib/service.js +++ /dev/null @@ -1,539 +0,0 @@ -var AWS = require('./core'); -var Api = require('./model/api'); -var regionConfig = require('./region_config'); -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, - - /** - * Calls an operation on a service with the given input parameters. - * - * @param operation [String] the name of the operation to call on the service. - * @param params [map] a map of input options for the operation - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - */ - makeRequest: function makeRequest(operation, params, callback) { - if (typeof params === 'function') { - callback = params; - params = null; - } - - params = params || {}; - if (this.config.params) { // copy only toplevel bound params - var rules = this.api.operations[operation]; - if (rules) { - params = AWS.util.copy(params); - AWS.util.each(this.config.params, function(key, value) { - if (rules.input.members[key]) { - if (params[key] === undefined || params[key] === null) { - params[key] = value; - } - } - }); - } - } - - var request = new AWS.Request(this, operation, params); - this.addAllRequestListeners(request); - - if (callback) request.send(callback); - return request; - }, - - /** - * Calls an operation on a service with the given input parameters, without - * any authentication data. This method is useful for "public" API operations. - * - * @param operation [String] the name of the operation to call on the service. - * @param params [map] a map of input options for the operation - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - */ - makeUnauthenticatedRequest: function makeUnauthenticatedRequest(operation, params, callback) { - if (typeof params === 'function') { - callback = params; - params = {}; - } - - var request = this.makeRequest(operation, params).toUnauthenticated(); - return callback ? request.send(callback) : request; - }, - - /** - * Waits for a given state - * - * @param state [String] the state on the service to wait for - * @param params [map] a map of parameters to pass with each request - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - */ - waitFor: function waitFor(state, params, callback) { - var waiter = new AWS.ResourceWaiter(this, state); - return waiter.wait(params, callback); - }, - - /** - * @api private - */ - addAllRequestListeners: function addAllRequestListeners(request) { - var list = [AWS.events, AWS.EventListeners.Core, this.serviceInterface(), - AWS.EventListeners.CorePost]; - for (var i = 0; i < list.length; i++) { - if (list[i]) request.addListeners(list[i]); - } - - // disable parameter validation - if (!this.config.paramValidation) { - request.removeListener('validate', - AWS.EventListeners.Core.VALIDATE_PARAMETERS); - } - - if (this.config.logger) { // add logging events - request.addListeners(AWS.EventListeners.Logger); - } - - this.setupRequestListeners(request); - }, - - /** - * Override this method to setup any custom request listeners for each - * new request to the service. - * - * @abstract - */ - setupRequestListeners: function setupRequestListeners() { - }, - - /** - * Gets the signer class for a given request - * @api private - */ - getSignerClass: function getSignerClass() { - var version; - if (this.config.signatureVersion) { - version = this.config.signatureVersion; - } else { - version = this.api.signatureVersion; - } - return AWS.Signers.RequestSigner.getVersion(version); - }, - - /** - * @api private - */ - serviceInterface: function serviceInterface() { - switch (this.api.protocol) { - case 'ec2': return AWS.EventListeners.Query; - case 'query': return AWS.EventListeners.Query; - case 'json': return AWS.EventListeners.Json; - case 'rest-json': return AWS.EventListeners.RestJson; - case 'rest-xml': return AWS.EventListeners.RestXml; - } - if (this.api.protocol) { - throw new Error('Invalid service `protocol\' ' + - this.api.protocol + ' in API config'); - } - }, - - /** - * @api private - */ - successfulResponse: function successfulResponse(resp) { - return resp.httpResponse.statusCode < 300; - }, - - /** - * How many times a failed request should be retried before giving up. - * the defaultRetryCount can be overriden by service classes. - * - * @api private - */ - numRetries: function numRetries() { - if (this.config.maxRetries !== undefined) { - return this.config.maxRetries; - } else { - return this.defaultRetryCount; - } - }, - - /** - * @api private - */ - retryDelays: function retryDelays(retryCount) { - 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; \ No newline at end of file diff --git a/node_modules/aws-sdk/lib/services/apigateway.js b/node_modules/aws-sdk/lib/services/apigateway.js deleted file mode 100644 index feceff0..0000000 --- a/node_modules/aws-sdk/lib/services/apigateway.js +++ /dev/null @@ -1,34 +0,0 @@ -var AWS = require('../core'); - -AWS.util.update(AWS.APIGateway.prototype, { -/** - * Sets the Accept header to application/json. - * - * @api private - */ - setAcceptHeader: function setAcceptHeader(req) { - var httpRequest = req.httpRequest; - httpRequest.headers['Accept'] = 'application/json'; - }, - - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.addListener('build', this.setAcceptHeader); - if (request.operation === 'getSdk') { - request.addListener('extractData', this.useRawPayload); - } - }, - - useRawPayload: function useRawPayload(resp) { - var req = resp.request; - var operation = req.operation; - var rules = req.service.api.operations[operation].output || {}; - if (rules.payload) { - var body = resp.httpResponse.body; - resp.data[rules.payload] = body; - } - } -}); - diff --git a/node_modules/aws-sdk/lib/services/cloudfront.js b/node_modules/aws-sdk/lib/services/cloudfront.js deleted file mode 100644 index 3a918c2..0000000 --- a/node_modules/aws-sdk/lib/services/cloudfront.js +++ /dev/null @@ -1,12 +0,0 @@ -var AWS = require('../core'); - -// pull in CloudFront signer -require('../cloudfront/signer'); - -AWS.util.update(AWS.CloudFront.prototype, { - - setupRequestListeners: function setupRequestListeners(request) { - request.addListener('extractData', AWS.util.hoistPayloadMember); - } - -}); diff --git a/node_modules/aws-sdk/lib/services/cloudsearchdomain.js b/node_modules/aws-sdk/lib/services/cloudsearchdomain.js deleted file mode 100644 index e9c9431..0000000 --- a/node_modules/aws-sdk/lib/services/cloudsearchdomain.js +++ /dev/null @@ -1,120 +0,0 @@ -var AWS = require('../core'); - -/** - * Constructs a service interface object. Each API operation is exposed as a - * function on service. - * - * ### Sending a Request Using CloudSearchDomain - * - * ```javascript - * var csd = new AWS.CloudSearchDomain({endpoint: 'my.host.tld'}); - * csd.search(params, function (err, data) { - * if (err) console.log(err, err.stack); // an error occurred - * else console.log(data); // successful response - * }); - * ``` - * - * ### Locking the API Version - * - * In order to ensure that the CloudSearchDomain object uses this specific API, - * you can construct the object by passing the `apiVersion` option to the - * constructor: - * - * ```javascript - * var csd = new AWS.CloudSearchDomain({ - * endpoint: 'my.host.tld', - * apiVersion: '2013-01-01' - * }); - * ``` - * - * You can also set the API version globally in `AWS.config.apiVersions` using - * the **cloudsearchdomain** service identifier: - * - * ```javascript - * AWS.config.apiVersions = { - * cloudsearchdomain: '2013-01-01', - * // other service API versions - * }; - * - * var csd = new AWS.CloudSearchDomain({endpoint: 'my.host.tld'}); - * ``` - * - * @note You *must* provide an `endpoint` configuration parameter when - * constructing this service. See {constructor} for more information. - * - * @!method constructor(options = {}) - * Constructs a service object. This object has one method for each - * API operation. - * - * @example Constructing a CloudSearchDomain object - * var csd = new AWS.CloudSearchDomain({endpoint: 'my.host.tld'}); - * @note You *must* provide an `endpoint` when constructing this service. - * @option (see AWS.Config.constructor) - * - * @service cloudsearchdomain - * @version 2013-01-01 - */ -AWS.util.update(AWS.CloudSearchDomain.prototype, { - /** - * @api private - */ - validateService: function validateService() { - if (!this.config.endpoint || this.config.endpoint.indexOf('{') >= 0) { - var msg = 'AWS.CloudSearchDomain requires an explicit ' + - '`endpoint\' configuration option.'; - throw AWS.util.error(new Error(), - {name: 'InvalidEndpoint', message: msg}); - } - }, - - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.removeListener('validate', - AWS.EventListeners.Core.VALIDATE_CREDENTIALS - ); - request.onAsync('validate', this.validateCredentials); - request.addListener('validate', this.updateRegion); - if (request.operation === 'search') { - request.addListener('build', this.convertGetToPost); - } - }, - - /** - * @api private - */ - validateCredentials: function(req, done) { - if (!req.service.api.signatureVersion) return done(); // none - req.service.config.getCredentials(function(err) { - if (err) { - req.removeListener('sign', AWS.EventListeners.Core.SIGN); - } - done(); - }); - }, - - /** - * @api private - */ - convertGetToPost: function(request) { - var httpRequest = request.httpRequest - // convert queries to POST to avoid length restrictions - var path = httpRequest.path.split('?') - httpRequest.method = 'POST' - httpRequest.path = path[0] - httpRequest.body = path[1] - httpRequest.headers['Content-Length'] = httpRequest.body.length - httpRequest.headers['Content-Type'] = 'application/x-www-form-urlencoded' - }, - - /** - * @api private - */ - updateRegion: function updateRegion(request) { - var endpoint = request.httpRequest.endpoint.hostname; - var zones = endpoint.split('.'); - request.httpRequest.region = zones[1] || request.httpRequest.region; - } - -}); diff --git a/node_modules/aws-sdk/lib/services/cognitoidentity.js b/node_modules/aws-sdk/lib/services/cognitoidentity.js deleted file mode 100644 index 7fa7048..0000000 --- a/node_modules/aws-sdk/lib/services/cognitoidentity.js +++ /dev/null @@ -1,15 +0,0 @@ -var AWS = require('../core'); - -AWS.util.update(AWS.CognitoIdentity.prototype, { - getOpenIdToken: function getOpenIdToken(params, callback) { - return this.makeUnauthenticatedRequest('getOpenIdToken', params, callback); - }, - - getId: function getId(params, callback) { - return this.makeUnauthenticatedRequest('getId', params, callback); - }, - - getCredentialsForIdentity: function getCredentialsForIdentity(params, callback) { - return this.makeUnauthenticatedRequest('getCredentialsForIdentity', params, callback); - } -}); diff --git a/node_modules/aws-sdk/lib/services/dynamodb.js b/node_modules/aws-sdk/lib/services/dynamodb.js deleted file mode 100644 index a95bd97..0000000 --- a/node_modules/aws-sdk/lib/services/dynamodb.js +++ /dev/null @@ -1,53 +0,0 @@ -var AWS = require('../core'); -require('../dynamodb/document_client'); - -AWS.util.update(AWS.DynamoDB.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - if (request.service.config.dynamoDbCrc32) { - request.removeListener('extractData', AWS.EventListeners.Json.EXTRACT_DATA); - request.addListener('extractData', this.checkCrc32); - request.addListener('extractData', AWS.EventListeners.Json.EXTRACT_DATA); - } - }, - - /** - * @api private - */ - checkCrc32: function checkCrc32(resp) { - if (!resp.httpResponse.streaming && !resp.request.service.crc32IsValid(resp)) { - resp.data = null; - resp.error = AWS.util.error(new Error(), { - code: 'CRC32CheckFailed', - message: 'CRC32 integrity check failed', - retryable: true - }); - resp.request.haltHandlersOnError(); - throw (resp.error); - } - }, - - /** - * @api private - */ - crc32IsValid: function crc32IsValid(resp) { - var crc = resp.httpResponse.headers['x-amz-crc32']; - if (!crc) return true; // no (valid) CRC32 header - return parseInt(crc, 10) === AWS.util.crypto.crc32(resp.httpResponse.body); - }, - - /** - * @api private - */ - defaultRetryCount: 10, - - /** - * @api private - */ - retryDelays: function retryDelays(retryCount) { - var delay = retryCount > 0 ? (50 * Math.pow(2, retryCount - 1)) : 0; - return delay; - } -}); diff --git a/node_modules/aws-sdk/lib/services/ec2.js b/node_modules/aws-sdk/lib/services/ec2.js deleted file mode 100644 index 94122bd..0000000 --- a/node_modules/aws-sdk/lib/services/ec2.js +++ /dev/null @@ -1,62 +0,0 @@ -var AWS = require('../core'); - -AWS.util.update(AWS.EC2.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.removeListener('extractError', AWS.EventListeners.Query.EXTRACT_ERROR); - request.addListener('extractError', this.extractError); - - if (request.operation === 'copySnapshot') { - request.onAsync('validate', this.buildCopySnapshotPresignedUrl); - } - }, - - /** - * @api private - */ - buildCopySnapshotPresignedUrl: function buildCopySnapshotPresignedUrl(req, done) { - if (req.params.PresignedUrl || req._subRequest) { - return done(); - } - - req.params = AWS.util.copy(req.params); - req.params.DestinationRegion = req.service.config.region; - - var config = AWS.util.copy(req.service.config); - delete config.endpoint; - config.region = req.params.SourceRegion; - var svc = new req.service.constructor(config); - var newReq = svc[req.operation](req.params); - newReq._subRequest = true; - newReq.presign(function(err, url) { - if (err) done(err); - else { - req.params.PresignedUrl = url; - done(); - } - }); - }, - - /** - * @api private - */ - extractError: function extractError(resp) { - // EC2 nests the error code and message deeper than other AWS Query services. - var httpResponse = resp.httpResponse; - var data = new AWS.XML.Parser().parse(httpResponse.body.toString() || ''); - if (data.Errors) { - resp.error = AWS.util.error(new Error(), { - code: data.Errors.Error.Code, - message: data.Errors.Error.Message - }); - } else { - resp.error = AWS.util.error(new Error(), { - code: httpResponse.statusCode, - message: null - }); - } - resp.error.requestId = data.RequestID || null; - } -}); diff --git a/node_modules/aws-sdk/lib/services/glacier.js b/node_modules/aws-sdk/lib/services/glacier.js deleted file mode 100644 index 115cff4..0000000 --- a/node_modules/aws-sdk/lib/services/glacier.js +++ /dev/null @@ -1,114 +0,0 @@ -var AWS = require('../core'); - -AWS.util.update(AWS.Glacier.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - if (Array.isArray(request._events.validate)) { - request._events.validate.unshift(this.validateAccountId); - } else { - request.on('validate', this.validateAccountId); - } - request.removeListener('afterBuild', - AWS.EventListeners.Core.COMPUTE_SHA256); - request.on('build', this.addGlacierApiVersion); - request.on('build', this.addTreeHashHeaders); - }, - - /** - * @api private - */ - validateAccountId: function validateAccountId(request) { - if (request.params.accountId !== undefined) return; - request.params = AWS.util.copy(request.params); - request.params.accountId = '-'; - }, - - /** - * @api private - */ - addGlacierApiVersion: function addGlacierApiVersion(request) { - var version = request.service.api.apiVersion; - request.httpRequest.headers['x-amz-glacier-version'] = version; - }, - - /** - * @api private - */ - addTreeHashHeaders: function addTreeHashHeaders(request) { - if (request.params.body === undefined) return; - - var hashes = request.service.computeChecksums(request.params.body); - request.httpRequest.headers['X-Amz-Content-Sha256'] = hashes.linearHash; - - if (!request.httpRequest.headers['x-amz-sha256-tree-hash']) { - request.httpRequest.headers['x-amz-sha256-tree-hash'] = hashes.treeHash; - } - }, - - /** - * @!group Computing Checksums - */ - - /** - * Computes the SHA-256 linear and tree hash checksums for a given - * block of Buffer data. Pass the tree hash of the computed checksums - * as the checksum input to the {completeMultipartUpload} when performing - * a multi-part upload. - * - * @example Calculate checksum of 5.5MB data chunk - * var glacier = new AWS.Glacier(); - * var data = new Buffer(5.5 * 1024 * 1024); - * data.fill('0'); // fill with zeros - * var results = glacier.computeChecksums(data); - * // Result: { linearHash: '68aff0c5a9...', treeHash: '154e26c78f...' } - * @param data [Buffer, String] data to calculate the checksum for - * @return [map] a map containing - * the linearHash and treeHash properties representing hex based digests - * of the respective checksums. - * @see completeMultipartUpload - */ - computeChecksums: function computeChecksums(data) { - if (!AWS.util.Buffer.isBuffer(data)) data = new AWS.util.Buffer(data); - - var mb = 1024 * 1024; - var hashes = []; - var hash = AWS.util.crypto.createHash('sha256'); - - // build leaf nodes in 1mb chunks - for (var i = 0; i < data.length; i += mb) { - var chunk = data.slice(i, Math.min(i + mb, data.length)); - hash.update(chunk); - hashes.push(AWS.util.crypto.sha256(chunk)); - } - - return { - linearHash: hash.digest('hex'), - treeHash: this.buildHashTree(hashes) - }; - }, - - /** - * @api private - */ - buildHashTree: function buildHashTree(hashes) { - // merge leaf nodes - while (hashes.length > 1) { - var tmpHashes = []; - for (var i = 0; i < hashes.length; i += 2) { - if (hashes[i + 1]) { - var tmpHash = new AWS.util.Buffer(64); - tmpHash.write(hashes[i], 0, 32, 'binary'); - tmpHash.write(hashes[i + 1], 32, 32, 'binary'); - tmpHashes.push(AWS.util.crypto.sha256(tmpHash)); - } else { - tmpHashes.push(hashes[i]); - } - } - hashes = tmpHashes; - } - - return AWS.util.crypto.toHex(hashes[0]); - } -}); diff --git a/node_modules/aws-sdk/lib/services/iotdata.js b/node_modules/aws-sdk/lib/services/iotdata.js deleted file mode 100644 index 1f09b40..0000000 --- a/node_modules/aws-sdk/lib/services/iotdata.js +++ /dev/null @@ -1,88 +0,0 @@ -var AWS = require('../core'); - -/** - * Constructs a service interface object. Each API operation is exposed as a - * function on service. - * - * ### Sending a Request Using IotData - * - * ```javascript - * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'}); - * iotdata.getThingShadow(params, function (err, data) { - * if (err) console.log(err, err.stack); // an error occurred - * else console.log(data); // successful response - * }); - * ``` - * - * ### Locking the API Version - * - * In order to ensure that the IotData object uses this specific API, - * you can construct the object by passing the `apiVersion` option to the - * constructor: - * - * ```javascript - * var iotdata = new AWS.IotData({ - * endpoint: 'my.host.tld', - * apiVersion: '2015-05-28' - * }); - * ``` - * - * You can also set the API version globally in `AWS.config.apiVersions` using - * the **iotdata** service identifier: - * - * ```javascript - * AWS.config.apiVersions = { - * iotdata: '2015-05-28', - * // other service API versions - * }; - * - * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'}); - * ``` - * - * @note You *must* provide an `endpoint` configuration parameter when - * constructing this service. See {constructor} for more information. - * - * @!method constructor(options = {}) - * Constructs a service object. This object has one method for each - * API operation. - * - * @example Constructing a IotData object - * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'}); - * @note You *must* provide an `endpoint` when constructing this service. - * @option (see AWS.Config.constructor) - * - * @service iotdata - * @version 2015-05-28 - */ -AWS.util.update(AWS.IotData.prototype, { - /** - * @api private - */ - validateService: function validateService() { - if (!this.config.endpoint || this.config.endpoint.indexOf('{') >= 0) { - var msg = 'AWS.IotData requires an explicit ' + - '`endpoint\' configuration option.'; - throw AWS.util.error(new Error(), - {name: 'InvalidEndpoint', message: msg}); - } - }, - - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.addListener('validateResponse', this.validateResponseBody) - }, - - /** - * @api private - */ - validateResponseBody: function validateResponseBody(resp) { - var body = resp.httpResponse.body.toString() || '{}'; - var bodyCheck = body.trim(); - if (!bodyCheck || bodyCheck.charAt(0) !== '{') { - resp.httpResponse.body = ''; - } - } - -}); diff --git a/node_modules/aws-sdk/lib/services/machinelearning.js b/node_modules/aws-sdk/lib/services/machinelearning.js deleted file mode 100644 index e2808f4..0000000 --- a/node_modules/aws-sdk/lib/services/machinelearning.js +++ /dev/null @@ -1,24 +0,0 @@ -var AWS = require('../core'); - -AWS.util.update(AWS.MachineLearning.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - if (request.operation === 'predict') { - request.addListener('build', this.buildEndpoint); - } - }, - - /** - * Updates request endpoint from PredictEndpoint - * @api private - */ - buildEndpoint: function buildEndpoint(request) { - var url = request.params.PredictEndpoint; - if (url) { - request.httpRequest.endpoint = new AWS.Endpoint(url); - } - } - -}); diff --git a/node_modules/aws-sdk/lib/services/route53.js b/node_modules/aws-sdk/lib/services/route53.js deleted file mode 100644 index fe6a721..0000000 --- a/node_modules/aws-sdk/lib/services/route53.js +++ /dev/null @@ -1,32 +0,0 @@ -var AWS = require('../core'); - -AWS.util.update(AWS.Route53.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.on('build', this.sanitizeUrl); - }, - - /** - * @api private - */ - sanitizeUrl: function sanitizeUrl(request) { - var path = request.httpRequest.path; - request.httpRequest.path = path.replace(/\/%2F\w+%2F/, '/'); - }, - - /** - * @return [Boolean] whether the error can be retried - * @api private - */ - retryableError: function retryableError(error) { - if (error.code === 'PriorRequestNotComplete' && - error.statusCode === 400) { - return true; - } else { - var _super = AWS.Service.prototype.retryableError; - return _super.call(this, error); - } - } -}); diff --git a/node_modules/aws-sdk/lib/services/s3.js b/node_modules/aws-sdk/lib/services/s3.js deleted file mode 100644 index 1ebd3c8..0000000 --- a/node_modules/aws-sdk/lib/services/s3.js +++ /dev/null @@ -1,832 +0,0 @@ -var AWS = require('../core'); - -// Pull in managed upload extension -require('../s3/managed_upload'); - -/** - * @api private - */ -var operationsWith200StatusCodeError = { - 'completeMultipartUpload': true, - 'copyObject': true, - 'uploadPartCopy': true -}; - -/** - * @api private - */ - var regionRedirectErrorCodes = [ - 'AuthorizationHeaderMalformed', // non-head operations on virtual-hosted global bucket endpoints - 'BadRequest', // head operations on virtual-hosted global bucket endpoints - 'PermanentRedirect', // non-head operations on path-style or regional endpoints - 301 // head operations on path-style or regional endpoints - ]; - -AWS.util.update(AWS.S3.prototype, { - /** - * @api private - */ - getSignerClass: function getSignerClass(request) { - var defaultApiVersion = this.api.signatureVersion; - var userDefinedVersion = this._originalConfig ? this._originalConfig.signatureVersion : null; - var regionDefinedVersion = this.config.signatureVersion; - var isPresigned = request ? request.isPresigned() : false; - /* - 1) User defined version specified: - a) always return user defined version - 2) No user defined version specified: - a) default to lowest version the region supports - */ - if (userDefinedVersion) { - userDefinedVersion = userDefinedVersion === 'v2' ? 's3' : userDefinedVersion; - return AWS.Signers.RequestSigner.getVersion(userDefinedVersion); - } - if (regionDefinedVersion) { - defaultApiVersion = regionDefinedVersion; - } - - return AWS.Signers.RequestSigner.getVersion(defaultApiVersion); - }, - - /** - * @api private - */ - validateService: function validateService() { - var msg; - var messages = []; - - // default to us-east-1 when no region is provided - if (!this.config.region) this.config.region = 'us-east-1'; - - if (!this.config.endpoint && this.config.s3BucketEndpoint) { - messages.push('An endpoint must be provided when configuring ' + - '`s3BucketEndpoint` to true.'); - } - if (this.config.useAccelerateEndpoint && this.config.useDualstack) { - messages.push('`useAccelerateEndpoint` and `useDualstack` ' + - 'cannot both be configured to true.'); - } - if (messages.length === 1) { - msg = messages[0]; - } else if (messages.length > 1) { - msg = 'Multiple configuration errors:\n' + messages.join('\n'); - } - if (msg) { - throw AWS.util.error(new Error(), - {name: 'InvalidEndpoint', message: msg}); - } - }, - - /** - * @api private - */ - shouldDisableBodySigning: function shouldDisableBodySigning(request) { - var signerClass = this.getSignerClass(); - if (this.config.s3DisableBodySigning === true && signerClass === AWS.Signers.V4 - && request.httpRequest.endpoint.protocol === 'https:') { - return true; - } - return false; - }, - - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.addListener('validate', this.validateScheme); - request.addListener('validate', this.validateBucketEndpoint); - request.addListener('validate', this.correctBucketRegionFromCache); - request.addListener('build', this.addContentType); - request.addListener('build', this.populateURI); - request.addListener('build', this.computeContentMd5); - request.addListener('build', this.computeSseCustomerKeyMd5); - request.addListener('afterBuild', this.addExpect100Continue); - request.removeListener('validate', - AWS.EventListeners.Core.VALIDATE_REGION); - request.addListener('extractError', this.extractError); - request.onAsync('extractError', this.requestBucketRegion); - request.addListener('extractData', this.extractData); - request.addListener('extractData', AWS.util.hoistPayloadMember); - request.addListener('beforePresign', this.prepareSignedUrl); - if (AWS.util.isBrowser()) { - request.onAsync('retry', this.reqRegionForNetworkingError); - } - if (this.shouldDisableBodySigning(request)) { - request.removeListener('afterBuild', AWS.EventListeners.Core.COMPUTE_SHA256); - request.addListener('afterBuild', this.disableBodySigning); - } - }, - - /** - * @api private - */ - validateScheme: function(req) { - var params = req.params, - scheme = req.httpRequest.endpoint.protocol, - sensitive = params.SSECustomerKey || params.CopySourceSSECustomerKey; - if (sensitive && scheme !== 'https:') { - var msg = 'Cannot send SSE keys over HTTP. Set \'sslEnabled\'' + - 'to \'true\' in your configuration'; - throw AWS.util.error(new Error(), - { code: 'ConfigError', message: msg }); - } - }, - - /** - * @api private - */ - validateBucketEndpoint: function(req) { - if (!req.params.Bucket && req.service.config.s3BucketEndpoint) { - var msg = 'Cannot send requests to root API with `s3BucketEndpoint` set.'; - throw AWS.util.error(new Error(), - { code: 'ConfigError', message: msg }); - } - }, - - /** - * @api private - */ - isValidAccelerateOperation: function isValidAccelerateOperation(operation) { - var invalidOperations = [ - 'createBucket', - 'deleteBucket', - 'listBuckets' - ]; - return invalidOperations.indexOf(operation) === -1; - }, - - - /** - * S3 prefers dns-compatible bucket names to be moved from the uri path - * to the hostname as a sub-domain. This is not possible, even for dns-compat - * buckets when using SSL and the bucket name contains a dot ('.'). The - * ssl wildcard certificate is only 1-level deep. - * - * @api private - */ - populateURI: function populateURI(req) { - var httpRequest = req.httpRequest; - var b = req.params.Bucket; - var service = req.service; - var endpoint = httpRequest.endpoint; - - if (b) { - if (!service.pathStyleBucketName(b)) { - if (service.config.useAccelerateEndpoint && service.isValidAccelerateOperation(req.operation)) { - endpoint.hostname = b + '.s3-accelerate.amazonaws.com'; - } else if (!service.config.s3BucketEndpoint) { - endpoint.hostname = - b + '.' + endpoint.hostname; - } - - var port = endpoint.port; - if (port !== 80 && port !== 443) { - endpoint.host = endpoint.hostname + ':' + - endpoint.port; - } else { - endpoint.host = endpoint.hostname; - } - - httpRequest.virtualHostedBucket = b; // needed for signing the request - service.removeVirtualHostedBucketFromPath(req); - } - } - }, - - /** - * Takes the bucket name out of the path if bucket is virtual-hosted - * - * @api private - */ - removeVirtualHostedBucketFromPath: function removeVirtualHostedBucketFromPath(req) { - var httpRequest = req.httpRequest; - var bucket = httpRequest.virtualHostedBucket; - if (bucket && httpRequest.path) { - httpRequest.path = httpRequest.path.replace(new RegExp('/' + bucket), ''); - if (httpRequest.path[0] !== '/') { - httpRequest.path = '/' + httpRequest.path; - } - } - }, - - /** - * Adds Expect: 100-continue header if payload is greater-or-equal 1MB - * @api private - */ - addExpect100Continue: function addExpect100Continue(req) { - var len = req.httpRequest.headers['Content-Length']; - if (AWS.util.isNode() && len >= 1024 * 1024) { - req.httpRequest.headers['Expect'] = '100-continue'; - } - }, - - /** - * Adds a default content type if none is supplied. - * - * @api private - */ - addContentType: function addContentType(req) { - var httpRequest = req.httpRequest; - if (httpRequest.method === 'GET' || httpRequest.method === 'HEAD') { - // Content-Type is not set in GET/HEAD requests - delete httpRequest.headers['Content-Type']; - return; - } - - if (!httpRequest.headers['Content-Type']) { // always have a Content-Type - httpRequest.headers['Content-Type'] = 'application/octet-stream'; - } - - var contentType = httpRequest.headers['Content-Type']; - if (AWS.util.isBrowser()) { - if (typeof httpRequest.body === 'string' && !contentType.match(/;\s*charset=/)) { - var charset = '; charset=UTF-8'; - httpRequest.headers['Content-Type'] += charset; - } else { - var replaceFn = function(_, prefix, charsetName) { - return prefix + charsetName.toUpperCase(); - }; - - httpRequest.headers['Content-Type'] = - contentType.replace(/(;\s*charset=)(.+)$/, replaceFn); - } - } - }, - - /** - * @api private - */ - computableChecksumOperations: { - putBucketCors: true, - putBucketLifecycle: true, - putBucketLifecycleConfiguration: true, - putBucketTagging: true, - deleteObjects: true, - putBucketReplication: true - }, - - /** - * Checks whether checksums should be computed for the request. - * If the request requires checksums to be computed, this will always - * return true, otherwise it depends on whether {AWS.Config.computeChecksums} - * is set. - * - * @param req [AWS.Request] the request to check against - * @return [Boolean] whether to compute checksums for a request. - * @api private - */ - willComputeChecksums: function willComputeChecksums(req) { - if (this.computableChecksumOperations[req.operation]) return true; - if (!this.config.computeChecksums) return false; - - // TODO: compute checksums for Stream objects - if (!AWS.util.Buffer.isBuffer(req.httpRequest.body) && - typeof req.httpRequest.body !== 'string') { - return false; - } - - var rules = req.service.api.operations[req.operation].input.members; - - // Sha256 signing disabled, and not a presigned url - if (req.service.shouldDisableBodySigning(req) && !Object.prototype.hasOwnProperty.call(req.httpRequest.headers, 'presigned-expires')) { - if (rules.ContentMD5 && !req.params.ContentMD5) { - return true; - } - } - - // V4 signer uses SHA256 signatures so only compute MD5 if it is required - if (req.service.getSignerClass(req) === AWS.Signers.V4) { - if (rules.ContentMD5 && !rules.ContentMD5.required) return false; - } - - if (rules.ContentMD5 && !req.params.ContentMD5) return true; - }, - - /** - * A listener that computes the Content-MD5 and sets it in the header. - * @see AWS.S3.willComputeChecksums - * @api private - */ - computeContentMd5: function computeContentMd5(req) { - if (req.service.willComputeChecksums(req)) { - var md5 = AWS.util.crypto.md5(req.httpRequest.body, 'base64'); - req.httpRequest.headers['Content-MD5'] = md5; - } - }, - - /** - * @api private - */ - computeSseCustomerKeyMd5: function computeSseCustomerKeyMd5(req) { - var keys = { - SSECustomerKey: 'x-amz-server-side-encryption-customer-key-MD5', - CopySourceSSECustomerKey: 'x-amz-copy-source-server-side-encryption-customer-key-MD5' - }; - AWS.util.each(keys, function(key, header) { - if (req.params[key]) { - var value = AWS.util.crypto.md5(req.params[key], 'base64'); - req.httpRequest.headers[header] = value; - } - }); - }, - - /** - * Returns true if the bucket name should be left in the URI path for - * a request to S3. This function takes into account the current - * endpoint protocol (e.g. http or https). - * - * @api private - */ - pathStyleBucketName: function pathStyleBucketName(bucketName) { - // user can force path style requests via the configuration - if (this.config.s3ForcePathStyle) return true; - if (this.config.s3BucketEndpoint) return false; - - if (this.dnsCompatibleBucketName(bucketName)) { - return (this.config.sslEnabled && bucketName.match(/\./)) ? true : false; - } else { - return true; // not dns compatible names must always use path style - } - }, - - /** - * Returns true if the bucket name is DNS compatible. Buckets created - * outside of the classic region MUST be DNS compatible. - * - * @api private - */ - dnsCompatibleBucketName: function dnsCompatibleBucketName(bucketName) { - var b = bucketName; - var domain = new RegExp(/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/); - var ipAddress = new RegExp(/(\d+\.){3}\d+/); - var dots = new RegExp(/\.\./); - return (b.match(domain) && !b.match(ipAddress) && !b.match(dots)) ? true : false; - }, - - /** - * @return [Boolean] whether response contains an error - * @api private - */ - successfulResponse: function successfulResponse(resp) { - var req = resp.request; - var httpResponse = resp.httpResponse; - if (operationsWith200StatusCodeError[req.operation] && - httpResponse.body.toString().match('')) { - return false; - } else { - return httpResponse.statusCode < 300; - } - }, - - /** - * @return [Boolean] whether the error can be retried - * @api private - */ - retryableError: function retryableError(error, request) { - if (operationsWith200StatusCodeError[request.operation] && - error.statusCode === 200) { - return true; - } else if (request._requestRegionForBucket && - request.service.bucketRegionCache[request._requestRegionForBucket]) { - return false; - } else if (error && error.code === 'RequestTimeout') { - return true; - } else if (error && - regionRedirectErrorCodes.indexOf(error.code) != -1 && - error.region && error.region != request.httpRequest.region) { - request.httpRequest.region = error.region; - if (error.statusCode === 301) { - request.service.updateReqBucketRegion(request); - } - return true; - } else { - var _super = AWS.Service.prototype.retryableError; - return _super.call(this, error, request); - } - }, - - /** - * Updates httpRequest with region. If region is not provided, then - * the httpRequest will be updated based on httpRequest.region - * - * @api private - */ - updateReqBucketRegion: function updateReqBucketRegion(request, region) { - var httpRequest = request.httpRequest; - if (typeof region === 'string' && region.length) { - httpRequest.region = region; - } - if (!httpRequest.endpoint.host.match(/s3(?!-accelerate).*\.amazonaws\.com$/)) { - return; - } - var service = request.service; - var s3Config = service.config; - var s3BucketEndpoint = s3Config.s3BucketEndpoint; - if (s3BucketEndpoint) { - delete s3Config.s3BucketEndpoint; - } - var newConfig = AWS.util.copy(s3Config); - delete newConfig.endpoint; - newConfig.region = httpRequest.region; - - httpRequest.endpoint = (new AWS.S3(newConfig)).endpoint; - service.populateURI(request); - s3Config.s3BucketEndpoint = s3BucketEndpoint; - httpRequest.headers.Host = httpRequest.endpoint.host; - - if (request._asm.currentState === 'validate') { - request.removeListener('build', service.populateURI); - request.addListener('build', service.removeVirtualHostedBucketFromPath); - } - }, - - /** - * Provides a specialized parser for getBucketLocation -- all other - * operations are parsed by the super class. - * - * @api private - */ - extractData: function extractData(resp) { - var req = resp.request; - if (req.operation === 'getBucketLocation') { - var match = resp.httpResponse.body.toString().match(/>(.+)<\/Location/); - delete resp.data['_']; - if (match) { - resp.data.LocationConstraint = match[1]; - } else { - resp.data.LocationConstraint = ''; - } - } - var bucket = req.params.Bucket || null; - if (req.operation === 'deleteBucket' && typeof bucket === 'string' && !resp.error) { - req.service.clearBucketRegionCache(bucket); - } else { - var headers = resp.httpResponse.headers || {}; - var region = headers['x-amz-bucket-region'] || null; - if (!region && req.operation === 'createBucket' && !resp.error) { - var createBucketConfiguration = req.params.CreateBucketConfiguration; - if (!createBucketConfiguration) { - region = 'us-east-1'; - } else if (createBucketConfiguration.LocationConstraint === 'EU') { - region = 'eu-west-1'; - } else { - region = createBucketConfiguration.LocationConstraint; - } - } - if (region) { - if (bucket && region !== req.service.bucketRegionCache[bucket]) { - req.service.bucketRegionCache[bucket] = region; - } - } - } - req.service.extractRequestIds(resp); - }, - - /** - * Extracts an error object from the http response. - * - * @api private - */ - extractError: function extractError(resp) { - var codes = { - 304: 'NotModified', - 403: 'Forbidden', - 400: 'BadRequest', - 404: 'NotFound' - }; - - var req = resp.request; - var code = resp.httpResponse.statusCode; - var body = resp.httpResponse.body || ''; - - var headers = resp.httpResponse.headers || {}; - var region = headers['x-amz-bucket-region'] || null; - var bucket = req.params.Bucket || null; - var bucketRegionCache = req.service.bucketRegionCache; - if (region && bucket && region !== bucketRegionCache[bucket]) { - bucketRegionCache[bucket] = region; - } - - var cachedRegion; - if (codes[code] && body.length === 0) { - if (bucket && !region) { - cachedRegion = bucketRegionCache[bucket] || null; - if (cachedRegion !== req.httpRequest.region) { - region = cachedRegion; - } - } - resp.error = AWS.util.error(new Error(), { - code: codes[code], - message: null, - region: region - }); - } else { - var data = new AWS.XML.Parser().parse(body.toString()); - - if (data.Region && !region) { - region = data.Region; - if (bucket && region !== bucketRegionCache[bucket]) { - bucketRegionCache[bucket] = region; - } - } else if (bucket && !region && !data.Region) { - cachedRegion = bucketRegionCache[bucket] || null; - if (cachedRegion !== req.httpRequest.region) { - region = cachedRegion; - } - } - - resp.error = AWS.util.error(new Error(), { - code: data.Code || code, - message: data.Message || null, - region: region - }); - } - req.service.extractRequestIds(resp); - }, - - /** - * If region was not obtained synchronously, then send async request - * to get bucket region for errors resulting from wrong region. - * - * @api private - */ - requestBucketRegion: function requestBucketRegion(resp, done) { - var error = resp.error; - var req = resp.request; - var bucket = req.params.Bucket || null; - - if (!error || !bucket || error.region || req.operation === 'listObjects' || - (AWS.util.isNode() && req.operation === 'headBucket') || - (error.statusCode === 400 && req.operation !== 'headObject') || - regionRedirectErrorCodes.indexOf(error.code) === -1) { - return done(); - } - var reqOperation = AWS.util.isNode() ? 'headBucket' : 'listObjects'; - var reqParams = {Bucket: bucket}; - if (reqOperation === 'listObjects') reqParams.MaxKeys = 0; - var regionReq = req.service[reqOperation](reqParams); - regionReq._requestRegionForBucket = bucket; - regionReq.send(function() { - var region = req.service.bucketRegionCache[bucket] || null; - error.region = region; - done(); - }); - }, - - /** - * For browser only. If NetworkingError received, will attempt to obtain - * the bucket region. - * - * @api private - */ - reqRegionForNetworkingError: function reqRegionForNetworkingError(resp, done) { - if (!AWS.util.isBrowser()) { - return done(); - } - var error = resp.error; - var request = resp.request; - var bucket = request.params.Bucket; - if (!error || error.code !== 'NetworkingError' || !bucket || - request.httpRequest.region === 'us-east-1') { - return done(); - } - var service = request.service; - var bucketRegionCache = service.bucketRegionCache; - var cachedRegion = bucketRegionCache[bucket] || null; - - if (cachedRegion && cachedRegion !== request.httpRequest.region) { - service.updateReqBucketRegion(request, cachedRegion); - done(); - } else if (!service.dnsCompatibleBucketName(bucket)) { - service.updateReqBucketRegion(request, 'us-east-1'); - if (bucketRegionCache[bucket] !== 'us-east-1') { - bucketRegionCache[bucket] = 'us-east-1'; - } - done(); - } else if (request.httpRequest.virtualHostedBucket) { - var getRegionReq = service.listObjects({Bucket: bucket, MaxKeys: 0}); - service.updateReqBucketRegion(getRegionReq, 'us-east-1'); - getRegionReq._requestRegionForBucket = bucket; - - getRegionReq.send(function() { - var region = service.bucketRegionCache[bucket] || null; - if (region && region !== request.httpRequest.region) { - service.updateReqBucketRegion(request, region); - } - done(); - }); - } else { - // DNS-compatible path-style - // (s3ForcePathStyle or bucket name with dot over https) - // Cannot obtain region information for this case - done(); - } - }, - - /** - * Cache for bucket region. - * - * @api private - */ - bucketRegionCache: {}, - - /** - * Clears bucket region cache. - * - * @api private - */ - clearBucketRegionCache: function(buckets) { - var bucketRegionCache = this.bucketRegionCache; - if (!buckets) { - buckets = Object.keys(bucketRegionCache); - } else if (typeof buckets === 'string') { - buckets = [buckets]; - } - for (var i = 0; i < buckets.length; i++) { - delete bucketRegionCache[buckets[i]]; - } - return bucketRegionCache; - }, - - /** - * Corrects request region if bucket's cached region is different - * - * @api private - */ - correctBucketRegionFromCache: function correctBucketRegionFromCache(req) { - var bucket = req.params.Bucket || null; - if (bucket) { - var service = req.service; - var requestRegion = req.httpRequest.region; - var cachedRegion = service.bucketRegionCache[bucket]; - if (cachedRegion && cachedRegion !== requestRegion) { - service.updateReqBucketRegion(req, cachedRegion); - } - } - }, - - /** - * Extracts S3 specific request ids from the http response. - * - * @api private - */ - extractRequestIds: function extractRequestIds(resp) { - var extendedRequestId = resp.httpResponse.headers ? resp.httpResponse.headers['x-amz-id-2'] : null; - var cfId = resp.httpResponse.headers ? resp.httpResponse.headers['x-amz-cf-id'] : null; - resp.extendedRequestId = extendedRequestId; - resp.cfId = cfId; - - if (resp.error) { - resp.error.requestId = resp.requestId || null; - resp.error.extendedRequestId = extendedRequestId; - resp.error.cfId = cfId; - } - }, - - /** - * Get a pre-signed URL for a given operation name. - * - * @note You must ensure that you have static or previously resolved - * credentials if you call this method synchronously (with no callback), - * otherwise it may not properly sign the request. If you cannot guarantee - * this (you are using an asynchronous credential provider, i.e., EC2 - * IAM roles), you should always call this method with an asynchronous - * callback. - * @param operation [String] the name of the operation to call - * @param params [map] parameters to pass to the operation. See the given - * operation for the expected operation parameters. In addition, you can - * also pass the "Expires" parameter to inform S3 how long the URL should - * work for. - * @option params Expires [Integer] (900) the number of seconds to expire - * the pre-signed URL operation in. Defaults to 15 minutes. - * @param callback [Function] if a callback is provided, this function will - * pass the URL as the second parameter (after the error parameter) to - * the callback function. - * @return [String] if called synchronously (with no callback), returns the - * signed URL. - * @return [null] nothing is returned if a callback is provided. - * @example Pre-signing a getObject operation (synchronously) - * var params = {Bucket: 'bucket', Key: 'key'}; - * var url = s3.getSignedUrl('getObject', params); - * console.log('The URL is', url); - * @example Pre-signing a putObject (asynchronously) - * var params = {Bucket: 'bucket', Key: 'key'}; - * s3.getSignedUrl('putObject', params, function (err, url) { - * console.log('The URL is', url); - * }); - * @example Pre-signing a putObject operation with a specific payload - * var params = {Bucket: 'bucket', Key: 'key', Body: 'body'}; - * var url = s3.getSignedUrl('putObject', params); - * console.log('The URL is', url); - * @example Passing in a 1-minute expiry time for a pre-signed URL - * var params = {Bucket: 'bucket', Key: 'key', Expires: 60}; - * var url = s3.getSignedUrl('getObject', params); - * console.log('The URL is', url); // expires in 60 seconds - */ - getSignedUrl: function getSignedUrl(operation, params, callback) { - params = AWS.util.copy(params || {}); - var expires = params.Expires || 900; - delete params.Expires; // we can't validate this - var request = this.makeRequest(operation, params); - return request.presign(expires, callback); - }, - - /** - * @api private - */ - prepareSignedUrl: function prepareSignedUrl(request) { - request.addListener('validate', request.service.noPresignedContentLength); - request.removeListener('build', request.service.addContentType); - if (!request.params.Body) { - // no Content-MD5/SHA-256 if body is not provided - request.removeListener('build', request.service.computeContentMd5); - } else { - request.addListener('afterBuild', AWS.EventListeners.Core.COMPUTE_SHA256); - } - }, - - /** - * @api private - * @param request - */ - disableBodySigning: function disableBodySigning(request) { - var headers = request.httpRequest.headers; - // Add the header to anything that isn't a presigned url, unless that presigned url had a body defined - if (!Object.prototype.hasOwnProperty.call(headers, 'presigned-expires')) { - headers['X-Amz-Content-Sha256'] = 'UNSIGNED-PAYLOAD'; - } - }, - - /** - * @api private - */ - noPresignedContentLength: function noPresignedContentLength(request) { - if (request.params.ContentLength !== undefined) { - throw AWS.util.error(new Error(), {code: 'UnexpectedParameter', - message: 'ContentLength is not supported in pre-signed URLs.'}); - } - }, - - createBucket: function createBucket(params, callback) { - // When creating a bucket *outside* the classic region, the location - // constraint must be set for the bucket and it must match the endpoint. - // This chunk of code will set the location constraint param based - // on the region (when possible), but it will not override a passed-in - // location constraint. - if (typeof params === 'function' || !params) { - callback = callback || params; - params = {}; - } - var hostname = this.endpoint.hostname; - if (hostname !== this.api.globalEndpoint && !params.CreateBucketConfiguration) { - params.CreateBucketConfiguration = { LocationConstraint: this.config.region }; - } - return this.makeRequest('createBucket', params, callback); - }, - - /** - * @overload upload(params = {}, [options], [callback]) - * Uploads an arbitrarily sized buffer, blob, or stream, using intelligent - * concurrent handling of parts if the payload is large enough. You can - * configure the concurrent queue size by setting `options`. Note that this - * is the only operation for which the SDK can retry requests with stream - * bodies. - * - * @param (see AWS.S3.putObject) - * @option (see AWS.S3.ManagedUpload.constructor) - * @return [AWS.S3.ManagedUpload] the managed upload object that can call - * `send()` or track progress. - * @example Uploading a stream object - * var params = {Bucket: 'bucket', Key: 'key', Body: stream}; - * s3.upload(params, function(err, data) { - * console.log(err, data); - * }); - * @example Uploading a stream with concurrency of 1 and partSize of 10mb - * var params = {Bucket: 'bucket', Key: 'key', Body: stream}; - * var options = {partSize: 10 * 1024 * 1024, queueSize: 1}; - * s3.upload(params, options, function(err, data) { - * console.log(err, data); - * }); - * @callback callback function(err, data) - * @param err [Error] an error or null if no error occurred. - * @param data [map] The response data from the successful upload: - * * `Location` (String) the URL of the uploaded object - * * `ETag` (String) the ETag of the uploaded object - * * `Bucket` (String) the bucket to which the object was uploaded - * * `Key` (String) the key to which the object was uploaded - * @see AWS.S3.ManagedUpload - */ - upload: function upload(params, options, callback) { - if (typeof options === 'function' && callback === undefined) { - callback = options; - options = null; - } - - options = options || {}; - options = AWS.util.merge(options || {}, {service: this, params: params}); - - var uploader = new AWS.S3.ManagedUpload(options); - if (typeof callback === 'function') uploader.send(callback); - return uploader; - } -}); diff --git a/node_modules/aws-sdk/lib/services/sqs.js b/node_modules/aws-sdk/lib/services/sqs.js deleted file mode 100644 index 42aaf2e..0000000 --- a/node_modules/aws-sdk/lib/services/sqs.js +++ /dev/null @@ -1,131 +0,0 @@ -var AWS = require('../core'); - -AWS.util.update(AWS.SQS.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.addListener('build', this.buildEndpoint); - - if (request.service.config.computeChecksums) { - if (request.operation === 'sendMessage') { - request.addListener('extractData', this.verifySendMessageChecksum); - } else if (request.operation === 'sendMessageBatch') { - request.addListener('extractData', this.verifySendMessageBatchChecksum); - } else if (request.operation === 'receiveMessage') { - request.addListener('extractData', this.verifyReceiveMessageChecksum); - } - } - }, - - /** - * @api private - */ - verifySendMessageChecksum: function verifySendMessageChecksum(response) { - if (!response.data) return; - - var md5 = response.data.MD5OfMessageBody; - var body = this.params.MessageBody; - var calculatedMd5 = this.service.calculateChecksum(body); - if (calculatedMd5 !== md5) { - var msg = 'Got "' + response.data.MD5OfMessageBody + - '", expecting "' + calculatedMd5 + '".'; - this.service.throwInvalidChecksumError(response, - [response.data.MessageId], msg); - } - }, - - /** - * @api private - */ - verifySendMessageBatchChecksum: function verifySendMessageBatchChecksum(response) { - if (!response.data) return; - - var service = this.service; - var entries = {}; - var errors = []; - var messageIds = []; - AWS.util.arrayEach(response.data.Successful, function (entry) { - entries[entry.Id] = entry; - }); - AWS.util.arrayEach(this.params.Entries, function (entry) { - if (entries[entry.Id]) { - var md5 = entries[entry.Id].MD5OfMessageBody; - var body = entry.MessageBody; - if (!service.isChecksumValid(md5, body)) { - errors.push(entry.Id); - messageIds.push(entries[entry.Id].MessageId); - } - } - }); - - if (errors.length > 0) { - service.throwInvalidChecksumError(response, messageIds, - 'Invalid messages: ' + errors.join(', ')); - } - }, - - /** - * @api private - */ - verifyReceiveMessageChecksum: function verifyReceiveMessageChecksum(response) { - if (!response.data) return; - - var service = this.service; - var messageIds = []; - AWS.util.arrayEach(response.data.Messages, function(message) { - var md5 = message.MD5OfBody; - var body = message.Body; - if (!service.isChecksumValid(md5, body)) { - messageIds.push(message.MessageId); - } - }); - - if (messageIds.length > 0) { - service.throwInvalidChecksumError(response, messageIds, - 'Invalid messages: ' + messageIds.join(', ')); - } - }, - - /** - * @api private - */ - throwInvalidChecksumError: function throwInvalidChecksumError(response, ids, message) { - response.error = AWS.util.error(new Error(), { - retryable: true, - code: 'InvalidChecksum', - messageIds: ids, - message: response.request.operation + - ' returned an invalid MD5 response. ' + message - }); - }, - - /** - * @api private - */ - isChecksumValid: function isChecksumValid(checksum, data) { - return this.calculateChecksum(data) === checksum; - }, - - /** - * @api private - */ - calculateChecksum: function calculateChecksum(data) { - return AWS.util.crypto.md5(data, 'hex'); - }, - - /** - * @api private - */ - buildEndpoint: function buildEndpoint(request) { - var url = request.httpRequest.params.QueueUrl; - if (url) { - request.httpRequest.endpoint = new AWS.Endpoint(url); - - // signature version 4 requires the region name to be set, - // sqs queue urls contain the region name - var matches = request.httpRequest.endpoint.host.match(/^sqs\.(.+?)\./); - if (matches) request.httpRequest.region = matches[1]; - } - } -}); diff --git a/node_modules/aws-sdk/lib/services/sts.js b/node_modules/aws-sdk/lib/services/sts.js deleted file mode 100644 index 6e9fd00..0000000 --- a/node_modules/aws-sdk/lib/services/sts.js +++ /dev/null @@ -1,47 +0,0 @@ -var AWS = require('../core'); - -AWS.util.update(AWS.STS.prototype, { - /** - * @overload credentialsFrom(data, credentials = null) - * Creates a credentials object from STS response data containing - * credentials information. Useful for quickly setting AWS credentials. - * - * @note This is a low-level utility function. If you want to load temporary - * credentials into your process for subsequent requests to AWS resources, - * you should use {AWS.TemporaryCredentials} instead. - * @param data [map] data retrieved from a call to {getFederatedToken}, - * {getSessionToken}, {assumeRole}, or {assumeRoleWithWebIdentity}. - * @param credentials [AWS.Credentials] an optional credentials object to - * fill instead of creating a new object. Useful when modifying an - * existing credentials object from a refresh call. - * @return [AWS.TemporaryCredentials] the set of temporary credentials - * loaded from a raw STS operation response. - * @example Using credentialsFrom to load global AWS credentials - * var sts = new AWS.STS(); - * sts.getSessionToken(function (err, data) { - * if (err) console.log("Error getting credentials"); - * else { - * AWS.config.credentials = sts.credentialsFrom(data); - * } - * }); - * @see AWS.TemporaryCredentials - */ - credentialsFrom: function credentialsFrom(data, credentials) { - if (!data) return null; - if (!credentials) credentials = new AWS.TemporaryCredentials(); - credentials.expired = false; - credentials.accessKeyId = data.Credentials.AccessKeyId; - credentials.secretAccessKey = data.Credentials.SecretAccessKey; - credentials.sessionToken = data.Credentials.SessionToken; - credentials.expireTime = data.Credentials.Expiration; - return credentials; - }, - - assumeRoleWithWebIdentity: function assumeRoleWithWebIdentity(params, callback) { - return this.makeUnauthenticatedRequest('assumeRoleWithWebIdentity', params, callback); - }, - - assumeRoleWithSAML: function assumeRoleWithSAML(params, callback) { - return this.makeUnauthenticatedRequest('assumeRoleWithSAML', params, callback); - } -}); diff --git a/node_modules/aws-sdk/lib/services/swf.js b/node_modules/aws-sdk/lib/services/swf.js deleted file mode 100644 index d252087..0000000 --- a/node_modules/aws-sdk/lib/services/swf.js +++ /dev/null @@ -1,10 +0,0 @@ -var AWS = require('../core'); - -AWS.util.hideProperties(AWS, ['SimpleWorkflow']); - -/** - * @constant - * @readonly - * Backwards compatibility for access to the {AWS.SWF} service class. - */ -AWS.SimpleWorkflow = AWS.SWF; diff --git a/node_modules/aws-sdk/lib/signers/presign.js b/node_modules/aws-sdk/lib/signers/presign.js deleted file mode 100644 index cb3f53a..0000000 --- a/node_modules/aws-sdk/lib/signers/presign.js +++ /dev/null @@ -1,115 +0,0 @@ -var AWS = require('../core'); -var inherit = AWS.util.inherit; - -/** - * @api private - */ -var expiresHeader = 'presigned-expires'; - -/** - * @api private - */ -function signedUrlBuilder(request) { - var expires = request.httpRequest.headers[expiresHeader]; - 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; diff --git a/node_modules/aws-sdk/lib/signers/request_signer.js b/node_modules/aws-sdk/lib/signers/request_signer.js deleted file mode 100644 index 6f869dd..0000000 --- a/node_modules/aws-sdk/lib/signers/request_signer.js +++ /dev/null @@ -1,37 +0,0 @@ -var AWS = require('../core'); -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); -}; - -require('./v2'); -require('./v3'); -require('./v3https'); -require('./v4'); -require('./s3'); -require('./presign'); diff --git a/node_modules/aws-sdk/lib/signers/s3.js b/node_modules/aws-sdk/lib/signers/s3.js deleted file mode 100644 index 632e2f1..0000000 --- a/node_modules/aws-sdk/lib/signers/s3.js +++ /dev/null @@ -1,169 +0,0 @@ -var AWS = require('../core'); -var inherit = AWS.util.inherit; - -/** - * @api private - */ -AWS.Signers.S3 = inherit(AWS.Signers.RequestSigner, { - /** - * When building the stringToSign, these sub resource params should be - * part of the canonical resource string with their NON-decoded values - */ - subResources: { - 'acl': 1, - 'accelerate': 1, - 'cors': 1, - 'lifecycle': 1, - 'delete': 1, - 'location': 1, - 'logging': 1, - 'notification': 1, - 'partNumber': 1, - 'policy': 1, - 'requestPayment': 1, - 'replication': 1, - 'restore': 1, - 'tagging': 1, - 'torrent': 1, - 'uploadId': 1, - 'uploads': 1, - 'versionId': 1, - 'versioning': 1, - 'versions': 1, - 'website': 1 - }, - - // when building the stringToSign, these querystring params should be - // part of the canonical resource string with their NON-encoded values - responseHeaders: { - 'response-content-type': 1, - 'response-content-language': 1, - 'response-expires': 1, - 'response-cache-control': 1, - 'response-content-disposition': 1, - 'response-content-encoding': 1 - }, - - addAuthorization: function addAuthorization(credentials, date) { - if (!this.request.headers['presigned-expires']) { - this.request.headers['X-Amz-Date'] = AWS.util.date.rfc822(date); - } - - if (credentials.sessionToken) { - // presigned URLs require this header to be lowercased - this.request.headers['x-amz-security-token'] = credentials.sessionToken; - } - - var signature = this.sign(credentials.secretAccessKey, this.stringToSign()); - var auth = 'AWS ' + credentials.accessKeyId + ':' + signature; - - this.request.headers['Authorization'] = auth; - }, - - stringToSign: function stringToSign() { - var r = this.request; - - var parts = []; - parts.push(r.method); - parts.push(r.headers['Content-MD5'] || ''); - parts.push(r.headers['Content-Type'] || ''); - - // This is the "Date" header, but we use X-Amz-Date. - // The S3 signing mechanism requires us to pass an empty - // string for this Date header regardless. - parts.push(r.headers['presigned-expires'] || ''); - - var headers = this.canonicalizedAmzHeaders(); - if (headers) parts.push(headers); - parts.push(this.canonicalizedResource()); - - return parts.join('\n'); - - }, - - canonicalizedAmzHeaders: function canonicalizedAmzHeaders() { - - var amzHeaders = []; - - AWS.util.each(this.request.headers, function (name) { - if (name.match(/^x-amz-/i)) - amzHeaders.push(name); - }); - - amzHeaders.sort(function (a, b) { - return a.toLowerCase() < b.toLowerCase() ? -1 : 1; - }); - - var parts = []; - AWS.util.arrayEach.call(this, amzHeaders, function (name) { - parts.push(name.toLowerCase() + ':' + String(this.request.headers[name])); - }); - - return parts.join('\n'); - - }, - - canonicalizedResource: function canonicalizedResource() { - - var r = this.request; - - var parts = r.path.split('?'); - var path = parts[0]; - var querystring = parts[1]; - - var resource = ''; - - if (r.virtualHostedBucket) - resource += '/' + r.virtualHostedBucket; - - resource += path; - - if (querystring) { - - // collect a list of sub resources and query params that need to be signed - var resources = []; - - AWS.util.arrayEach.call(this, querystring.split('&'), function (param) { - var name = param.split('=')[0]; - var value = param.split('=')[1]; - if (this.subResources[name] || this.responseHeaders[name]) { - var subresource = { name: name }; - if (value !== undefined) { - if (this.subResources[name]) { - subresource.value = value; - } else { - subresource.value = decodeURIComponent(value); - } - } - resources.push(subresource); - } - }); - - resources.sort(function (a, b) { return a.name < b.name ? -1 : 1; }); - - if (resources.length) { - - querystring = []; - AWS.util.arrayEach(resources, function (res) { - if (res.value === undefined) { - querystring.push(res.name); - } else { - querystring.push(res.name + '=' + res.value); - } - }); - - resource += '?' + querystring.join('&'); - } - - } - - return resource; - - }, - - sign: function sign(secret, string) { - return AWS.util.crypto.hmac(secret, string, 'base64', 'sha1'); - } -}); - -module.exports = AWS.Signers.S3; diff --git a/node_modules/aws-sdk/lib/signers/v2.js b/node_modules/aws-sdk/lib/signers/v2.js deleted file mode 100644 index 9c7d03f..0000000 --- a/node_modules/aws-sdk/lib/signers/v2.js +++ /dev/null @@ -1,45 +0,0 @@ -var AWS = require('../core'); -var inherit = AWS.util.inherit; - -/** - * @api private - */ -AWS.Signers.V2 = inherit(AWS.Signers.RequestSigner, { - addAuthorization: function addAuthorization(credentials, date) { - - if (!date) date = AWS.util.date.getDate(); - - var r = this.request; - - r.params.Timestamp = AWS.util.date.iso8601(date); - r.params.SignatureVersion = '2'; - r.params.SignatureMethod = 'HmacSHA256'; - r.params.AWSAccessKeyId = credentials.accessKeyId; - - if (credentials.sessionToken) { - r.params.SecurityToken = credentials.sessionToken; - } - - delete r.params.Signature; // delete old Signature for re-signing - r.params.Signature = this.signature(credentials); - - r.body = AWS.util.queryParamsToString(r.params); - r.headers['Content-Length'] = r.body.length; - }, - - signature: function signature(credentials) { - return AWS.util.crypto.hmac(credentials.secretAccessKey, this.stringToSign(), 'base64'); - }, - - stringToSign: function stringToSign() { - var parts = []; - parts.push(this.request.method); - parts.push(this.request.endpoint.host.toLowerCase()); - parts.push(this.request.pathname()); - parts.push(AWS.util.queryParamsToString(this.request.params)); - return parts.join('\n'); - } - -}); - -module.exports = AWS.Signers.V2; diff --git a/node_modules/aws-sdk/lib/signers/v3.js b/node_modules/aws-sdk/lib/signers/v3.js deleted file mode 100644 index 40f342d..0000000 --- a/node_modules/aws-sdk/lib/signers/v3.js +++ /dev/null @@ -1,74 +0,0 @@ -var AWS = require('../core'); -var inherit = AWS.util.inherit; - -/** - * @api private - */ -AWS.Signers.V3 = inherit(AWS.Signers.RequestSigner, { - addAuthorization: function addAuthorization(credentials, date) { - - var datetime = AWS.util.date.rfc822(date); - - this.request.headers['X-Amz-Date'] = datetime; - - if (credentials.sessionToken) { - this.request.headers['x-amz-security-token'] = credentials.sessionToken; - } - - this.request.headers['X-Amzn-Authorization'] = - this.authorization(credentials, datetime); - - }, - - authorization: function authorization(credentials) { - return 'AWS3 ' + - 'AWSAccessKeyId=' + credentials.accessKeyId + ',' + - 'Algorithm=HmacSHA256,' + - 'SignedHeaders=' + this.signedHeaders() + ',' + - 'Signature=' + this.signature(credentials); - }, - - signedHeaders: function signedHeaders() { - var headers = []; - AWS.util.arrayEach(this.headersToSign(), function iterator(h) { - headers.push(h.toLowerCase()); - }); - return headers.sort().join(';'); - }, - - canonicalHeaders: function canonicalHeaders() { - var headers = this.request.headers; - var parts = []; - AWS.util.arrayEach(this.headersToSign(), function iterator(h) { - parts.push(h.toLowerCase().trim() + ':' + String(headers[h]).trim()); - }); - return parts.sort().join('\n') + '\n'; - }, - - headersToSign: function headersToSign() { - var headers = []; - AWS.util.each(this.request.headers, function iterator(k) { - if (k === 'Host' || k === 'Content-Encoding' || k.match(/^X-Amz/i)) { - headers.push(k); - } - }); - return headers; - }, - - signature: function signature(credentials) { - return AWS.util.crypto.hmac(credentials.secretAccessKey, this.stringToSign(), 'base64'); - }, - - stringToSign: function stringToSign() { - var parts = []; - parts.push(this.request.method); - parts.push('/'); - parts.push(''); - parts.push(this.canonicalHeaders()); - parts.push(this.request.body); - return AWS.util.crypto.sha256(parts.join('\n')); - } - -}); - -module.exports = AWS.Signers.V3; diff --git a/node_modules/aws-sdk/lib/signers/v3https.js b/node_modules/aws-sdk/lib/signers/v3https.js deleted file mode 100644 index b70a930..0000000 --- a/node_modules/aws-sdk/lib/signers/v3https.js +++ /dev/null @@ -1,22 +0,0 @@ -var AWS = require('../core'); -var inherit = AWS.util.inherit; - -require('./v3'); - -/** - * @api private - */ -AWS.Signers.V3Https = inherit(AWS.Signers.V3, { - authorization: function authorization(credentials) { - return 'AWS3-HTTPS ' + - 'AWSAccessKeyId=' + credentials.accessKeyId + ',' + - 'Algorithm=HmacSHA256,' + - 'Signature=' + this.signature(credentials); - }, - - stringToSign: function stringToSign() { - return this.request.headers['X-Amz-Date']; - } -}); - -module.exports = AWS.Signers.V3Https; diff --git a/node_modules/aws-sdk/lib/signers/v4.js b/node_modules/aws-sdk/lib/signers/v4.js deleted file mode 100644 index a1f8e63..0000000 --- a/node_modules/aws-sdk/lib/signers/v4.js +++ /dev/null @@ -1,241 +0,0 @@ -var AWS = require('../core'); -var inherit = AWS.util.inherit; - -/** - * @api private - */ -var cachedSecret = {}; - -/** - * @api private - */ -var cacheQueue = []; - -/** - * @api private - */ -var maxCacheEntries = 50; - -/** - * @api private - */ -var expiresHeader = 'presigned-expires'; - -/** - * @api private - */ -AWS.Signers.V4 = inherit(AWS.Signers.RequestSigner, { - constructor: function V4(request, serviceName, signatureCache) { - AWS.Signers.RequestSigner.call(this, request); - this.serviceName = serviceName; - this.signatureCache = signatureCache; - }, - - algorithm: 'AWS4-HMAC-SHA256', - - addAuthorization: function addAuthorization(credentials, date) { - var datetime = AWS.util.date.iso8601(date).replace(/[:\-]|\.\d{3}/g, ''); - - if (this.isPresigned()) { - this.updateForPresigned(credentials, datetime); - } else { - this.addHeaders(credentials, datetime); - } - - this.request.headers['Authorization'] = - this.authorization(credentials, datetime); - }, - - addHeaders: function addHeaders(credentials, datetime) { - this.request.headers['X-Amz-Date'] = datetime; - if (credentials.sessionToken) { - this.request.headers['x-amz-security-token'] = credentials.sessionToken; - } - }, - - updateForPresigned: function updateForPresigned(credentials, datetime) { - var credString = this.credentialString(datetime); - var qs = { - 'X-Amz-Date': datetime, - 'X-Amz-Algorithm': this.algorithm, - 'X-Amz-Credential': credentials.accessKeyId + '/' + credString, - 'X-Amz-Expires': this.request.headers[expiresHeader], - 'X-Amz-SignedHeaders': this.signedHeaders() - }; - - if (credentials.sessionToken) { - qs['X-Amz-Security-Token'] = credentials.sessionToken; - } - - if (this.request.headers['Content-Type']) { - qs['Content-Type'] = this.request.headers['Content-Type']; - } - if (this.request.headers['Content-MD5']) { - qs['Content-MD5'] = this.request.headers['Content-MD5']; - } - if (this.request.headers['Cache-Control']) { - qs['Cache-Control'] = this.request.headers['Cache-Control']; - } - - // need to pull in any other X-Amz-* headers - AWS.util.each.call(this, this.request.headers, function(key, value) { - if (key === expiresHeader) return; - if (this.isSignableHeader(key)) { - 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 cache = null; - var cacheIdentifier = this.serviceName + (this.getServiceClientId() ? '_' + this.getServiceClientId() : ''); - if (this.signatureCache) { - var cache = cachedSecret[cacheIdentifier]; - // If there isn't already a cache entry, we'll be adding one - if (!cache) { - cacheQueue.push(cacheIdentifier); - if (cacheQueue.length > maxCacheEntries) { - // remove the oldest entry (may not be last one used) - delete cachedSecret[cacheQueue.shift()]; - } - } - - } - var date = datetime.substr(0, 8); - - if (!cache || - cache.akid !== credentials.accessKeyId || - cache.region !== this.request.region || - cache.date !== date) { - - var kSecret = credentials.secretAccessKey; - var kDate = AWS.util.crypto.hmac('AWS4' + kSecret, date, 'buffer'); - var kRegion = AWS.util.crypto.hmac(kDate, this.request.region, 'buffer'); - var kService = AWS.util.crypto.hmac(kRegion, this.serviceName, 'buffer'); - var kCredentials = AWS.util.crypto.hmac(kService, 'aws4_request', 'buffer'); - - if (!this.signatureCache) { - return AWS.util.crypto.hmac(kCredentials, this.stringToSign(datetime), 'hex'); - } - - cachedSecret[cacheIdentifier] = { - region: this.request.region, date: date, - key: kCredentials, akid: credentials.accessKeyId - }; - } - - var key = cachedSecret[cacheIdentifier].key; - return AWS.util.crypto.hmac(key, this.stringToSign(datetime), 'hex'); - }, - - stringToSign: function stringToSign(datetime) { - var parts = []; - parts.push('AWS4-HMAC-SHA256'); - parts.push(datetime); - parts.push(this.credentialString(datetime)); - parts.push(this.hexEncodedHash(this.canonicalString())); - return parts.join('\n'); - }, - - canonicalString: function canonicalString() { - var parts = [], pathname = this.request.pathname(); - if (this.serviceName !== 's3') pathname = AWS.util.uriEscapePath(pathname); - - parts.push(this.request.method); - parts.push(pathname); - parts.push(this.request.search()); - parts.push(this.canonicalHeaders() + '\n'); - parts.push(this.signedHeaders()); - parts.push(this.hexEncodedBodyHash()); - return parts.join('\n'); - }, - - canonicalHeaders: function canonicalHeaders() { - var headers = []; - AWS.util.each.call(this, this.request.headers, function (key, item) { - headers.push([key, item]); - }); - headers.sort(function (a, b) { - return a[0].toLowerCase() < b[0].toLowerCase() ? -1 : 1; - }); - var parts = []; - AWS.util.arrayEach.call(this, headers, function (item) { - var key = item[0].toLowerCase(); - if (this.isSignableHeader(key)) { - parts.push(key + ':' + - this.canonicalHeaderValues(item[1].toString())); - } - }); - return parts.join('\n'); - }, - - canonicalHeaderValues: function canonicalHeaderValues(values) { - return values.replace(/\s+/g, ' ').replace(/^\s+|\s+$/g, ''); - }, - - signedHeaders: function signedHeaders() { - var keys = []; - AWS.util.each.call(this, this.request.headers, function (key) { - key = key.toLowerCase(); - if (this.isSignableHeader(key)) keys.push(key); - }); - return keys.sort().join(';'); - }, - - credentialString: function credentialString(datetime) { - var parts = []; - parts.push(datetime.substr(0, 8)); - parts.push(this.request.region); - parts.push(this.serviceName); - parts.push('aws4_request'); - return parts.join('/'); - }, - - hexEncodedHash: function hash(string) { - return AWS.util.crypto.sha256(string, 'hex'); - }, - - hexEncodedBodyHash: function hexEncodedBodyHash() { - if (this.isPresigned() && this.serviceName === 's3' && !this.request.body) { - return 'UNSIGNED-PAYLOAD'; - } else if (this.request.headers['X-Amz-Content-Sha256']) { - return this.request.headers['X-Amz-Content-Sha256']; - } else { - return this.hexEncodedHash(this.request.body || ''); - } - }, - - unsignableHeaders: ['authorization', 'content-type', 'content-length', - 'user-agent', expiresHeader, 'expect'], - - isSignableHeader: function isSignableHeader(key) { - if (key.toLowerCase().indexOf('x-amz-') === 0) return true; - return this.unsignableHeaders.indexOf(key) < 0; - }, - - isPresigned: function isPresigned() { - return this.request.headers[expiresHeader] ? true : false; - } - -}); - -module.exports = AWS.Signers.V4; diff --git a/node_modules/aws-sdk/lib/state_machine.js b/node_modules/aws-sdk/lib/state_machine.js deleted file mode 100644 index 0be8922..0000000 --- a/node_modules/aws-sdk/lib/state_machine.js +++ /dev/null @@ -1,42 +0,0 @@ -function AcceptorStateMachine(states, state) { - this.currentState = state || null; - this.states = states || {}; -} - -AcceptorStateMachine.prototype.runTo = function runTo(finalState, done, bindObject, inputError) { - if (typeof finalState === 'function') { - inputError = bindObject; bindObject = done; - done = finalState; finalState = null; - } - - var self = this; - var state = self.states[self.currentState]; - state.fn.call(bindObject || self, inputError, function(err) { - if (err) { - if (state.fail) self.currentState = state.fail; - else return done ? done.call(bindObject, err) : null; - } else { - if (state.accept) self.currentState = state.accept; - else return done ? done.call(bindObject) : null; - } - if (self.currentState === finalState) { - return done ? done.call(bindObject, err) : null; - } - - self.runTo(finalState, done, bindObject, err); - }); -}; - -AcceptorStateMachine.prototype.addState = function addState(name, acceptState, failState, fn) { - if (typeof acceptState === 'function') { - fn = acceptState; acceptState = null; failState = null; - } else if (typeof failState === 'function') { - fn = failState; failState = null; - } - - if (!this.currentState) this.currentState = name; - this.states[name] = { accept: acceptState, fail: failState, fn: fn }; - return this; -}; - -module.exports = AcceptorStateMachine; diff --git a/node_modules/aws-sdk/lib/util.js b/node_modules/aws-sdk/lib/util.js deleted file mode 100644 index df20d25..0000000 --- a/node_modules/aws-sdk/lib/util.js +++ /dev/null @@ -1,846 +0,0 @@ -/* 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 = { - engine: function engine() { - if (util.isBrowser() && typeof navigator !== 'undefined') { - return navigator.userAgent; - } else { - return process.platform + '/' + process.version; - } - }, - - userAgent: function userAgent() { - var name = util.isBrowser() ? 'js' : 'nodejs'; - var agent = 'aws-sdk-' + name + '/' + require('./core').VERSION; - if (name === 'nodejs') agent += ' ' + util.engine(); - return agent; - }, - - isBrowser: function isBrowser() { return process && process.browser; }, - isNode: function isNode() { return !util.isBrowser(); }, - 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 require('fs').readFileSync(path, 'utf-8'); - }, - - base64: { - - encode: function encode64(string) { - return new util.Buffer(string).toString('base64'); - }, - - decode: function decode64(string) { - return 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 require('fs').lstatSync(string.path).size; - } else { - throw util.error(new Error('Cannot determine length of ' + string), - { object: string }); - } - }, - - upperFirst: function upperFirst(string) { - return string[0].toUpperCase() + string.substr(1); - }, - - lowerFirst: function lowerFirst(string) { - return string[0].toLowerCase() + string.substr(1); - } - }, - - ini: { - parse: function string(ini) { - var currentSection, map = {}; - util.arrayEach(ini.split(/\r?\n/), function(line) { - line = line.split(/(^|\s)[;#]/)[0]; // remove comments - var section = line.match(/^\s*\[([^\[\]]+)\]\s*$/); - if (section) { - currentSection = section[1]; - } else if (currentSection) { - var item = line.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/); - if (item) { - map[currentSection] = map[currentSection] || {}; - map[currentSection][item[1]] = item[2]; - } - } - }); - - return map; - } - }, - - fn: { - noop: function() {}, - - /** - * Turn a synchronous function into as "async" function by making it call - * a callback. The underlying function is called with all but the last argument, - * which is treated as the callback. The callback is passed passed a first argument - * of null on success to mimick standard node callbacks. - */ - makeAsync: function makeAsync(fn, expectedArgs) { - if (expectedArgs && expectedArgs <= fn.length) { - return fn; - } - - return function() { - var args = Array.prototype.slice.call(arguments, 0); - var callback = args.pop(); - var result = fn.apply(null, args); - callback(result); - }; - } - }, - - /** - * Date and time utility functions. - */ - date: { - - /** - * @return [Date] the current JavaScript date object. Since all - * AWS services rely on this date object, you can override - * this function to provide a special time value to AWS service - * requests. - */ - getDate: function getDate() { - if (!AWS) AWS = require('./core'); - if (AWS.config.systemClockOffset) { // use offset when non-zero - return new Date(new Date().getTime() + AWS.config.systemClockOffset); - } else { - return new Date(); - } - }, - - /** - * @return [String] the date in ISO-8601 format - */ - iso8601: function iso8601(date) { - if (date === undefined) { date = util.date.getDate(); } - return date.toISOString().replace(/\.\d{3}Z$/, 'Z'); - }, - - /** - * @return [String] the date in RFC 822 format - */ - rfc822: function rfc822(date) { - if (date === undefined) { date = util.date.getDate(); } - return date.toUTCString(); - }, - - /** - * @return [Integer] the UNIX timestamp value for the current time - */ - unixTimestamp: function unixTimestamp(date) { - if (date === undefined) { date = util.date.getDate(); } - return date.getTime() / 1000; - }, - - /** - * @param [String,number,Date] date - * @return [Date] - */ - from: function format(date) { - if (typeof date === 'number') { - return new Date(date * 1000); // unix timestamp - } else { - return new Date(date); - } - }, - - /** - * Given a Date or date-like value, this function formats the - * date into a string of the requested value. - * @param [String,number,Date] date - * @param [String] formatter Valid formats are: - # * 'iso8601' - # * 'rfc822' - # * 'unixTimestamp' - * @return [String] - */ - format: function format(date, formatter) { - if (!formatter) formatter = 'iso8601'; - return util.date[formatter](util.date.from(date)); - }, - - parseTimestamp: function parseTimestamp(value) { - if (typeof value === 'number') { // unix timestamp (number) - return new Date(value * 1000); - } else if (value.match(/^\d+$/)) { // unix timestamp - return new Date(value * 1000); - } else if (value.match(/^\d{4}/)) { // iso8601 - return new Date(value); - } else if (value.match(/^\w{3},/)) { // rfc822 - return new Date(value); - } else { - throw util.error( - new Error('unhandled timestamp format: ' + value), - {code: 'TimestampParserError'}); - } - } - - }, - - crypto: { - crc32Table: [ - 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419, - 0x706AF48F, 0xE963A535, 0x9E6495A3, 0x0EDB8832, 0x79DCB8A4, - 0xE0D5E91E, 0x97D2D988, 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, - 0x90BF1D91, 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE, - 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7, 0x136C9856, - 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, 0x14015C4F, 0x63066CD9, - 0xFA0F3D63, 0x8D080DF5, 0x3B6E20C8, 0x4C69105E, 0xD56041E4, - 0xA2677172, 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B, - 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940, 0x32D86CE3, - 0x45DF5C75, 0xDCD60DCF, 0xABD13D59, 0x26D930AC, 0x51DE003A, - 0xC8D75180, 0xBFD06116, 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, - 0xB8BDA50F, 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924, - 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D, 0x76DC4190, - 0x01DB7106, 0x98D220BC, 0xEFD5102A, 0x71B18589, 0x06B6B51F, - 0x9FBFE4A5, 0xE8B8D433, 0x7807C9A2, 0x0F00F934, 0x9609A88E, - 0xE10E9818, 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01, - 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E, 0x6C0695ED, - 0x1B01A57B, 0x8208F4C1, 0xF50FC457, 0x65B0D9C6, 0x12B7E950, - 0x8BBEB8EA, 0xFCB9887C, 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, - 0xFBD44C65, 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2, - 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB, 0x4369E96A, - 0x346ED9FC, 0xAD678846, 0xDA60B8D0, 0x44042D73, 0x33031DE5, - 0xAA0A4C5F, 0xDD0D7CC9, 0x5005713C, 0x270241AA, 0xBE0B1010, - 0xC90C2086, 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F, - 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, 0x59B33D17, - 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD, 0xEDB88320, 0x9ABFB3B6, - 0x03B6E20C, 0x74B1D29A, 0xEAD54739, 0x9DD277AF, 0x04DB2615, - 0x73DC1683, 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8, - 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1, 0xF00F9344, - 0x8708A3D2, 0x1E01F268, 0x6906C2FE, 0xF762575D, 0x806567CB, - 0x196C3671, 0x6E6B06E7, 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, - 0x67DD4ACC, 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5, - 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252, 0xD1BB67F1, - 0xA6BC5767, 0x3FB506DD, 0x48B2364B, 0xD80D2BDA, 0xAF0A1B4C, - 0x36034AF6, 0x41047A60, 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, - 0x4669BE79, 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236, - 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F, 0xC5BA3BBE, - 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04, 0xC2D7FFA7, 0xB5D0CF31, - 0x2CD99E8B, 0x5BDEAE1D, 0x9B64C2B0, 0xEC63F226, 0x756AA39C, - 0x026D930A, 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713, - 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38, 0x92D28E9B, - 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, 0x86D3D2D4, 0xF1D4E242, - 0x68DDB3F8, 0x1FDA836E, 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, - 0x18B74777, 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C, - 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45, 0xA00AE278, - 0xD70DD2EE, 0x4E048354, 0x3903B3C2, 0xA7672661, 0xD06016F7, - 0x4969474D, 0x3E6E77DB, 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, - 0x37D83BF0, 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9, - 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, 0xBAD03605, - 0xCDD70693, 0x54DE5729, 0x23D967BF, 0xB3667A2E, 0xC4614AB8, - 0x5D681B02, 0x2A6F2B94, 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, - 0x2D02EF8D], - - crc32: function crc32(data) { - var tbl = util.crypto.crc32Table; - var crc = 0 ^ -1; - - if (typeof data === 'string') { - data = new 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 = require('fs'); - 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 - */ - addPromisesToRequests: function addPromisesToRequests(constructor, PromiseDependency) { - PromiseDependency = PromiseDependency || null; - if (!PromiseDependency && typeof Promise !== 'undefined') { - PromiseDependency = Promise; - } - if (typeof PromiseDependency !== 'function') { - delete constructor.prototype.promise; - return; - } - constructor.prototype.promise = function promise() { - var self = this; - return new PromiseDependency(function(resolve, reject) { - self.on('complete', function(resp) { - if (resp.error) { - reject(resp.error); - } else { - resolve(resp.data); - } - }); - self.runTo(); - }); - } - }, - - /** - * @api private - */ - isDualstackAvailable: function isDualstackAvailable(service) { - if (!service) return false; - var metadata = require('../apis/metadata.json'); - 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 = 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); - } - -}; - -module.exports = util; diff --git a/node_modules/aws-sdk/lib/xml/browser_parser.js b/node_modules/aws-sdk/lib/xml/browser_parser.js deleted file mode 100644 index 951ed74..0000000 --- a/node_modules/aws-sdk/lib/xml/browser_parser.js +++ /dev/null @@ -1,186 +0,0 @@ -var util = require('../util'); -var Shape = require('../model/shape'); - -function DomXmlParser() { } - -DomXmlParser.prototype.parse = function(xml, shape) { - if (xml.replace(/^\s+/, '') === '') return {}; - - var result, error; - try { - if (window.DOMParser) { - try { - var parser = new DOMParser(); - result = parser.parseFromString(xml, 'text/xml'); - } catch (syntaxError) { - throw util.error(new Error('Parse error in document'), - { - originalError: syntaxError, - code: 'XMLParserError', - retryable: true - }); - } - - if (result.documentElement === null) { - throw util.error(new Error('Cannot parse empty document.'), - { - code: 'XMLParserError', - retryable: true - }); - } - - var isError = result.getElementsByTagName('parsererror')[0]; - if (isError && (isError.parentNode === result || - isError.parentNode.nodeName === 'body' || - isError.parentNode.parentNode === result || - isError.parentNode.parentNode.nodeName === 'body')) { - var errorElement = isError.getElementsByTagName('div')[0] || isError; - throw util.error(new Error(errorElement.textContent || 'Parser error in document'), - { - code: 'XMLParserError', - retryable: true - }); - } - } else if (window.ActiveXObject) { - result = new window.ActiveXObject('Microsoft.XMLDOM'); - result.async = false; - - if (!result.loadXML(xml)) { - throw util.error(new Error('Parse error in document'), - { - code: 'XMLParserError', - retryable: true - }); - } - } else { - throw new Error('Cannot load XML parser'); - } - } catch (e) { - error = e; - } - - if (result && result.documentElement && !error) { - var data = parseXml(result.documentElement, shape); - var metadata = result.getElementsByTagName('ResponseMetadata')[0]; - if (metadata) { - data.ResponseMetadata = parseXml(metadata, {}); - } - return data; - } else if (error) { - throw util.error(error || new Error(), {code: 'XMLParserError', retryable: true}); - } else { // empty xml document - return {}; - } -}; - -function parseXml(xml, shape) { - if (!shape) shape = {}; - switch (shape.type) { - case 'structure': return parseStructure(xml, shape); - case 'map': return parseMap(xml, shape); - case 'list': return parseList(xml, shape); - case undefined: case null: return parseUnknown(xml); - default: return parseScalar(xml, shape); - } -} - -function parseStructure(xml, shape) { - var data = {}; - if (xml === null) return data; - - util.each(shape.members, function(memberName, memberShape) { - if (memberShape.isXmlAttribute) { - if (Object.prototype.hasOwnProperty.call(xml.attributes, memberShape.name)) { - var value = xml.attributes[memberShape.name].value; - data[memberName] = parseXml({textContent: value}, memberShape); - } - } else { - var xmlChild = memberShape.flattened ? xml : - xml.getElementsByTagName(memberShape.name)[0]; - if (xmlChild) { - data[memberName] = parseXml(xmlChild, memberShape); - } else if (!memberShape.flattened && memberShape.type === 'list') { - data[memberName] = memberShape.defaultValue; - } - } - }); - - return data; -} - -function parseMap(xml, shape) { - var data = {}; - var xmlKey = shape.key.name || 'key'; - var xmlValue = shape.value.name || 'value'; - var tagName = shape.flattened ? shape.name : 'entry'; - - var child = xml.firstElementChild; - while (child) { - if (child.nodeName === tagName) { - var key = child.getElementsByTagName(xmlKey)[0].textContent; - var value = child.getElementsByTagName(xmlValue)[0]; - data[key] = parseXml(value, shape.value); - } - child = child.nextElementSibling; - } - return data; -} - -function parseList(xml, shape) { - var data = []; - var tagName = shape.flattened ? shape.name : (shape.member.name || 'member'); - - var child = xml.firstElementChild; - while (child) { - if (child.nodeName === tagName) { - data.push(parseXml(child, shape.member)); - } - child = child.nextElementSibling; - } - return data; -} - -function parseScalar(xml, shape) { - if (xml.getAttribute) { - var encoding = xml.getAttribute('encoding'); - if (encoding === 'base64') { - shape = new Shape.create({type: encoding}); - } - } - - var text = xml.textContent; - if (text === '') text = null; - if (typeof shape.toType === 'function') { - return shape.toType(text); - } else { - return text; - } -} - -function parseUnknown(xml) { - if (xml === undefined || xml === null) return ''; - - // empty object - if (!xml.firstElementChild) { - if (xml.parentNode.parentNode === null) return {}; - if (xml.childNodes.length === 0) return ''; - else return xml.textContent; - } - - // object, parse as structure - var shape = {type: 'structure', members: {}}; - var child = xml.firstElementChild; - while (child) { - var tag = child.nodeName; - if (Object.prototype.hasOwnProperty.call(shape.members, tag)) { - // multiple tags of the same name makes it a list - shape.members[tag].type = 'list'; - } else { - shape.members[tag] = {name: tag}; - } - child = child.nextElementSibling; - } - return parseStructure(xml, shape); -} - -module.exports = DomXmlParser; diff --git a/node_modules/aws-sdk/lib/xml/builder.js b/node_modules/aws-sdk/lib/xml/builder.js deleted file mode 100644 index 400deeb..0000000 --- a/node_modules/aws-sdk/lib/xml/builder.js +++ /dev/null @@ -1,86 +0,0 @@ -var util = require('../util'); -var builder = require('xmlbuilder'); - -function XmlBuilder() { } - -XmlBuilder.prototype.toXML = function(params, shape, rootElement, noEmpty) { - var xml = builder.create(rootElement); - applyNamespaces(xml, shape); - serialize(xml, params, shape); - return xml.children.length > 0 || noEmpty ? xml.root().toString() : ''; -}; - -function serialize(xml, value, shape) { - switch (shape.type) { - case 'structure': return serializeStructure(xml, value, shape); - case 'map': return serializeMap(xml, value, shape); - case 'list': return serializeList(xml, value, shape); - default: return serializeScalar(xml, value, shape); - } -} - -function serializeStructure(xml, params, shape) { - util.arrayEach(shape.memberNames, function(memberName) { - var memberShape = shape.members[memberName]; - if (memberShape.location !== 'body') return; - - var value = params[memberName]; - var name = memberShape.name; - if (value !== undefined && value !== null) { - if (memberShape.isXmlAttribute) { - xml.att(name, value); - } else if (memberShape.flattened) { - serialize(xml, value, memberShape); - } else { - var element = xml.ele(name); - applyNamespaces(element, memberShape); - serialize(element, value, memberShape); - } - } - }); -} - -function serializeMap(xml, map, shape) { - var xmlKey = shape.key.name || 'key'; - var xmlValue = shape.value.name || 'value'; - - util.each(map, function(key, value) { - var entry = xml.ele(shape.flattened ? shape.name : 'entry'); - serialize(entry.ele(xmlKey), key, shape.key); - serialize(entry.ele(xmlValue), value, shape.value); - }); -} - -function serializeList(xml, list, shape) { - if (shape.flattened) { - util.arrayEach(list, function(value) { - var name = shape.member.name || shape.name; - var element = xml.ele(name); - serialize(element, value, shape.member); - }); - } else { - util.arrayEach(list, function(value) { - var name = shape.member.name || 'member'; - var element = xml.ele(name); - serialize(element, value, shape.member); - }); - } -} - -function serializeScalar(xml, value, shape) { - xml.txt(shape.toWireFormat(value)); -} - -function applyNamespaces(xml, shape) { - var uri, prefix = 'xmlns'; - if (shape.xmlNamespaceUri) { - uri = shape.xmlNamespaceUri; - if (shape.xmlNamespacePrefix) prefix += ':' + shape.xmlNamespacePrefix; - } else if (xml.isRoot && shape.api.xmlNamespaceUri) { - uri = shape.api.xmlNamespaceUri; - } - - if (uri) xml.att(prefix, uri); -} - -module.exports = XmlBuilder; diff --git a/node_modules/aws-sdk/lib/xml/node_parser.js b/node_modules/aws-sdk/lib/xml/node_parser.js deleted file mode 100644 index 876a1a0..0000000 --- a/node_modules/aws-sdk/lib/xml/node_parser.js +++ /dev/null @@ -1,159 +0,0 @@ -var util = require('../util'); -var Shape = require('../model/shape'); - -var xml2js = require('xml2js'); - -/** - * @api private - */ -var options = { // options passed to xml2js parser - explicitCharkey: false, // undocumented - trim: false, // trim the leading/trailing whitespace from text nodes - normalize: false, // trim interior whitespace inside text nodes - explicitRoot: false, // return the root node in the resulting object? - emptyTag: null, // the default value for empty nodes - explicitArray: true, // always put child nodes in an array - ignoreAttrs: false, // ignore attributes, only create text nodes - mergeAttrs: false, // merge attributes and child elements - validator: null // a callable validator -}; - -function NodeXmlParser() { } - -NodeXmlParser.prototype.parse = function(xml, shape) { - shape = shape || {}; - - var result = null; - var error = null; - - var parser = new xml2js.Parser(options); - parser.parseString(xml, function (e, r) { - error = e; - result = r; - }); - - if (result) { - var data = parseXml(result, shape); - if (result.ResponseMetadata) { - data.ResponseMetadata = parseXml(result.ResponseMetadata[0], {}); - } - return data; - } else if (error) { - throw util.error(error, {code: 'XMLParserError', retryable: true}); - } else { // empty xml document - return parseXml({}, shape); - } -}; - -function parseXml(xml, shape) { - switch (shape.type) { - case 'structure': return parseStructure(xml, shape); - case 'map': return parseMap(xml, shape); - case 'list': return parseList(xml, shape); - case undefined: case null: return parseUnknown(xml); - default: return parseScalar(xml, shape); - } -} - -function parseStructure(xml, shape) { - var data = {}; - if (xml === null) return data; - - util.each(shape.members, function(memberName, memberShape) { - var xmlName = memberShape.name; - if (Object.prototype.hasOwnProperty.call(xml, xmlName) && Array.isArray(xml[xmlName])) { - var xmlChild = xml[xmlName]; - if (!memberShape.flattened) xmlChild = xmlChild[0]; - - data[memberName] = parseXml(xmlChild, memberShape); - } else if (memberShape.isXmlAttribute && - xml.$ && Object.prototype.hasOwnProperty.call(xml.$, xmlName)) { - data[memberName] = parseScalar(xml.$[xmlName], memberShape); - } else if (memberShape.type === 'list') { - data[memberName] = memberShape.defaultValue; - } - }); - - return data; -} - -function parseMap(xml, shape) { - var data = {}; - if (xml === null) return data; - - var xmlKey = shape.key.name || 'key'; - var xmlValue = shape.value.name || 'value'; - var iterable = shape.flattened ? xml : xml.entry; - - if (Array.isArray(iterable)) { - util.arrayEach(iterable, function(child) { - data[child[xmlKey][0]] = parseXml(child[xmlValue][0], shape.value); - }); - } - - return data; -} - -function parseList(xml, shape) { - var data = []; - var name = shape.member.name || 'member'; - if (shape.flattened) { - util.arrayEach(xml, function(xmlChild) { - data.push(parseXml(xmlChild, shape.member)); - }); - } else if (xml && Array.isArray(xml[name])) { - util.arrayEach(xml[name], function(child) { - data.push(parseXml(child, shape.member)); - }); - } - - return data; -} - -function parseScalar(text, shape) { - if (text && text.$ && text.$.encoding === 'base64') { - shape = new Shape.create({type: text.$.encoding}); - } - if (text && text._) text = text._; - - if (typeof shape.toType === 'function') { - return shape.toType(text); - } else { - return text; - } -} - -function parseUnknown(xml) { - if (xml === undefined || xml === null) return ''; - if (typeof xml === 'string') return xml; - - // parse a list - if (Array.isArray(xml)) { - var arr = []; - for (i = 0; i < xml.length; i++) { - arr.push(parseXml(xml[i], {})); - } - return arr; - } - - // empty object - var keys = Object.keys(xml), i; - if (keys.length === 0 || keys === ['$']) { - return {}; - } - - // object, parse as structure - var data = {}; - for (i = 0; i < keys.length; i++) { - var key = keys[i], value = xml[key]; - if (key === '$') continue; - if (value.length > 1) { // this member is a list - data[key] = parseList(value, {member: {}}); - } else { // this member is a single item - data[key] = parseXml(value[0], {}); - } - } - return data; -} - -module.exports = NodeXmlParser; diff --git a/node_modules/aws-sdk/node_modules/buffer/.npmignore b/node_modules/aws-sdk/node_modules/buffer/.npmignore deleted file mode 100644 index a274035..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/.npmignore +++ /dev/null @@ -1,2 +0,0 @@ -.zuul.yml -perf/ diff --git a/node_modules/aws-sdk/node_modules/buffer/.travis.yml b/node_modules/aws-sdk/node_modules/buffer/.travis.yml deleted file mode 100644 index 6789094..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/AUTHORS.md b/node_modules/aws-sdk/node_modules/buffer/AUTHORS.md deleted file mode 100644 index 8df343a..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/LICENSE b/node_modules/aws-sdk/node_modules/buffer/LICENSE deleted file mode 100644 index d6bf75d..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/README.md b/node_modules/aws-sdk/node_modules/buffer/README.md deleted file mode 100644 index d3b82f6..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/bin/download-node-tests.js b/node_modules/aws-sdk/node_modules/buffer/bin/download-node-tests.js deleted file mode 100755 index 97efde0..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/bin/test.js b/node_modules/aws-sdk/node_modules/buffer/bin/test.js deleted file mode 100644 index 5a86f1b..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/bin/update-authors.sh b/node_modules/aws-sdk/node_modules/buffer/bin/update-authors.sh deleted file mode 100755 index efcbc78..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/bin/zuul-es5.yml b/node_modules/aws-sdk/node_modules/buffer/bin/zuul-es5.yml deleted file mode 100644 index 3673bcc..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/bin/zuul-es6.yml b/node_modules/aws-sdk/node_modules/buffer/bin/zuul-es6.yml deleted file mode 100644 index 8054ad6..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/index.js b/node_modules/aws-sdk/node_modules/buffer/index.js deleted file mode 100644 index 0fcd80a..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/LICENSE b/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/LICENSE deleted file mode 100644 index 96d3f68..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/README.md b/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/README.md deleted file mode 100644 index e546d86..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/README.md +++ /dev/null @@ -1,32 +0,0 @@ -base64-js -========= - -`base64-js` does basic base64 encoding/decoding in pure JS. - -[![build status](https://secure.travis-ci.org/beatgammit/base64-js.png)](http://travis-ci.org/beatgammit/base64-js) - -[![testling badge](https://ci.testling.com/beatgammit/base64-js.png)](https://ci.testling.com/beatgammit/base64-js) - -Many browsers already have base64 encoding/decoding functionality, but it is for text data, not all-purpose binary data. - -Sometimes encoding/decoding binary data in the browser is useful, and that is what this module does. - -## install - -With [npm](https://npmjs.org) do: - -`npm install base64-js` - -## methods - -`var base64 = require('base64-js')` - -`base64` 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/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/base64js.min.js b/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/base64js.min.js deleted file mode 100644 index 22ad807..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/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,u;var c=r.length;a=d(r);u=new f(c*3/4-a);n=a>0?c-4:c;var v=0;for(e=0,t=0;e>16&255;u[v++]=i>>8&255;u[v++]=i&255}if(a===2){i=o[r.charCodeAt(e)]<<2|o[r.charCodeAt(e+1)]>>4;u[v++]=i&255}else if(a===1){i=o[r.charCodeAt(e)]<<10|o[r.charCodeAt(e+1)]<<4|o[r.charCodeAt(e+2)]>>2;u[v++]=i>>8&255;u[v++]=i&255}return u}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/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/index.js b/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/index.js deleted file mode 100644 index 8e806ac..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/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, j, 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, j = 0; i < l; i += 4, j += 3) { - 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/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/package.json b/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/package.json deleted file mode 100644 index acb6736..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "base64-js", - "version": "1.2.0", - "description": "Base64 encoding/decoding in pure JS", - "keywords": [ - "base64" - ], - "homepage": "https://github.com/beatgammit/base64-js", - "bugs": { - "url": "https://github.com/beatgammit/base64-js/issues" - }, - "license": "MIT", - "author": { - "name": "T. Jameson Little", - "email": "t.jameson.little@gmail.com" - }, - "files": [ - "test", - "index.js", - "base64js.min.js" - ], - "main": "index.js", - "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" - }, - "devDependencies": { - "benchmark": "^2.1.0", - "browserify": "^13.0.0", - "standard": "*", - "tape": "4.x", - "uglify-js": "^2.6.2" - }, - "readme": "base64-js\n=========\n\n`base64-js` does basic base64 encoding/decoding in pure JS.\n\n[![build status](https://secure.travis-ci.org/beatgammit/base64-js.png)](http://travis-ci.org/beatgammit/base64-js)\n\n[![testling badge](https://ci.testling.com/beatgammit/base64-js.png)](https://ci.testling.com/beatgammit/base64-js)\n\nMany browsers already have base64 encoding/decoding functionality, but it is for text data, not all-purpose binary data.\n\nSometimes encoding/decoding binary data in the browser is useful, and that is what this module does.\n\n## install\n\nWith [npm](https://npmjs.org) do:\n\n`npm install base64-js`\n\n## methods\n\n`var base64 = require('base64-js')`\n\n`base64` has three exposed functions, `byteLength`, `toByteArray` and `fromByteArray`, which both take a single argument.\n\n* `byteLength` - Takes a base64 string and returns length of byte array\n* `toByteArray` - Takes a base64 string and returns a byte array\n* `fromByteArray` - Takes a byte array and returns a base64 string\n\n## license\n\nMIT\n", - "readmeFilename": "README.md", - "_id": "base64-js@1.2.0", - "_shasum": "a39992d723584811982be5e290bb6a53d86700f1", - "_resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.2.0.tgz", - "_from": "base64-js@>=1.0.2 <2.0.0" -} diff --git a/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/test/big-data.js b/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/test/big-data.js deleted file mode 100644 index be16ebe..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/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/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/test/convert.js b/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/test/convert.js deleted file mode 100644 index d68e105..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/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/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/test/url-safe.js b/node_modules/aws-sdk/node_modules/buffer/node_modules/base64-js/test/url-safe.js deleted file mode 100644 index 3203b33..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/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/node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/.travis.yml b/node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/.travis.yml deleted file mode 100644 index 6c45b34..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/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/node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/.zuul.yml b/node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/.zuul.yml deleted file mode 100644 index b5ba0c4..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/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/node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/LICENSE b/node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/LICENSE deleted file mode 100644 index f37a2eb..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/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/node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/README.md b/node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/README.md deleted file mode 100644 index 11f4d40..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/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/node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/index.js b/node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/index.js deleted file mode 100644 index 95e190c..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/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/node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/package.json b/node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/package.json deleted file mode 100644 index 7c35993..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/package.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "name": "ieee754", - "description": "Read/write IEEE754 floating point numbers from/to a Buffer or array-like object", - "version": "1.1.8", - "author": { - "name": "Feross Aboukhadijeh", - "email": "feross@feross.org", - "url": "http://feross.org" - }, - "contributors": [ - { - "name": "Romain Beauxis", - "email": "toots@rastageeks.org" - } - ], - "devDependencies": { - "standard": "*", - "tape": "^4.0.0", - "zuul": "^3.0.0" - }, - "keywords": [ - "IEEE 754", - "buffer", - "convert", - "floating point", - "ieee754" - ], - "license": "BSD-3-Clause", - "main": "index.js", - "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" - }, - "gitHead": "53d3f869cc527852156b8307353c55addc3e03ae", - "bugs": { - "url": "https://github.com/feross/ieee754/issues" - }, - "homepage": "https://github.com/feross/ieee754#readme", - "_id": "ieee754@1.1.8", - "_shasum": "be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4", - "_from": "ieee754@>=1.1.4 <2.0.0", - "_npmVersion": "3.10.3", - "_nodeVersion": "6.7.0", - "_npmUser": { - "name": "feross", - "email": "feross@feross.org" - }, - "dist": { - "shasum": "be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4", - "tarball": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.8.tgz" - }, - "maintainers": [ - { - "name": "feross", - "email": "feross@feross.org" - } - ], - "_npmOperationalInternal": { - "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/ieee754-1.1.8.tgz_1475481601035_0.6688473029062152" - }, - "directories": {}, - "_resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.8.tgz", - "readme": "ERROR: No README data found!" -} diff --git a/node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/test/basic.js b/node_modules/aws-sdk/node_modules/buffer/node_modules/ieee754/test/basic.js deleted file mode 100644 index 58fae2b..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/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/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/.npmignore b/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/.npmignore deleted file mode 100644 index 3c3629e..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/.npmignore +++ /dev/null @@ -1 +0,0 @@ -node_modules diff --git a/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/.travis.yml b/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/.travis.yml deleted file mode 100644 index cc4dba2..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -language: node_js -node_js: - - "0.8" - - "0.10" diff --git a/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/Makefile b/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/Makefile deleted file mode 100644 index 787d56e..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/Makefile +++ /dev/null @@ -1,6 +0,0 @@ - -test: - @node_modules/.bin/tape test.js - -.PHONY: test - diff --git a/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/README.md b/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/README.md deleted file mode 100644 index 16d2c59..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/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/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/component.json b/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/component.json deleted file mode 100644 index 9e31b68..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/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/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/index.js b/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/index.js deleted file mode 100644 index a57f634..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/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/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/package.json b/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/package.json deleted file mode 100644 index 92bed21..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/package.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "isarray", - "description": "Array#isArray for older browsers", - "version": "1.0.0", - "repository": { - "type": "git", - "url": "git://github.com/juliangruber/isarray.git" - }, - "homepage": "https://github.com/juliangruber/isarray", - "main": "index.js", - "dependencies": {}, - "devDependencies": { - "tape": "~2.13.4" - }, - "keywords": [ - "browser", - "isarray", - "array" - ], - "author": { - "name": "Julian Gruber", - "email": "mail@juliangruber.com", - "url": "http://juliangruber.com" - }, - "license": "MIT", - "testling": { - "files": "test.js", - "browsers": [ - "ie/8..latest", - "firefox/17..latest", - "firefox/nightly", - "chrome/22..latest", - "chrome/canary", - "opera/12..latest", - "opera/next", - "safari/5.1..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2..latest" - ] - }, - "scripts": { - "test": "tape test.js" - }, - "readme": "\n# isarray\n\n`Array#isArray` for older browsers.\n\n[![build status](https://secure.travis-ci.org/juliangruber/isarray.svg)](http://travis-ci.org/juliangruber/isarray)\n[![downloads](https://img.shields.io/npm/dm/isarray.svg)](https://www.npmjs.org/package/isarray)\n\n[![browser support](https://ci.testling.com/juliangruber/isarray.png)\n](https://ci.testling.com/juliangruber/isarray)\n\n## Usage\n\n```js\nvar isArray = require('isarray');\n\nconsole.log(isArray([])); // => true\nconsole.log(isArray({})); // => false\n```\n\n## Installation\n\nWith [npm](http://npmjs.org) do\n\n```bash\n$ npm install isarray\n```\n\nThen bundle for the browser with\n[browserify](https://github.com/substack/browserify).\n\nWith [component](http://component.io) do\n\n```bash\n$ component install juliangruber/isarray\n```\n\n## License\n\n(MIT)\n\nCopyright (c) 2013 Julian Gruber <julian@juliangruber.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n", - "readmeFilename": "README.md", - "bugs": { - "url": "https://github.com/juliangruber/isarray/issues" - }, - "_id": "isarray@1.0.0", - "_shasum": "bb935d48582cba168c06834957a54a3e07124f11", - "_resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "_from": "isarray@>=1.0.0 <2.0.0" -} diff --git a/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/test.js b/node_modules/aws-sdk/node_modules/buffer/node_modules/isarray/test.js deleted file mode 100644 index e0c3444..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/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/node_modules/aws-sdk/node_modules/buffer/package.json b/node_modules/aws-sdk/node_modules/buffer/package.json deleted file mode 100644 index e1f6a33..0000000 --- a/node_modules/aws-sdk/node_modules/buffer/package.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "name": "buffer", - "description": "Node.js Buffer API, for the browser", - "version": "4.9.1", - "author": { - "name": "Feross Aboukhadijeh", - "email": "feross@feross.org", - "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" - }, - "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" - }, - "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", - "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": [ - "test/node/*.js", - "test/_polyfill.js", - "perf/*.js" - ] - }, - "readme": "# buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][npm-url]\n\n#### The buffer module from [node.js](https://nodejs.org/), for the browser.\n\n[![saucelabs][saucelabs-image]][saucelabs-url]\n\n[travis-image]: https://img.shields.io/travis/feross/buffer/master.svg\n[travis-url]: https://travis-ci.org/feross/buffer\n[npm-image]: https://img.shields.io/npm/v/buffer.svg\n[npm-url]: https://npmjs.org/package/buffer\n[downloads-image]: https://img.shields.io/npm/dm/buffer.svg\n[saucelabs-image]: https://saucelabs.com/browser-matrix/buffer.svg\n[saucelabs-url]: https://saucelabs.com/u/buffer\n\nWith [browserify](http://browserify.org), simply `require('buffer')` or use the `Buffer` global and you will get this module.\n\nThe goal is to provide an API that is 100% identical to\n[node's Buffer API](https://nodejs.org/api/buffer.html). Read the\n[official docs](https://nodejs.org/api/buffer.html) for the full list of properties,\ninstance methods, and class methods that are supported.\n\n## features\n\n- Manipulate binary data like a boss, in all browsers -- even IE6!\n- Super fast. Backed by Typed Arrays (`Uint8Array`/`ArrayBuffer`, not `Object`)\n- Extremely small bundle size (**5.04KB minified + gzipped**, 35.5KB with comments)\n- Excellent browser support (IE 6+, Chrome 4+, Firefox 3+, Safari 5.1+, Opera 11+, iOS, etc.)\n- Preserves Node API exactly, with one minor difference (see below)\n- Square-bracket `buf[4]` notation works, even in old browsers like IE6!\n- Does not modify any browser prototypes or put anything on `window`\n- Comprehensive test suite (including all buffer tests from node.js core)\n\n\n## install\n\nTo use this module directly (without browserify), install it:\n\n```bash\nnpm install buffer\n```\n\nThis module was previously called **native-buffer-browserify**, but please use **buffer**\nfrom now on.\n\nA standalone bundle is available [here](https://wzrd.in/standalone/buffer), for non-browserify users.\n\n\n## usage\n\nThe module's API is identical to node's `Buffer` API. Read the\n[official docs](https://nodejs.org/api/buffer.html) for the full list of properties,\ninstance methods, and class methods that are supported.\n\nAs mentioned above, `require('buffer')` or use the `Buffer` global with\n[browserify](http://browserify.org) and this module will automatically be included\nin your bundle. Almost any npm module will work in the browser, even if it assumes that\nthe node `Buffer` API will be available.\n\nTo depend on this module explicitly (without browserify), require it like this:\n\n```js\nvar Buffer = require('buffer/').Buffer // note: the trailing slash is important!\n```\n\nTo require this module explicitly, use `require('buffer/')` which tells the node.js module\nlookup algorithm (also used by browserify) to use the **npm module** named `buffer`\ninstead of the **node.js core** module named `buffer`!\n\n\n## how does it work?\n\nThe Buffer constructor returns instances of `Uint8Array` that have their prototype\nchanged to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of `Uint8Array`,\nso the returned instances will have all the node `Buffer` methods and the\n`Uint8Array` methods. Square bracket notation works as expected -- it returns a\nsingle octet.\n\nThe `Uint8Array` prototype remains unmodified.\n\n\n## one minor difference\n\n#### In old browsers, `buf.slice()` does not modify parent buffer's memory\n\nIf you only support modern browsers (specifically, those with typed array support),\nthen this issue does not affect you. If you support super old browsers, then read on.\n\nIn node, the `slice()` method returns a new `Buffer` that shares underlying memory\nwith the original Buffer. When you modify one buffer, you modify the other.\n[Read more.](https://nodejs.org/api/buffer.html#buffer_buf_slice_start_end)\n\nIn browsers with typed array support, this `Buffer` implementation supports this\nbehavior. In browsers without typed arrays, an alternate buffer implementation is\nused that is based on `Object` which has no mechanism to point separate\n`Buffer`s to the same underlying slab of memory.\n\nYou can see which browser versions lack typed array support\n[here](https://github.com/feross/buffer/blob/master/index.js#L22-L48).\n\n\n## tracking the latest node api\n\nThis module tracks the Buffer API in the latest (unstable) version of node.js. The Buffer\nAPI is considered **stable** in the\n[node stability index](https://nodejs.org/docs/latest/api/documentation.html#documentation_stability_index),\nso it is unlikely that there will ever be breaking changes.\nNonetheless, when/if the Buffer API changes in node, this module's API will change\naccordingly.\n\n## related packages\n\n- [`buffer-equals`](https://www.npmjs.com/package/buffer-equals) - Node.js 0.12 buffer.equals() ponyfill\n- [`buffer-reverse`](https://www.npmjs.com/package/buffer-reverse) - A lite module for reverse-operations on buffers\n- [`buffer-xor`](https://www.npmjs.com/package/buffer-xor) - A simple module for bitwise-xor on buffers\n- [`is-buffer`](https://www.npmjs.com/package/is-buffer) - Determine if an object is a Buffer without including the whole `Buffer` package\n- [`typedarray-to-buffer`](https://www.npmjs.com/package/typedarray-to-buffer) - Convert a typed array to a Buffer without a copy\n\n## performance\n\nSee perf tests in `/perf`.\n\n`BrowserBuffer` is the browser `buffer` module (this repo). `Uint8Array` is included as a\nsanity check (since `BrowserBuffer` uses `Uint8Array` under the hood, `Uint8Array` will\nalways be at least a bit faster). Finally, `NodeBuffer` is the node.js buffer module,\nwhich is included to compare against.\n\nNOTE: Performance has improved since these benchmarks were taken. PR welcoem to update the README.\n\n### Chrome 38\n\n| Method | Operations | Accuracy | Sampled | Fastest |\n|:-------|:-----------|:---------|:--------|:-------:|\n| BrowserBuffer#bracket-notation | 11,457,464 ops/sec | ±0.86% | 66 | ✓ |\n| Uint8Array#bracket-notation | 10,824,332 ops/sec | ±0.74% | 65 | |\n| | | | |\n| BrowserBuffer#concat | 450,532 ops/sec | ±0.76% | 68 | |\n| Uint8Array#concat | 1,368,911 ops/sec | ±1.50% | 62 | ✓ |\n| | | | |\n| BrowserBuffer#copy(16000) | 903,001 ops/sec | ±0.96% | 67 | |\n| Uint8Array#copy(16000) | 1,422,441 ops/sec | ±1.04% | 66 | ✓ |\n| | | | |\n| BrowserBuffer#copy(16) | 11,431,358 ops/sec | ±0.46% | 69 | |\n| Uint8Array#copy(16) | 13,944,163 ops/sec | ±1.12% | 68 | ✓ |\n| | | | |\n| BrowserBuffer#new(16000) | 106,329 ops/sec | ±6.70% | 44 | |\n| Uint8Array#new(16000) | 131,001 ops/sec | ±2.85% | 31 | ✓ |\n| | | | |\n| BrowserBuffer#new(16) | 1,554,491 ops/sec | ±1.60% | 65 | |\n| Uint8Array#new(16) | 6,623,930 ops/sec | ±1.66% | 65 | ✓ |\n| | | | |\n| BrowserBuffer#readDoubleBE | 112,830 ops/sec | ±0.51% | 69 | ✓ |\n| DataView#getFloat64 | 93,500 ops/sec | ±0.57% | 68 | |\n| | | | |\n| BrowserBuffer#readFloatBE | 146,678 ops/sec | ±0.95% | 68 | ✓ |\n| DataView#getFloat32 | 99,311 ops/sec | ±0.41% | 67 | |\n| | | | |\n| BrowserBuffer#readUInt32LE | 843,214 ops/sec | ±0.70% | 69 | ✓ |\n| DataView#getUint32 | 103,024 ops/sec | ±0.64% | 67 | |\n| | | | |\n| BrowserBuffer#slice | 1,013,941 ops/sec | ±0.75% | 67 | |\n| Uint8Array#subarray | 1,903,928 ops/sec | ±0.53% | 67 | ✓ |\n| | | | |\n| BrowserBuffer#writeFloatBE | 61,387 ops/sec | ±0.90% | 67 | |\n| DataView#setFloat32 | 141,249 ops/sec | ±0.40% | 66 | ✓ |\n\n\n### Firefox 33\n\n| Method | Operations | Accuracy | Sampled | Fastest |\n|:-------|:-----------|:---------|:--------|:-------:|\n| BrowserBuffer#bracket-notation | 20,800,421 ops/sec | ±1.84% | 60 | |\n| Uint8Array#bracket-notation | 20,826,235 ops/sec | ±2.02% | 61 | ✓ |\n| | | | |\n| BrowserBuffer#concat | 153,076 ops/sec | ±2.32% | 61 | |\n| Uint8Array#concat | 1,255,674 ops/sec | ±8.65% | 52 | ✓ |\n| | | | |\n| BrowserBuffer#copy(16000) | 1,105,312 ops/sec | ±1.16% | 63 | |\n| Uint8Array#copy(16000) | 1,615,911 ops/sec | ±0.55% | 66 | ✓ |\n| | | | |\n| BrowserBuffer#copy(16) | 16,357,599 ops/sec | ±0.73% | 68 | |\n| Uint8Array#copy(16) | 31,436,281 ops/sec | ±1.05% | 68 | ✓ |\n| | | | |\n| BrowserBuffer#new(16000) | 52,995 ops/sec | ±6.01% | 35 | |\n| Uint8Array#new(16000) | 87,686 ops/sec | ±5.68% | 45 | ✓ |\n| | | | |\n| BrowserBuffer#new(16) | 252,031 ops/sec | ±1.61% | 66 | |\n| Uint8Array#new(16) | 8,477,026 ops/sec | ±0.49% | 68 | ✓ |\n| | | | |\n| BrowserBuffer#readDoubleBE | 99,871 ops/sec | ±0.41% | 69 | |\n| DataView#getFloat64 | 285,663 ops/sec | ±0.70% | 68 | ✓ |\n| | | | |\n| BrowserBuffer#readFloatBE | 115,540 ops/sec | ±0.42% | 69 | |\n| DataView#getFloat32 | 288,722 ops/sec | ±0.82% | 68 | ✓ |\n| | | | |\n| BrowserBuffer#readUInt32LE | 633,926 ops/sec | ±1.08% | 67 | ✓ |\n| DataView#getUint32 | 294,808 ops/sec | ±0.79% | 64 | |\n| | | | |\n| BrowserBuffer#slice | 349,425 ops/sec | ±0.46% | 69 | |\n| Uint8Array#subarray | 5,965,819 ops/sec | ±0.60% | 65 | ✓ |\n| | | | |\n| BrowserBuffer#writeFloatBE | 59,980 ops/sec | ±0.41% | 67 | |\n| DataView#setFloat32 | 317,634 ops/sec | ±0.63% | 68 | ✓ |\n\n### Safari 8\n\n| Method | Operations | Accuracy | Sampled | Fastest |\n|:-------|:-----------|:---------|:--------|:-------:|\n| BrowserBuffer#bracket-notation | 10,279,729 ops/sec | ±2.25% | 56 | ✓ |\n| Uint8Array#bracket-notation | 10,030,767 ops/sec | ±2.23% | 59 | |\n| | | | |\n| BrowserBuffer#concat | 144,138 ops/sec | ±1.38% | 65 | |\n| Uint8Array#concat | 4,950,764 ops/sec | ±1.70% | 63 | ✓ |\n| | | | |\n| BrowserBuffer#copy(16000) | 1,058,548 ops/sec | ±1.51% | 64 | |\n| Uint8Array#copy(16000) | 1,409,666 ops/sec | ±1.17% | 65 | ✓ |\n| | | | |\n| BrowserBuffer#copy(16) | 6,282,529 ops/sec | ±1.88% | 58 | |\n| Uint8Array#copy(16) | 11,907,128 ops/sec | ±2.87% | 58 | ✓ |\n| | | | |\n| BrowserBuffer#new(16000) | 101,663 ops/sec | ±3.89% | 57 | |\n| Uint8Array#new(16000) | 22,050,818 ops/sec | ±6.51% | 46 | ✓ |\n| | | | |\n| BrowserBuffer#new(16) | 176,072 ops/sec | ±2.13% | 64 | |\n| Uint8Array#new(16) | 24,385,731 ops/sec | ±5.01% | 51 | ✓ |\n| | | | |\n| BrowserBuffer#readDoubleBE | 41,341 ops/sec | ±1.06% | 67 | |\n| DataView#getFloat64 | 322,280 ops/sec | ±0.84% | 68 | ✓ |\n| | | | |\n| BrowserBuffer#readFloatBE | 46,141 ops/sec | ±1.06% | 65 | |\n| DataView#getFloat32 | 337,025 ops/sec | ±0.43% | 69 | ✓ |\n| | | | |\n| BrowserBuffer#readUInt32LE | 151,551 ops/sec | ±1.02% | 66 | |\n| DataView#getUint32 | 308,278 ops/sec | ±0.94% | 67 | ✓ |\n| | | | |\n| BrowserBuffer#slice | 197,365 ops/sec | ±0.95% | 66 | |\n| Uint8Array#subarray | 9,558,024 ops/sec | ±3.08% | 58 | ✓ |\n| | | | |\n| BrowserBuffer#writeFloatBE | 17,518 ops/sec | ±1.03% | 63 | |\n| DataView#setFloat32 | 319,751 ops/sec | ±0.48% | 68 | ✓ |\n\n\n### Node 0.11.14\n\n| Method | Operations | Accuracy | Sampled | Fastest |\n|:-------|:-----------|:---------|:--------|:-------:|\n| BrowserBuffer#bracket-notation | 10,489,828 ops/sec | ±3.25% | 90 | |\n| Uint8Array#bracket-notation | 10,534,884 ops/sec | ±0.81% | 92 | ✓ |\n| NodeBuffer#bracket-notation | 10,389,910 ops/sec | ±0.97% | 87 | |\n| | | | |\n| BrowserBuffer#concat | 487,830 ops/sec | ±2.58% | 88 | |\n| Uint8Array#concat | 1,814,327 ops/sec | ±1.28% | 88 | ✓ |\n| NodeBuffer#concat | 1,636,523 ops/sec | ±1.88% | 73 | |\n| | | | |\n| BrowserBuffer#copy(16000) | 1,073,665 ops/sec | ±0.77% | 90 | |\n| Uint8Array#copy(16000) | 1,348,517 ops/sec | ±0.84% | 89 | ✓ |\n| NodeBuffer#copy(16000) | 1,289,533 ops/sec | ±0.82% | 93 | |\n| | | | |\n| BrowserBuffer#copy(16) | 12,782,706 ops/sec | ±0.74% | 85 | |\n| Uint8Array#copy(16) | 14,180,427 ops/sec | ±0.93% | 92 | ✓ |\n| NodeBuffer#copy(16) | 11,083,134 ops/sec | ±1.06% | 89 | |\n| | | | |\n| BrowserBuffer#new(16000) | 141,678 ops/sec | ±3.30% | 67 | |\n| Uint8Array#new(16000) | 161,491 ops/sec | ±2.96% | 60 | |\n| NodeBuffer#new(16000) | 292,699 ops/sec | ±3.20% | 55 | ✓ |\n| | | | |\n| BrowserBuffer#new(16) | 1,655,466 ops/sec | ±2.41% | 82 | |\n| Uint8Array#new(16) | 14,399,926 ops/sec | ±0.91% | 94 | ✓ |\n| NodeBuffer#new(16) | 3,894,696 ops/sec | ±0.88% | 92 | |\n| | | | |\n| BrowserBuffer#readDoubleBE | 109,582 ops/sec | ±0.75% | 93 | ✓ |\n| DataView#getFloat64 | 91,235 ops/sec | ±0.81% | 90 | |\n| NodeBuffer#readDoubleBE | 88,593 ops/sec | ±0.96% | 81 | |\n| | | | |\n| BrowserBuffer#readFloatBE | 139,854 ops/sec | ±1.03% | 85 | ✓ |\n| DataView#getFloat32 | 98,744 ops/sec | ±0.80% | 89 | |\n| NodeBuffer#readFloatBE | 92,769 ops/sec | ±0.94% | 93 | |\n| | | | |\n| BrowserBuffer#readUInt32LE | 710,861 ops/sec | ±0.82% | 92 | |\n| DataView#getUint32 | 117,893 ops/sec | ±0.84% | 91 | |\n| NodeBuffer#readUInt32LE | 851,412 ops/sec | ±0.72% | 93 | ✓ |\n| | | | |\n| BrowserBuffer#slice | 1,673,877 ops/sec | ±0.73% | 94 | |\n| Uint8Array#subarray | 6,919,243 ops/sec | ±0.67% | 90 | ✓ |\n| NodeBuffer#slice | 4,617,604 ops/sec | ±0.79% | 93 | |\n| | | | |\n| BrowserBuffer#writeFloatBE | 66,011 ops/sec | ±0.75% | 93 | |\n| DataView#setFloat32 | 127,760 ops/sec | ±0.72% | 93 | ✓ |\n| NodeBuffer#writeFloatBE | 103,352 ops/sec | ±0.83% | 93 | |\n\n### iojs 1.8.1\n\n| Method | Operations | Accuracy | Sampled | Fastest |\n|:-------|:-----------|:---------|:--------|:-------:|\n| BrowserBuffer#bracket-notation | 10,990,488 ops/sec | ±1.11% | 91 | |\n| Uint8Array#bracket-notation | 11,268,757 ops/sec | ±0.65% | 97 | |\n| NodeBuffer#bracket-notation | 11,353,260 ops/sec | ±0.83% | 94 | ✓ |\n| | | | |\n| BrowserBuffer#concat | 378,954 ops/sec | ±0.74% | 94 | |\n| Uint8Array#concat | 1,358,288 ops/sec | ±0.97% | 87 | |\n| NodeBuffer#concat | 1,934,050 ops/sec | ±1.11% | 78 | ✓ |\n| | | | |\n| BrowserBuffer#copy(16000) | 894,538 ops/sec | ±0.56% | 84 | |\n| Uint8Array#copy(16000) | 1,442,656 ops/sec | ±0.71% | 96 | |\n| NodeBuffer#copy(16000) | 1,457,898 ops/sec | ±0.53% | 92 | ✓ |\n| | | | |\n| BrowserBuffer#copy(16) | 12,870,457 ops/sec | ±0.67% | 95 | |\n| Uint8Array#copy(16) | 16,643,989 ops/sec | ±0.61% | 93 | ✓ |\n| NodeBuffer#copy(16) | 14,885,848 ops/sec | ±0.74% | 94 | |\n| | | | |\n| BrowserBuffer#new(16000) | 109,264 ops/sec | ±4.21% | 63 | |\n| Uint8Array#new(16000) | 138,916 ops/sec | ±1.87% | 61 | |\n| NodeBuffer#new(16000) | 281,449 ops/sec | ±3.58% | 51 | ✓ |\n| | | | |\n| BrowserBuffer#new(16) | 1,362,935 ops/sec | ±0.56% | 99 | |\n| Uint8Array#new(16) | 6,193,090 ops/sec | ±0.64% | 95 | ✓ |\n| NodeBuffer#new(16) | 4,745,425 ops/sec | ±1.56% | 90 | |\n| | | | |\n| BrowserBuffer#readDoubleBE | 118,127 ops/sec | ±0.59% | 93 | ✓ |\n| DataView#getFloat64 | 107,332 ops/sec | ±0.65% | 91 | |\n| NodeBuffer#readDoubleBE | 116,274 ops/sec | ±0.94% | 95 | |\n| | | | |\n| BrowserBuffer#readFloatBE | 150,326 ops/sec | ±0.58% | 95 | ✓ |\n| DataView#getFloat32 | 110,541 ops/sec | ±0.57% | 98 | |\n| NodeBuffer#readFloatBE | 121,599 ops/sec | ±0.60% | 87 | |\n| | | | |\n| BrowserBuffer#readUInt32LE | 814,147 ops/sec | ±0.62% | 93 | |\n| DataView#getUint32 | 137,592 ops/sec | ±0.64% | 90 | |\n| NodeBuffer#readUInt32LE | 931,650 ops/sec | ±0.71% | 96 | ✓ |\n| | | | |\n| BrowserBuffer#slice | 878,590 ops/sec | ±0.68% | 93 | |\n| Uint8Array#subarray | 2,843,308 ops/sec | ±1.02% | 90 | |\n| NodeBuffer#slice | 4,998,316 ops/sec | ±0.68% | 90 | ✓ |\n| | | | |\n| BrowserBuffer#writeFloatBE | 65,927 ops/sec | ±0.74% | 93 | |\n| DataView#setFloat32 | 139,823 ops/sec | ±0.97% | 89 | ✓ |\n| NodeBuffer#writeFloatBE | 135,763 ops/sec | ±0.65% | 96 | |\n| | | | |\n\n## Testing the project\n\nFirst, install the project:\n\n npm install\n\nThen, to run tests in Node.js, run:\n\n npm run test-node\n\nTo test locally in a browser, you can run:\n\n npm run test-browser-local\n\nThis will print out a URL that you can then open in a browser to run the tests, using [Zuul](https://github.com/defunctzombie/zuul).\n\nTo run automated browser tests using Saucelabs, ensure that your `SAUCE_USERNAME` and `SAUCE_ACCESS_KEY` environment variables are set, then run:\n\n npm test\n\nThis is what's run in Travis, to check against various browsers. The list of browsers is kept in the `.zuul.yml` file.\n\n## JavaScript Standard Style\n\nThis module uses [JavaScript Standard Style](https://github.com/feross/standard).\n\n[![JavaScript Style Guide](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n\nTo test that the code conforms to the style, `npm install` and run:\n\n ./node_modules/.bin/standard\n\n## credit\n\nThis was originally forked from [buffer-browserify](https://github.com/toots/buffer-browserify).\n\n\n## license\n\nMIT. Copyright (C) [Feross Aboukhadijeh](http://feross.org), and other contributors. Originally forked from an MIT-licensed module by Romain Beauxis.\n", - "readmeFilename": "README.md", - "_id": "buffer@4.9.1", - "_shasum": "6d1bb601b07a4efced97094132093027c95bc298", - "_resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", - "_from": "buffer@4.9.1" -} diff --git a/node_modules/aws-sdk/node_modules/buffer/test/_polyfill.js b/node_modules/aws-sdk/node_modules/buffer/test/_polyfill.js deleted file mode 100644 index 61f9c18..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/base64.js b/node_modules/aws-sdk/node_modules/buffer/test/base64.js deleted file mode 100644 index e4ecc56..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/basic.js b/node_modules/aws-sdk/node_modules/buffer/test/basic.js deleted file mode 100644 index 0368ed9..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/compare.js b/node_modules/aws-sdk/node_modules/buffer/test/compare.js deleted file mode 100644 index 62b478c..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/constructor.js b/node_modules/aws-sdk/node_modules/buffer/test/constructor.js deleted file mode 100644 index cec5cdc..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/from-string.js b/node_modules/aws-sdk/node_modules/buffer/test/from-string.js deleted file mode 100644 index e25db26..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/is-buffer.js b/node_modules/aws-sdk/node_modules/buffer/test/is-buffer.js deleted file mode 100644 index 3744b23..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/methods.js b/node_modules/aws-sdk/node_modules/buffer/test/methods.js deleted file mode 100644 index f4bd3f2..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-alloc.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-alloc.js deleted file mode 100644 index b524f51..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-arraybuffer.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-arraybuffer.js deleted file mode 100644 index a418752..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-ascii.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-ascii.js deleted file mode 100644 index 4a06098..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-bad-overload.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-bad-overload.js deleted file mode 100644 index 282227d..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-badhex.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-badhex.js deleted file mode 100644 index fd7851d..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-bytelength.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-bytelength.js deleted file mode 100644 index 8d7dc35..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-compare-offset.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-compare-offset.js deleted file mode 100644 index f1984ed..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-concat.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-concat.js deleted file mode 100644 index c0dc4da..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-fill.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-fill.js deleted file mode 100644 index 7138094..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-includes.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-includes.js deleted file mode 100644 index 2096a34..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-indexof.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-indexof.js deleted file mode 100644 index 24502c3..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-inheritance.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-inheritance.js deleted file mode 100644 index 711d9f2..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-inspect.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-inspect.js deleted file mode 100644 index d0ed590..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-iterator.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-iterator.js deleted file mode 100644 index f27709f..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-safe-unsafe.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-safe-unsafe.js deleted file mode 100644 index 22ba29e..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-slow.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-slow.js deleted file mode 100644 index 65cea21..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-swap.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-swap.js deleted file mode 100644 index 2ec1a7a..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-zero-fill-cli.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-zero-fill-cli.js deleted file mode 100644 index 744b334..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-zero-fill-reset.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer-zero-fill-reset.js deleted file mode 100644 index b21a6b2..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer.js b/node_modules/aws-sdk/node_modules/buffer/test/node/test-buffer.js deleted file mode 100644 index 2e94de2..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/slice.js b/node_modules/aws-sdk/node_modules/buffer/test/slice.js deleted file mode 100644 index 25c111c..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/static.js b/node_modules/aws-sdk/node_modules/buffer/test/static.js deleted file mode 100644 index 4de900b..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/to-string.js b/node_modules/aws-sdk/node_modules/buffer/test/to-string.js deleted file mode 100644 index 2950d4d..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/write.js b/node_modules/aws-sdk/node_modules/buffer/test/write.js deleted file mode 100644 index 5841806..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/buffer/test/write_infinity.js b/node_modules/aws-sdk/node_modules/buffer/test/write_infinity.js deleted file mode 100644 index 17d606a..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/.npmignore b/node_modules/aws-sdk/node_modules/crypto-browserify/.npmignore deleted file mode 100644 index 3c3629e..0000000 --- a/node_modules/aws-sdk/node_modules/crypto-browserify/.npmignore +++ /dev/null @@ -1 +0,0 @@ -node_modules diff --git a/node_modules/aws-sdk/node_modules/crypto-browserify/.travis.yml b/node_modules/aws-sdk/node_modules/crypto-browserify/.travis.yml deleted file mode 100644 index 3079f62..0000000 --- a/node_modules/aws-sdk/node_modules/crypto-browserify/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: node_js -node_js: - - 0.8 - - "0.10" - diff --git a/node_modules/aws-sdk/node_modules/crypto-browserify/LICENSE b/node_modules/aws-sdk/node_modules/crypto-browserify/LICENSE deleted file mode 100644 index 8abb57d..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/example/bundle.js b/node_modules/aws-sdk/node_modules/crypto-browserify/example/bundle.js deleted file mode 100644 index 02698cc..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/example/index.html b/node_modules/aws-sdk/node_modules/crypto-browserify/example/index.html deleted file mode 100644 index 9d55c6d..0000000 --- a/node_modules/aws-sdk/node_modules/crypto-browserify/example/index.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - -
-  require('crypto').createHash('sha1').update('abc').digest('hex') == ''
-  
- - - diff --git a/node_modules/aws-sdk/node_modules/crypto-browserify/example/test.js b/node_modules/aws-sdk/node_modules/crypto-browserify/example/test.js deleted file mode 100644 index f1b0e4a..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/helpers.js b/node_modules/aws-sdk/node_modules/crypto-browserify/helpers.js deleted file mode 100644 index 4535e64..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/index.js b/node_modules/aws-sdk/node_modules/crypto-browserify/index.js deleted file mode 100644 index 56fa434..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/md5.js b/node_modules/aws-sdk/node_modules/crypto-browserify/md5.js deleted file mode 100644 index 50eeb89..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/package.json b/node_modules/aws-sdk/node_modules/crypto-browserify/package.json deleted file mode 100644 index 50a90d5..0000000 --- a/node_modules/aws-sdk/node_modules/crypto-browserify/package.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "author": { - "name": "Dominic Tarr", - "email": "dominic.tarr@gmail.com", - "url": "dominictarr.com" - }, - "name": "crypto-browserify", - "description": "partial implementation of crypto for the browser", - "version": "1.0.9", - "homepage": "https://github.com/dominictarr/crypto-browserify", - "repository": { - "type": "git", - "url": "git://github.com/dominictarr/crypto-browserify.git" - }, - "scripts": { - "test": "node test/node.js" - }, - "engines": { - "node": "*" - }, - "dependencies": {}, - "devDependencies": { - "brfs": "~0.0.8", - "tape": "~1.0.4" - }, - "testling": { - "files": "test/browser.js", - "browsers": [ - "ie/8..latest", - "chrome/20..latest", - "firefox/10..latest", - "safari/latest", - "opera/11.0..latest", - "iphone/6", - "ipad/6" - ] - }, - "optionalDependencies": {}, - "license": "MIT", - "readme": "# crypto-browserify\n\nA (partial) port of `crypto` to the browser.\n\n\n[![travis](https://secure.travis-ci.org/dominictarr/crypto-browserify.png?branch=master)](https://travis-ci.org/dominictarr/crypto-browserify)\n\n[![browser support](http://ci.testling.com/dominictarr/crypto-browserify.png)](http://ci.testling.com/dominictarr/crypto-browserify)\n\n\nBasically, I found some crypto implemented in JS lieing on the internet somewhere\nand wrapped it in the part of the `crypto` api that I am currently using.\n\nIn a way that will be compatible with [browserify](https://github.com/substack/node-browserify/).\n\nI will extend this if I need more features, or if anyone else wants to extend this,\nI will add you as a maintainer.\n\nProvided that you agree that it should replicate the [node.js/crypto](http://nodejs.org/api/crypto.html) api exactly, of course.\n\n", - "readmeFilename": "readme.markdown", - "bugs": { - "url": "https://github.com/dominictarr/crypto-browserify/issues" - }, - "_id": "crypto-browserify@1.0.9", - "_shasum": "cc5449685dfb85eb11c9828acc7cb87ab5bbfcc0", - "_resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-1.0.9.tgz", - "_from": "crypto-browserify@1.0.9" -} diff --git a/node_modules/aws-sdk/node_modules/crypto-browserify/readme.markdown b/node_modules/aws-sdk/node_modules/crypto-browserify/readme.markdown deleted file mode 100644 index 2ede636..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/rng.js b/node_modules/aws-sdk/node_modules/crypto-browserify/rng.js deleted file mode 100644 index bc858e8..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/sha.js b/node_modules/aws-sdk/node_modules/crypto-browserify/sha.js deleted file mode 100644 index 8942b62..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/sha256.js b/node_modules/aws-sdk/node_modules/crypto-browserify/sha256.js deleted file mode 100644 index 954d685..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/browser.js b/node_modules/aws-sdk/node_modules/crypto-browserify/test/browser.js deleted file mode 100644 index ccc054b..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/node.js b/node_modules/aws-sdk/node_modules/crypto-browserify/test/node.js deleted file mode 100644 index fb9af5c..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/package.json b/node_modules/aws-sdk/node_modules/crypto-browserify/test/package.json deleted file mode 100644 index 4b435b0..0000000 --- a/node_modules/aws-sdk/node_modules/crypto-browserify/test/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "browserify": { - "transform": [ - "brfs" - ] - } -} diff --git a/node_modules/aws-sdk/node_modules/crypto-browserify/test/simple.js b/node_modules/aws-sdk/node_modules/crypto-browserify/test/simple.js deleted file mode 100755 index 34d96b5..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/Readme.txt b/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/Readme.txt deleted file mode 100755 index 99d14c9..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte-hashes.md5 b/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte-hashes.md5 deleted file mode 100755 index 97a913a..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte-hashes.sha1 b/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte-hashes.sha1 deleted file mode 100755 index f251291..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte-hashes.sha256 b/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte-hashes.sha256 deleted file mode 100644 index 7332dea..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0000.dat b/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0000.dat deleted file mode 100755 index e69de29..0000000 diff --git a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0001.dat b/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0001.dat deleted file mode 100755 index 6f4f765..0000000 --- a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0001.dat +++ /dev/null @@ -1 +0,0 @@ -$ \ No newline at end of file diff --git a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0002.dat b/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0002.dat deleted file mode 100755 index 26136c5..0000000 --- a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0002.dat +++ /dev/null @@ -1 +0,0 @@ -pð \ No newline at end of file diff --git a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0003.dat b/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0003.dat deleted file mode 100755 index d3b1468..0000000 --- a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0003.dat +++ /dev/null @@ -1 +0,0 @@ -ð \ No newline at end of file diff --git a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0004.dat b/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0004.dat deleted file mode 100755 index f00c578..0000000 --- a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0004.dat +++ /dev/null @@ -1 +0,0 @@ -8x \ No newline at end of file diff --git a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0005.dat b/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0005.dat deleted file mode 100755 index 9b3ac32..0000000 --- a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0005.dat +++ /dev/null @@ -1 +0,0 @@ ->ü \ No newline at end of file diff --git a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0006.dat b/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0006.dat deleted file mode 100755 index 611a56b..0000000 --- a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0006.dat +++ /dev/null @@ -1 +0,0 @@ -çÇï \ No newline at end of file diff --git a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0007.dat b/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0007.dat deleted file mode 100755 index 0af0f7a..0000000 --- a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0007.dat +++ /dev/null @@ -1 +0,0 @@ -àûqøùÁü \ No newline at end of file diff --git a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0008.dat b/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0008.dat deleted file mode 100755 index 90e3f79..0000000 --- a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0008.dat +++ /dev/null @@ -1 +0,0 @@ -ÿ|`<€â \ No newline at end of file diff --git a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0009.dat b/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0009.dat deleted file mode 100755 index 6012eb5..0000000 --- a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0009.dat +++ /dev/null @@ -1 +0,0 @@ -ð?È`þø \ No newline at end of file diff --git a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0010.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0011.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0012.dat b/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0012.dat deleted file mode 100755 index 3464653..0000000 --- a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0012.dat +++ /dev/null @@ -1 +0,0 @@ -Àø0óùÿ \ No newline at end of file diff --git a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0013.dat b/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0013.dat deleted file mode 100755 index 648b68f..0000000 --- a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0013.dat +++ /dev/null @@ -1 +0,0 @@ -ÄüøÀðAÿ \ No newline at end of file diff --git a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0014.dat b/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0014.dat deleted file mode 100755 index b19f410..0000000 --- a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0014.dat +++ /dev/null @@ -1 +0,0 @@ -ÿ€GüÀ`0à<ÿ \ No newline at end of file diff --git a/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0015.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0016.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0017.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0018.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0019.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0020.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0021.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0024.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0027.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0028.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0029.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0030.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0031.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0032.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0033.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0034.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0035.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0036.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0037.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0038.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0039.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0040.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0041.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0042.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0043.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0044.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0045.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0046.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0047.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0048.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0049.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0050.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0051.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0052.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0053.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0054.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0058.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0059.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0060.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0062.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0063.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0064.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0065.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0068.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0069.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0073.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0074.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0076.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0079.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0080.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0085.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0087.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0088.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0089.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0090.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0093.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0094.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0096.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0098.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0099.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0100.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0101.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0102.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0103.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0104.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0105.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0106.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0108.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0109.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0114.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0115.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0121.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0122.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0123.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0125.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0126.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0129.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0131.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0132.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0133.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0134.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0136.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0137.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0138.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0140.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0142.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0147.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0148.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0149.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0151.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0153.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0155.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0156.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0157.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0158.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0159.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0161.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0162.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0164.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0165.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0166.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0167.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0169.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0170.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0171.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0173.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0175.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0180.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0181.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0182.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0183.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0184.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0185.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0187.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0188.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0189.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0190.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0191.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0192.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0193.dat b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/crypto-browserify/test/vectors/byte0194.dat b/node_modules/aws-sdk/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 <%= 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/node_modules/aws-sdk/node_modules/jmespath/LICENSE b/node_modules/aws-sdk/node_modules/jmespath/LICENSE deleted file mode 100644 index c1d496b..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/README.md b/node_modules/aws-sdk/node_modules/jmespath/README.md deleted file mode 100644 index b1110c2..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/artifacts/jmespath.min.js b/node_modules/aws-sdk/node_modules/jmespath/artifacts/jmespath.min.js deleted file mode 100644 index ae76a6d..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/bower.json b/node_modules/aws-sdk/node_modules/jmespath/bower.json deleted file mode 100644 index f0f626c..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/g.sh b/node_modules/aws-sdk/node_modules/jmespath/g.sh deleted file mode 100755 index 5358000..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/index.html b/node_modules/aws-sdk/node_modules/jmespath/index.html deleted file mode 100644 index 5806e1e..0000000 --- a/node_modules/aws-sdk/node_modules/jmespath/index.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - - JMESPath Demo - - - - - -
-
-

JSONPath Online Evaluator

-
-

Author: Kazuki Hamasaki [ashphy@ashphy.com]

-

This evaluator uses JSONPath - XPath for JSON

-
-
-
-
-

Inputs

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

Evaluation Results

-
false
-
-
-
- - - - - - - - - - - - diff --git a/node_modules/aws-sdk/node_modules/jmespath/james.html b/node_modules/aws-sdk/node_modules/jmespath/james.html deleted file mode 100644 index be8d3ab..0000000 --- a/node_modules/aws-sdk/node_modules/jmespath/james.html +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/node_modules/aws-sdk/node_modules/jmespath/jmespath.js b/node_modules/aws-sdk/node_modules/jmespath/jmespath.js deleted file mode 100644 index f59e8e4..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/jp.js b/node_modules/aws-sdk/node_modules/jmespath/jp.js deleted file mode 100755 index c152108..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/l.js b/node_modules/aws-sdk/node_modules/jmespath/l.js deleted file mode 100644 index 27bf6dd..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/package.json b/node_modules/aws-sdk/node_modules/jmespath/package.json deleted file mode 100644 index 911394a..0000000 --- a/node_modules/aws-sdk/node_modules/jmespath/package.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "jmespath", - "description": "JMESPath implementation in javascript", - "version": "0.15.0", - "author": { - "name": "James Saryerwinnie", - "email": "js@jamesls.com", - "url": "http://jamesls.com/" - }, - "homepage": "https://github.com/jmespath/jmespath.js", - "contributors": [], - "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" - }, - "dependencies": {}, - "main": "jmespath.js", - "directories": { - "test": "test" - }, - "engines": { - "node": ">= 0.6.0" - }, - "repository": { - "type": "git", - "url": "git://github.com/jmespath/jmespath.js.git" - }, - "bugs": { - "url": "http://github.com/jmespath/jmespath.js/issues" - }, - "licenses": [ - { - "type": "Apache 2.0", - "url": "http://github.com/jmespath/jmespath.js/raw/master/LICENSE" - } - ], - "keywords": [ - "jmespath", - "jsonpath", - "json", - "xpath" - ], - "scripts": { - "test": "mocha test/" - }, - "readme": "# jmespath.js\n\n[![Build Status](https://travis-ci.org/jmespath/jmespath.js.png?branch=master)](https://travis-ci.org/jmespath/jmespath.js)\n\njmespath.js is a javascript implementation of JMESPath,\nwhich is a query language for JSON. It will take a JSON\ndocument and transform it into another JSON document\nthrough a JMESPath expression.\n\nUsing jmespath.js is really easy. There's a single function\nyou use, `jmespath.search`:\n\n\n```\n> var jmespath = require('jmespath');\n> jmespath.search({foo: {bar: {baz: [0, 1, 2, 3, 4]}}}, \"foo.bar.baz[2]\")\n2\n```\n\nIn the example we gave the ``search`` function input data of\n`{foo: {bar: {baz: [0, 1, 2, 3, 4]}}}` as well as the JMESPath\nexpression `foo.bar.baz[2]`, and the `search` function evaluated\nthe expression against the input data to produce the result ``2``.\n\nThe JMESPath language can do a lot more than select an element\nfrom a list. Here are a few more examples:\n\n```\n> jmespath.search({foo: {bar: {baz: [0, 1, 2, 3, 4]}}}, \"foo.bar\")\n{ baz: [ 0, 1, 2, 3, 4 ] }\n\n> jmespath.search({\"foo\": [{\"first\": \"a\", \"last\": \"b\"},\n {\"first\": \"c\", \"last\": \"d\"}]},\n \"foo[*].first\")\n[ 'a', 'c' ]\n\n> jmespath.search({\"foo\": [{\"age\": 20}, {\"age\": 25},\n {\"age\": 30}, {\"age\": 35},\n {\"age\": 40}]},\n \"foo[?age > `30`]\")\n[ { age: 35 }, { age: 40 } ]\n```\n\n## More Resources\n\nThe example above only show a small amount of what\na JMESPath expression can do. If you want to take a\ntour of the language, the *best* place to go is the\n[JMESPath Tutorial](http://jmespath.org/tutorial.html).\n\nOne of the best things about JMESPath is that it is\nimplemented in many different programming languages including\npython, ruby, php, lua, etc. To see a complete list of libraries,\ncheck out the [JMESPath libraries page](http://jmespath.org/libraries.html).\n\nAnd finally, the full JMESPath specification can be found\non the [JMESPath site](http://jmespath.org/specification.html).\n", - "readmeFilename": "README.md", - "_id": "jmespath@0.15.0", - "_shasum": "a3f222a9aae9f966f5d27c796510e28091764217", - "_resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.15.0.tgz", - "_from": "jmespath@0.15.0" -} diff --git a/node_modules/aws-sdk/node_modules/jmespath/perf.js b/node_modules/aws-sdk/node_modules/jmespath/perf.js deleted file mode 100644 index 58794ec..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/reservedWords.json b/node_modules/aws-sdk/node_modules/jmespath/reservedWords.json deleted file mode 100644 index 433cd35..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/test/compliance.js b/node_modules/aws-sdk/node_modules/jmespath/test/compliance.js deleted file mode 100644 index 6298e9e..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/test/compliance/basic.json b/node_modules/aws-sdk/node_modules/jmespath/test/compliance/basic.json deleted file mode 100644 index d550e96..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/test/compliance/boolean.json b/node_modules/aws-sdk/node_modules/jmespath/test/compliance/boolean.json deleted file mode 100644 index e3fa196..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/test/compliance/current.json b/node_modules/aws-sdk/node_modules/jmespath/test/compliance/current.json deleted file mode 100644 index 0c26248..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/test/compliance/escape.json b/node_modules/aws-sdk/node_modules/jmespath/test/compliance/escape.json deleted file mode 100644 index 4a62d95..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/test/compliance/filters.json b/node_modules/aws-sdk/node_modules/jmespath/test/compliance/filters.json deleted file mode 100644 index 5b9f52b..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/test/compliance/functions.json b/node_modules/aws-sdk/node_modules/jmespath/test/compliance/functions.json deleted file mode 100644 index 8b8db36..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/test/compliance/identifiers.json b/node_modules/aws-sdk/node_modules/jmespath/test/compliance/identifiers.json deleted file mode 100644 index 7998a41..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/test/compliance/indices.json b/node_modules/aws-sdk/node_modules/jmespath/test/compliance/indices.json deleted file mode 100644 index aa03b35..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/test/compliance/literal.json b/node_modules/aws-sdk/node_modules/jmespath/test/compliance/literal.json deleted file mode 100644 index b796d36..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/test/compliance/multiselect.json b/node_modules/aws-sdk/node_modules/jmespath/test/compliance/multiselect.json deleted file mode 100644 index 8f2a481..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/test/compliance/pipe.json b/node_modules/aws-sdk/node_modules/jmespath/test/compliance/pipe.json deleted file mode 100644 index b10c0a4..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/test/compliance/slice.json b/node_modules/aws-sdk/node_modules/jmespath/test/compliance/slice.json deleted file mode 100644 index 3594772..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/test/compliance/syntax.json b/node_modules/aws-sdk/node_modules/jmespath/test/compliance/syntax.json deleted file mode 100644 index 003c294..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/test/compliance/unicode.json b/node_modules/aws-sdk/node_modules/jmespath/test/compliance/unicode.json deleted file mode 100644 index 6b07b0b..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/test/compliance/wildcard.json b/node_modules/aws-sdk/node_modules/jmespath/test/compliance/wildcard.json deleted file mode 100644 index 3bcec30..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/jmespath/test/jmespath.js b/node_modules/aws-sdk/node_modules/jmespath/test/jmespath.js deleted file mode 100644 index 15f61c1..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/querystring/.History.md.un~ b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/querystring/.Readme.md.un~ b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/querystring/.package.json.un~ b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/querystring/.travis.yml b/node_modules/aws-sdk/node_modules/querystring/.travis.yml deleted file mode 100644 index 895dbd3..0000000 --- a/node_modules/aws-sdk/node_modules/querystring/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -language: node_js -node_js: - - 0.6 - - 0.8 diff --git a/node_modules/aws-sdk/node_modules/querystring/History.md b/node_modules/aws-sdk/node_modules/querystring/History.md deleted file mode 100644 index 4fddbaf..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/querystring/License.md b/node_modules/aws-sdk/node_modules/querystring/License.md deleted file mode 100644 index fc80e85..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/querystring/Readme.md b/node_modules/aws-sdk/node_modules/querystring/Readme.md deleted file mode 100644 index a4fe252..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/querystring/decode.js b/node_modules/aws-sdk/node_modules/querystring/decode.js deleted file mode 100644 index a6518b8..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/querystring/encode.js b/node_modules/aws-sdk/node_modules/querystring/encode.js deleted file mode 100644 index 4f2b561..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/querystring/index.js b/node_modules/aws-sdk/node_modules/querystring/index.js deleted file mode 100644 index 99826ea..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/querystring/package.json b/node_modules/aws-sdk/node_modules/querystring/package.json deleted file mode 100644 index f747141..0000000 --- a/node_modules/aws-sdk/node_modules/querystring/package.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "name": "querystring", - "id": "querystring", - "version": "0.2.0", - "description": "Node's querystring module for all engines.", - "keywords": [ - "commonjs", - "query", - "querystring" - ], - "author": { - "name": "Irakli Gozalishvili", - "email": "rfobic@gmail.com" - }, - "repository": { - "type": "git", - "url": "git://github.com/Gozala/querystring.git", - "web": "https://github.com/Gozala/querystring" - }, - "bugs": { - "url": "http://github.com/Gozala/querystring/issues/" - }, - "devDependencies": { - "test": "~0.x.0", - "phantomify": "~0.x.0", - "retape": "~0.x.0", - "tape": "~0.1.5" - }, - "engines": { - "node": ">=0.4.x" - }, - "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": { - "files": "test/tap-index.js", - "browsers": { - "iexplore": [ - 9, - 10 - ], - "chrome": [ - 16, - 20, - 25, - "canary" - ], - "firefox": [ - 10, - 15, - 16, - 17, - 18, - "nightly" - ], - "safari": [ - 5, - 6 - ], - "opera": [ - 12 - ] - } - }, - "licenses": [ - { - "type": "MIT", - "url": "https://github.com/Gozala/enchain/License.md" - } - ], - "readme": "# querystring\n\n[![Build Status](https://secure.travis-ci.org/Gozala/querystring.png)](http://travis-ci.org/Gozala/querystring)\n\n\n[![Browser support](http://ci.testling.com/Gozala/querystring.png)](http://ci.testling.com/Gozala/querystring)\n\n\n\nNode's querystring module for all engines.\n\n## Install ##\n\n npm install querystring\n\n", - "readmeFilename": "Readme.md", - "homepage": "https://github.com/Gozala/querystring#readme", - "_id": "querystring@0.2.0", - "_shasum": "b209849203bb25df820da756e747005878521620", - "_resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "_from": "querystring@0.2.0" -} diff --git a/node_modules/aws-sdk/node_modules/querystring/test/.index.js.un~ b/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/querystring/test/tap-index.js b/node_modules/aws-sdk/node_modules/querystring/test/tap-index.js deleted file mode 100644 index 70679b3..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/sax/LICENSE b/node_modules/aws-sdk/node_modules/sax/LICENSE deleted file mode 100644 index ccffa08..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/sax/LICENSE-W3C.html b/node_modules/aws-sdk/node_modules/sax/LICENSE-W3C.html deleted file mode 100644 index a611e3f..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/sax/README.md b/node_modules/aws-sdk/node_modules/sax/README.md deleted file mode 100644 index 91a0314..0000000 --- a/node_modules/aws-sdk/node_modules/sax/README.md +++ /dev/null @@ -1,220 +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. - -`opentag` - An opening tag. Argument: object with `name` and `attributes`. -In non-strict mode, tag names are uppercased, unless the `lowercase` -option is set. If the `xmlns` option is set, then it will contain -namespace binding information on the `ns` member, and will have a -`local`, `prefix`, and `uri` member. - -`closetag` - A closing tag. In loose mode, tags are auto-closed if their -parent closes. In strict mode, well-formedness is enforced. Note that -self-closing tags will have `closeTag` emitted immediately after `openTag`. -Argument: tag name. - -`attribute` - An attribute node. Argument: object with `name` and `value`. -In non-strict mode, attribute names are uppercased, unless the `lowercase` -option is set. If the `xmlns` option is set, it will also contains namespace -information. - -`comment` - A comment node. Argument: the string of the comment. - -`opencdata` - The opening tag of a ``) of a `` tags trigger a `"script"` -event, and their contents are not checked for special xml characters. -If you pass `noscript: true`, then this behavior is suppressed. - -## Reporting Problems - -It's best to write a failing test if you find an issue. I will always -accept pull requests with failing tests if they demonstrate intended -behavior, but it is very hard to figure out what issue you're describing -without a test. Writing a test is also the best way for you yourself -to figure out if you really understand the issue you think you have with -sax-js. diff --git a/node_modules/aws-sdk/node_modules/sax/lib/sax.js b/node_modules/aws-sdk/node_modules/sax/lib/sax.js deleted file mode 100644 index ffb2d40..0000000 --- a/node_modules/aws-sdk/node_modules/sax/lib/sax.js +++ /dev/null @@ -1,1571 +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', - '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++, // -``` - -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/node_modules/aws-sdk/node_modules/url/node_modules/punycode/package.json b/node_modules/aws-sdk/node_modules/url/node_modules/punycode/package.json deleted file mode 100644 index e1864b5..0000000 --- a/node_modules/aws-sdk/node_modules/url/node_modules/punycode/package.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "name": "punycode", - "version": "1.3.2", - "description": "A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.", - "homepage": "https://mths.be/punycode", - "main": "punycode.js", - "keywords": [ - "punycode", - "unicode", - "idn", - "idna", - "dns", - "url", - "domain" - ], - "license": "MIT", - "author": { - "name": "Mathias Bynens", - "url": "https://mathiasbynens.be/" - }, - "contributors": [ - { - "name": "Mathias Bynens", - "url": "https://mathiasbynens.be/" - }, - { - "name": "John-David Dalton", - "url": "http://allyoucanleet.com/" - } - ], - "repository": { - "type": "git", - "url": "git+https://github.com/bestiejs/punycode.js.git" - }, - "bugs": { - "url": "https://github.com/bestiejs/punycode.js/issues" - }, - "files": [ - "LICENSE-MIT.txt", - "punycode.js" - ], - "scripts": { - "test": "node tests/tests.js" - }, - "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" - }, - "readme": "# Punycode.js [![Build status](https://travis-ci.org/bestiejs/punycode.js.svg?branch=master)](https://travis-ci.org/bestiejs/punycode.js) [![Code coverage status](http://img.shields.io/coveralls/bestiejs/punycode.js/master.svg)](https://coveralls.io/r/bestiejs/punycode.js) [![Dependency status](https://gemnasium.com/bestiejs/punycode.js.svg)](https://gemnasium.com/bestiejs/punycode.js)\n\nA robust Punycode converter that fully complies to [RFC 3492](http://tools.ietf.org/html/rfc3492) and [RFC 5891](http://tools.ietf.org/html/rfc5891), and works on nearly all JavaScript platforms.\n\nThis JavaScript library is the result of comparing, optimizing and documenting different open-source implementations of the Punycode algorithm:\n\n* [The C example code from RFC 3492](http://tools.ietf.org/html/rfc3492#appendix-C)\n* [`punycode.c` by _Markus W. Scherer_ (IBM)](http://opensource.apple.com/source/ICU/ICU-400.42/icuSources/common/punycode.c)\n* [`punycode.c` by _Ben Noordhuis_](https://github.com/bnoordhuis/punycode/blob/master/punycode.c)\n* [JavaScript implementation by _some_](http://stackoverflow.com/questions/183485/can-anyone-recommend-a-good-free-javascript-for-punycode-to-unicode-conversion/301287#301287)\n* [`punycode.js` by _Ben Noordhuis_](https://github.com/joyent/node/blob/426298c8c1c0d5b5224ac3658c41e7c2a3fe9377/lib/punycode.js) (note: [not fully compliant](https://github.com/joyent/node/issues/2072))\n\nThis project is [bundled](https://github.com/joyent/node/blob/master/lib/punycode.js) with [Node.js v0.6.2+](https://github.com/joyent/node/compare/975f1930b1...61e796decc).\n\n## Installation\n\nVia [npm](http://npmjs.org/) (only required for Node.js releases older than v0.6.2):\n\n```bash\nnpm install punycode\n```\n\nVia [Bower](http://bower.io/):\n\n```bash\nbower install punycode\n```\n\nVia [Component](https://github.com/component/component):\n\n```bash\ncomponent install bestiejs/punycode.js\n```\n\nIn a browser:\n\n```html\n\n```\n\nIn [Narwhal](http://narwhaljs.org/), [Node.js](http://nodejs.org/), and [RingoJS](http://ringojs.org/):\n\n```js\nvar punycode = require('punycode');\n```\n\nIn [Rhino](http://www.mozilla.org/rhino/):\n\n```js\nload('punycode.js');\n```\n\nUsing an AMD loader like [RequireJS](http://requirejs.org/):\n\n```js\nrequire(\n {\n 'paths': {\n 'punycode': 'path/to/punycode'\n }\n },\n ['punycode'],\n function(punycode) {\n console.log(punycode);\n }\n);\n```\n\n## API\n\n### `punycode.decode(string)`\n\nConverts a Punycode string of ASCII symbols to a string of Unicode symbols.\n\n```js\n// decode domain name parts\npunycode.decode('maana-pta'); // 'mañana'\npunycode.decode('--dqo34k'); // '☃-⌘'\n```\n\n### `punycode.encode(string)`\n\nConverts a string of Unicode symbols to a Punycode string of ASCII symbols.\n\n```js\n// encode domain name parts\npunycode.encode('mañana'); // 'maana-pta'\npunycode.encode('☃-⌘'); // '--dqo34k'\n```\n\n### `punycode.toUnicode(input)`\n\nConverts 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.\n\n```js\n// decode domain names\npunycode.toUnicode('xn--maana-pta.com');\n// → 'mañana.com'\npunycode.toUnicode('xn----dqo34k.com');\n// → '☃-⌘.com'\n\n// decode email addresses\npunycode.toUnicode('джумла@xn--p-8sbkgc5ag7bhce.xn--ba-lmcq');\n// → 'джумла@джpумлатеÑÑ‚.bрфa'\n```\n\n### `punycode.toASCII(input)`\n\nConverts 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.\n\n```js\n// encode domain names\npunycode.toASCII('mañana.com');\n// → 'xn--maana-pta.com'\npunycode.toASCII('☃-⌘.com');\n// → 'xn----dqo34k.com'\n\n// encode email addresses\npunycode.toASCII('джумла@джpумлатеÑÑ‚.bрфa');\n// → 'джумла@xn--p-8sbkgc5ag7bhce.xn--ba-lmcq'\n```\n\n### `punycode.ucs2`\n\n#### `punycode.ucs2.decode(string)`\n\nCreates 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.\n\n```js\npunycode.ucs2.decode('abc');\n// → [0x61, 0x62, 0x63]\n// surrogate pair for U+1D306 TETRAGRAM FOR CENTRE:\npunycode.ucs2.decode('\\uD834\\uDF06');\n// → [0x1D306]\n```\n\n#### `punycode.ucs2.encode(codePoints)`\n\nCreates a string based on an array of numeric code point values.\n\n```js\npunycode.ucs2.encode([0x61, 0x62, 0x63]);\n// → 'abc'\npunycode.ucs2.encode([0x1D306]);\n// → '\\uD834\\uDF06'\n```\n\n### `punycode.version`\n\nA string representing the current Punycode.js version number.\n\n## Unit tests & code coverage\n\nAfter 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`.\n\nOnce 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`.\n\nTo generate the code coverage report, use `grunt cover`.\n\nFeel free to fork if you see possible improvements!\n\n## Author\n\n| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias \"Follow @mathias on Twitter\") |\n|---|\n| [Mathias Bynens](https://mathiasbynens.be/) |\n\n## Contributors\n\n| [![twitter/jdalton](https://gravatar.com/avatar/299a3d891ff1920b69c364d061007043?s=70)](https://twitter.com/jdalton \"Follow @jdalton on Twitter\") |\n|---|\n| [John-David Dalton](http://allyoucanleet.com/) |\n\n## License\n\nPunycode.js is available under the [MIT](https://mths.be/mit) license.\n", - "readmeFilename": "README.md", - "_id": "punycode@1.3.2", - "_shasum": "9653a036fb7c1ee42342f2325cceefea3926c48d", - "_resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "_from": "punycode@1.3.2" -} diff --git a/node_modules/aws-sdk/node_modules/url/node_modules/punycode/punycode.js b/node_modules/aws-sdk/node_modules/url/node_modules/punycode/punycode.js deleted file mode 100644 index ac68597..0000000 --- a/node_modules/aws-sdk/node_modules/url/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/node_modules/aws-sdk/node_modules/url/package.json b/node_modules/aws-sdk/node_modules/url/package.json deleted file mode 100644 index 7bace76..0000000 --- a/node_modules/aws-sdk/node_modules/url/package.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "name": "url", - "description": "The core `url` packaged standalone for use with Browserify.", - "version": "0.10.3", - "dependencies": { - "punycode": "1.3.2", - "querystring": "0.2.0" - }, - "main": "./url.js", - "devDependencies": { - "assert": "1.1.1", - "mocha": "1.18.2", - "zuul": "2.0.0" - }, - "scripts": { - "test": "mocha --ui qunit test.js && zuul -- test.js", - "test-local": "zuul --local -- test.js" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/defunctzombie/node-url.git" - }, - "license": "MIT", - "readme": "# node-url\n\n[![Build Status](https://travis-ci.org/defunctzombie/node-url.svg?branch=master)](https://travis-ci.org/defunctzombie/node-url)\n\nThis module has utilities for URL resolution and parsing meant to have feature parity with node.js core [url](http://nodejs.org/api/url.html) module.\n\n```js\nvar url = require('url');\n```\n\n## api\n\nParsed URL objects have some or all of the following fields, depending on\nwhether or not they exist in the URL string. Any parts that are not in the URL\nstring will not be in the parsed object. Examples are shown for the URL\n\n`'http://user:pass@host.com:8080/p/a/t/h?query=string#hash'`\n\n* `href`: The full URL that was originally parsed. Both the protocol and host are lowercased.\n\n Example: `'http://user:pass@host.com:8080/p/a/t/h?query=string#hash'`\n\n* `protocol`: The request protocol, lowercased.\n\n Example: `'http:'`\n\n* `host`: The full lowercased host portion of the URL, including port\n information.\n\n Example: `'host.com:8080'`\n\n* `auth`: The authentication information portion of a URL.\n\n Example: `'user:pass'`\n\n* `hostname`: Just the lowercased hostname portion of the host.\n\n Example: `'host.com'`\n\n* `port`: The port number portion of the host.\n\n Example: `'8080'`\n\n* `pathname`: The path section of the URL, that comes after the host and\n before the query, including the initial slash if present.\n\n Example: `'/p/a/t/h'`\n\n* `search`: The 'query string' portion of the URL, including the leading\n question mark.\n\n Example: `'?query=string'`\n\n* `path`: Concatenation of `pathname` and `search`.\n\n Example: `'/p/a/t/h?query=string'`\n\n* `query`: Either the 'params' portion of the query string, or a\n querystring-parsed object.\n\n Example: `'query=string'` or `{'query':'string'}`\n\n* `hash`: The 'fragment' portion of the URL including the pound-sign.\n\n Example: `'#hash'`\n\nThe following methods are provided by the URL module:\n\n### url.parse(urlStr, [parseQueryString], [slashesDenoteHost])\n\nTake a URL string, and return an object.\n\nPass `true` as the second argument to also parse\nthe query string using the `querystring` module.\nDefaults to `false`.\n\nPass `true` as the third argument to treat `//foo/bar` as\n`{ host: 'foo', pathname: '/bar' }` rather than\n`{ pathname: '//foo/bar' }`. Defaults to `false`.\n\n### url.format(urlObj)\n\nTake a parsed URL object, and return a formatted URL string.\n\n* `href` will be ignored.\n* `protocol` is treated the same with or without the trailing `:` (colon).\n * The protocols `http`, `https`, `ftp`, `gopher`, `file` will be\n postfixed with `://` (colon-slash-slash).\n * All other protocols `mailto`, `xmpp`, `aim`, `sftp`, `foo`, etc will\n be postfixed with `:` (colon)\n* `auth` will be used if present.\n* `hostname` will only be used if `host` is absent.\n* `port` will only be used if `host` is absent.\n* `host` will be used in place of `hostname` and `port`\n* `pathname` is treated the same with or without the leading `/` (slash)\n* `search` will be used in place of `query`\n* `query` (object; see `querystring`) will only be used if `search` is absent.\n* `search` is treated the same with or without the leading `?` (question mark)\n* `hash` is treated the same with or without the leading `#` (pound sign, anchor)\n\n### url.resolve(from, to)\n\nTake a base URL, and a href URL, and resolve them as a browser would for\nan anchor tag. Examples:\n\n url.resolve('/one/two/three', 'four') // '/one/two/four'\n url.resolve('http://example.com/', '/one') // 'http://example.com/one'\n url.resolve('http://example.com/one', '/two') // 'http://example.com/two'\n", - "readmeFilename": "README.md", - "bugs": { - "url": "https://github.com/defunctzombie/node-url/issues" - }, - "homepage": "https://github.com/defunctzombie/node-url#readme", - "_id": "url@0.10.3", - "_shasum": "021e4d9c7705f21bbf37d03ceb58767402774c64", - "_resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", - "_from": "url@0.10.3" -} diff --git a/node_modules/aws-sdk/node_modules/url/test.js b/node_modules/aws-sdk/node_modules/url/test.js deleted file mode 100644 index b9663c7..0000000 --- a/node_modules/aws-sdk/node_modules/url/test.js +++ /dev/null @@ -1,1461 +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. - -var assert = require('assert'); -var util = require('util'); - -var url = require('./url'); - -test('god', function() { - -// URLs to parse, and expected data -// { url : parsed } -var parseTests = { - '//some_path' : { - 'href': '//some_path', - 'pathname': '//some_path', - 'path': '//some_path' - }, - - 'HTTP://www.example.com/' : { - 'href': 'http://www.example.com/', - 'protocol': 'http:', - 'slashes': true, - 'host': 'www.example.com', - 'hostname': 'www.example.com', - 'pathname': '/', - 'path': '/' - }, - - 'HTTP://www.example.com' : { - 'href': 'http://www.example.com/', - 'protocol': 'http:', - 'slashes': true, - 'host': 'www.example.com', - 'hostname': 'www.example.com', - 'pathname': '/', - 'path': '/' - }, - - 'http://www.ExAmPlE.com/' : { - 'href': 'http://www.example.com/', - 'protocol': 'http:', - 'slashes': true, - 'host': 'www.example.com', - 'hostname': 'www.example.com', - 'pathname': '/', - 'path': '/' - }, - - 'http://user:pw@www.ExAmPlE.com/' : { - 'href': 'http://user:pw@www.example.com/', - 'protocol': 'http:', - 'slashes': true, - 'auth': 'user:pw', - 'host': 'www.example.com', - 'hostname': 'www.example.com', - 'pathname': '/', - 'path': '/' - }, - - 'http://USER:PW@www.ExAmPlE.com/' : { - 'href': 'http://USER:PW@www.example.com/', - 'protocol': 'http:', - 'slashes': true, - 'auth': 'USER:PW', - 'host': 'www.example.com', - 'hostname': 'www.example.com', - 'pathname': '/', - 'path': '/' - }, - - 'http://user@www.example.com/' : { - 'href': 'http://user@www.example.com/', - 'protocol': 'http:', - 'slashes': true, - 'auth': 'user', - 'host': 'www.example.com', - 'hostname': 'www.example.com', - 'pathname': '/', - 'path': '/' - }, - - 'http://user%3Apw@www.example.com/' : { - 'href': 'http://user:pw@www.example.com/', - 'protocol': 'http:', - 'slashes': true, - 'auth': 'user:pw', - 'host': 'www.example.com', - 'hostname': 'www.example.com', - 'pathname': '/', - 'path': '/' - }, - - 'http://x.com/path?that\'s#all, folks' : { - 'href': 'http://x.com/path?that%27s#all,%20folks', - 'protocol': 'http:', - 'slashes': true, - 'host': 'x.com', - 'hostname': 'x.com', - 'search': '?that%27s', - 'query': 'that%27s', - 'pathname': '/path', - 'hash': '#all,%20folks', - 'path': '/path?that%27s' - }, - - 'HTTP://X.COM/Y' : { - 'href': 'http://x.com/Y', - 'protocol': 'http:', - 'slashes': true, - 'host': 'x.com', - 'hostname': 'x.com', - 'pathname': '/Y', - 'path': '/Y' - }, - - // an unexpected invalid char in the hostname. - 'HtTp://x.y.cOm*a/b/c?d=e#f gi' : { - 'href': 'http://x.y.com/*a/b/c?d=e#f%20g%3Ch%3Ei', - 'protocol': 'http:', - 'slashes': true, - 'host': 'x.y.com', - 'hostname': 'x.y.com', - 'pathname': '/*a/b/c', - 'search': '?d=e', - 'query': 'd=e', - 'hash': '#f%20g%3Ch%3Ei', - 'path': '/*a/b/c?d=e' - }, - - // make sure that we don't accidentally lcast the path parts. - 'HtTp://x.y.cOm*A/b/c?d=e#f gi' : { - 'href': 'http://x.y.com/*A/b/c?d=e#f%20g%3Ch%3Ei', - 'protocol': 'http:', - 'slashes': true, - 'host': 'x.y.com', - 'hostname': 'x.y.com', - 'pathname': '/*A/b/c', - 'search': '?d=e', - 'query': 'd=e', - 'hash': '#f%20g%3Ch%3Ei', - 'path': '/*A/b/c?d=e' - }, - - 'http://x...y...#p': { - 'href': 'http://x...y.../#p', - 'protocol': 'http:', - 'slashes': true, - 'host': 'x...y...', - 'hostname': 'x...y...', - 'hash': '#p', - 'pathname': '/', - 'path': '/' - }, - - 'http://x/p/"quoted"': { - 'href': 'http://x/p/%22quoted%22', - 'protocol': 'http:', - 'slashes': true, - 'host': 'x', - 'hostname': 'x', - 'pathname': '/p/%22quoted%22', - 'path': '/p/%22quoted%22' - }, - - ' Is a URL!': { - 'href': '%3Chttp://goo.corn/bread%3E%20Is%20a%20URL!', - 'pathname': '%3Chttp://goo.corn/bread%3E%20Is%20a%20URL!', - 'path': '%3Chttp://goo.corn/bread%3E%20Is%20a%20URL!' - }, - - 'http://www.narwhaljs.org/blog/categories?id=news' : { - 'href': 'http://www.narwhaljs.org/blog/categories?id=news', - 'protocol': 'http:', - 'slashes': true, - 'host': 'www.narwhaljs.org', - 'hostname': 'www.narwhaljs.org', - 'search': '?id=news', - 'query': 'id=news', - 'pathname': '/blog/categories', - 'path': '/blog/categories?id=news' - }, - - 'http://mt0.google.com/vt/lyrs=m@114&hl=en&src=api&x=2&y=2&z=3&s=' : { - 'href': 'http://mt0.google.com/vt/lyrs=m@114&hl=en&src=api&x=2&y=2&z=3&s=', - 'protocol': 'http:', - 'slashes': true, - 'host': 'mt0.google.com', - 'hostname': 'mt0.google.com', - 'pathname': '/vt/lyrs=m@114&hl=en&src=api&x=2&y=2&z=3&s=', - 'path': '/vt/lyrs=m@114&hl=en&src=api&x=2&y=2&z=3&s=' - }, - - 'http://mt0.google.com/vt/lyrs=m@114???&hl=en&src=api&x=2&y=2&z=3&s=' : { - 'href': 'http://mt0.google.com/vt/lyrs=m@114???&hl=en&src=api' + - '&x=2&y=2&z=3&s=', - 'protocol': 'http:', - 'slashes': true, - 'host': 'mt0.google.com', - 'hostname': 'mt0.google.com', - 'search': '???&hl=en&src=api&x=2&y=2&z=3&s=', - 'query': '??&hl=en&src=api&x=2&y=2&z=3&s=', - 'pathname': '/vt/lyrs=m@114', - 'path': '/vt/lyrs=m@114???&hl=en&src=api&x=2&y=2&z=3&s=' - }, - - 'http://user:pass@mt0.google.com/vt/lyrs=m@114???&hl=en&src=api&x=2&y=2&z=3&s=': - { - 'href': 'http://user:pass@mt0.google.com/vt/lyrs=m@114???' + - '&hl=en&src=api&x=2&y=2&z=3&s=', - 'protocol': 'http:', - 'slashes': true, - 'host': 'mt0.google.com', - 'auth': 'user:pass', - 'hostname': 'mt0.google.com', - 'search': '???&hl=en&src=api&x=2&y=2&z=3&s=', - 'query': '??&hl=en&src=api&x=2&y=2&z=3&s=', - 'pathname': '/vt/lyrs=m@114', - 'path': '/vt/lyrs=m@114???&hl=en&src=api&x=2&y=2&z=3&s=' - }, - - 'file:///etc/passwd' : { - 'href': 'file:///etc/passwd', - 'slashes': true, - 'protocol': 'file:', - 'pathname': '/etc/passwd', - 'hostname': '', - 'host': '', - 'path': '/etc/passwd' - }, - - 'file://localhost/etc/passwd' : { - 'href': 'file://localhost/etc/passwd', - 'protocol': 'file:', - 'slashes': true, - 'pathname': '/etc/passwd', - 'hostname': 'localhost', - 'host': 'localhost', - 'path': '/etc/passwd' - }, - - 'file://foo/etc/passwd' : { - 'href': 'file://foo/etc/passwd', - 'protocol': 'file:', - 'slashes': true, - 'pathname': '/etc/passwd', - 'hostname': 'foo', - 'host': 'foo', - 'path': '/etc/passwd' - }, - - 'file:///etc/node/' : { - 'href': 'file:///etc/node/', - 'slashes': true, - 'protocol': 'file:', - 'pathname': '/etc/node/', - 'hostname': '', - 'host': '', - 'path': '/etc/node/' - }, - - 'file://localhost/etc/node/' : { - 'href': 'file://localhost/etc/node/', - 'protocol': 'file:', - 'slashes': true, - 'pathname': '/etc/node/', - 'hostname': 'localhost', - 'host': 'localhost', - 'path': '/etc/node/' - }, - - 'file://foo/etc/node/' : { - 'href': 'file://foo/etc/node/', - 'protocol': 'file:', - 'slashes': true, - 'pathname': '/etc/node/', - 'hostname': 'foo', - 'host': 'foo', - 'path': '/etc/node/' - }, - - 'http:/baz/../foo/bar' : { - 'href': 'http:/baz/../foo/bar', - 'protocol': 'http:', - 'pathname': '/baz/../foo/bar', - 'path': '/baz/../foo/bar' - }, - - 'http://user:pass@example.com:8000/foo/bar?baz=quux#frag' : { - 'href': 'http://user:pass@example.com:8000/foo/bar?baz=quux#frag', - 'protocol': 'http:', - 'slashes': true, - 'host': 'example.com:8000', - 'auth': 'user:pass', - 'port': '8000', - 'hostname': 'example.com', - 'hash': '#frag', - 'search': '?baz=quux', - 'query': 'baz=quux', - 'pathname': '/foo/bar', - 'path': '/foo/bar?baz=quux' - }, - - '//user:pass@example.com:8000/foo/bar?baz=quux#frag' : { - 'href': '//user:pass@example.com:8000/foo/bar?baz=quux#frag', - 'slashes': true, - 'host': 'example.com:8000', - 'auth': 'user:pass', - 'port': '8000', - 'hostname': 'example.com', - 'hash': '#frag', - 'search': '?baz=quux', - 'query': 'baz=quux', - 'pathname': '/foo/bar', - 'path': '/foo/bar?baz=quux' - }, - - '/foo/bar?baz=quux#frag' : { - 'href': '/foo/bar?baz=quux#frag', - 'hash': '#frag', - 'search': '?baz=quux', - 'query': 'baz=quux', - 'pathname': '/foo/bar', - 'path': '/foo/bar?baz=quux' - }, - - 'http:/foo/bar?baz=quux#frag' : { - 'href': 'http:/foo/bar?baz=quux#frag', - 'protocol': 'http:', - 'hash': '#frag', - 'search': '?baz=quux', - 'query': 'baz=quux', - 'pathname': '/foo/bar', - 'path': '/foo/bar?baz=quux' - }, - - 'mailto:foo@bar.com?subject=hello' : { - 'href': 'mailto:foo@bar.com?subject=hello', - 'protocol': 'mailto:', - 'host': 'bar.com', - 'auth' : 'foo', - 'hostname' : 'bar.com', - 'search': '?subject=hello', - 'query': 'subject=hello', - 'path': '?subject=hello' - }, - - 'javascript:alert(\'hello\');' : { - 'href': 'javascript:alert(\'hello\');', - 'protocol': 'javascript:', - 'pathname': 'alert(\'hello\');', - 'path': 'alert(\'hello\');' - }, - - 'xmpp:isaacschlueter@jabber.org' : { - 'href': 'xmpp:isaacschlueter@jabber.org', - 'protocol': 'xmpp:', - 'host': 'jabber.org', - 'auth': 'isaacschlueter', - 'hostname': 'jabber.org' - }, - - 'http://atpass:foo%40bar@127.0.0.1:8080/path?search=foo#bar' : { - 'href' : 'http://atpass:foo%40bar@127.0.0.1:8080/path?search=foo#bar', - 'protocol' : 'http:', - 'slashes': true, - 'host' : '127.0.0.1:8080', - 'auth' : 'atpass:foo@bar', - 'hostname' : '127.0.0.1', - 'port' : '8080', - 'pathname': '/path', - 'search' : '?search=foo', - 'query' : 'search=foo', - 'hash' : '#bar', - 'path': '/path?search=foo' - }, - - 'svn+ssh://foo/bar': { - 'href': 'svn+ssh://foo/bar', - 'host': 'foo', - 'hostname': 'foo', - 'protocol': 'svn+ssh:', - 'pathname': '/bar', - 'path': '/bar', - 'slashes': true - }, - - 'dash-test://foo/bar': { - 'href': 'dash-test://foo/bar', - 'host': 'foo', - 'hostname': 'foo', - 'protocol': 'dash-test:', - 'pathname': '/bar', - 'path': '/bar', - 'slashes': true - }, - - 'dash-test:foo/bar': { - 'href': 'dash-test:foo/bar', - 'host': 'foo', - 'hostname': 'foo', - 'protocol': 'dash-test:', - 'pathname': '/bar', - 'path': '/bar' - }, - - 'dot.test://foo/bar': { - 'href': 'dot.test://foo/bar', - 'host': 'foo', - 'hostname': 'foo', - 'protocol': 'dot.test:', - 'pathname': '/bar', - 'path': '/bar', - 'slashes': true - }, - - 'dot.test:foo/bar': { - 'href': 'dot.test:foo/bar', - 'host': 'foo', - 'hostname': 'foo', - 'protocol': 'dot.test:', - 'pathname': '/bar', - 'path': '/bar' - }, - - // IDNA tests - 'http://www.日本語.com/' : { - 'href': 'http://www.xn--wgv71a119e.com/', - 'protocol': 'http:', - 'slashes': true, - 'host': 'www.xn--wgv71a119e.com', - 'hostname': 'www.xn--wgv71a119e.com', - 'pathname': '/', - 'path': '/' - }, - - 'http://example.Bücher.com/' : { - 'href': 'http://example.xn--bcher-kva.com/', - 'protocol': 'http:', - 'slashes': true, - 'host': 'example.xn--bcher-kva.com', - 'hostname': 'example.xn--bcher-kva.com', - 'pathname': '/', - 'path': '/' - }, - - 'http://www.Äffchen.com/' : { - 'href': 'http://www.xn--ffchen-9ta.com/', - 'protocol': 'http:', - 'slashes': true, - 'host': 'www.xn--ffchen-9ta.com', - 'hostname': 'www.xn--ffchen-9ta.com', - 'pathname': '/', - 'path': '/' - }, - - 'http://www.Äffchen.cOm*A/b/c?d=e#f gi' : { - 'href': 'http://www.xn--ffchen-9ta.com/*A/b/c?d=e#f%20g%3Ch%3Ei', - 'protocol': 'http:', - 'slashes': true, - 'host': 'www.xn--ffchen-9ta.com', - 'hostname': 'www.xn--ffchen-9ta.com', - 'pathname': '/*A/b/c', - 'search': '?d=e', - 'query': 'd=e', - 'hash': '#f%20g%3Ch%3Ei', - 'path': '/*A/b/c?d=e' - }, - - 'http://SÉLIER.COM/' : { - 'href': 'http://xn--slier-bsa.com/', - 'protocol': 'http:', - 'slashes': true, - 'host': 'xn--slier-bsa.com', - 'hostname': 'xn--slier-bsa.com', - 'pathname': '/', - 'path': '/' - }, - - 'http://ليهمابتكلموشعربي؟.ي؟/' : { - 'href': 'http://xn--egbpdaj6bu4bxfgehfvwxn.xn--egb9f/', - 'protocol': 'http:', - 'slashes': true, - 'host': 'xn--egbpdaj6bu4bxfgehfvwxn.xn--egb9f', - 'hostname': 'xn--egbpdaj6bu4bxfgehfvwxn.xn--egb9f', - 'pathname': '/', - 'path': '/' - }, - - 'http://âž¡.ws/âž¡' : { - 'href': 'http://xn--hgi.ws/âž¡', - 'protocol': 'http:', - 'slashes': true, - 'host': 'xn--hgi.ws', - 'hostname': 'xn--hgi.ws', - 'pathname': '/âž¡', - 'path': '/âž¡' - }, - - 'http://bucket_name.s3.amazonaws.com/image.jpg': { - protocol: 'http:', - slashes: true, - host: 'bucket_name.s3.amazonaws.com', - hostname: 'bucket_name.s3.amazonaws.com', - pathname: '/image.jpg', - href: 'http://bucket_name.s3.amazonaws.com/image.jpg', - 'path': '/image.jpg' - }, - - 'git+http://github.com/joyent/node.git': { - protocol: 'git+http:', - slashes: true, - host: 'github.com', - hostname: 'github.com', - pathname: '/joyent/node.git', - path: '/joyent/node.git', - href: 'git+http://github.com/joyent/node.git' - }, - - //if local1@domain1 is uses as a relative URL it may - //be parse into auth@hostname, but here there is no - //way to make it work in url.parse, I add the test to be explicit - 'local1@domain1': { - 'pathname': 'local1@domain1', - 'path': 'local1@domain1', - 'href': 'local1@domain1' - }, - - //While this may seem counter-intuitive, a browser will parse - // as a path. - 'www.example.com' : { - 'href': 'www.example.com', - 'pathname': 'www.example.com', - 'path': 'www.example.com' - }, - - // ipv6 support - '[fe80::1]': { - 'href': '[fe80::1]', - 'pathname': '[fe80::1]', - 'path': '[fe80::1]' - }, - - 'coap://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]': { - 'protocol': 'coap:', - 'slashes': true, - 'host': '[fedc:ba98:7654:3210:fedc:ba98:7654:3210]', - 'hostname': 'fedc:ba98:7654:3210:fedc:ba98:7654:3210', - 'href': 'coap://[fedc:ba98:7654:3210:fedc:ba98:7654:3210]/', - 'pathname': '/', - 'path': '/' - }, - - 'coap://[1080:0:0:0:8:800:200C:417A]:61616/': { - 'protocol': 'coap:', - 'slashes': true, - 'host': '[1080:0:0:0:8:800:200c:417a]:61616', - 'port': '61616', - 'hostname': '1080:0:0:0:8:800:200c:417a', - 'href': 'coap://[1080:0:0:0:8:800:200c:417a]:61616/', - 'pathname': '/', - 'path': '/' - }, - - 'http://user:password@[3ffe:2a00:100:7031::1]:8080': { - 'protocol': 'http:', - 'slashes': true, - 'auth': 'user:password', - 'host': '[3ffe:2a00:100:7031::1]:8080', - 'port': '8080', - 'hostname': '3ffe:2a00:100:7031::1', - 'href': 'http://user:password@[3ffe:2a00:100:7031::1]:8080/', - 'pathname': '/', - 'path': '/' - }, - - 'coap://u:p@[::192.9.5.5]:61616/.well-known/r?n=Temperature': { - 'protocol': 'coap:', - 'slashes': true, - 'auth': 'u:p', - 'host': '[::192.9.5.5]:61616', - 'port': '61616', - 'hostname': '::192.9.5.5', - 'href': 'coap://u:p@[::192.9.5.5]:61616/.well-known/r?n=Temperature', - 'search': '?n=Temperature', - 'query': 'n=Temperature', - 'pathname': '/.well-known/r', - 'path': '/.well-known/r?n=Temperature' - }, - - // empty port - 'http://example.com:': { - 'protocol': 'http:', - 'slashes': true, - 'host': 'example.com', - 'hostname': 'example.com', - 'href': 'http://example.com/', - 'pathname': '/', - 'path': '/' - }, - - 'http://example.com:/a/b.html': { - 'protocol': 'http:', - 'slashes': true, - 'host': 'example.com', - 'hostname': 'example.com', - 'href': 'http://example.com/a/b.html', - 'pathname': '/a/b.html', - 'path': '/a/b.html' - }, - - 'http://example.com:?a=b': { - 'protocol': 'http:', - 'slashes': true, - 'host': 'example.com', - 'hostname': 'example.com', - 'href': 'http://example.com/?a=b', - 'search': '?a=b', - 'query': 'a=b', - 'pathname': '/', - 'path': '/?a=b' - }, - - 'http://example.com:#abc': { - 'protocol': 'http:', - 'slashes': true, - 'host': 'example.com', - 'hostname': 'example.com', - 'href': 'http://example.com/#abc', - 'hash': '#abc', - 'pathname': '/', - 'path': '/' - }, - - 'http://[fe80::1]:/a/b?a=b#abc': { - 'protocol': 'http:', - 'slashes': true, - 'host': '[fe80::1]', - 'hostname': 'fe80::1', - 'href': 'http://[fe80::1]/a/b?a=b#abc', - 'search': '?a=b', - 'query': 'a=b', - 'hash': '#abc', - 'pathname': '/a/b', - 'path': '/a/b?a=b' - }, - - 'http://-lovemonsterz.tumblr.com/rss': { - 'protocol': 'http:', - 'slashes': true, - 'host': '-lovemonsterz.tumblr.com', - 'hostname': '-lovemonsterz.tumblr.com', - 'href': 'http://-lovemonsterz.tumblr.com/rss', - 'pathname': '/rss', - 'path': '/rss', - }, - - 'http://-lovemonsterz.tumblr.com:80/rss': { - 'protocol': 'http:', - 'slashes': true, - 'port': '80', - 'host': '-lovemonsterz.tumblr.com:80', - 'hostname': '-lovemonsterz.tumblr.com', - 'href': 'http://-lovemonsterz.tumblr.com:80/rss', - 'pathname': '/rss', - 'path': '/rss', - }, - - 'http://user:pass@-lovemonsterz.tumblr.com/rss': { - 'protocol': 'http:', - 'slashes': true, - 'auth': 'user:pass', - 'host': '-lovemonsterz.tumblr.com', - 'hostname': '-lovemonsterz.tumblr.com', - 'href': 'http://user:pass@-lovemonsterz.tumblr.com/rss', - 'pathname': '/rss', - 'path': '/rss', - }, - - 'http://user:pass@-lovemonsterz.tumblr.com:80/rss': { - 'protocol': 'http:', - 'slashes': true, - 'auth': 'user:pass', - 'port': '80', - 'host': '-lovemonsterz.tumblr.com:80', - 'hostname': '-lovemonsterz.tumblr.com', - 'href': 'http://user:pass@-lovemonsterz.tumblr.com:80/rss', - 'pathname': '/rss', - 'path': '/rss', - }, - - 'http://_jabber._tcp.google.com/test': { - 'protocol': 'http:', - 'slashes': true, - 'host': '_jabber._tcp.google.com', - 'hostname': '_jabber._tcp.google.com', - 'href': 'http://_jabber._tcp.google.com/test', - 'pathname': '/test', - 'path': '/test', - }, - - 'http://user:pass@_jabber._tcp.google.com/test': { - 'protocol': 'http:', - 'slashes': true, - 'auth': 'user:pass', - 'host': '_jabber._tcp.google.com', - 'hostname': '_jabber._tcp.google.com', - 'href': 'http://user:pass@_jabber._tcp.google.com/test', - 'pathname': '/test', - 'path': '/test', - }, - - 'http://_jabber._tcp.google.com:80/test': { - 'protocol': 'http:', - 'slashes': true, - 'port': '80', - 'host': '_jabber._tcp.google.com:80', - 'hostname': '_jabber._tcp.google.com', - 'href': 'http://_jabber._tcp.google.com:80/test', - 'pathname': '/test', - 'path': '/test', - }, - - 'http://user:pass@_jabber._tcp.google.com:80/test': { - 'protocol': 'http:', - 'slashes': true, - 'auth': 'user:pass', - 'port': '80', - 'host': '_jabber._tcp.google.com:80', - 'hostname': '_jabber._tcp.google.com', - 'href': 'http://user:pass@_jabber._tcp.google.com:80/test', - 'pathname': '/test', - 'path': '/test', - }, - - 'http://a@b@c/': { - protocol: 'http:', - slashes: true, - auth: 'a@b', - host: 'c', - hostname: 'c', - href: 'http://a%40b@c/', - path: '/', - pathname: '/' - }, - - 'http://a@b?@c': { - protocol: 'http:', - slashes: true, - auth: 'a', - host: 'b', - hostname: 'b', - href: 'http://a@b/?@c', - path: '/?@c', - pathname: '/', - search: '?@c', - query: '@c' - }, - - 'http://a\r" \t\n<\'b:b@c\r\nd/e?f':{ - protocol: 'http:', - slashes: true, - auth: 'a\r" \t\n<\'b:b', - host: 'c', - port: null, - hostname: 'c', - hash: null, - search: '?f', - query: 'f', - pathname: '%0D%0Ad/e', - path: '%0D%0Ad/e?f', - href: 'http://a%0D%22%20%09%0A%3C\'b:b@c/%0D%0Ad/e?f' - } - -}; - -for (var u in parseTests) { - var actual = url.parse(u), - spaced = url.parse(' \t ' + u + '\n\t'); - expected = parseTests[u]; - - Object.keys(actual).forEach(function (i) { - if (expected[i] === undefined && actual[i] === null) { - expected[i] = null; - } - }); - - assert.deepEqual(actual, expected); - assert.deepEqual(spaced, expected); - - var expected = parseTests[u].href, - actual = url.format(parseTests[u]); - - assert.equal(actual, expected, - 'format(' + u + ') == ' + u + '\nactual:' + actual); -} - -var parseTestsWithQueryString = { - '/foo/bar?baz=quux#frag' : { - 'href': '/foo/bar?baz=quux#frag', - 'hash': '#frag', - 'search': '?baz=quux', - 'query': { - 'baz': 'quux' - }, - 'pathname': '/foo/bar', - 'path': '/foo/bar?baz=quux' - }, - 'http://example.com' : { - 'href': 'http://example.com/', - 'protocol': 'http:', - 'slashes': true, - 'host': 'example.com', - 'hostname': 'example.com', - 'query': {}, - 'search': '', - 'pathname': '/', - 'path': '/' - } -}; -for (var u in parseTestsWithQueryString) { - var actual = url.parse(u, true); - var expected = parseTestsWithQueryString[u]; - for (var i in actual) { - if (actual[i] === null && expected[i] === undefined) { - expected[i] = null; - } - } - - assert.deepEqual(actual, expected); -} - -// some extra formatting tests, just to verify -// that it'll format slightly wonky content to a valid url. -var formatTests = { - 'http://example.com?' : { - 'href': 'http://example.com/?', - 'protocol': 'http:', - 'slashes': true, - 'host': 'example.com', - 'hostname': 'example.com', - 'search': '?', - 'query': {}, - 'pathname': '/' - }, - 'http://example.com?foo=bar#frag' : { - 'href': 'http://example.com/?foo=bar#frag', - 'protocol': 'http:', - 'host': 'example.com', - 'hostname': 'example.com', - 'hash': '#frag', - 'search': '?foo=bar', - 'query': 'foo=bar', - 'pathname': '/' - }, - 'http://example.com?foo=@bar#frag' : { - 'href': 'http://example.com/?foo=@bar#frag', - 'protocol': 'http:', - 'host': 'example.com', - 'hostname': 'example.com', - 'hash': '#frag', - 'search': '?foo=@bar', - 'query': 'foo=@bar', - 'pathname': '/' - }, - 'http://example.com?foo=/bar/#frag' : { - 'href': 'http://example.com/?foo=/bar/#frag', - 'protocol': 'http:', - 'host': 'example.com', - 'hostname': 'example.com', - 'hash': '#frag', - 'search': '?foo=/bar/', - 'query': 'foo=/bar/', - 'pathname': '/' - }, - 'http://example.com?foo=?bar/#frag' : { - 'href': 'http://example.com/?foo=?bar/#frag', - 'protocol': 'http:', - 'host': 'example.com', - 'hostname': 'example.com', - 'hash': '#frag', - 'search': '?foo=?bar/', - 'query': 'foo=?bar/', - 'pathname': '/' - }, - 'http://example.com#frag=?bar/#frag' : { - 'href': 'http://example.com/#frag=?bar/#frag', - 'protocol': 'http:', - 'host': 'example.com', - 'hostname': 'example.com', - 'hash': '#frag=?bar/#frag', - 'pathname': '/' - }, - 'http://google.com" onload="alert(42)/' : { - 'href': 'http://google.com/%22%20onload=%22alert(42)/', - 'protocol': 'http:', - 'host': 'google.com', - 'pathname': '/%22%20onload=%22alert(42)/' - }, - 'http://a.com/a/b/c?s#h' : { - 'href': 'http://a.com/a/b/c?s#h', - 'protocol': 'http', - 'host': 'a.com', - 'pathname': 'a/b/c', - 'hash': 'h', - 'search': 's' - }, - 'xmpp:isaacschlueter@jabber.org' : { - 'href': 'xmpp:isaacschlueter@jabber.org', - 'protocol': 'xmpp:', - 'host': 'jabber.org', - 'auth': 'isaacschlueter', - 'hostname': 'jabber.org' - }, - 'http://atpass:foo%40bar@127.0.0.1/' : { - 'href': 'http://atpass:foo%40bar@127.0.0.1/', - 'auth': 'atpass:foo@bar', - 'hostname': '127.0.0.1', - 'protocol': 'http:', - 'pathname': '/' - }, - 'http://atslash%2F%40:%2F%40@foo/' : { - 'href': 'http://atslash%2F%40:%2F%40@foo/', - 'auth': 'atslash/@:/@', - 'hostname': 'foo', - 'protocol': 'http:', - 'pathname': '/' - }, - 'svn+ssh://foo/bar': { - 'href': 'svn+ssh://foo/bar', - 'hostname': 'foo', - 'protocol': 'svn+ssh:', - 'pathname': '/bar', - 'slashes': true - }, - 'dash-test://foo/bar': { - 'href': 'dash-test://foo/bar', - 'hostname': 'foo', - 'protocol': 'dash-test:', - 'pathname': '/bar', - 'slashes': true - }, - 'dash-test:foo/bar': { - 'href': 'dash-test:foo/bar', - 'hostname': 'foo', - 'protocol': 'dash-test:', - 'pathname': '/bar' - }, - 'dot.test://foo/bar': { - 'href': 'dot.test://foo/bar', - 'hostname': 'foo', - 'protocol': 'dot.test:', - 'pathname': '/bar', - 'slashes': true - }, - 'dot.test:foo/bar': { - 'href': 'dot.test:foo/bar', - 'hostname': 'foo', - 'protocol': 'dot.test:', - 'pathname': '/bar' - }, - // ipv6 support - 'coap:u:p@[::1]:61616/.well-known/r?n=Temperature': { - 'href': 'coap:u:p@[::1]:61616/.well-known/r?n=Temperature', - 'protocol': 'coap:', - 'auth': 'u:p', - 'hostname': '::1', - 'port': '61616', - 'pathname': '/.well-known/r', - 'search': 'n=Temperature' - }, - 'coap:[fedc:ba98:7654:3210:fedc:ba98:7654:3210]:61616/s/stopButton': { - 'href': 'coap:[fedc:ba98:7654:3210:fedc:ba98:7654:3210]:61616/s/stopButton', - 'protocol': 'coap', - 'host': '[fedc:ba98:7654:3210:fedc:ba98:7654:3210]:61616', - 'pathname': '/s/stopButton' - }, - - // encode context-specific delimiters in path and query, but do not touch - // other non-delimiter chars like `%`. - // - - // `#`,`?` in path - '/path/to/%%23%3F+=&.txt?foo=theA1#bar' : { - href : '/path/to/%%23%3F+=&.txt?foo=theA1#bar', - pathname: '/path/to/%#?+=&.txt', - query: { - foo: 'theA1' - }, - hash: "#bar" - }, - - // `#`,`?` in path + `#` in query - '/path/to/%%23%3F+=&.txt?foo=the%231#bar' : { - href : '/path/to/%%23%3F+=&.txt?foo=the%231#bar', - pathname: '/path/to/%#?+=&.txt', - query: { - foo: 'the#1' - }, - hash: "#bar" - }, - - // `?` and `#` in path and search - 'http://ex.com/foo%3F100%m%23r?abc=the%231?&foo=bar#frag': { - href: 'http://ex.com/foo%3F100%m%23r?abc=the%231?&foo=bar#frag', - protocol: 'http:', - hostname: 'ex.com', - hash: '#frag', - search: '?abc=the#1?&foo=bar', - pathname: '/foo?100%m#r', - }, - - // `?` and `#` in search only - 'http://ex.com/fooA100%mBr?abc=the%231?&foo=bar#frag': { - href: 'http://ex.com/fooA100%mBr?abc=the%231?&foo=bar#frag', - protocol: 'http:', - hostname: 'ex.com', - hash: '#frag', - search: '?abc=the#1?&foo=bar', - pathname: '/fooA100%mBr', - } -}; -for (var u in formatTests) { - var expect = formatTests[u].href; - delete formatTests[u].href; - var actual = url.format(u); - var actualObj = url.format(formatTests[u]); - assert.equal(actual, expect, - 'wonky format(' + u + ') == ' + expect + - '\nactual:' + actual); - assert.equal(actualObj, expect, - 'wonky format(' + JSON.stringify(formatTests[u]) + - ') == ' + expect + - '\nactual: ' + actualObj); -} - -/* - [from, path, expected] -*/ -var relativeTests = [ - ['/foo/bar/baz', 'quux', '/foo/bar/quux'], - ['/foo/bar/baz', 'quux/asdf', '/foo/bar/quux/asdf'], - ['/foo/bar/baz', 'quux/baz', '/foo/bar/quux/baz'], - ['/foo/bar/baz', '../quux/baz', '/foo/quux/baz'], - ['/foo/bar/baz', '/bar', '/bar'], - ['/foo/bar/baz/', 'quux', '/foo/bar/baz/quux'], - ['/foo/bar/baz/', 'quux/baz', '/foo/bar/baz/quux/baz'], - ['/foo/bar/baz', '../../../../../../../../quux/baz', '/quux/baz'], - ['/foo/bar/baz', '../../../../../../../quux/baz', '/quux/baz'], - ['foo/bar', '../../../baz', '../../baz'], - ['foo/bar/', '../../../baz', '../baz'], - ['http://example.com/b//c//d;p?q#blarg', 'https:#hash2', 'https:///#hash2'], - ['http://example.com/b//c//d;p?q#blarg', - 'https:/p/a/t/h?s#hash2', - 'https://p/a/t/h?s#hash2'], - ['http://example.com/b//c//d;p?q#blarg', - 'https://u:p@h.com/p/a/t/h?s#hash2', - 'https://u:p@h.com/p/a/t/h?s#hash2'], - ['http://example.com/b//c//d;p?q#blarg', - 'https:/a/b/c/d', - 'https://a/b/c/d'], - ['http://example.com/b//c//d;p?q#blarg', - 'http:#hash2', - 'http://example.com/b//c//d;p?q#hash2'], - ['http://example.com/b//c//d;p?q#blarg', - 'http:/p/a/t/h?s#hash2', - 'http://example.com/p/a/t/h?s#hash2'], - ['http://example.com/b//c//d;p?q#blarg', - 'http://u:p@h.com/p/a/t/h?s#hash2', - 'http://u:p@h.com/p/a/t/h?s#hash2'], - ['http://example.com/b//c//d;p?q#blarg', - 'http:/a/b/c/d', - 'http://example.com/a/b/c/d'], - ['/foo/bar/baz', '/../etc/passwd', '/etc/passwd'] -]; -relativeTests.forEach(function(relativeTest) { - var a = url.resolve(relativeTest[0], relativeTest[1]), - e = relativeTest[2]; - assert.equal(a, e, - 'resolve(' + [relativeTest[0], relativeTest[1]] + ') == ' + e + - '\n actual=' + a); -}); - - -// https://github.com/joyent/node/issues/568 -[ - undefined, - null, - true, - false, - 0.0, - 0, - [], - {} -].forEach(function(val) { - assert.throws(function() { url.parse(val); }, TypeError); -}); - - -// -// Tests below taken from Chiron -// http://code.google.com/p/chironjs/source/browse/trunk/src/test/http/url.js -// -// Copyright (c) 2002-2008 Kris Kowal -// used with permission under MIT License -// -// Changes marked with @isaacs - -var bases = [ - 'http://a/b/c/d;p?q', - 'http://a/b/c/d;p?q=1/2', - 'http://a/b/c/d;p=1/2?q', - 'fred:///s//a/b/c', - 'http:///s//a/b/c' -]; - -//[to, from, result] -var relativeTests2 = [ - // http://lists.w3.org/Archives/Public/uri/2004Feb/0114.html - ['../c', 'foo:a/b', 'foo:c'], - ['foo:.', 'foo:a', 'foo:'], - ['/foo/../../../bar', 'zz:abc', 'zz:/bar'], - ['/foo/../bar', 'zz:abc', 'zz:/bar'], - // @isaacs Disagree. Not how web browsers resolve this. - ['foo/../../../bar', 'zz:abc', 'zz:bar'], - // ['foo/../../../bar', 'zz:abc', 'zz:../../bar'], // @isaacs Added - ['foo/../bar', 'zz:abc', 'zz:bar'], - ['zz:.', 'zz:abc', 'zz:'], - ['/.', bases[0], 'http://a/'], - ['/.foo', bases[0], 'http://a/.foo'], - ['.foo', bases[0], 'http://a/b/c/.foo'], - - // http://gbiv.com/protocols/uri/test/rel_examples1.html - // examples from RFC 2396 - ['g:h', bases[0], 'g:h'], - ['g', bases[0], 'http://a/b/c/g'], - ['./g', bases[0], 'http://a/b/c/g'], - ['g/', bases[0], 'http://a/b/c/g/'], - ['/g', bases[0], 'http://a/g'], - ['//g', bases[0], 'http://g/'], - // changed with RFC 2396bis - //('?y', bases[0], 'http://a/b/c/d;p?y'], - ['?y', bases[0], 'http://a/b/c/d;p?y'], - ['g?y', bases[0], 'http://a/b/c/g?y'], - // changed with RFC 2396bis - //('#s', bases[0], CURRENT_DOC_URI + '#s'], - ['#s', bases[0], 'http://a/b/c/d;p?q#s'], - ['g#s', bases[0], 'http://a/b/c/g#s'], - ['g?y#s', bases[0], 'http://a/b/c/g?y#s'], - [';x', bases[0], 'http://a/b/c/;x'], - ['g;x', bases[0], 'http://a/b/c/g;x'], - ['g;x?y#s', bases[0], 'http://a/b/c/g;x?y#s'], - // changed with RFC 2396bis - //('', bases[0], CURRENT_DOC_URI], - ['', bases[0], 'http://a/b/c/d;p?q'], - ['.', bases[0], 'http://a/b/c/'], - ['./', bases[0], 'http://a/b/c/'], - ['..', bases[0], 'http://a/b/'], - ['../', bases[0], 'http://a/b/'], - ['../g', bases[0], 'http://a/b/g'], - ['../..', bases[0], 'http://a/'], - ['../../', bases[0], 'http://a/'], - ['../../g', bases[0], 'http://a/g'], - ['../../../g', bases[0], ('http://a/../g', 'http://a/g')], - ['../../../../g', bases[0], ('http://a/../../g', 'http://a/g')], - // changed with RFC 2396bis - //('/./g', bases[0], 'http://a/./g'], - ['/./g', bases[0], 'http://a/g'], - // changed with RFC 2396bis - //('/../g', bases[0], 'http://a/../g'], - ['/../g', bases[0], 'http://a/g'], - ['g.', bases[0], 'http://a/b/c/g.'], - ['.g', bases[0], 'http://a/b/c/.g'], - ['g..', bases[0], 'http://a/b/c/g..'], - ['..g', bases[0], 'http://a/b/c/..g'], - ['./../g', bases[0], 'http://a/b/g'], - ['./g/.', bases[0], 'http://a/b/c/g/'], - ['g/./h', bases[0], 'http://a/b/c/g/h'], - ['g/../h', bases[0], 'http://a/b/c/h'], - ['g;x=1/./y', bases[0], 'http://a/b/c/g;x=1/y'], - ['g;x=1/../y', bases[0], 'http://a/b/c/y'], - ['g?y/./x', bases[0], 'http://a/b/c/g?y/./x'], - ['g?y/../x', bases[0], 'http://a/b/c/g?y/../x'], - ['g#s/./x', bases[0], 'http://a/b/c/g#s/./x'], - ['g#s/../x', bases[0], 'http://a/b/c/g#s/../x'], - ['http:g', bases[0], ('http:g', 'http://a/b/c/g')], - ['http:', bases[0], ('http:', bases[0])], - // not sure where this one originated - ['/a/b/c/./../../g', bases[0], 'http://a/a/g'], - - // http://gbiv.com/protocols/uri/test/rel_examples2.html - // slashes in base URI's query args - ['g', bases[1], 'http://a/b/c/g'], - ['./g', bases[1], 'http://a/b/c/g'], - ['g/', bases[1], 'http://a/b/c/g/'], - ['/g', bases[1], 'http://a/g'], - ['//g', bases[1], 'http://g/'], - // changed in RFC 2396bis - //('?y', bases[1], 'http://a/b/c/?y'], - ['?y', bases[1], 'http://a/b/c/d;p?y'], - ['g?y', bases[1], 'http://a/b/c/g?y'], - ['g?y/./x', bases[1], 'http://a/b/c/g?y/./x'], - ['g?y/../x', bases[1], 'http://a/b/c/g?y/../x'], - ['g#s', bases[1], 'http://a/b/c/g#s'], - ['g#s/./x', bases[1], 'http://a/b/c/g#s/./x'], - ['g#s/../x', bases[1], 'http://a/b/c/g#s/../x'], - ['./', bases[1], 'http://a/b/c/'], - ['../', bases[1], 'http://a/b/'], - ['../g', bases[1], 'http://a/b/g'], - ['../../', bases[1], 'http://a/'], - ['../../g', bases[1], 'http://a/g'], - - // http://gbiv.com/protocols/uri/test/rel_examples3.html - // slashes in path params - // all of these changed in RFC 2396bis - ['g', bases[2], 'http://a/b/c/d;p=1/g'], - ['./g', bases[2], 'http://a/b/c/d;p=1/g'], - ['g/', bases[2], 'http://a/b/c/d;p=1/g/'], - ['g?y', bases[2], 'http://a/b/c/d;p=1/g?y'], - [';x', bases[2], 'http://a/b/c/d;p=1/;x'], - ['g;x', bases[2], 'http://a/b/c/d;p=1/g;x'], - ['g;x=1/./y', bases[2], 'http://a/b/c/d;p=1/g;x=1/y'], - ['g;x=1/../y', bases[2], 'http://a/b/c/d;p=1/y'], - ['./', bases[2], 'http://a/b/c/d;p=1/'], - ['../', bases[2], 'http://a/b/c/'], - ['../g', bases[2], 'http://a/b/c/g'], - ['../../', bases[2], 'http://a/b/'], - ['../../g', bases[2], 'http://a/b/g'], - - // http://gbiv.com/protocols/uri/test/rel_examples4.html - // double and triple slash, unknown scheme - ['g:h', bases[3], 'g:h'], - ['g', bases[3], 'fred:///s//a/b/g'], - ['./g', bases[3], 'fred:///s//a/b/g'], - ['g/', bases[3], 'fred:///s//a/b/g/'], - ['/g', bases[3], 'fred:///g'], // may change to fred:///s//a/g - ['//g', bases[3], 'fred://g'], // may change to fred:///s//g - ['//g/x', bases[3], 'fred://g/x'], // may change to fred:///s//g/x - ['///g', bases[3], 'fred:///g'], - ['./', bases[3], 'fred:///s//a/b/'], - ['../', bases[3], 'fred:///s//a/'], - ['../g', bases[3], 'fred:///s//a/g'], - - ['../../', bases[3], 'fred:///s//'], - ['../../g', bases[3], 'fred:///s//g'], - ['../../../g', bases[3], 'fred:///s/g'], - // may change to fred:///s//a/../../../g - ['../../../../g', bases[3], 'fred:///g'], - - // http://gbiv.com/protocols/uri/test/rel_examples5.html - // double and triple slash, well-known scheme - ['g:h', bases[4], 'g:h'], - ['g', bases[4], 'http:///s//a/b/g'], - ['./g', bases[4], 'http:///s//a/b/g'], - ['g/', bases[4], 'http:///s//a/b/g/'], - ['/g', bases[4], 'http:///g'], // may change to http:///s//a/g - ['//g', bases[4], 'http://g/'], // may change to http:///s//g - ['//g/x', bases[4], 'http://g/x'], // may change to http:///s//g/x - ['///g', bases[4], 'http:///g'], - ['./', bases[4], 'http:///s//a/b/'], - ['../', bases[4], 'http:///s//a/'], - ['../g', bases[4], 'http:///s//a/g'], - ['../../', bases[4], 'http:///s//'], - ['../../g', bases[4], 'http:///s//g'], - // may change to http:///s//a/../../g - ['../../../g', bases[4], 'http:///s/g'], - // may change to http:///s//a/../../../g - ['../../../../g', bases[4], 'http:///g'], - - // from Dan Connelly's tests in http://www.w3.org/2000/10/swap/uripath.py - ['bar:abc', 'foo:xyz', 'bar:abc'], - ['../abc', 'http://example/x/y/z', 'http://example/x/abc'], - ['http://example/x/abc', 'http://example2/x/y/z', 'http://example/x/abc'], - ['../r', 'http://ex/x/y/z', 'http://ex/x/r'], - ['q/r', 'http://ex/x/y', 'http://ex/x/q/r'], - ['q/r#s', 'http://ex/x/y', 'http://ex/x/q/r#s'], - ['q/r#s/t', 'http://ex/x/y', 'http://ex/x/q/r#s/t'], - ['ftp://ex/x/q/r', 'http://ex/x/y', 'ftp://ex/x/q/r'], - ['', 'http://ex/x/y', 'http://ex/x/y'], - ['', 'http://ex/x/y/', 'http://ex/x/y/'], - ['', 'http://ex/x/y/pdq', 'http://ex/x/y/pdq'], - ['z/', 'http://ex/x/y/', 'http://ex/x/y/z/'], - ['#Animal', - 'file:/swap/test/animal.rdf', - 'file:/swap/test/animal.rdf#Animal'], - ['../abc', 'file:/e/x/y/z', 'file:/e/x/abc'], - ['/example/x/abc', 'file:/example2/x/y/z', 'file:/example/x/abc'], - ['../r', 'file:/ex/x/y/z', 'file:/ex/x/r'], - ['/r', 'file:/ex/x/y/z', 'file:/r'], - ['q/r', 'file:/ex/x/y', 'file:/ex/x/q/r'], - ['q/r#s', 'file:/ex/x/y', 'file:/ex/x/q/r#s'], - ['q/r#', 'file:/ex/x/y', 'file:/ex/x/q/r#'], - ['q/r#s/t', 'file:/ex/x/y', 'file:/ex/x/q/r#s/t'], - ['ftp://ex/x/q/r', 'file:/ex/x/y', 'ftp://ex/x/q/r'], - ['', 'file:/ex/x/y', 'file:/ex/x/y'], - ['', 'file:/ex/x/y/', 'file:/ex/x/y/'], - ['', 'file:/ex/x/y/pdq', 'file:/ex/x/y/pdq'], - ['z/', 'file:/ex/x/y/', 'file:/ex/x/y/z/'], - ['file://meetings.example.com/cal#m1', - 'file:/devel/WWW/2000/10/swap/test/reluri-1.n3', - 'file://meetings.example.com/cal#m1'], - ['file://meetings.example.com/cal#m1', - 'file:/home/connolly/w3ccvs/WWW/2000/10/swap/test/reluri-1.n3', - 'file://meetings.example.com/cal#m1'], - ['./#blort', 'file:/some/dir/foo', 'file:/some/dir/#blort'], - ['./#', 'file:/some/dir/foo', 'file:/some/dir/#'], - // Ryan Lee - ['./', 'http://example/x/abc.efg', 'http://example/x/'], - - - // Graham Klyne's tests - // http://www.ninebynine.org/Software/HaskellUtils/Network/UriTest.xls - // 01-31 are from Connelly's cases - - // 32-49 - ['./q:r', 'http://ex/x/y', 'http://ex/x/q:r'], - ['./p=q:r', 'http://ex/x/y', 'http://ex/x/p=q:r'], - ['?pp/rr', 'http://ex/x/y?pp/qq', 'http://ex/x/y?pp/rr'], - ['y/z', 'http://ex/x/y?pp/qq', 'http://ex/x/y/z'], - ['local/qual@domain.org#frag', - 'mailto:local', - 'mailto:local/qual@domain.org#frag'], - ['more/qual2@domain2.org#frag', - 'mailto:local/qual1@domain1.org', - 'mailto:local/more/qual2@domain2.org#frag'], - ['y?q', 'http://ex/x/y?q', 'http://ex/x/y?q'], - ['/x/y?q', 'http://ex?p', 'http://ex/x/y?q'], - ['c/d', 'foo:a/b', 'foo:a/c/d'], - ['/c/d', 'foo:a/b', 'foo:/c/d'], - ['', 'foo:a/b?c#d', 'foo:a/b?c'], - ['b/c', 'foo:a', 'foo:b/c'], - ['../b/c', 'foo:/a/y/z', 'foo:/a/b/c'], - ['./b/c', 'foo:a', 'foo:b/c'], - ['/./b/c', 'foo:a', 'foo:/b/c'], - ['../../d', 'foo://a//b/c', 'foo://a/d'], - ['.', 'foo:a', 'foo:'], - ['..', 'foo:a', 'foo:'], - - // 50-57[cf. TimBL comments -- - // http://lists.w3.org/Archives/Public/uri/2003Feb/0028.html, - // http://lists.w3.org/Archives/Public/uri/2003Jan/0008.html) - ['abc', 'http://example/x/y%2Fz', 'http://example/x/abc'], - ['../../x%2Fabc', 'http://example/a/x/y/z', 'http://example/a/x%2Fabc'], - ['../x%2Fabc', 'http://example/a/x/y%2Fz', 'http://example/a/x%2Fabc'], - ['abc', 'http://example/x%2Fy/z', 'http://example/x%2Fy/abc'], - ['q%3Ar', 'http://ex/x/y', 'http://ex/x/q%3Ar'], - ['/x%2Fabc', 'http://example/x/y%2Fz', 'http://example/x%2Fabc'], - ['/x%2Fabc', 'http://example/x/y/z', 'http://example/x%2Fabc'], - ['/x%2Fabc', 'http://example/x/y%2Fz', 'http://example/x%2Fabc'], - - // 70-77 - ['local2@domain2', 'mailto:local1@domain1?query1', 'mailto:local2@domain2'], - ['local2@domain2?query2', - 'mailto:local1@domain1', - 'mailto:local2@domain2?query2'], - ['local2@domain2?query2', - 'mailto:local1@domain1?query1', - 'mailto:local2@domain2?query2'], - ['?query2', 'mailto:local@domain?query1', 'mailto:local@domain?query2'], - ['local@domain?query2', 'mailto:?query1', 'mailto:local@domain?query2'], - ['?query2', 'mailto:local@domain?query1', 'mailto:local@domain?query2'], - ['http://example/a/b?c/../d', 'foo:bar', 'http://example/a/b?c/../d'], - ['http://example/a/b#c/../d', 'foo:bar', 'http://example/a/b#c/../d'], - - // 82-88 - // @isaacs Disagree. Not how browsers do it. - // ['http:this', 'http://example.org/base/uri', 'http:this'], - // @isaacs Added - ['http:this', 'http://example.org/base/uri', 'http://example.org/base/this'], - ['http:this', 'http:base', 'http:this'], - ['.//g', 'f:/a', 'f://g'], - ['b/c//d/e', 'f://example.org/base/a', 'f://example.org/base/b/c//d/e'], - ['m2@example.ord/c2@example.org', - 'mid:m@example.ord/c@example.org', - 'mid:m@example.ord/m2@example.ord/c2@example.org'], - ['mini1.xml', - 'file:///C:/DEV/Haskell/lib/HXmlToolbox-3.01/examples/', - 'file:///C:/DEV/Haskell/lib/HXmlToolbox-3.01/examples/mini1.xml'], - ['../b/c', 'foo:a/y/z', 'foo:a/b/c'], - - //changeing auth - ['http://diff:auth@www.example.com', - 'http://asdf:qwer@www.example.com', - 'http://diff:auth@www.example.com/'] -]; -relativeTests2.forEach(function(relativeTest) { - var a = url.resolve(relativeTest[1], relativeTest[0]), - e = relativeTest[2]; - assert.equal(a, e, - 'resolve(' + [relativeTest[1], relativeTest[0]] + ') == ' + e + - '\n actual=' + a); -}); - -//if format and parse are inverse operations then -//resolveObject(parse(x), y) == parse(resolve(x, y)) - -//host and hostname are special, in this case a '' value is important -var emptyIsImportant = {'host': true, 'hostname': ''}; - -//format: [from, path, expected] -relativeTests.forEach(function(relativeTest) { - var actual = url.resolveObject(url.parse(relativeTest[0]), relativeTest[1]), - expected = url.parse(relativeTest[2]); - - - assert.deepEqual(actual, expected); - - expected = relativeTest[2]; - actual = url.format(actual); - - assert.equal(actual, expected, - 'format(' + actual + ') == ' + expected + '\nactual:' + actual); -}); - -//format: [to, from, result] -// the test: ['.//g', 'f:/a', 'f://g'] is a fundimental problem -// url.parse('f:/a') does not have a host -// url.resolve('f:/a', './/g') does not have a host becuase you have moved -// down to the g directory. i.e. f: //g, however when this url is parsed -// f:// will indicate that the host is g which is not the case. -// it is unclear to me how to keep this information from being lost -// it may be that a pathname of ////g should colapse to /g but this seems -// to be a lot of work for an edge case. Right now I remove the test -if (relativeTests2[181][0] === './/g' && - relativeTests2[181][1] === 'f:/a' && - relativeTests2[181][2] === 'f://g') { - relativeTests2.splice(181, 1); -} -relativeTests2.forEach(function(relativeTest) { - var actual = url.resolveObject(url.parse(relativeTest[1]), relativeTest[0]), - expected = url.parse(relativeTest[2]); - - assert.deepEqual(actual, expected); - - var expected = relativeTest[2], - actual = url.format(actual); - - assert.equal(actual, expected, - 'format(' + relativeTest[1] + ') == ' + expected + - '\nactual:' + actual); -}); - -}); diff --git a/node_modules/aws-sdk/node_modules/url/url.js b/node_modules/aws-sdk/node_modules/url/url.js deleted file mode 100644 index ddc4ade..0000000 --- a/node_modules/aws-sdk/node_modules/url/url.js +++ /dev/null @@ -1,707 +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. - -var punycode = require('punycode'); - -exports.parse = urlParse; -exports.resolve = urlResolve; -exports.resolveObject = urlResolveObject; -exports.format = urlFormat; - -exports.Url = Url; - -function Url() { - this.protocol = null; - this.slashes = null; - this.auth = null; - this.host = null; - this.port = null; - this.hostname = null; - this.hash = null; - this.search = null; - this.query = null; - this.pathname = null; - this.path = null; - this.href = null; -} - -// Reference: RFC 3986, RFC 1808, RFC 2396 - -// define these here so at least they only have to be -// compiled once on the first module load. -var protocolPattern = /^([a-z0-9.+-]+:)/i, - portPattern = /:[0-9]*$/, - - // RFC 2396: characters reserved for delimiting URLs. - // We actually just auto-escape these. - delims = ['<', '>', '"', '`', ' ', '\r', '\n', '\t'], - - // RFC 2396: characters not allowed for various reasons. - unwise = ['{', '}', '|', '\\', '^', '`'].concat(delims), - - // Allowed by RFCs, but cause of XSS attacks. Always escape these. - autoEscape = ['\''].concat(unwise), - // Characters that are never ever allowed in a hostname. - // Note that any invalid chars are also handled, but these - // are the ones that are *expected* to be seen, so we fast-path - // them. - nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape), - hostEndingChars = ['/', '?', '#'], - hostnameMaxLen = 255, - hostnamePartPattern = /^[a-z0-9A-Z_-]{0,63}$/, - hostnamePartStart = /^([a-z0-9A-Z_-]{0,63})(.*)$/, - // protocols that can allow "unsafe" and "unwise" chars. - unsafeProtocol = { - 'javascript': true, - 'javascript:': true - }, - // protocols that never have a hostname. - hostlessProtocol = { - 'javascript': true, - 'javascript:': true - }, - // protocols that always contain a // bit. - slashedProtocol = { - 'http': true, - 'https': true, - 'ftp': true, - 'gopher': true, - 'file': true, - 'http:': true, - 'https:': true, - 'ftp:': true, - 'gopher:': true, - 'file:': true - }, - querystring = require('querystring'); - -function urlParse(url, parseQueryString, slashesDenoteHost) { - if (url && isObject(url) && url instanceof Url) return url; - - var u = new Url; - u.parse(url, parseQueryString, slashesDenoteHost); - return u; -} - -Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) { - if (!isString(url)) { - throw new TypeError("Parameter 'url' must be a string, not " + typeof url); - } - - var rest = url; - - // trim before proceeding. - // This is to support parse stuff like " http://foo.com \n" - rest = rest.trim(); - - var proto = protocolPattern.exec(rest); - if (proto) { - proto = proto[0]; - var lowerProto = proto.toLowerCase(); - this.protocol = lowerProto; - rest = rest.substr(proto.length); - } - - // figure out if it's got a host - // user@server is *always* interpreted as a hostname, and url - // resolution will treat //foo/bar as host=foo,path=bar because that's - // how the browser resolves relative URLs. - if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) { - var slashes = rest.substr(0, 2) === '//'; - if (slashes && !(proto && hostlessProtocol[proto])) { - rest = rest.substr(2); - this.slashes = true; - } - } - - if (!hostlessProtocol[proto] && - (slashes || (proto && !slashedProtocol[proto]))) { - - // there's a hostname. - // the first instance of /, ?, ;, or # ends the host. - // - // If there is an @ in the hostname, then non-host chars *are* allowed - // to the left of the last @ sign, unless some host-ending character - // comes *before* the @-sign. - // URLs are obnoxious. - // - // ex: - // http://a@b@c/ => user:a@b host:c - // http://a@b?@c => user:a host:c path:/?@c - - // v0.12 TODO(isaacs): This is not quite how Chrome does things. - // Review our test case against browsers more comprehensively. - - // find the first instance of any hostEndingChars - var hostEnd = -1; - for (var i = 0; i < hostEndingChars.length; i++) { - var hec = rest.indexOf(hostEndingChars[i]); - if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) - hostEnd = hec; - } - - // at this point, either we have an explicit point where the - // auth portion cannot go past, or the last @ char is the decider. - var auth, atSign; - if (hostEnd === -1) { - // atSign can be anywhere. - atSign = rest.lastIndexOf('@'); - } else { - // atSign must be in auth portion. - // http://a@b/c@d => host:b auth:a path:/c@d - atSign = rest.lastIndexOf('@', hostEnd); - } - - // Now we have a portion which is definitely the auth. - // Pull that off. - if (atSign !== -1) { - auth = rest.slice(0, atSign); - rest = rest.slice(atSign + 1); - this.auth = decodeURIComponent(auth); - } - - // the host is the remaining to the left of the first non-host char - hostEnd = -1; - for (var i = 0; i < nonHostChars.length; i++) { - var hec = rest.indexOf(nonHostChars[i]); - if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) - hostEnd = hec; - } - // if we still have not hit it, then the entire thing is a host. - if (hostEnd === -1) - hostEnd = rest.length; - - this.host = rest.slice(0, hostEnd); - rest = rest.slice(hostEnd); - - // pull out port. - this.parseHost(); - - // we've indicated that there is a hostname, - // so even if it's empty, it has to be present. - this.hostname = this.hostname || ''; - - // if hostname begins with [ and ends with ] - // assume that it's an IPv6 address. - var ipv6Hostname = this.hostname[0] === '[' && - this.hostname[this.hostname.length - 1] === ']'; - - // validate a little. - if (!ipv6Hostname) { - var hostparts = this.hostname.split(/\./); - for (var i = 0, l = hostparts.length; i < l; i++) { - var part = hostparts[i]; - if (!part) continue; - if (!part.match(hostnamePartPattern)) { - var newpart = ''; - for (var j = 0, k = part.length; j < k; j++) { - if (part.charCodeAt(j) > 127) { - // we replace non-ASCII char with a temporary placeholder - // we need this to make sure size of hostname is not - // broken by replacing non-ASCII by nothing - newpart += 'x'; - } else { - newpart += part[j]; - } - } - // we test again with ASCII char only - if (!newpart.match(hostnamePartPattern)) { - var validParts = hostparts.slice(0, i); - var notHost = hostparts.slice(i + 1); - var bit = part.match(hostnamePartStart); - if (bit) { - validParts.push(bit[1]); - notHost.unshift(bit[2]); - } - if (notHost.length) { - rest = '/' + notHost.join('.') + rest; - } - this.hostname = validParts.join('.'); - break; - } - } - } - } - - if (this.hostname.length > hostnameMaxLen) { - this.hostname = ''; - } else { - // hostnames are always lower case. - this.hostname = this.hostname.toLowerCase(); - } - - if (!ipv6Hostname) { - // IDNA Support: Returns a puny coded representation of "domain". - // It only converts the part of the domain name that - // has non ASCII characters. I.e. it dosent matter if - // you call it with a domain that already is in ASCII. - var domainArray = this.hostname.split('.'); - var newOut = []; - for (var i = 0; i < domainArray.length; ++i) { - var s = domainArray[i]; - newOut.push(s.match(/[^A-Za-z0-9_-]/) ? - 'xn--' + punycode.encode(s) : s); - } - this.hostname = newOut.join('.'); - } - - var p = this.port ? ':' + this.port : ''; - var h = this.hostname || ''; - this.host = h + p; - this.href += this.host; - - // strip [ and ] from the hostname - // the host field still retains them, though - if (ipv6Hostname) { - this.hostname = this.hostname.substr(1, this.hostname.length - 2); - if (rest[0] !== '/') { - rest = '/' + rest; - } - } - } - - // now rest is set to the post-host stuff. - // chop off any delim chars. - if (!unsafeProtocol[lowerProto]) { - - // First, make 100% sure that any "autoEscape" chars get - // escaped, even if encodeURIComponent doesn't think they - // need to be. - for (var i = 0, l = autoEscape.length; i < l; i++) { - var ae = autoEscape[i]; - var esc = encodeURIComponent(ae); - if (esc === ae) { - esc = escape(ae); - } - rest = rest.split(ae).join(esc); - } - } - - - // chop off from the tail first. - var hash = rest.indexOf('#'); - if (hash !== -1) { - // got a fragment string. - this.hash = rest.substr(hash); - rest = rest.slice(0, hash); - } - var qm = rest.indexOf('?'); - if (qm !== -1) { - this.search = rest.substr(qm); - this.query = rest.substr(qm + 1); - if (parseQueryString) { - this.query = querystring.parse(this.query); - } - rest = rest.slice(0, qm); - } else if (parseQueryString) { - // no query string, but parseQueryString still requested - this.search = ''; - this.query = {}; - } - if (rest) this.pathname = rest; - if (slashedProtocol[lowerProto] && - this.hostname && !this.pathname) { - this.pathname = '/'; - } - - //to support http.request - if (this.pathname || this.search) { - var p = this.pathname || ''; - var s = this.search || ''; - this.path = p + s; - } - - // finally, reconstruct the href based on what has been validated. - this.href = this.format(); - return this; -}; - -// format a parsed object into a url string -function urlFormat(obj) { - // ensure it's an object, and not a string url. - // If it's an obj, this is a no-op. - // this way, you can call url_format() on strings - // to clean up potentially wonky urls. - if (isString(obj)) obj = urlParse(obj); - if (!(obj instanceof Url)) return Url.prototype.format.call(obj); - return obj.format(); -} - -Url.prototype.format = function() { - var auth = this.auth || ''; - if (auth) { - auth = encodeURIComponent(auth); - auth = auth.replace(/%3A/i, ':'); - auth += '@'; - } - - var protocol = this.protocol || '', - pathname = this.pathname || '', - hash = this.hash || '', - host = false, - query = ''; - - if (this.host) { - host = auth + this.host; - } else if (this.hostname) { - host = auth + (this.hostname.indexOf(':') === -1 ? - this.hostname : - '[' + this.hostname + ']'); - if (this.port) { - host += ':' + this.port; - } - } - - if (this.query && - isObject(this.query) && - Object.keys(this.query).length) { - query = querystring.stringify(this.query); - } - - var search = this.search || (query && ('?' + query)) || ''; - - if (protocol && protocol.substr(-1) !== ':') protocol += ':'; - - // only the slashedProtocols get the //. Not mailto:, xmpp:, etc. - // unless they had them to begin with. - if (this.slashes || - (!protocol || slashedProtocol[protocol]) && host !== false) { - host = '//' + (host || ''); - if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname; - } else if (!host) { - host = ''; - } - - if (hash && hash.charAt(0) !== '#') hash = '#' + hash; - if (search && search.charAt(0) !== '?') search = '?' + search; - - pathname = pathname.replace(/[?#]/g, function(match) { - return encodeURIComponent(match); - }); - search = search.replace('#', '%23'); - - return protocol + host + pathname + search + hash; -}; - -function urlResolve(source, relative) { - return urlParse(source, false, true).resolve(relative); -} - -Url.prototype.resolve = function(relative) { - return this.resolveObject(urlParse(relative, false, true)).format(); -}; - -function urlResolveObject(source, relative) { - if (!source) return relative; - return urlParse(source, false, true).resolveObject(relative); -} - -Url.prototype.resolveObject = function(relative) { - if (isString(relative)) { - var rel = new Url(); - rel.parse(relative, false, true); - relative = rel; - } - - var result = new Url(); - Object.keys(this).forEach(function(k) { - result[k] = this[k]; - }, this); - - // hash is always overridden, no matter what. - // even href="" will remove it. - result.hash = relative.hash; - - // if the relative url is empty, then there's nothing left to do here. - if (relative.href === '') { - result.href = result.format(); - return result; - } - - // hrefs like //foo/bar always cut to the protocol. - if (relative.slashes && !relative.protocol) { - // take everything except the protocol from relative - Object.keys(relative).forEach(function(k) { - if (k !== 'protocol') - result[k] = relative[k]; - }); - - //urlParse appends trailing / to urls like http://www.example.com - if (slashedProtocol[result.protocol] && - result.hostname && !result.pathname) { - result.path = result.pathname = '/'; - } - - result.href = result.format(); - return result; - } - - if (relative.protocol && relative.protocol !== result.protocol) { - // if it's a known url protocol, then changing - // the protocol does weird things - // first, if it's not file:, then we MUST have a host, - // and if there was a path - // to begin with, then we MUST have a path. - // if it is file:, then the host is dropped, - // because that's known to be hostless. - // anything else is assumed to be absolute. - if (!slashedProtocol[relative.protocol]) { - Object.keys(relative).forEach(function(k) { - result[k] = relative[k]; - }); - result.href = result.format(); - return result; - } - - result.protocol = relative.protocol; - if (!relative.host && !hostlessProtocol[relative.protocol]) { - var relPath = (relative.pathname || '').split('/'); - while (relPath.length && !(relative.host = relPath.shift())); - if (!relative.host) relative.host = ''; - if (!relative.hostname) relative.hostname = ''; - if (relPath[0] !== '') relPath.unshift(''); - if (relPath.length < 2) relPath.unshift(''); - result.pathname = relPath.join('/'); - } else { - result.pathname = relative.pathname; - } - result.search = relative.search; - result.query = relative.query; - result.host = relative.host || ''; - result.auth = relative.auth; - result.hostname = relative.hostname || relative.host; - result.port = relative.port; - // to support http.request - if (result.pathname || result.search) { - var p = result.pathname || ''; - var s = result.search || ''; - result.path = p + s; - } - result.slashes = result.slashes || relative.slashes; - result.href = result.format(); - return result; - } - - var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'), - isRelAbs = ( - relative.host || - relative.pathname && relative.pathname.charAt(0) === '/' - ), - mustEndAbs = (isRelAbs || isSourceAbs || - (result.host && relative.pathname)), - removeAllDots = mustEndAbs, - srcPath = result.pathname && result.pathname.split('/') || [], - relPath = relative.pathname && relative.pathname.split('/') || [], - psychotic = result.protocol && !slashedProtocol[result.protocol]; - - // if the url is a non-slashed url, then relative - // links like ../.. should be able - // to crawl up to the hostname, as well. This is strange. - // result.protocol has already been set by now. - // Later on, put the first path part into the host field. - if (psychotic) { - result.hostname = ''; - result.port = null; - if (result.host) { - if (srcPath[0] === '') srcPath[0] = result.host; - else srcPath.unshift(result.host); - } - result.host = ''; - if (relative.protocol) { - relative.hostname = null; - relative.port = null; - if (relative.host) { - if (relPath[0] === '') relPath[0] = relative.host; - else relPath.unshift(relative.host); - } - relative.host = null; - } - mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === ''); - } - - if (isRelAbs) { - // it's absolute. - result.host = (relative.host || relative.host === '') ? - relative.host : result.host; - result.hostname = (relative.hostname || relative.hostname === '') ? - relative.hostname : result.hostname; - result.search = relative.search; - result.query = relative.query; - srcPath = relPath; - // fall through to the dot-handling below. - } else if (relPath.length) { - // it's relative - // throw away the existing file, and take the new path instead. - if (!srcPath) srcPath = []; - srcPath.pop(); - srcPath = srcPath.concat(relPath); - result.search = relative.search; - result.query = relative.query; - } else if (!isNullOrUndefined(relative.search)) { - // just pull out the search. - // like href='?foo'. - // Put this after the other two cases because it simplifies the booleans - if (psychotic) { - result.hostname = result.host = srcPath.shift(); - //occationaly the auth can get stuck only in host - //this especialy happens in cases like - //url.resolveObject('mailto:local1@domain1', 'local2@domain2') - var authInHost = result.host && result.host.indexOf('@') > 0 ? - result.host.split('@') : false; - if (authInHost) { - result.auth = authInHost.shift(); - result.host = result.hostname = authInHost.shift(); - } - } - result.search = relative.search; - result.query = relative.query; - //to support http.request - if (!isNull(result.pathname) || !isNull(result.search)) { - result.path = (result.pathname ? result.pathname : '') + - (result.search ? result.search : ''); - } - result.href = result.format(); - return result; - } - - if (!srcPath.length) { - // no path at all. easy. - // we've already handled the other stuff above. - result.pathname = null; - //to support http.request - if (result.search) { - result.path = '/' + result.search; - } else { - result.path = null; - } - result.href = result.format(); - return result; - } - - // if a url ENDs in . or .., then it must get a trailing slash. - // however, if it ends in anything else non-slashy, - // then it must NOT get a trailing slash. - var last = srcPath.slice(-1)[0]; - var hasTrailingSlash = ( - (result.host || relative.host) && (last === '.' || last === '..') || - last === ''); - - // strip single dots, resolve double dots to parent dir - // if the path tries to go above the root, `up` ends up > 0 - var up = 0; - for (var i = srcPath.length; i >= 0; i--) { - last = srcPath[i]; - if (last == '.') { - srcPath.splice(i, 1); - } else if (last === '..') { - srcPath.splice(i, 1); - up++; - } else if (up) { - srcPath.splice(i, 1); - up--; - } - } - - // if the path is allowed to go above the root, restore leading ..s - if (!mustEndAbs && !removeAllDots) { - for (; up--; up) { - srcPath.unshift('..'); - } - } - - if (mustEndAbs && srcPath[0] !== '' && - (!srcPath[0] || srcPath[0].charAt(0) !== '/')) { - srcPath.unshift(''); - } - - if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) { - srcPath.push(''); - } - - var isAbsolute = srcPath[0] === '' || - (srcPath[0] && srcPath[0].charAt(0) === '/'); - - // put the host back - if (psychotic) { - result.hostname = result.host = isAbsolute ? '' : - srcPath.length ? srcPath.shift() : ''; - //occationaly the auth can get stuck only in host - //this especialy happens in cases like - //url.resolveObject('mailto:local1@domain1', 'local2@domain2') - var authInHost = result.host && result.host.indexOf('@') > 0 ? - result.host.split('@') : false; - if (authInHost) { - result.auth = authInHost.shift(); - result.host = result.hostname = authInHost.shift(); - } - } - - mustEndAbs = mustEndAbs || (result.host && srcPath.length); - - if (mustEndAbs && !isAbsolute) { - srcPath.unshift(''); - } - - if (!srcPath.length) { - result.pathname = null; - result.path = null; - } else { - result.pathname = srcPath.join('/'); - } - - //to support request.http - if (!isNull(result.pathname) || !isNull(result.search)) { - result.path = (result.pathname ? result.pathname : '') + - (result.search ? result.search : ''); - } - result.auth = relative.auth || result.auth; - result.slashes = result.slashes || relative.slashes; - result.href = result.format(); - return result; -}; - -Url.prototype.parseHost = function() { - var host = this.host; - var port = portPattern.exec(host); - if (port) { - port = port[0]; - if (port !== ':') { - this.port = port.substr(1); - } - host = host.substr(0, host.length - port.length); - } - if (host) this.hostname = host; -}; - -function isString(arg) { - return typeof arg === "string"; -} - -function isObject(arg) { - return typeof arg === 'object' && arg !== null; -} - -function isNull(arg) { - return arg === null; -} -function isNullOrUndefined(arg) { - return arg == null; -} diff --git a/node_modules/aws-sdk/node_modules/xml2js/LICENSE b/node_modules/aws-sdk/node_modules/xml2js/LICENSE deleted file mode 100644 index e3b4222..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/xml2js/README.md b/node_modules/aws-sdk/node_modules/xml2js/README.md deleted file mode 100644 index 0dc3dfc..0000000 --- a/node_modules/aws-sdk/node_modules/xml2js/README.md +++ /dev/null @@ -1,406 +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](http://jashkenas.github.com/coffee-script/), 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! - -"Traditional" usage -------------------- - -Alternatively you can still use the traditional `addListener` variant that was -supported since forever: - -```javascript -var fs = require('fs'), - xml2js = require('xml2js'); - -var parser = new xml2js.Parser(); -parser.addListener('end', function(result) { - console.dir(result); - console.log('Done.'); -}); -fs.readFile(__dirname + '/foo.xml', function(err, data) { - parser.parseString(data); -}); -``` - -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. - * `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 -------------------------------- - - * `rootName` (default `root`): 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. - * `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/node_modules/aws-sdk/node_modules/xml2js/lib/bom.js b/node_modules/aws-sdk/node_modules/xml2js/lib/bom.js deleted file mode 100644 index 0f6be31..0000000 --- a/node_modules/aws-sdk/node_modules/xml2js/lib/bom.js +++ /dev/null @@ -1,16 +0,0 @@ -// Generated by CoffeeScript 1.10.0 -(function() { - "use strict"; - var xml2js; - - xml2js = require('../lib/xml2js'); - - exports.stripBOM = function(str) { - if (str[0] === '\uFEFF') { - return str.substring(1); - } else { - return str; - } - }; - -}).call(this); diff --git a/node_modules/aws-sdk/node_modules/xml2js/lib/processors.js b/node_modules/aws-sdk/node_modules/xml2js/lib/processors.js deleted file mode 100644 index 31ccde2..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/xml2js/lib/xml2js.js b/node_modules/aws-sdk/node_modules/xml2js/lib/xml2js.js deleted file mode 100644 index f9b403b..0000000 --- a/node_modules/aws-sdk/node_modules/xml2js/lib/xml2js.js +++ /dev/null @@ -1,537 +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, - 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, - 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 - }); - 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 && text.replace(/\\n/g, '').trim() !== '') { - s[_this.options.childkey] = s[_this.options.childkey] || []; - charChild = { - '#name': '__text__' - }; - charChild[charkey] = text; - 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/node_modules/aws-sdk/node_modules/xml2js/package.json b/node_modules/aws-sdk/node_modules/xml2js/package.json deleted file mode 100644 index 2d013d9..0000000 --- a/node_modules/aws-sdk/node_modules/xml2js/package.json +++ /dev/null @@ -1,258 +0,0 @@ -{ - "name": "xml2js", - "description": "Simple XML to JavaScript object converter.", - "keywords": [ - "xml", - "json" - ], - "homepage": "https://github.com/Leonidas-from-XIV/node-xml2js", - "version": "0.4.15", - "author": { - "name": "Marek Kubica", - "email": "marek@xivilization.net", - "url": "https://xivilization.net" - }, - "contributors": [ - { - "name": "maqr", - "email": "maqr.lollerskates@gmail.com", - "url": "https://github.com/maqr" - }, - { - "name": "Ben Weaver", - "url": "http://benweaver.com/" - }, - { - "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": "Camille Reynders", - "email": "info@creynders.be", - "url": "http://www.creynders.be/" - }, - { - "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": ">=2.4.6" - }, - "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" - }, - "license": "MIT", - "bugs": { - "url": "https://github.com/Leonidas-from-XIV/node-xml2js/issues" - }, - "_id": "xml2js@0.4.15", - "_shasum": "95cd03ff2dd144ec28bc6273bf2b2890c581ad0c", - "_resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.15.tgz", - "_from": "xml2js@0.4.15", - "_npmVersion": "2.13.3", - "_nodeVersion": "3.3.0", - "_npmUser": { - "name": "leonidas", - "email": "marek@xivilization.net" - }, - "maintainers": [ - { - "name": "leonidas", - "email": "marek@xivilization.net" - } - ], - "dist": { - "shasum": "95cd03ff2dd144ec28bc6273bf2b2890c581ad0c", - "tarball": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.15.tgz" - }, - "readme": "ERROR: No README data found!" -} diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/.npmignore b/node_modules/aws-sdk/node_modules/xmlbuilder/.npmignore deleted file mode 100644 index 3ca4980..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/.npmignore +++ /dev/null @@ -1,4 +0,0 @@ -.travis.yml -src -test -perf diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/LICENSE b/node_modules/aws-sdk/node_modules/xmlbuilder/LICENSE deleted file mode 100644 index e7cbac9..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/xmlbuilder/README.md b/node_modules/aws-sdk/node_modules/xmlbuilder/README.md deleted file mode 100644 index dc1eec6..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/README.md +++ /dev/null @@ -1,84 +0,0 @@ -# xmlbuilder-js - -An XML builder for [node.js](http://nodejs.org/) similar to -[java-xmlbuilder](https://github.com/jmurty/java-xmlbuilder). - -[![NPM Version](http://img.shields.io/npm/v/xmlbuilder.svg?style=flat-square)](https://npmjs.com/package/xmlbuilder) -[![License](http://img.shields.io/npm/l/xmlbuilder.svg?style=flat-square)](http://opensource.org/licenses/MIT) -[![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) - -### Installation: - -``` sh -npm install xmlbuilder -``` - -### Usage: - -``` js -var builder = require('xmlbuilder'); -var xml = builder.create('root') - .ele('xmlbuilder', {'for': 'node-js'}) - .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: { - '@for': 'node-js', // attributes start with @ - repo: { - '@type': 'git', - '#text': 'git://github.com/oozcitak/xmlbuilder-js.git' // #text denotes element text - } - } - } -}); -``` - -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/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLAttribute.js b/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLAttribute.js deleted file mode 100644 index 247c9d1..0000000 --- a/node_modules/aws-sdk/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/object/create'); - - module.exports = XMLAttribute = (function() { - function XMLAttribute(parent, name, value) { - this.stringify = parent.stringify; - if (name == null) { - throw new Error("Missing attribute name of element " + parent.name); - } - if (value == null) { - throw new Error("Missing attribute value for attribute " + name + " of element " + parent.name); - } - this.name = this.stringify.attName(name); - this.value = this.stringify.attValue(value); - } - - XMLAttribute.prototype.clone = function() { - return create(XMLAttribute.prototype, this); - }; - - XMLAttribute.prototype.toString = function(options, level) { - return ' ' + this.name + '="' + this.value + '"'; - }; - - return XMLAttribute; - - })(); - -}).call(this); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLBuilder.js b/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLBuilder.js deleted file mode 100644 index 4282833..0000000 --- a/node_modules/aws-sdk/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/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLCData.js b/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLCData.js deleted file mode 100644 index 00002f1..0000000 --- a/node_modules/aws-sdk/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/object/create'); - - XMLNode = require('./XMLNode'); - - module.exports = XMLCData = (function(superClass) { - extend(XMLCData, superClass); - - function XMLCData(parent, text) { - XMLCData.__super__.constructor.call(this, parent); - if (text == null) { - throw new Error("Missing CDATA text"); - } - this.text = this.stringify.cdata(text); - } - - XMLCData.prototype.clone = function() { - return create(XMLCData.prototype, this); - }; - - XMLCData.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLCData; - - })(XMLNode); - -}).call(this); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLComment.js b/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLComment.js deleted file mode 100644 index ca23e95..0000000 --- a/node_modules/aws-sdk/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/object/create'); - - XMLNode = require('./XMLNode'); - - module.exports = XMLComment = (function(superClass) { - extend(XMLComment, superClass); - - function XMLComment(parent, text) { - XMLComment.__super__.constructor.call(this, parent); - if (text == null) { - throw new Error("Missing comment text"); - } - this.text = this.stringify.comment(text); - } - - XMLComment.prototype.clone = function() { - return create(XMLComment.prototype, this); - }; - - XMLComment.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLComment; - - })(XMLNode); - -}).call(this); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDTDAttList.js b/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDTDAttList.js deleted file mode 100644 index 76b63bd..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDTDAttList.js +++ /dev/null @@ -1,72 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLDTDAttList, create; - - create = require('lodash/object/create'); - - module.exports = XMLDTDAttList = (function() { - function XMLDTDAttList(parent, elementName, attributeName, attributeType, defaultValueType, defaultValue) { - this.stringify = parent.stringify; - if (elementName == null) { - throw new Error("Missing DTD element name"); - } - if (attributeName == null) { - throw new Error("Missing DTD attribute name"); - } - if (!attributeType) { - throw new Error("Missing DTD attribute type"); - } - if (!defaultValueType) { - throw new Error("Missing DTD attribute default"); - } - if (defaultValueType.indexOf('#') !== 0) { - defaultValueType = '#' + defaultValueType; - } - if (!defaultValueType.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/)) { - throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT"); - } - if (defaultValue && !defaultValueType.match(/^(#FIXED|#DEFAULT)$/)) { - throw new Error("Default value only applies to #FIXED or #DEFAULT"); - } - this.elementName = this.stringify.eleName(elementName); - this.attributeName = this.stringify.attName(attributeName); - this.attributeType = this.stringify.dtdAttType(attributeType); - this.defaultValue = this.stringify.dtdAttDefault(defaultValue); - this.defaultValueType = defaultValueType; - } - - XMLDTDAttList.prototype.clone = function() { - return create(XMLDTDAttList.prototype, this); - }; - - XMLDTDAttList.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDTDAttList; - - })(); - -}).call(this); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDTDElement.js b/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDTDElement.js deleted file mode 100644 index 7662593..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDTDElement.js +++ /dev/null @@ -1,52 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLDTDElement, create, isArray; - - create = require('lodash/object/create'); - - isArray = require('lodash/lang/isArray'); - - module.exports = XMLDTDElement = (function() { - function XMLDTDElement(parent, name, value) { - this.stringify = parent.stringify; - if (name == null) { - throw new Error("Missing DTD element name"); - } - if (!value) { - value = '(#PCDATA)'; - } - if (isArray(value)) { - value = '(' + value.join(',') + ')'; - } - this.name = this.stringify.eleName(name); - this.value = this.stringify.dtdElementValue(value); - } - - XMLDTDElement.prototype.clone = function() { - return create(XMLDTDElement.prototype, this); - }; - - XMLDTDElement.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDTDElement; - - })(); - -}).call(this); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDTDEntity.js b/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDTDEntity.js deleted file mode 100644 index 13481f9..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDTDEntity.js +++ /dev/null @@ -1,88 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLDTDEntity, create, isObject; - - create = require('lodash/object/create'); - - isObject = require('lodash/lang/isObject'); - - module.exports = XMLDTDEntity = (function() { - function XMLDTDEntity(parent, pe, name, value) { - this.stringify = parent.stringify; - if (name == null) { - throw new Error("Missing entity name"); - } - if (value == null) { - throw new Error("Missing entity value"); - } - this.pe = !!pe; - this.name = this.stringify.eleName(name); - if (!isObject(value)) { - this.value = this.stringify.dtdEntityValue(value); - } else { - if (!value.pubID && !value.sysID) { - throw new Error("Public and/or system identifiers are required for an external entity"); - } - if (value.pubID && !value.sysID) { - throw new Error("System identifier is required for a public external entity"); - } - if (value.pubID != null) { - this.pubID = this.stringify.dtdPubID(value.pubID); - } - if (value.sysID != null) { - this.sysID = this.stringify.dtdSysID(value.sysID); - } - if (value.nData != null) { - this.nData = this.stringify.dtdNData(value.nData); - } - if (this.pe && this.nData) { - throw new Error("Notation declaration is not allowed in a parameter entity"); - } - } - } - - XMLDTDEntity.prototype.clone = function() { - return create(XMLDTDEntity.prototype, this); - }; - - XMLDTDEntity.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDTDEntity; - - })(); - -}).call(this); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDTDNotation.js b/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDTDNotation.js deleted file mode 100644 index 928a28c..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDTDNotation.js +++ /dev/null @@ -1,60 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLDTDNotation, create; - - create = require('lodash/object/create'); - - module.exports = XMLDTDNotation = (function() { - function XMLDTDNotation(parent, name, value) { - this.stringify = parent.stringify; - if (name == null) { - throw new Error("Missing notation name"); - } - if (!value.pubID && !value.sysID) { - throw new Error("Public or system identifiers are required for an external entity"); - } - this.name = this.stringify.eleName(name); - if (value.pubID != null) { - this.pubID = this.stringify.dtdPubID(value.pubID); - } - if (value.sysID != null) { - this.sysID = this.stringify.dtdSysID(value.sysID); - } - } - - XMLDTDNotation.prototype.clone = function() { - return create(XMLDTDNotation.prototype, this); - }; - - XMLDTDNotation.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDTDNotation; - - })(); - -}).call(this); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDeclaration.js b/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDeclaration.js deleted file mode 100644 index 18d3aa9..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDeclaration.js +++ /dev/null @@ -1,73 +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/object/create'); - - isObject = require('lodash/lang/isObject'); - - XMLNode = require('./XMLNode'); - - module.exports = XMLDeclaration = (function(superClass) { - extend(XMLDeclaration, superClass); - - function XMLDeclaration(parent, version, encoding, standalone) { - var ref; - XMLDeclaration.__super__.constructor.call(this, parent); - if (isObject(version)) { - ref = version, version = ref.version, encoding = ref.encoding, standalone = ref.standalone; - } - if (!version) { - version = '1.0'; - } - if (version != null) { - this.version = this.stringify.xmlVersion(version); - } - if (encoding != null) { - this.encoding = this.stringify.xmlEncoding(encoding); - } - if (standalone != null) { - this.standalone = this.stringify.xmlStandalone(standalone); - } - } - - XMLDeclaration.prototype.clone = function() { - return create(XMLDeclaration.prototype, this); - }; - - XMLDeclaration.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDeclaration; - - })(XMLNode); - -}).call(this); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDocType.js b/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDocType.js deleted file mode 100644 index 71460ff..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLDocType.js +++ /dev/null @@ -1,192 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDocType, XMLProcessingInstruction, create, isObject; - - create = require('lodash/object/create'); - - isObject = require('lodash/lang/isObject'); - - XMLCData = require('./XMLCData'); - - XMLComment = require('./XMLComment'); - - XMLDTDAttList = require('./XMLDTDAttList'); - - XMLDTDEntity = require('./XMLDTDEntity'); - - XMLDTDElement = require('./XMLDTDElement'); - - XMLDTDNotation = require('./XMLDTDNotation'); - - XMLProcessingInstruction = require('./XMLProcessingInstruction'); - - module.exports = XMLDocType = (function() { - function XMLDocType(parent, pubID, sysID) { - var ref, ref1; - this.documentObject = parent; - this.stringify = this.documentObject.stringify; - this.children = []; - if (isObject(pubID)) { - ref = pubID, pubID = ref.pubID, sysID = ref.sysID; - } - if (sysID == null) { - ref1 = [pubID, sysID], sysID = ref1[0], pubID = ref1[1]; - } - if (pubID != null) { - this.pubID = this.stringify.dtdPubID(pubID); - } - if (sysID != null) { - this.sysID = this.stringify.dtdSysID(sysID); - } - } - - XMLDocType.prototype.clone = function() { - return create(XMLDocType.prototype, this); - }; - - XMLDocType.prototype.element = function(name, value) { - var child; - child = new XMLDTDElement(this, name, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.attList = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) { - var child; - child = new XMLDTDAttList(this, elementName, attributeName, attributeType, defaultValueType, defaultValue); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.entity = function(name, value) { - var child; - child = new XMLDTDEntity(this, false, name, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.pEntity = function(name, value) { - var child; - child = new XMLDTDEntity(this, true, name, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.notation = function(name, value) { - var child; - child = new XMLDTDNotation(this, name, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.cdata = function(value) { - var child; - child = new XMLCData(this, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.comment = function(value) { - var child; - child = new XMLComment(this, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.instruction = function(target, value) { - var child; - child = new XMLProcessingInstruction(this, target, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.root = function() { - return this.documentObject.root(); - }; - - XMLDocType.prototype.document = function() { - return this.documentObject; - }; - - XMLDocType.prototype.toString = function(options, level) { - var child, i, indent, len, newline, offset, pretty, r, ref, ref1, ref2, ref3, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ' 0) { - r += ' ['; - if (pretty) { - r += newline; - } - ref3 = this.children; - for (i = 0, len = ref3.length; i < len; i++) { - child = ref3[i]; - r += child.toString(options, level + 1); - } - r += ']'; - } - r += '>'; - if (pretty) { - r += newline; - } - return r; - }; - - XMLDocType.prototype.ele = function(name, value) { - return this.element(name, value); - }; - - XMLDocType.prototype.att = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) { - return this.attList(elementName, attributeName, attributeType, defaultValueType, defaultValue); - }; - - XMLDocType.prototype.ent = function(name, value) { - return this.entity(name, value); - }; - - XMLDocType.prototype.pent = function(name, value) { - return this.pEntity(name, value); - }; - - XMLDocType.prototype.not = function(name, value) { - return this.notation(name, value); - }; - - XMLDocType.prototype.dat = function(value) { - return this.cdata(value); - }; - - XMLDocType.prototype.com = function(value) { - return this.comment(value); - }; - - XMLDocType.prototype.ins = function(target, value) { - return this.instruction(target, value); - }; - - XMLDocType.prototype.up = function() { - return this.root(); - }; - - XMLDocType.prototype.doc = function() { - return this.document(); - }; - - return XMLDocType; - - })(); - -}).call(this); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLElement.js b/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLElement.js deleted file mode 100644 index e03e1c2..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLElement.js +++ /dev/null @@ -1,214 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLAttribute, XMLElement, XMLNode, XMLProcessingInstruction, create, every, isArray, isFunction, isObject, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - create = require('lodash/object/create'); - - isObject = require('lodash/lang/isObject'); - - isArray = require('lodash/lang/isArray'); - - isFunction = require('lodash/lang/isFunction'); - - every = require('lodash/collection/every'); - - XMLNode = require('./XMLNode'); - - XMLAttribute = require('./XMLAttribute'); - - XMLProcessingInstruction = require('./XMLProcessingInstruction'); - - module.exports = XMLElement = (function(superClass) { - extend(XMLElement, superClass); - - function XMLElement(parent, name, attributes) { - XMLElement.__super__.constructor.call(this, parent); - if (name == null) { - throw new Error("Missing element name"); - } - this.name = this.stringify.eleName(name); - this.children = []; - this.instructions = []; - this.attributes = {}; - if (attributes != null) { - this.attribute(attributes); - } - } - - XMLElement.prototype.clone = function() { - var att, attName, clonedSelf, i, len, pi, ref, ref1; - clonedSelf = create(XMLElement.prototype, this); - if (clonedSelf.isRoot) { - clonedSelf.documentObject = null; - } - clonedSelf.attributes = {}; - ref = this.attributes; - for (attName in ref) { - if (!hasProp.call(ref, attName)) continue; - att = ref[attName]; - clonedSelf.attributes[attName] = att.clone(); - } - clonedSelf.instructions = []; - ref1 = this.instructions; - for (i = 0, len = ref1.length; i < len; i++) { - pi = ref1[i]; - clonedSelf.instructions.push(pi.clone()); - } - clonedSelf.children = []; - this.children.forEach(function(child) { - var clonedChild; - clonedChild = child.clone(); - clonedChild.parent = clonedSelf; - return clonedSelf.children.push(clonedChild); - }); - return clonedSelf; - }; - - XMLElement.prototype.attribute = function(name, value) { - var attName, attValue; - if (name != null) { - name = name.valueOf(); - } - if (isObject(name)) { - for (attName in name) { - if (!hasProp.call(name, attName)) continue; - attValue = name[attName]; - this.attribute(attName, attValue); - } - } else { - if (isFunction(value)) { - value = value.apply(); - } - if (!this.options.skipNullAttributes || (value != null)) { - this.attributes[name] = new XMLAttribute(this, name, value); - } - } - return this; - }; - - XMLElement.prototype.removeAttribute = function(name) { - var attName, i, len; - if (name == null) { - throw new Error("Missing attribute name"); - } - name = name.valueOf(); - if (isArray(name)) { - for (i = 0, len = name.length; i < len; i++) { - attName = name[i]; - delete this.attributes[attName]; - } - } else { - delete this.attributes[name]; - } - return this; - }; - - XMLElement.prototype.instruction = function(target, value) { - var i, insTarget, insValue, instruction, len; - if (target != null) { - target = target.valueOf(); - } - if (value != null) { - value = value.valueOf(); - } - if (isArray(target)) { - for (i = 0, len = target.length; i < len; i++) { - insTarget = target[i]; - this.instruction(insTarget); - } - } else if (isObject(target)) { - for (insTarget in target) { - if (!hasProp.call(target, insTarget)) continue; - insValue = target[insTarget]; - this.instruction(insTarget, insValue); - } - } else { - if (isFunction(value)) { - value = value.apply(); - } - instruction = new XMLProcessingInstruction(this, target, value); - this.instructions.push(instruction); - } - return this; - }; - - XMLElement.prototype.toString = function(options, level) { - var att, child, i, indent, instruction, j, len, len1, name, newline, offset, pretty, r, ref, ref1, ref2, ref3, ref4, ref5, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - ref3 = this.instructions; - for (i = 0, len = ref3.length; i < len; i++) { - instruction = ref3[i]; - r += instruction.toString(options, level + 1); - } - if (pretty) { - r += space; - } - r += '<' + this.name; - ref4 = this.attributes; - for (name in ref4) { - if (!hasProp.call(ref4, name)) continue; - att = ref4[name]; - r += att.toString(options); - } - if (this.children.length === 0 || every(this.children, function(e) { - return e.value === ''; - })) { - r += '/>'; - if (pretty) { - r += newline; - } - } else if (pretty && this.children.length === 1 && (this.children[0].value != null)) { - r += '>'; - r += this.children[0].value; - r += ''; - 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/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLNode.js b/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLNode.js deleted file mode 100644 index ed0a5bb..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLNode.js +++ /dev/null @@ -1,334 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLCData, XMLComment, XMLDeclaration, XMLDocType, XMLElement, XMLNode, XMLRaw, XMLText, isArray, isEmpty, isFunction, isObject, - hasProp = {}.hasOwnProperty; - - isObject = require('lodash/lang/isObject'); - - isArray = require('lodash/lang/isArray'); - - isFunction = require('lodash/lang/isFunction'); - - isEmpty = require('lodash/lang/isEmpty'); - - XMLElement = null; - - XMLCData = null; - - XMLComment = null; - - XMLDeclaration = null; - - XMLDocType = null; - - XMLRaw = null; - - XMLText = null; - - module.exports = XMLNode = (function() { - function XMLNode(parent) { - this.parent = parent; - this.options = this.parent.options; - this.stringify = this.parent.stringify; - if (XMLElement === null) { - XMLElement = require('./XMLElement'); - XMLCData = require('./XMLCData'); - XMLComment = require('./XMLComment'); - XMLDeclaration = require('./XMLDeclaration'); - XMLDocType = require('./XMLDocType'); - XMLRaw = require('./XMLRaw'); - XMLText = require('./XMLText'); - } - } - - XMLNode.prototype.clone = function() { - throw new Error("Cannot clone generic XMLNode"); - }; - - XMLNode.prototype.element = function(name, attributes, text) { - var item, j, key, lastChild, len, ref, val; - lastChild = null; - if (attributes == null) { - attributes = {}; - } - attributes = attributes.valueOf(); - if (!isObject(attributes)) { - ref = [attributes, text], text = ref[0], attributes = ref[1]; - } - if (name != null) { - name = name.valueOf(); - } - if (isArray(name)) { - for (j = 0, len = name.length; j < len; j++) { - item = name[j]; - lastChild = this.element(item); - } - } else if (isFunction(name)) { - lastChild = this.element(name.apply()); - } else if (isObject(name)) { - for (key in name) { - if (!hasProp.call(name, key)) continue; - val = name[key]; - if (isFunction(val)) { - val = val.apply(); - } - if ((isObject(val)) && (isEmpty(val))) { - val = null; - } - if (!this.options.ignoreDecorators && this.stringify.convertAttKey && key.indexOf(this.stringify.convertAttKey) === 0) { - lastChild = this.attribute(key.substr(this.stringify.convertAttKey.length), val); - } else if (!this.options.ignoreDecorators && this.stringify.convertPIKey && key.indexOf(this.stringify.convertPIKey) === 0) { - lastChild = this.instruction(key.substr(this.stringify.convertPIKey.length), val); - } else if (isObject(val)) { - if (!this.options.ignoreDecorators && this.stringify.convertListKey && key.indexOf(this.stringify.convertListKey) === 0 && isArray(val)) { - lastChild = this.element(val); - } else { - lastChild = this.element(key); - lastChild.element(val); - } - } else { - lastChild = this.element(key, val); - } - } - } else { - if (!this.options.ignoreDecorators && this.stringify.convertTextKey && name.indexOf(this.stringify.convertTextKey) === 0) { - lastChild = this.text(text); - } else if (!this.options.ignoreDecorators && this.stringify.convertCDataKey && name.indexOf(this.stringify.convertCDataKey) === 0) { - lastChild = this.cdata(text); - } else if (!this.options.ignoreDecorators && this.stringify.convertCommentKey && name.indexOf(this.stringify.convertCommentKey) === 0) { - lastChild = this.comment(text); - } else if (!this.options.ignoreDecorators && this.stringify.convertRawKey && name.indexOf(this.stringify.convertRawKey) === 0) { - lastChild = this.raw(text); - } else { - lastChild = this.node(name, attributes, text); - } - } - if (lastChild == null) { - throw new Error("Could not create any elements with: " + name); - } - return lastChild; - }; - - XMLNode.prototype.insertBefore = function(name, attributes, text) { - var child, i, removed; - if (this.isRoot) { - throw new Error("Cannot insert elements at root level"); - } - i = this.parent.children.indexOf(this); - removed = this.parent.children.splice(i); - child = this.parent.element(name, attributes, text); - Array.prototype.push.apply(this.parent.children, removed); - return child; - }; - - XMLNode.prototype.insertAfter = function(name, attributes, text) { - var child, i, removed; - if (this.isRoot) { - throw new Error("Cannot insert elements at root level"); - } - i = this.parent.children.indexOf(this); - removed = this.parent.children.splice(i + 1); - child = this.parent.element(name, attributes, text); - Array.prototype.push.apply(this.parent.children, removed); - return child; - }; - - XMLNode.prototype.remove = function() { - var i, ref; - if (this.isRoot) { - throw new Error("Cannot remove the root element"); - } - i = this.parent.children.indexOf(this); - [].splice.apply(this.parent.children, [i, i - i + 1].concat(ref = [])), ref; - return this.parent; - }; - - XMLNode.prototype.node = function(name, attributes, text) { - var child, ref; - if (name != null) { - name = name.valueOf(); - } - if (attributes == null) { - attributes = {}; - } - attributes = attributes.valueOf(); - if (!isObject(attributes)) { - ref = [attributes, text], text = ref[0], attributes = ref[1]; - } - child = new XMLElement(this, name, attributes); - if (text != null) { - child.text(text); - } - this.children.push(child); - return child; - }; - - XMLNode.prototype.text = function(value) { - var child; - child = new XMLText(this, value); - this.children.push(child); - return this; - }; - - XMLNode.prototype.cdata = function(value) { - var child; - child = new XMLCData(this, value); - this.children.push(child); - return this; - }; - - XMLNode.prototype.comment = function(value) { - var child; - child = new XMLComment(this, value); - this.children.push(child); - return this; - }; - - XMLNode.prototype.raw = function(value) { - var child; - child = new XMLRaw(this, value); - this.children.push(child); - return this; - }; - - XMLNode.prototype.declaration = function(version, encoding, standalone) { - var doc, xmldec; - doc = this.document(); - xmldec = new XMLDeclaration(doc, version, encoding, standalone); - doc.xmldec = xmldec; - return doc.root(); - }; - - XMLNode.prototype.doctype = function(pubID, sysID) { - var doc, doctype; - doc = this.document(); - doctype = new XMLDocType(doc, pubID, sysID); - doc.doctype = doctype; - return doctype; - }; - - XMLNode.prototype.up = function() { - if (this.isRoot) { - throw new Error("The root node has no parent. Use doc() if you need to get the document object."); - } - return this.parent; - }; - - XMLNode.prototype.root = function() { - var child; - if (this.isRoot) { - return this; - } - child = this.parent; - while (!child.isRoot) { - child = child.parent; - } - return child; - }; - - XMLNode.prototype.document = function() { - return this.root().documentObject; - }; - - XMLNode.prototype.end = function(options) { - return this.document().toString(options); - }; - - XMLNode.prototype.prev = function() { - var i; - if (this.isRoot) { - throw new Error("Root node has no siblings"); - } - i = this.parent.children.indexOf(this); - if (i < 1) { - throw new Error("Already at the first node"); - } - return this.parent.children[i - 1]; - }; - - XMLNode.prototype.next = function() { - var i; - if (this.isRoot) { - throw new Error("Root node has no siblings"); - } - i = this.parent.children.indexOf(this); - if (i === -1 || i === this.parent.children.length - 1) { - throw new Error("Already at the last node"); - } - return this.parent.children[i + 1]; - }; - - XMLNode.prototype.importXMLBuilder = function(xmlbuilder) { - var clonedRoot; - clonedRoot = xmlbuilder.root().clone(); - clonedRoot.parent = this; - clonedRoot.isRoot = false; - this.children.push(clonedRoot); - return this; - }; - - XMLNode.prototype.ele = function(name, attributes, text) { - return this.element(name, attributes, text); - }; - - XMLNode.prototype.nod = function(name, attributes, text) { - return this.node(name, attributes, text); - }; - - XMLNode.prototype.txt = function(value) { - return this.text(value); - }; - - XMLNode.prototype.dat = function(value) { - return this.cdata(value); - }; - - XMLNode.prototype.com = function(value) { - return this.comment(value); - }; - - XMLNode.prototype.doc = function() { - return this.document(); - }; - - XMLNode.prototype.dec = function(version, encoding, standalone) { - return this.declaration(version, encoding, standalone); - }; - - XMLNode.prototype.dtd = function(pubID, sysID) { - return this.doctype(pubID, sysID); - }; - - XMLNode.prototype.e = function(name, attributes, text) { - return this.element(name, attributes, text); - }; - - XMLNode.prototype.n = function(name, attributes, text) { - return this.node(name, attributes, text); - }; - - XMLNode.prototype.t = function(value) { - return this.text(value); - }; - - XMLNode.prototype.d = function(value) { - return this.cdata(value); - }; - - XMLNode.prototype.c = function(value) { - return this.comment(value); - }; - - XMLNode.prototype.r = function(value) { - return this.raw(value); - }; - - XMLNode.prototype.u = function() { - return this.up(); - }; - - return XMLNode; - - })(); - -}).call(this); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js b/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js deleted file mode 100644 index f5d8c6c..0000000 --- a/node_modules/aws-sdk/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/object/create'); - - module.exports = XMLProcessingInstruction = (function() { - function XMLProcessingInstruction(parent, target, value) { - this.stringify = parent.stringify; - if (target == null) { - throw new Error("Missing instruction target"); - } - this.target = this.stringify.insTarget(target); - if (value) { - this.value = this.stringify.insValue(value); - } - } - - XMLProcessingInstruction.prototype.clone = function() { - return create(XMLProcessingInstruction.prototype, this); - }; - - XMLProcessingInstruction.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLProcessingInstruction; - - })(); - -}).call(this); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLRaw.js b/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLRaw.js deleted file mode 100644 index 499d0e2..0000000 --- a/node_modules/aws-sdk/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/object/create'); - - XMLNode = require('./XMLNode'); - - module.exports = XMLRaw = (function(superClass) { - extend(XMLRaw, superClass); - - function XMLRaw(parent, text) { - XMLRaw.__super__.constructor.call(this, parent); - if (text == null) { - throw new Error("Missing raw text"); - } - this.value = this.stringify.raw(text); - } - - XMLRaw.prototype.clone = function() { - return create(XMLRaw.prototype, this); - }; - - XMLRaw.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += this.value; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLRaw; - - })(XMLNode); - -}).call(this); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLStringifier.js b/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLStringifier.js deleted file mode 100644 index ea2e4ed..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/lib/XMLStringifier.js +++ /dev/null @@ -1,167 +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; - ref = (options != null ? options.stringify : void 0) || {}; - for (key in ref) { - if (!hasProp.call(ref, key)) continue; - value = ref[key]; - this[key] = value; - } - } - - XMLStringifier.prototype.eleName = function(val) { - val = '' + val || ''; - return this.assertLegalChar(val); - }; - - XMLStringifier.prototype.eleText = function(val) { - val = '' + val || ''; - return this.assertLegalChar(this.elEscape(val)); - }; - - XMLStringifier.prototype.cdata = function(val) { - val = '' + val || ''; - if (val.match(/]]>/)) { - throw new Error("Invalid CDATA text: " + val); - } - return this.assertLegalChar(val); - }; - - XMLStringifier.prototype.comment = function(val) { - val = '' + val || ''; - if (val.match(/--/)) { - throw new Error("Comment text cannot contain double-hypen: " + val); - } - return this.assertLegalChar(val); - }; - - XMLStringifier.prototype.raw = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.attName = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.attValue = function(val) { - val = '' + val || ''; - return this.attEscape(val); - }; - - XMLStringifier.prototype.insTarget = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.insValue = function(val) { - val = '' + val || ''; - if (val.match(/\?>/)) { - throw new Error("Invalid processing instruction value: " + val); - } - return val; - }; - - XMLStringifier.prototype.xmlVersion = function(val) { - val = '' + val || ''; - if (!val.match(/1\.[0-9]+/)) { - throw new Error("Invalid version number: " + val); - } - return val; - }; - - XMLStringifier.prototype.xmlEncoding = function(val) { - val = '' + val || ''; - if (!val.match(/[A-Za-z](?:[A-Za-z0-9._-]|-)*/)) { - throw new Error("Invalid encoding: " + val); - } - return val; - }; - - XMLStringifier.prototype.xmlStandalone = function(val) { - if (val) { - return "yes"; - } else { - return "no"; - } - }; - - XMLStringifier.prototype.dtdPubID = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdSysID = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdElementValue = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdAttType = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdAttDefault = function(val) { - if (val != null) { - return '' + val || ''; - } else { - return val; - } - }; - - XMLStringifier.prototype.dtdEntityValue = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdNData = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.convertAttKey = '@'; - - XMLStringifier.prototype.convertPIKey = '?'; - - XMLStringifier.prototype.convertTextKey = '#text'; - - XMLStringifier.prototype.convertCDataKey = '#cdata'; - - XMLStringifier.prototype.convertCommentKey = '#comment'; - - XMLStringifier.prototype.convertRawKey = '#raw'; - - XMLStringifier.prototype.convertListKey = '#list'; - - XMLStringifier.prototype.assertLegalChar = function(str) { - var chars, chr; - if (this.allowSurrogateChars) { - chars = /[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uFFFE-\uFFFF]/; - } else { - chars = /[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uD800-\uDFFF\uFFFE-\uFFFF]/; - } - chr = str.match(chars); - if (chr) { - throw new Error("Invalid character (" + chr + ") in string: " + str + " at index " + chr.index); - } - return str; - }; - - XMLStringifier.prototype.elEscape = function(str) { - return str.replace(/&/g, '&').replace(//g, '>').replace(/\r/g, ' '); - }; - - XMLStringifier.prototype.attEscape = function(str) { - return str.replace(/&/g, '&').replace(/ -Based on Underscore.js, copyright 2009-2015 Jeremy Ashkenas, -DocumentCloud and Investigative Reporters & Editors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/README.md b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/README.md deleted file mode 100644 index b44492c..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/README.md +++ /dev/null @@ -1,116 +0,0 @@ -# lodash v3.5.0 - -The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash](https://lodash.com/) exported as [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) modules. - -Generated using [lodash-cli](https://www.npmjs.com/package/lodash-cli): -```bash -$ lodash modularize modern exports=node -o ./ -$ lodash modern -d -o ./index.js -``` - -## Installation - -Using npm: - -```bash -$ {sudo -H} npm i -g npm -$ npm i --save lodash -``` - -In Node.js/io.js: - -```js -// load the modern build -var _ = require('lodash'); -// or a method category -var array = require('lodash/array'); -// or a method (great for smaller builds with browserify/webpack) -var chunk = require('lodash/array/chunk'); -``` - -See the [package source](https://github.com/lodash/lodash/tree/3.5.0-npm) for more details. - -**Note:**
-Don’t assign values to the [special variable](http://nodejs.org/api/repl.html#repl_repl_features) `_` when in the REPL.
-Install [n_](https://www.npmjs.com/package/n_) for a REPL that includes lodash by default. - -## Module formats - -lodash is also available in a variety of other builds & module formats. - - * npm packages for [modern](https://www.npmjs.com/package/lodash), [compatibility](https://www.npmjs.com/package/lodash-compat), & [per method](https://www.npmjs.com/browse/keyword/lodash-modularized) builds - * AMD modules for [modern](https://github.com/lodash/lodash/tree/3.5.0-amd) & [compatibility](https://github.com/lodash/lodash-compat/tree/3.5.0-amd) builds - * ES modules for the [modern](https://github.com/lodash/lodash/tree/3.5.0-es) build - -## Further Reading - - * [API Documentation](https://lodash.com/docs) - * [Build Differences](https://github.com/lodash/lodash/wiki/Build-Differences) - * [Changelog](https://github.com/lodash/lodash/wiki/Changelog) - * [Release Notes](https://github.com/lodash/lodash/releases) - * [Roadmap](https://github.com/lodash/lodash/wiki/Roadmap) - * [More Resources](https://github.com/lodash/lodash/wiki/Resources) - -## Features *not* in Underscore - - * ~100% [code coverage](https://coveralls.io/r/lodash) - * Follows [semantic versioning](http://semver.org/) for releases - * [Lazily evaluated](http://filimanjaro.com/blog/2014/introducing-lazy-evaluation/) chaining - * [_(…)](https://lodash.com/docs#_) supports intuitive chaining - * [_.add](https://lodash.com/docs#add) for mathematical composition - * [_.ary](https://lodash.com/docs#ary) & [_.rearg](https://lodash.com/docs#rearg) to change function argument limits & order - * [_.at](https://lodash.com/docs#at) for cherry-picking collection values - * [_.attempt](https://lodash.com/docs#attempt) to execute functions which may error without a try-catch - * [_.before](https://lodash.com/docs#before) to complement [_.after](https://lodash.com/docs#after) - * [_.bindKey](https://lodash.com/docs#bindKey) for binding [*“lazyâ€*](http://michaux.ca/articles/lazy-function-definition-pattern) defined methods - * [_.chunk](https://lodash.com/docs#chunk) for splitting an array into chunks of a given size - * [_.clone](https://lodash.com/docs#clone) supports shallow cloning of `Date` & `RegExp` objects - * [_.cloneDeep](https://lodash.com/docs#cloneDeep) for deep cloning arrays & objects - * [_.create](https://lodash.com/docs#create) for easier object inheritance - * [_.curry](https://lodash.com/docs#curry) & [_.curryRight](https://lodash.com/docs#curryRight) for creating [curried](http://hughfdjackson.com/javascript/why-curry-helps/) functions - * [_.debounce](https://lodash.com/docs#debounce) & [_.throttle](https://lodash.com/docs#throttle) are cancelable & accept options for more control - * [_.fill](https://lodash.com/docs#fill) to fill arrays with values - * [_.findKey](https://lodash.com/docs#findKey) for finding keys - * [_.flow](https://lodash.com/docs#flow) to complement [_.flowRight](https://lodash.com/docs#flowRight) (a.k.a `_.compose`) - * [_.forEach](https://lodash.com/docs#forEach) supports exiting early - * [_.forIn](https://lodash.com/docs#forIn) for iterating all enumerable properties - * [_.forOwn](https://lodash.com/docs#forOwn) for iterating own properties - * [_.inRange](https://lodash.com/docs#inRange) for checking whether a number is within a given range - * [_.isNative](https://lodash.com/docs#isNative) to check for native functions - * [_.isPlainObject](https://lodash.com/docs#isPlainObject) & [_.toPlainObject](https://lodash.com/docs#toPlainObject) to check for & convert to `Object` objects - * [_.isTypedArray](https://lodash.com/docs#isTypedArray) to check for typed arrays - * [_.matches](https://lodash.com/docs#matches) supports deep object comparisons - * [_.matchesProperty](https://lodash.com/docs#matchesProperty) to complement [_.matches](https://lodash.com/docs#matches) & [_.property](https://lodash.com/docs#property) - * [_.merge](https://lodash.com/docs#merge) for a deep [_.extend](https://lodash.com/docs#extend) - * [_.parseInt](https://lodash.com/docs#parseInt) for consistent cross-environment behavior - * [_.pull](https://lodash.com/docs#pull), [_.pullAt](https://lodash.com/docs#pullAt), & [_.remove](https://lodash.com/docs#remove) for mutating arrays - * [_.random](https://lodash.com/docs#random) supports returning floating-point numbers - * [_.runInContext](https://lodash.com/docs#runInContext) for collisionless mixins & easier mocking - * [_.slice](https://lodash.com/docs#slice) for creating subsets of array-like values - * [_.sortByAll](https://lodash.com/docs#sortByAll) & [_.sortByOrder](https://lodash.com/docs#sortByOrder) for sorting by multiple properties & orders - * [_.spread](https://lodash.com/docs#spread) for creating a function to spread an array of arguments to another - * [_.sum](https://lodash.com/docs#sum) to get the sum of values - * [_.support](https://lodash.com/docs#support) for flagging environment features - * [_.template](https://lodash.com/docs#template) supports [*“importsâ€*](https://lodash.com/docs#templateSettings-imports) options & [ES template delimiters](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-template-literal-lexical-components) - * [_.transform](https://lodash.com/docs#transform) as a powerful alternative to [_.reduce](https://lodash.com/docs#reduce) for transforming objects - * [_.xor](https://lodash.com/docs#xor) to complement [_.difference](https://lodash.com/docs#difference), [_.intersection](https://lodash.com/docs#intersection), & [_.union](https://lodash.com/docs#union) - * [_.valuesIn](https://lodash.com/docs#valuesIn) for getting values of all enumerable properties - * [_.bind](https://lodash.com/docs#bind), [_.curry](https://lodash.com/docs#curry), [_.partial](https://lodash.com/docs#partial), & - [more](https://lodash.com/docs "_.bindKey, _.curryRight, _.partialRight") support customizable argument placeholders - * [_.capitalize](https://lodash.com/docs#capitalize), [_.trim](https://lodash.com/docs#trim), & - [more](https://lodash.com/docs "_.camelCase, _.deburr, _.endsWith, _.escapeRegExp, _.kebabCase, _.pad, _.padLeft, _.padRight, _.repeat, _.snakeCase, _.startCase, _.startsWith, _.trimLeft, _.trimRight, _.trunc, _.words") string methods - * [_.clone](https://lodash.com/docs#clone), [_.isEqual](https://lodash.com/docs#isEqual), & - [more](https://lodash.com/docs "_.assign, _.cloneDeep, _.merge") accept callbacks - * [_.dropWhile](https://lodash.com/docs#dropWhile), [_.takeWhile](https://lodash.com/docs#takeWhile), & - [more](https://lodash.com/docs "_.drop, _.dropRightWhile, _.take, _.takeRightWhile") to complement [_.first](https://lodash.com/docs#first), [_.initial](https://lodash.com/docs#initial), [_.last](https://lodash.com/docs#last), & [_.rest](https://lodash.com/docs#rest) - * [_.findLast](https://lodash.com/docs#findLast), [_.findLastKey](https://lodash.com/docs#findLastKey), & - [more](https://lodash.com/docs "_.flowRight, _.forEachRight, _.forInRight, _.forOwnRight, _.partialRight") right-associative methods - * [_.includes](https://lodash.com/docs#includes), [_.toArray](https://lodash.com/docs#toArray), & - [more](https://lodash.com/docs "_.at, _.countBy, _.every, _.filter, _.find, _.findLast, _.forEach, _.forEachRight, _.groupBy, _.indexBy, _.invoke, _.map, _.max, _.min, _.partition, _.pluck, _.reduce, _.reduceRight, _.reject, _.shuffle, _.size, _.some, _.sortBy") accept strings - * [_#commit](https://lodash.com/docs#prototype-commit) & [_#plant](https://lodash.com/docs#prototype-plant) for working with chain sequences - * [_#thru](https://lodash.com/docs#thru) to pass values thru a chain sequence - -## Support - -Tested in Chrome 40-41, Firefox 35-36, IE 6-11, Opera 26-27, Safari 5-8, io.js 1.5.0, Node.js 0.8.28, 0.10.36, & 0.12.0, PhantomJS 1.9.8, RingoJS 0.11, & Rhino 1.7RC5. -Automated [browser](https://saucelabs.com/u/lodash) & [CI](https://travis-ci.org/lodash/lodash/) test runs are available. Special thanks to [Sauce Labs](https://saucelabs.com/) for providing automated browser testing. diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array.js deleted file mode 100644 index 6ef12c7..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array.js +++ /dev/null @@ -1,42 +0,0 @@ -module.exports = { - 'chunk': require('./array/chunk'), - 'compact': require('./array/compact'), - 'difference': require('./array/difference'), - 'drop': require('./array/drop'), - 'dropRight': require('./array/dropRight'), - 'dropRightWhile': require('./array/dropRightWhile'), - 'dropWhile': require('./array/dropWhile'), - 'fill': require('./array/fill'), - 'findIndex': require('./array/findIndex'), - 'findLastIndex': require('./array/findLastIndex'), - 'first': require('./array/first'), - 'flatten': require('./array/flatten'), - 'flattenDeep': require('./array/flattenDeep'), - 'head': require('./array/head'), - 'indexOf': require('./array/indexOf'), - 'initial': require('./array/initial'), - 'intersection': require('./array/intersection'), - 'last': require('./array/last'), - 'lastIndexOf': require('./array/lastIndexOf'), - 'object': require('./array/object'), - 'pull': require('./array/pull'), - 'pullAt': require('./array/pullAt'), - 'remove': require('./array/remove'), - 'rest': require('./array/rest'), - 'slice': require('./array/slice'), - 'sortedIndex': require('./array/sortedIndex'), - 'sortedLastIndex': require('./array/sortedLastIndex'), - 'tail': require('./array/tail'), - 'take': require('./array/take'), - 'takeRight': require('./array/takeRight'), - 'takeRightWhile': require('./array/takeRightWhile'), - 'takeWhile': require('./array/takeWhile'), - 'union': require('./array/union'), - 'uniq': require('./array/uniq'), - 'unique': require('./array/unique'), - 'unzip': require('./array/unzip'), - 'without': require('./array/without'), - 'xor': require('./array/xor'), - 'zip': require('./array/zip'), - 'zipObject': require('./array/zipObject') -}; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/chunk.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/chunk.js deleted file mode 100644 index 4de9b39..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/chunk.js +++ /dev/null @@ -1,47 +0,0 @@ -var baseSlice = require('../internal/baseSlice'), - isIterateeCall = require('../internal/isIterateeCall'); - -/** Native method references. */ -var ceil = Math.ceil; - -/* Native method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max; - -/** - * Creates an array of elements split into groups the length of `size`. - * If `collection` can't be split evenly, the final chunk will be the remaining - * elements. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to process. - * @param {number} [size=1] The length of each chunk. - * @param- {Object} [guard] Enables use as a callback for functions like `_.map`. - * @returns {Array} Returns the new array containing 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 == null) { - size = 1; - } else { - size = nativeMax(+size || 1, 1); - } - var index = 0, - length = array ? array.length : 0, - resIndex = -1, - result = Array(ceil(length / size)); - - while (index < length) { - result[++resIndex] = baseSlice(array, index, (index += size)); - } - return result; -} - -module.exports = chunk; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/compact.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/compact.js deleted file mode 100644 index 1dc1c55..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/compact.js +++ /dev/null @@ -1,30 +0,0 @@ -/** - * Creates an array with all falsey values removed. The values `false`, `null`, - * `0`, `""`, `undefined`, and `NaN` are falsey. - * - * @static - * @memberOf _ - * @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 ? array.length : 0, - resIndex = -1, - result = []; - - while (++index < length) { - var value = array[index]; - if (value) { - result[++resIndex] = value; - } - } - return result; -} - -module.exports = compact; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/difference.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/difference.js deleted file mode 100644 index d05774e..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/difference.js +++ /dev/null @@ -1,40 +0,0 @@ -var baseDifference = require('../internal/baseDifference'), - baseFlatten = require('../internal/baseFlatten'), - isArguments = require('../lang/isArguments'), - isArray = require('../lang/isArray'); - -/** - * Creates an array excluding all values of the provided arrays using - * `SameValueZero` for equality comparisons. - * - * **Note:** `SameValueZero` comparisons are like strict equality comparisons, - * e.g. `===`, except that `NaN` matches `NaN`. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero) - * for more details. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to inspect. - * @param {...Array} [values] The arrays of values to exclude. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * _.difference([1, 2, 3], [4, 2]); - * // => [1, 3] - */ -function difference() { - var args = arguments, - index = -1, - length = args.length; - - while (++index < length) { - var value = args[index]; - if (isArray(value) || isArguments(value)) { - break; - } - } - return baseDifference(value, baseFlatten(args, false, true, ++index)); -} - -module.exports = difference; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/drop.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/drop.js deleted file mode 100644 index 039a0b5..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/drop.js +++ /dev/null @@ -1,39 +0,0 @@ -var baseSlice = require('../internal/baseSlice'), - isIterateeCall = require('../internal/isIterateeCall'); - -/** - * Creates a slice of `array` with `n` elements dropped from the beginning. - * - * @static - * @memberOf _ - * @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 a callback for functions 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 ? array.length : 0; - if (!length) { - return []; - } - if (guard ? isIterateeCall(array, n, guard) : n == null) { - n = 1; - } - return baseSlice(array, n < 0 ? 0 : n); -} - -module.exports = drop; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/dropRight.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/dropRight.js deleted file mode 100644 index 14b5eb6..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/dropRight.js +++ /dev/null @@ -1,40 +0,0 @@ -var baseSlice = require('../internal/baseSlice'), - isIterateeCall = require('../internal/isIterateeCall'); - -/** - * Creates a slice of `array` with `n` elements dropped from the end. - * - * @static - * @memberOf _ - * @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 a callback for functions 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 ? array.length : 0; - if (!length) { - return []; - } - if (guard ? isIterateeCall(array, n, guard) : n == null) { - n = 1; - } - n = length - (+n || 0); - return baseSlice(array, 0, n < 0 ? 0 : n); -} - -module.exports = dropRight; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/dropRightWhile.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/dropRightWhile.js deleted file mode 100644 index 8135410..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/dropRightWhile.js +++ /dev/null @@ -1,63 +0,0 @@ -var baseCallback = require('../internal/baseCallback'), - baseSlice = require('../internal/baseSlice'); - -/** - * Creates a slice of `array` excluding elements dropped from the end. - * Elements are dropped until `predicate` returns falsey. The predicate is - * bound to `thisArg` and invoked with three arguments; (value, index, array). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that match the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to query. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.dropRightWhile([1, 2, 3], function(n) { - * return n > 1; - * }); - * // => [1] - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': false } - * ]; - * - * // using the `_.matches` callback shorthand - * _.pluck(_.dropRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user'); - * // => ['barney', 'fred'] - * - * // using the `_.matchesProperty` callback shorthand - * _.pluck(_.dropRightWhile(users, 'active', false), 'user'); - * // => ['barney'] - * - * // using the `_.property` callback shorthand - * _.pluck(_.dropRightWhile(users, 'active'), 'user'); - * // => ['barney', 'fred', 'pebbles'] - */ -function dropRightWhile(array, predicate, thisArg) { - var length = array ? array.length : 0; - if (!length) { - return []; - } - predicate = baseCallback(predicate, thisArg, 3); - while (length-- && predicate(array[length], length, array)) {} - return baseSlice(array, 0, length + 1); -} - -module.exports = dropRightWhile; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/dropWhile.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/dropWhile.js deleted file mode 100644 index 2c88099..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/dropWhile.js +++ /dev/null @@ -1,64 +0,0 @@ -var baseCallback = require('../internal/baseCallback'), - baseSlice = require('../internal/baseSlice'); - -/** - * Creates a slice of `array` excluding elements dropped from the beginning. - * Elements are dropped until `predicate` returns falsey. The predicate is - * bound to `thisArg` and invoked with three arguments; (value, index, array). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to query. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.dropWhile([1, 2, 3], function(n) { - * return n < 3; - * }); - * // => [3] - * - * var users = [ - * { 'user': 'barney', 'active': false }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': true } - * ]; - * - * // using the `_.matches` callback shorthand - * _.pluck(_.dropWhile(users, { 'user': 'barney', 'active': false }), 'user'); - * // => ['fred', 'pebbles'] - * - * // using the `_.matchesProperty` callback shorthand - * _.pluck(_.dropWhile(users, 'active', false), 'user'); - * // => ['pebbles'] - * - * // using the `_.property` callback shorthand - * _.pluck(_.dropWhile(users, 'active'), 'user'); - * // => ['barney', 'fred', 'pebbles'] - */ -function dropWhile(array, predicate, thisArg) { - var length = array ? array.length : 0; - if (!length) { - return []; - } - var index = -1; - predicate = baseCallback(predicate, thisArg, 3); - while (++index < length && predicate(array[index], index, array)) {} - return baseSlice(array, index); -} - -module.exports = dropWhile; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/fill.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/fill.js deleted file mode 100644 index 44811d3..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/fill.js +++ /dev/null @@ -1,31 +0,0 @@ -var baseFill = require('../internal/baseFill'), - isIterateeCall = require('../internal/isIterateeCall'); - -/** - * Fills elements of `array` with `value` from `start` up to, but not - * including, `end`. - * - * **Note:** This method mutates `array`. - * - * @static - * @memberOf _ - * @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`. - */ -function fill(array, value, start, end) { - var length = array ? array.length : 0; - 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/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/findIndex.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/findIndex.js deleted file mode 100644 index 0c2ef30..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/findIndex.js +++ /dev/null @@ -1,64 +0,0 @@ -var baseCallback = require('../internal/baseCallback'); - -/** - * This method is like `_.find` except that it returns the index of the first - * element `predicate` returns truthy for, instead of the element itself. - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to search. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @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(chr) { - * return chr.user == 'barney'; - * }); - * // => 0 - * - * // using the `_.matches` callback shorthand - * _.findIndex(users, { 'user': 'fred', 'active': false }); - * // => 1 - * - * // using the `_.matchesProperty` callback shorthand - * _.findIndex(users, 'active', false); - * // => 0 - * - * // using the `_.property` callback shorthand - * _.findIndex(users, 'active'); - * // => 2 - */ -function findIndex(array, predicate, thisArg) { - var index = -1, - length = array ? array.length : 0; - - predicate = baseCallback(predicate, thisArg, 3); - while (++index < length) { - if (predicate(array[index], index, array)) { - return index; - } - } - return -1; -} - -module.exports = findIndex; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/findLastIndex.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/findLastIndex.js deleted file mode 100644 index 7fdcc4a..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/findLastIndex.js +++ /dev/null @@ -1,62 +0,0 @@ -var baseCallback = require('../internal/baseCallback'); - -/** - * This method is like `_.findIndex` except that it iterates over elements - * of `collection` from right to left. - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to search. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @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(chr) { - * return chr.user == 'pebbles'; - * }); - * // => 2 - * - * // using the `_.matches` callback shorthand - * _.findLastIndex(users, { 'user': 'barney', 'active': true }); - * // => 0 - * - * // using the `_.matchesProperty` callback shorthand - * _.findLastIndex(users, 'active', false); - * // => 2 - * - * // using the `_.property` callback shorthand - * _.findLastIndex(users, 'active'); - * // => 0 - */ -function findLastIndex(array, predicate, thisArg) { - var length = array ? array.length : 0; - predicate = baseCallback(predicate, thisArg, 3); - while (length--) { - if (predicate(array[length], length, array)) { - return length; - } - } - return -1; -} - -module.exports = findLastIndex; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/first.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/first.js deleted file mode 100644 index b3b9c79..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/first.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Gets the first element of `array`. - * - * @static - * @memberOf _ - * @alias head - * @category Array - * @param {Array} array The array to query. - * @returns {*} Returns the first element of `array`. - * @example - * - * _.first([1, 2, 3]); - * // => 1 - * - * _.first([]); - * // => undefined - */ -function first(array) { - return array ? array[0] : undefined; -} - -module.exports = first; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/flatten.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/flatten.js deleted file mode 100644 index 4460c2d..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/flatten.js +++ /dev/null @@ -1,32 +0,0 @@ -var baseFlatten = require('../internal/baseFlatten'), - isIterateeCall = require('../internal/isIterateeCall'); - -/** - * Flattens a nested array. If `isDeep` is `true` the array is recursively - * flattened, otherwise it is only flattened a single level. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to flatten. - * @param {boolean} [isDeep] Specify a deep flatten. - * @param- {Object} [guard] Enables use as a callback for functions like `_.map`. - * @returns {Array} Returns the new flattened array. - * @example - * - * _.flatten([1, [2, 3, [4]]]); - * // => [1, 2, 3, [4]]; - * - * // using `isDeep` - * _.flatten([1, [2, 3, [4]]], true); - * // => [1, 2, 3, 4]; - */ -function flatten(array, isDeep, guard) { - var length = array ? array.length : 0; - if (guard && isIterateeCall(array, isDeep, guard)) { - isDeep = false; - } - return length ? baseFlatten(array, isDeep, false, 0) : []; -} - -module.exports = flatten; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/flattenDeep.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/flattenDeep.js deleted file mode 100644 index ae498bb..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/flattenDeep.js +++ /dev/null @@ -1,21 +0,0 @@ -var baseFlatten = require('../internal/baseFlatten'); - -/** - * Recursively flattens a nested array. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to recursively flatten. - * @returns {Array} Returns the new flattened array. - * @example - * - * _.flattenDeep([1, [2, 3, [4]]]); - * // => [1, 2, 3, 4]; - */ -function flattenDeep(array) { - var length = array ? array.length : 0; - return length ? baseFlatten(array, true, false, 0) : []; -} - -module.exports = flattenDeep; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/head.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/head.js deleted file mode 100644 index 1961b08..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/head.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./first'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/indexOf.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/indexOf.js deleted file mode 100644 index b6d2a7d..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/indexOf.js +++ /dev/null @@ -1,58 +0,0 @@ -var baseIndexOf = require('../internal/baseIndexOf'), - binaryIndex = require('../internal/binaryIndex'); - -/* Native 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` for equality comparisons. If `fromIndex` is negative, - * it is used as the offset from the end of `array`. If `array` is sorted - * providing `true` for `fromIndex` performs a faster binary search. - * - * **Note:** `SameValueZero` comparisons are like strict equality comparisons, - * e.g. `===`, except that `NaN` matches `NaN`. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero) - * for more details. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to search. - * @param {*} value The value to search for. - * @param {boolean|number} [fromIndex=0] The index to search from or `true` - * to perform a binary search on a sorted array. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.indexOf([1, 2, 1, 2], 2); - * // => 1 - * - * // using `fromIndex` - * _.indexOf([1, 2, 1, 2], 2, 2); - * // => 3 - * - * // performing a binary search - * _.indexOf([1, 1, 2, 2], 2, true); - * // => 2 - */ -function indexOf(array, value, fromIndex) { - var length = array ? array.length : 0; - if (!length) { - return -1; - } - if (typeof fromIndex == 'number') { - fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : fromIndex; - } else if (fromIndex) { - var index = binaryIndex(array, value), - other = array[index]; - - if (value === value ? (value === other) : (other !== other)) { - return index; - } - return -1; - } - return baseIndexOf(array, value, fromIndex || 0); -} - -module.exports = indexOf; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/initial.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/initial.js deleted file mode 100644 index 59b7a7d..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/initial.js +++ /dev/null @@ -1,20 +0,0 @@ -var dropRight = require('./dropRight'); - -/** - * Gets all but the last element of `array`. - * - * @static - * @memberOf _ - * @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) { - return dropRight(array, 1); -} - -module.exports = initial; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/intersection.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/intersection.js deleted file mode 100644 index bc7c803..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/intersection.js +++ /dev/null @@ -1,67 +0,0 @@ -var baseIndexOf = require('../internal/baseIndexOf'), - cacheIndexOf = require('../internal/cacheIndexOf'), - createCache = require('../internal/createCache'), - isArguments = require('../lang/isArguments'), - isArray = require('../lang/isArray'); - -/** - * Creates an array of unique values in all provided arrays using `SameValueZero` - * for equality comparisons. - * - * **Note:** `SameValueZero` comparisons are like strict equality comparisons, - * e.g. `===`, except that `NaN` matches `NaN`. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero) - * for more details. - * - * @static - * @memberOf _ - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @returns {Array} Returns the new array of shared values. - * @example - * _.intersection([1, 2], [4, 2], [2, 1]); - * // => [2] - */ -function intersection() { - var args = [], - argsIndex = -1, - argsLength = arguments.length, - caches = [], - indexOf = baseIndexOf, - isCommon = true; - - while (++argsIndex < argsLength) { - var value = arguments[argsIndex]; - if (isArray(value) || isArguments(value)) { - args.push(value); - caches.push((isCommon && value.length >= 120) ? createCache(argsIndex && value) : null); - } - } - argsLength = args.length; - var array = args[0], - index = -1, - length = array ? array.length : 0, - result = [], - seen = caches[0]; - - outer: - while (++index < length) { - value = array[index]; - if ((seen ? cacheIndexOf(seen, value) : indexOf(result, value, 0)) < 0) { - argsIndex = argsLength; - while (--argsIndex) { - var cache = caches[argsIndex]; - if ((cache ? cacheIndexOf(cache, value) : indexOf(args[argsIndex], value, 0)) < 0) { - continue outer; - } - } - if (seen) { - seen.push(value); - } - result.push(value); - } - } - return result; -} - -module.exports = intersection; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/last.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/last.js deleted file mode 100644 index 299af31..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/last.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * Gets the last element of `array`. - * - * @static - * @memberOf _ - * @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 ? array.length : 0; - return length ? array[length - 1] : undefined; -} - -module.exports = last; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/lastIndexOf.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/lastIndexOf.js deleted file mode 100644 index 02b8062..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/lastIndexOf.js +++ /dev/null @@ -1,60 +0,0 @@ -var binaryIndex = require('../internal/binaryIndex'), - indexOfNaN = require('../internal/indexOfNaN'); - -/* Native 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 _ - * @category Array - * @param {Array} array The array to search. - * @param {*} value The value to search for. - * @param {boolean|number} [fromIndex=array.length-1] The index to search from - * or `true` to perform a binary search on a sorted array. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.lastIndexOf([1, 2, 1, 2], 2); - * // => 3 - * - * // using `fromIndex` - * _.lastIndexOf([1, 2, 1, 2], 2, 2); - * // => 1 - * - * // performing a binary search - * _.lastIndexOf([1, 1, 2, 2], 2, true); - * // => 3 - */ -function lastIndexOf(array, value, fromIndex) { - var length = array ? array.length : 0; - if (!length) { - return -1; - } - var index = length; - if (typeof fromIndex == 'number') { - index = (fromIndex < 0 ? nativeMax(length + fromIndex, 0) : nativeMin(fromIndex || 0, length - 1)) + 1; - } else if (fromIndex) { - index = binaryIndex(array, value, true) - 1; - var other = array[index]; - if (value === value ? (value === other) : (other !== other)) { - return index; - } - return -1; - } - if (value !== value) { - return indexOfNaN(array, index, true); - } - while (index--) { - if (array[index] === value) { - return index; - } - } - return -1; -} - -module.exports = lastIndexOf; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/object.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/object.js deleted file mode 100644 index f4a3453..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/object.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./zipObject'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/pull.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/pull.js deleted file mode 100644 index 11e43a3..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/pull.js +++ /dev/null @@ -1,55 +0,0 @@ -var baseIndexOf = require('../internal/baseIndexOf'); - -/** Used for native method references. */ -var arrayProto = Array.prototype; - -/** Native method references. */ -var splice = arrayProto.splice; - -/** - * Removes all provided values from `array` using `SameValueZero` for equality - * comparisons. - * - * **Notes:** - * - Unlike `_.without`, this method mutates `array`. - * - `SameValueZero` comparisons are like strict equality comparisons, e.g. `===`, - * except that `NaN` matches `NaN`. See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero) - * for more details. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to modify. - * @param {...*} [values] The values to remove. - * @returns {Array} Returns `array`. - * @example - * - * var array = [1, 2, 3, 1, 2, 3]; - * - * _.pull(array, 2, 3); - * console.log(array); - * // => [1, 1] - */ -function pull() { - var args = arguments, - array = args[0]; - - if (!(array && array.length)) { - return array; - } - var index = 0, - indexOf = baseIndexOf, - length = args.length; - - while (++index < length) { - var fromIndex = 0, - value = args[index]; - - while ((fromIndex = indexOf(array, value, fromIndex)) > -1) { - splice.call(array, fromIndex, 1); - } - } - return array; -} - -module.exports = pull; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/pullAt.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/pullAt.js deleted file mode 100644 index 706e73c..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/pullAt.js +++ /dev/null @@ -1,33 +0,0 @@ -var baseFlatten = require('../internal/baseFlatten'), - basePullAt = require('../internal/basePullAt'); - -/** - * Removes elements from `array` corresponding to the given indexes and returns - * an array of the removed elements. Indexes may be specified as an array of - * indexes or as individual arguments. - * - * **Note:** Unlike `_.at`, this method mutates `array`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to modify. - * @param {...(number|number[])} [indexes] The indexes of elements to remove, - * specified as individual indexes or arrays of indexes. - * @returns {Array} Returns the new array of removed elements. - * @example - * - * var array = [5, 10, 15, 20]; - * var evens = _.pullAt(array, 1, 3); - * - * console.log(array); - * // => [5, 15] - * - * console.log(evens); - * // => [10, 20] - */ -function pullAt(array) { - return basePullAt(array || [], baseFlatten(arguments, false, false, 1)); -} - -module.exports = pullAt; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/remove.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/remove.js deleted file mode 100644 index 52fc526..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/remove.js +++ /dev/null @@ -1,65 +0,0 @@ -var baseCallback = require('../internal/baseCallback'); - -/** Used for native method references. */ -var arrayProto = Array.prototype; - -/** Native method references. */ -var splice = arrayProto.splice; - -/** - * Removes all elements from `array` that `predicate` returns truthy for - * and returns an array of the removed elements. The predicate is bound to - * `thisArg` and invoked with three arguments; (value, index, array). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * **Note:** Unlike `_.filter`, this method mutates `array`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to modify. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @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, thisArg) { - var index = -1, - length = array ? array.length : 0, - result = []; - - predicate = baseCallback(predicate, thisArg, 3); - while (++index < length) { - var value = array[index]; - if (predicate(value, index, array)) { - result.push(value); - splice.call(array, index--, 1); - length--; - } - } - return result; -} - -module.exports = remove; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/rest.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/rest.js deleted file mode 100644 index 9bfb734..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/rest.js +++ /dev/null @@ -1,21 +0,0 @@ -var drop = require('./drop'); - -/** - * Gets all but the first element of `array`. - * - * @static - * @memberOf _ - * @alias tail - * @category Array - * @param {Array} array The array to query. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.rest([1, 2, 3]); - * // => [2, 3] - */ -function rest(array) { - return drop(array, 1); -} - -module.exports = rest; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/slice.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/slice.js deleted file mode 100644 index ee6fb73..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/slice.js +++ /dev/null @@ -1,30 +0,0 @@ -var baseSlice = require('../internal/baseSlice'), - isIterateeCall = require('../internal/isIterateeCall'); - -/** - * Creates a slice of `array` from `start` up to, but not including, `end`. - * - * **Note:** This function is used instead of `Array#slice` to support node - * lists in IE < 9 and to ensure dense arrays are returned. - * - * @static - * @memberOf _ - * @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 ? array.length : 0; - if (!length) { - return []; - } - if (end && typeof end != 'number' && isIterateeCall(array, start, end)) { - start = 0; - end = length; - } - return baseSlice(array, start, end); -} - -module.exports = slice; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/sortedIndex.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/sortedIndex.js deleted file mode 100644 index fdc5e30..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/sortedIndex.js +++ /dev/null @@ -1,59 +0,0 @@ -var baseCallback = require('../internal/baseCallback'), - binaryIndex = require('../internal/binaryIndex'), - binaryIndexBy = require('../internal/binaryIndexBy'); - -/** - * Uses a binary search to determine the lowest index at which `value` should - * be inserted into `array` in order to maintain its sort order. If an iteratee - * function is provided it is invoked for `value` and each element of `array` - * to compute their sort ranking. The iteratee is bound to `thisArg` and - * invoked with one argument; (value). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function|Object|string} [iteratee=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - * @example - * - * _.sortedIndex([30, 50], 40); - * // => 1 - * - * _.sortedIndex([4, 4, 5, 5], 5); - * // => 2 - * - * var dict = { 'data': { 'thirty': 30, 'forty': 40, 'fifty': 50 } }; - * - * // using an iteratee function - * _.sortedIndex(['thirty', 'fifty'], 'forty', function(word) { - * return this.data[word]; - * }, dict); - * // => 1 - * - * // using the `_.property` callback shorthand - * _.sortedIndex([{ 'x': 30 }, { 'x': 50 }], { 'x': 40 }, 'x'); - * // => 1 - */ -function sortedIndex(array, value, iteratee, thisArg) { - return iteratee == null - ? binaryIndex(array, value) - : binaryIndexBy(array, value, baseCallback(iteratee, thisArg, 1)); -} - -module.exports = sortedIndex; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/sortedLastIndex.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/sortedLastIndex.js deleted file mode 100644 index 6936d4e..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/sortedLastIndex.js +++ /dev/null @@ -1,31 +0,0 @@ -var baseCallback = require('../internal/baseCallback'), - binaryIndex = require('../internal/binaryIndex'), - binaryIndexBy = require('../internal/binaryIndexBy'); - -/** - * 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 _ - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function|Object|string} [iteratee=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - * @example - * - * _.sortedLastIndex([4, 4, 5, 5], 5); - * // => 4 - */ -function sortedLastIndex(array, value, iteratee, thisArg) { - return iteratee == null - ? binaryIndex(array, value, true) - : binaryIndexBy(array, value, baseCallback(iteratee, thisArg, 1), true); -} - -module.exports = sortedLastIndex; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/tail.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/tail.js deleted file mode 100644 index c5dfe77..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/tail.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./rest'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/take.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/take.js deleted file mode 100644 index 875917a..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/take.js +++ /dev/null @@ -1,39 +0,0 @@ -var baseSlice = require('../internal/baseSlice'), - isIterateeCall = require('../internal/isIterateeCall'); - -/** - * Creates a slice of `array` with `n` elements taken from the beginning. - * - * @static - * @memberOf _ - * @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 a callback for functions 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) { - var length = array ? array.length : 0; - if (!length) { - return []; - } - if (guard ? isIterateeCall(array, n, guard) : n == null) { - n = 1; - } - return baseSlice(array, 0, n < 0 ? 0 : n); -} - -module.exports = take; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/takeRight.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/takeRight.js deleted file mode 100644 index 6e89c87..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/takeRight.js +++ /dev/null @@ -1,40 +0,0 @@ -var baseSlice = require('../internal/baseSlice'), - isIterateeCall = require('../internal/isIterateeCall'); - -/** - * Creates a slice of `array` with `n` elements taken from the end. - * - * @static - * @memberOf _ - * @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 a callback for functions 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 ? array.length : 0; - if (!length) { - return []; - } - if (guard ? isIterateeCall(array, n, guard) : n == null) { - n = 1; - } - n = length - (+n || 0); - return baseSlice(array, n < 0 ? 0 : n); -} - -module.exports = takeRight; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/takeRightWhile.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/takeRightWhile.js deleted file mode 100644 index 57bb0ef..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/takeRightWhile.js +++ /dev/null @@ -1,63 +0,0 @@ -var baseCallback = require('../internal/baseCallback'), - baseSlice = require('../internal/baseSlice'); - -/** - * Creates a slice of `array` with elements taken from the end. Elements are - * taken until `predicate` returns falsey. The predicate is bound to `thisArg` - * and invoked with three arguments; (value, index, array). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to query. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.takeRightWhile([1, 2, 3], function(n) { - * return n > 1; - * }); - * // => [2, 3] - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': false } - * ]; - * - * // using the `_.matches` callback shorthand - * _.pluck(_.takeRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user'); - * // => ['pebbles'] - * - * // using the `_.matchesProperty` callback shorthand - * _.pluck(_.takeRightWhile(users, 'active', false), 'user'); - * // => ['fred', 'pebbles'] - * - * // using the `_.property` callback shorthand - * _.pluck(_.takeRightWhile(users, 'active'), 'user'); - * // => [] - */ -function takeRightWhile(array, predicate, thisArg) { - var length = array ? array.length : 0; - if (!length) { - return []; - } - predicate = baseCallback(predicate, thisArg, 3); - while (length-- && predicate(array[length], length, array)) {} - return baseSlice(array, length + 1); -} - -module.exports = takeRightWhile; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/takeWhile.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/takeWhile.js deleted file mode 100644 index 890e34a..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/takeWhile.js +++ /dev/null @@ -1,64 +0,0 @@ -var baseCallback = require('../internal/baseCallback'), - baseSlice = require('../internal/baseSlice'); - -/** - * Creates a slice of `array` with elements taken from the beginning. Elements - * are taken until `predicate` returns falsey. The predicate is bound to - * `thisArg` and invoked with three arguments; (value, index, array). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to query. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.takeWhile([1, 2, 3], function(n) { - * return n < 3; - * }); - * // => [1, 2] - * - * var users = [ - * { 'user': 'barney', 'active': false }, - * { 'user': 'fred', 'active': false}, - * { 'user': 'pebbles', 'active': true } - * ]; - * - * // using the `_.matches` callback shorthand - * _.pluck(_.takeWhile(users, { 'user': 'barney', 'active': false }), 'user'); - * // => ['barney'] - * - * // using the `_.matchesProperty` callback shorthand - * _.pluck(_.takeWhile(users, 'active', false), 'user'); - * // => ['barney', 'fred'] - * - * // using the `_.property` callback shorthand - * _.pluck(_.takeWhile(users, 'active'), 'user'); - * // => [] - */ -function takeWhile(array, predicate, thisArg) { - var length = array ? array.length : 0; - if (!length) { - return []; - } - var index = -1; - predicate = baseCallback(predicate, thisArg, 3); - while (++index < length && predicate(array[index], index, array)) {} - return baseSlice(array, 0, index); -} - -module.exports = takeWhile; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/union.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/union.js deleted file mode 100644 index bb78dac..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/union.js +++ /dev/null @@ -1,27 +0,0 @@ -var baseFlatten = require('../internal/baseFlatten'), - baseUniq = require('../internal/baseUniq'); - -/** - * Creates an array of unique values, in order, of the provided arrays using - * `SameValueZero` for equality comparisons. - * - * **Note:** `SameValueZero` comparisons are like strict equality comparisons, - * e.g. `===`, except that `NaN` matches `NaN`. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero) - * for more details. - * - * @static - * @memberOf _ - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @returns {Array} Returns the new array of combined values. - * @example - * - * _.union([1, 2], [4, 2], [2, 1]); - * // => [1, 2, 4] - */ -function union() { - return baseUniq(baseFlatten(arguments, false, true, 0)); -} - -module.exports = union; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/uniq.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/uniq.js deleted file mode 100644 index 6b30328..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/uniq.js +++ /dev/null @@ -1,74 +0,0 @@ -var baseCallback = require('../internal/baseCallback'), - baseUniq = require('../internal/baseUniq'), - isIterateeCall = require('../internal/isIterateeCall'), - sortedUniq = require('../internal/sortedUniq'); - -/** - * Creates a duplicate-value-free version of an array using `SameValueZero` - * for equality comparisons. Providing `true` for `isSorted` performs a faster - * search algorithm for sorted arrays. If an iteratee function is provided it - * is invoked for each value in the array to generate the criterion by which - * uniqueness is computed. The `iteratee` is bound to `thisArg` and invoked - * with three arguments; (value, index, array). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * **Note:** `SameValueZero` comparisons are like strict equality comparisons, - * e.g. `===`, except that `NaN` matches `NaN`. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero) - * for more details. - * - * @static - * @memberOf _ - * @alias unique - * @category Array - * @param {Array} array The array to inspect. - * @param {boolean} [isSorted] Specify the array is sorted. - * @param {Function|Object|string} [iteratee] The function invoked per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Array} Returns the new duplicate-value-free array. - * @example - * - * _.uniq([1, 2, 1]); - * // => [1, 2] - * - * // using `isSorted` - * _.uniq([1, 1, 2], true); - * // => [1, 2] - * - * // using an iteratee function - * _.uniq([1, 2.5, 1.5, 2], function(n) { - * return this.floor(n); - * }, Math); - * // => [1, 2.5] - * - * // using the `_.property` callback shorthand - * _.uniq([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }, { 'x': 2 }] - */ -function uniq(array, isSorted, iteratee, thisArg) { - var length = array ? array.length : 0; - if (!length) { - return []; - } - if (isSorted != null && typeof isSorted != 'boolean') { - thisArg = iteratee; - iteratee = isIterateeCall(array, isSorted, thisArg) ? null : isSorted; - isSorted = false; - } - iteratee = iteratee == null ? iteratee : baseCallback(iteratee, thisArg, 3); - return (isSorted) - ? sortedUniq(array, iteratee) - : baseUniq(array, iteratee); -} - -module.exports = uniq; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/unique.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/unique.js deleted file mode 100644 index 396de1b..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/unique.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./uniq'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/unzip.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/unzip.js deleted file mode 100644 index f7f8558..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/unzip.js +++ /dev/null @@ -1,37 +0,0 @@ -var arrayMap = require('../internal/arrayMap'), - arrayMax = require('../internal/arrayMax'), - baseProperty = require('../internal/baseProperty'); - -/** Used to the length of n-tuples for `_.unzip`. */ -var getLength = baseProperty('length'); - -/** - * 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 _ - * @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(['fred', 'barney'], [30, 40], [true, false]); - * // => [['fred', 30, true], ['barney', 40, false]] - * - * _.unzip(zipped); - * // => [['fred', 'barney'], [30, 40], [true, false]] - */ -function unzip(array) { - var index = -1, - length = (array && array.length && arrayMax(arrayMap(array, getLength))) >>> 0, - result = Array(length); - - while (++index < length) { - result[index] = arrayMap(array, baseProperty(index)); - } - return result; -} - -module.exports = unzip; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/without.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/without.js deleted file mode 100644 index e74c403..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/without.js +++ /dev/null @@ -1,28 +0,0 @@ -var baseDifference = require('../internal/baseDifference'), - baseSlice = require('../internal/baseSlice'); - -/** - * Creates an array excluding all provided values using `SameValueZero` for - * equality comparisons. - * - * **Note:** `SameValueZero` comparisons are like strict equality comparisons, - * e.g. `===`, except that `NaN` matches `NaN`. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero) - * for more details. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to filter. - * @param {...*} [values] The values to exclude. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * _.without([1, 2, 1, 3], 1, 2); - * // => [3] - */ -function without(array) { - return baseDifference(array, baseSlice(arguments, 1)); -} - -module.exports = without; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/xor.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/xor.js deleted file mode 100644 index fcdec8e..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/xor.js +++ /dev/null @@ -1,36 +0,0 @@ -var baseDifference = require('../internal/baseDifference'), - baseUniq = require('../internal/baseUniq'), - isArguments = require('../lang/isArguments'), - isArray = require('../lang/isArray'); - -/** - * Creates an array that is the symmetric difference of the provided arrays. - * See [Wikipedia](https://en.wikipedia.org/wiki/Symmetric_difference) for - * more details. - * - * @static - * @memberOf _ - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @returns {Array} Returns the new array of values. - * @example - * - * _.xor([1, 2], [4, 2]); - * // => [1, 4] - */ -function xor() { - var index = -1, - length = arguments.length; - - while (++index < length) { - var array = arguments[index]; - if (isArray(array) || isArguments(array)) { - var result = result - ? baseDifference(result, array).concat(baseDifference(array, result)) - : array; - } - } - return result ? baseUniq(result) : []; -} - -module.exports = xor; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/zip.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/zip.js deleted file mode 100644 index 039bac0..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/zip.js +++ /dev/null @@ -1,28 +0,0 @@ -var unzip = require('./unzip'); - -/** - * 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 _ - * @category Array - * @param {...Array} [arrays] The arrays to process. - * @returns {Array} Returns the new array of grouped elements. - * @example - * - * _.zip(['fred', 'barney'], [30, 40], [true, false]); - * // => [['fred', 30, true], ['barney', 40, false]] - */ -function zip() { - var length = arguments.length, - array = Array(length); - - while (length--) { - array[length] = arguments[length]; - } - return unzip(array); -} - -module.exports = zip; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/zipObject.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/zipObject.js deleted file mode 100644 index bc3f952..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/array/zipObject.js +++ /dev/null @@ -1,39 +0,0 @@ -var isArray = require('../lang/isArray'); - -/** - * Creates an object composed from arrays of property names and values. Provide - * either a single two dimensional array, e.g. `[[key1, value1], [key2, value2]]` - * or two arrays, one of property names and one of corresponding values. - * - * @static - * @memberOf _ - * @alias object - * @category Array - * @param {Array} props The property names. - * @param {Array} [values=[]] The property values. - * @returns {Object} Returns the new object. - * @example - * - * _.zipObject(['fred', 'barney'], [30, 40]); - * // => { 'fred': 30, 'barney': 40 } - */ -function zipObject(props, values) { - var index = -1, - length = props ? props.length : 0, - result = {}; - - if (length && !values && !isArray(props[0])) { - values = []; - } - while (++index < length) { - var key = props[index]; - if (values) { - result[key] = values[index]; - } else if (key) { - result[key[0]] = key[1]; - } - } - return result; -} - -module.exports = zipObject; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain.js deleted file mode 100644 index 7992b73..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain.js +++ /dev/null @@ -1,15 +0,0 @@ -module.exports = { - 'chain': require('./chain/chain'), - 'commit': require('./chain/commit'), - 'lodash': require('./chain/lodash'), - 'plant': require('./chain/plant'), - 'reverse': require('./chain/reverse'), - 'run': require('./chain/run'), - 'tap': require('./chain/tap'), - 'thru': require('./chain/thru'), - 'toJSON': require('./chain/toJSON'), - 'toString': require('./chain/toString'), - 'value': require('./chain/value'), - 'valueOf': require('./chain/valueOf'), - 'wrapperChain': require('./chain/wrapperChain') -}; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/chain.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/chain.js deleted file mode 100644 index 453ba1e..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/chain.js +++ /dev/null @@ -1,35 +0,0 @@ -var lodash = require('./lodash'); - -/** - * Creates a `lodash` object that wraps `value` with explicit method - * chaining enabled. - * - * @static - * @memberOf _ - * @category Chain - * @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(chr) { - * return chr.user + ' is ' + chr.age; - * }) - * .first() - * .value(); - * // => 'pebbles is 1' - */ -function chain(value) { - var result = lodash(value); - result.__chain__ = true; - return result; -} - -module.exports = chain; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/commit.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/commit.js deleted file mode 100644 index c732d1b..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/commit.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./wrapperCommit'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/lodash.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/lodash.js deleted file mode 100644 index 8ac40ae..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/lodash.js +++ /dev/null @@ -1,122 +0,0 @@ -var LazyWrapper = require('../internal/LazyWrapper'), - LodashWrapper = require('../internal/LodashWrapper'), - baseLodash = require('../internal/baseLodash'), - isArray = require('../lang/isArray'), - isObjectLike = require('../internal/isObjectLike'), - wrapperClone = require('../internal/wrapperClone'); - -/** Used for native method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * Creates a `lodash` object which wraps `value` to enable implicit chaining. - * Methods that operate on and return arrays, collections, and functions can - * be chained together. Methods that return a boolean or single value will - * automatically end the chain returning the unwrapped value. Explicit chaining - * may be enabled using `_.chain`. The execution of chained methods is lazy, - * that is, execution is deferred until `_#value` is implicitly or explicitly - * called. - * - * Lazy evaluation allows several methods to support shortcut fusion. Shortcut - * fusion is an optimization that merges iteratees to avoid creating intermediate - * arrays and reduce the number of iteratee executions. - * - * 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`, `reverse`, `shift`, `slice`, `sort`, - * `splice`, and `unshift` - * - * The wrapper `String` methods are: - * `replace` and `split` - * - * The wrapper methods that support shortcut fusion are: - * `compact`, `drop`, `dropRight`, `dropRightWhile`, `dropWhile`, `filter`, - * `first`, `initial`, `last`, `map`, `pluck`, `reject`, `rest`, `reverse`, - * `slice`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, `toArray`, - * and `where` - * - * The chainable wrapper methods are: - * `after`, `ary`, `assign`, `at`, `before`, `bind`, `bindAll`, `bindKey`, - * `callback`, `chain`, `chunk`, `commit`, `compact`, `concat`, `constant`, - * `countBy`, `create`, `curry`, `debounce`, `defaults`, `defer`, `delay`, - * `difference`, `drop`, `dropRight`, `dropRightWhile`, `dropWhile`, `fill`, - * `filter`, `flatten`, `flattenDeep`, `flow`, `flowRight`, `forEach`, - * `forEachRight`, `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `functions`, - * `groupBy`, `indexBy`, `initial`, `intersection`, `invert`, `invoke`, `keys`, - * `keysIn`, `map`, `mapValues`, `matches`, `matchesProperty`, `memoize`, `merge`, - * `mixin`, `negate`, `noop`, `omit`, `once`, `pairs`, `partial`, `partialRight`, - * `partition`, `pick`, `plant`, `pluck`, `property`, `propertyOf`, `pull`, - * `pullAt`, `push`, `range`, `rearg`, `reject`, `remove`, `rest`, `reverse`, - * `shuffle`, `slice`, `sort`, `sortBy`, `sortByAll`, `sortByOrder`, `splice`, - * `spread`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, `tap`, - * `throttle`, `thru`, `times`, `toArray`, `toPlainObject`, `transform`, - * `union`, `uniq`, `unshift`, `unzip`, `values`, `valuesIn`, `where`, - * `without`, `wrap`, `xor`, `zip`, and `zipObject` - * - * The wrapper methods that are **not** chainable by default are: - * `add`, `attempt`, `camelCase`, `capitalize`, `clone`, `cloneDeep`, `deburr`, - * `endsWith`, `escape`, `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, - * `findLast`, `findLastIndex`, `findLastKey`, `findWhere`, `first`, `has`, - * `identity`, `includes`, `indexOf`, `inRange`, `isArguments`, `isArray`, - * `isBoolean`, `isDate`, `isElement`, `isEmpty`, `isEqual`, `isError`, - * `isFinite`,`isFunction`, `isMatch`, `isNative`, `isNaN`, `isNull`, `isNumber`, - * `isObject`, `isPlainObject`, `isRegExp`, `isString`, `isUndefined`, - * `isTypedArray`, `join`, `kebabCase`, `last`, `lastIndexOf`, `max`, `min`, - * `noConflict`, `now`, `pad`, `padLeft`, `padRight`, `parseInt`, `pop`, - * `random`, `reduce`, `reduceRight`, `repeat`, `result`, `runInContext`, - * `shift`, `size`, `snakeCase`, `some`, `sortedIndex`, `sortedLastIndex`, - * `startCase`, `startsWith`, `sum`, `template`, `trim`, `trimLeft`, - * `trimRight`, `trunc`, `unescape`, `uniqueId`, `value`, and `words` - * - * The wrapper method `sample` will return a wrapped value when `n` is provided, - * otherwise an unwrapped value is returned. - * - * @name _ - * @constructor - * @category Chain - * @param {*} value The value to wrap in a `lodash` instance. - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var wrapped = _([1, 2, 3]); - * - * // returns an unwrapped value - * wrapped.reduce(function(sum, n) { - * return sum + n; - * }); - * // => 6 - * - * // returns a wrapped value - * var squares = wrapped.map(function(n) { - * return n * n; - * }); - * - * _.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, '__chain__') && hasOwnProperty.call(value, '__wrapped__')) { - return wrapperClone(value); - } - } - return new LodashWrapper(value); -} - -// Ensure wrappers are instances of `baseLodash`. -lodash.prototype = baseLodash.prototype; - -module.exports = lodash; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/plant.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/plant.js deleted file mode 100644 index 04099f2..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/plant.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./wrapperPlant'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/reverse.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/reverse.js deleted file mode 100644 index f72a64a..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/reverse.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./wrapperReverse'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/run.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/run.js deleted file mode 100644 index 5e751a2..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/run.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./wrapperValue'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/tap.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/tap.js deleted file mode 100644 index 3d0257e..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/tap.js +++ /dev/null @@ -1,29 +0,0 @@ -/** - * This method invokes `interceptor` and returns `value`. The interceptor is - * bound to `thisArg` and invoked with one argument; (value). The purpose of - * this method is to "tap into" a method chain in order to perform operations - * on intermediate results within the chain. - * - * @static - * @memberOf _ - * @category Chain - * @param {*} value The value to provide to `interceptor`. - * @param {Function} interceptor The function to invoke. - * @param {*} [thisArg] The `this` binding of `interceptor`. - * @returns {*} Returns `value`. - * @example - * - * _([1, 2, 3]) - * .tap(function(array) { - * array.pop(); - * }) - * .reverse() - * .value(); - * // => [2, 1] - */ -function tap(value, interceptor, thisArg) { - interceptor.call(thisArg, value); - return value; -} - -module.exports = tap; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/thru.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/thru.js deleted file mode 100644 index 8ccc996..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/thru.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * This method is like `_.tap` except that it returns the result of `interceptor`. - * - * @static - * @memberOf _ - * @category Chain - * @param {*} value The value to provide to `interceptor`. - * @param {Function} interceptor The function to invoke. - * @param {*} [thisArg] The `this` binding of `interceptor`. - * @returns {*} Returns the result of `interceptor`. - * @example - * - * _([1, 2, 3]) - * .last() - * .thru(function(value) { - * return [value]; - * }) - * .value(); - * // => [3] - */ -function thru(value, interceptor, thisArg) { - return interceptor.call(thisArg, value); -} - -module.exports = thru; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/toJSON.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/toJSON.js deleted file mode 100644 index 5e751a2..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/toJSON.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./wrapperValue'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/toString.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/toString.js deleted file mode 100644 index c7bcbf9..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/toString.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./wrapperToString'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/value.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/value.js deleted file mode 100644 index 5e751a2..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/value.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./wrapperValue'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/valueOf.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/valueOf.js deleted file mode 100644 index 5e751a2..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/valueOf.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./wrapperValue'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperChain.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperChain.js deleted file mode 100644 index 3823481..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperChain.js +++ /dev/null @@ -1,32 +0,0 @@ -var chain = require('./chain'); - -/** - * Enables explicit method chaining on the wrapper object. - * - * @name chain - * @memberOf _ - * @category Chain - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 } - * ]; - * - * // without explicit chaining - * _(users).first(); - * // => { 'user': 'barney', 'age': 36 } - * - * // with explicit chaining - * _(users).chain() - * .first() - * .pick('user') - * .value(); - * // => { 'user': 'barney' } - */ -function wrapperChain() { - return chain(this); -} - -module.exports = wrapperChain; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperCommit.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperCommit.js deleted file mode 100644 index c46a787..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperCommit.js +++ /dev/null @@ -1,32 +0,0 @@ -var LodashWrapper = require('../internal/LodashWrapper'); - -/** - * Executes the chained sequence and returns the wrapped result. - * - * @name commit - * @memberOf _ - * @category Chain - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var array = [1, 2]; - * var wrapper = _(array).push(3); - * - * console.log(array); - * // => [1, 2] - * - * wrapper = wrapper.commit(); - * console.log(array); - * // => [1, 2, 3] - * - * wrapper.last(); - * // => 3 - * - * console.log(array); - * // => [1, 2, 3] - */ -function wrapperCommit() { - return new LodashWrapper(this.value(), this.__chain__); -} - -module.exports = wrapperCommit; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperPlant.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperPlant.js deleted file mode 100644 index a3de146..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperPlant.js +++ /dev/null @@ -1,45 +0,0 @@ -var baseLodash = require('../internal/baseLodash'), - wrapperClone = require('../internal/wrapperClone'); - -/** - * Creates a clone of the chained sequence planting `value` as the wrapped value. - * - * @name plant - * @memberOf _ - * @category Chain - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var array = [1, 2]; - * var wrapper = _(array).map(function(value) { - * return Math.pow(value, 2); - * }); - * - * var other = [3, 4]; - * var otherWrapper = wrapper.plant(other); - * - * otherWrapper.value(); - * // => [9, 16] - * - * wrapper.value(); - * // => [1, 4] - */ -function wrapperPlant(value) { - var result, - parent = this; - - while (parent instanceof baseLodash) { - var clone = wrapperClone(parent); - if (result) { - previous.__wrapped__ = clone; - } else { - result = clone; - } - var previous = clone; - parent = parent.__wrapped__; - } - previous.__wrapped__ = value; - return result; -} - -module.exports = wrapperPlant; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperReverse.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperReverse.js deleted file mode 100644 index 4518b3e..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperReverse.js +++ /dev/null @@ -1,38 +0,0 @@ -var LazyWrapper = require('../internal/LazyWrapper'), - LodashWrapper = require('../internal/LodashWrapper'), - thru = require('./thru'); - -/** - * Reverses the wrapped array so the first element becomes the last, the - * second element becomes the second to last, and so on. - * - * **Note:** This method mutates the wrapped array. - * - * @name reverse - * @memberOf _ - * @category Chain - * @returns {Object} Returns the new reversed `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) { - if (this.__actions__.length) { - value = new LazyWrapper(this); - } - return new LodashWrapper(value.reverse(), this.__chain__); - } - return this.thru(function(value) { - return value.reverse(); - }); -} - -module.exports = wrapperReverse; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperToString.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperToString.js deleted file mode 100644 index db975a5..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperToString.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Produces the result of coercing the unwrapped value to a string. - * - * @name toString - * @memberOf _ - * @category Chain - * @returns {string} Returns the coerced string value. - * @example - * - * _([1, 2, 3]).toString(); - * // => '1,2,3' - */ -function wrapperToString() { - return (this.value() + ''); -} - -module.exports = wrapperToString; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperValue.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperValue.js deleted file mode 100644 index 2734e41..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/chain/wrapperValue.js +++ /dev/null @@ -1,20 +0,0 @@ -var baseWrapperValue = require('../internal/baseWrapperValue'); - -/** - * Executes the chained sequence to extract the unwrapped value. - * - * @name value - * @memberOf _ - * @alias run, toJSON, valueOf - * @category Chain - * @returns {*} Returns the resolved unwrapped value. - * @example - * - * _([1, 2, 3]).value(); - * // => [1, 2, 3] - */ -function wrapperValue() { - return baseWrapperValue(this.__wrapped__, this.__actions__); -} - -module.exports = wrapperValue; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection.js deleted file mode 100644 index 0338857..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection.js +++ /dev/null @@ -1,44 +0,0 @@ -module.exports = { - 'all': require('./collection/all'), - 'any': require('./collection/any'), - 'at': require('./collection/at'), - 'collect': require('./collection/collect'), - 'contains': require('./collection/contains'), - 'countBy': require('./collection/countBy'), - 'detect': require('./collection/detect'), - 'each': require('./collection/each'), - 'eachRight': require('./collection/eachRight'), - 'every': require('./collection/every'), - 'filter': require('./collection/filter'), - 'find': require('./collection/find'), - 'findLast': require('./collection/findLast'), - 'findWhere': require('./collection/findWhere'), - 'foldl': require('./collection/foldl'), - 'foldr': require('./collection/foldr'), - 'forEach': require('./collection/forEach'), - 'forEachRight': require('./collection/forEachRight'), - 'groupBy': require('./collection/groupBy'), - 'include': require('./collection/include'), - 'includes': require('./collection/includes'), - 'indexBy': require('./collection/indexBy'), - 'inject': require('./collection/inject'), - 'invoke': require('./collection/invoke'), - 'map': require('./collection/map'), - 'max': require('./math/max'), - 'min': require('./math/min'), - 'partition': require('./collection/partition'), - 'pluck': require('./collection/pluck'), - 'reduce': require('./collection/reduce'), - 'reduceRight': require('./collection/reduceRight'), - 'reject': require('./collection/reject'), - 'sample': require('./collection/sample'), - 'select': require('./collection/select'), - 'shuffle': require('./collection/shuffle'), - 'size': require('./collection/size'), - 'some': require('./collection/some'), - 'sortBy': require('./collection/sortBy'), - 'sortByAll': require('./collection/sortByAll'), - 'sortByOrder': require('./collection/sortByOrder'), - 'sum': require('./math/sum'), - 'where': require('./collection/where') -}; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/all.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/all.js deleted file mode 100644 index d0839f7..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/all.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./every'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/any.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/any.js deleted file mode 100644 index 900ac25..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/any.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./some'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/at.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/at.js deleted file mode 100644 index 48a714f..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/at.js +++ /dev/null @@ -1,34 +0,0 @@ -var baseAt = require('../internal/baseAt'), - baseFlatten = require('../internal/baseFlatten'), - isLength = require('../internal/isLength'), - toIterable = require('../internal/toIterable'); - -/** - * Creates an array of elements corresponding to the given keys, or indexes, - * of `collection`. Keys may be specified as individual arguments or as arrays - * of keys. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {...(number|number[]|string|string[])} [props] The property names - * or indexes of elements to pick, specified individually or in arrays. - * @returns {Array} Returns the new array of picked elements. - * @example - * - * _.at(['a', 'b', 'c'], [0, 2]); - * // => ['a', 'c'] - * - * _.at(['fred', 'barney', 'pebbles'], 0, 2); - * // => ['fred', 'pebbles'] - */ -function at(collection) { - var length = collection ? collection.length : 0; - if (isLength(length)) { - collection = toIterable(collection); - } - return baseAt(collection, baseFlatten(arguments, false, false, 1)); -} - -module.exports = at; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/collect.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/collect.js deleted file mode 100644 index 0d1e1ab..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/collect.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./map'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/contains.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/contains.js deleted file mode 100644 index 594722a..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/contains.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./includes'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/countBy.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/countBy.js deleted file mode 100644 index 7702d7b..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/countBy.js +++ /dev/null @@ -1,54 +0,0 @@ -var createAggregator = require('../internal/createAggregator'); - -/** Used for native 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` through `iteratee`. The corresponding value - * of each key is the number of times the key was returned by `iteratee`. - * The `iteratee` is bound to `thisArg` and invoked with three arguments; - * (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|Object|string} [iteratee=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Object} Returns the composed aggregate object. - * @example - * - * _.countBy([4.3, 6.1, 6.4], function(n) { - * return Math.floor(n); - * }); - * // => { '4': 1, '6': 2 } - * - * _.countBy([4.3, 6.1, 6.4], function(n) { - * return this.floor(n); - * }, Math); - * // => { '4': 1, '6': 2 } - * - * _.countBy(['one', 'two', 'three'], 'length'); - * // => { '3': 2, '5': 1 } - */ -var countBy = createAggregator(function(result, value, key) { - hasOwnProperty.call(result, key) ? ++result[key] : (result[key] = 1); -}); - -module.exports = countBy; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/detect.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/detect.js deleted file mode 100644 index 2fb6303..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/detect.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./find'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/each.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/each.js deleted file mode 100644 index 8800f42..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/each.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./forEach'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/eachRight.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/eachRight.js deleted file mode 100644 index 3252b2a..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/eachRight.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./forEachRight'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/every.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/every.js deleted file mode 100644 index 276afb3..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/every.js +++ /dev/null @@ -1,62 +0,0 @@ -var arrayEvery = require('../internal/arrayEvery'), - baseCallback = require('../internal/baseCallback'), - baseEvery = require('../internal/baseEvery'), - isArray = require('../lang/isArray'); - -/** - * Checks if `predicate` returns truthy for **all** elements of `collection`. - * The predicate is bound to `thisArg` and invoked with three arguments; - * (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @alias all - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @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', 'active': false }, - * { 'user': 'fred', 'active': false } - * ]; - * - * // using the `_.matches` callback shorthand - * _.every(users, { 'user': 'barney', 'active': false }); - * // => false - * - * // using the `_.matchesProperty` callback shorthand - * _.every(users, 'active', false); - * // => true - * - * // using the `_.property` callback shorthand - * _.every(users, 'active'); - * // => false - */ -function every(collection, predicate, thisArg) { - var func = isArray(collection) ? arrayEvery : baseEvery; - if (typeof predicate != 'function' || typeof thisArg != 'undefined') { - predicate = baseCallback(predicate, thisArg, 3); - } - return func(collection, predicate); -} - -module.exports = every; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/filter.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/filter.js deleted file mode 100644 index 673ae22..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/filter.js +++ /dev/null @@ -1,61 +0,0 @@ -var arrayFilter = require('../internal/arrayFilter'), - baseCallback = require('../internal/baseCallback'), - baseFilter = require('../internal/baseFilter'), - isArray = require('../lang/isArray'); - -/** - * Iterates over elements of `collection`, returning an array of all elements - * `predicate` returns truthy for. The predicate is bound to `thisArg` and - * invoked with three arguments; (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @alias select - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @returns {Array} Returns the new filtered array. - * @example - * - * _.filter([4, 5, 6], function(n) { - * return n % 2 == 0; - * }); - * // => [4, 6] - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': true }, - * { 'user': 'fred', 'age': 40, 'active': false } - * ]; - * - * // using the `_.matches` callback shorthand - * _.pluck(_.filter(users, { 'age': 36, 'active': true }), 'user'); - * // => ['barney'] - * - * // using the `_.matchesProperty` callback shorthand - * _.pluck(_.filter(users, 'active', false), 'user'); - * // => ['fred'] - * - * // using the `_.property` callback shorthand - * _.pluck(_.filter(users, 'active'), 'user'); - * // => ['barney'] - */ -function filter(collection, predicate, thisArg) { - var func = isArray(collection) ? arrayFilter : baseFilter; - predicate = baseCallback(predicate, thisArg, 3); - return func(collection, predicate); -} - -module.exports = filter; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/find.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/find.js deleted file mode 100644 index 8e687d8..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/find.js +++ /dev/null @@ -1,66 +0,0 @@ -var baseCallback = require('../internal/baseCallback'), - baseEach = require('../internal/baseEach'), - baseFind = require('../internal/baseFind'), - findIndex = require('../array/findIndex'), - isArray = require('../lang/isArray'); - -/** - * Iterates over elements of `collection`, returning the first element - * `predicate` returns truthy for. The predicate is bound to `thisArg` and - * invoked with three arguments; (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @alias detect - * @category Collection - * @param {Array|Object|string} collection The collection to search. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @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 } - * ]; - * - * _.result(_.find(users, function(chr) { - * return chr.age < 40; - * }), 'user'); - * // => 'barney' - * - * // using the `_.matches` callback shorthand - * _.result(_.find(users, { 'age': 1, 'active': true }), 'user'); - * // => 'pebbles' - * - * // using the `_.matchesProperty` callback shorthand - * _.result(_.find(users, 'active', false), 'user'); - * // => 'fred' - * - * // using the `_.property` callback shorthand - * _.result(_.find(users, 'active'), 'user'); - * // => 'barney' - */ -function find(collection, predicate, thisArg) { - if (isArray(collection)) { - var index = findIndex(collection, predicate, thisArg); - return index > -1 ? collection[index] : undefined; - } - predicate = baseCallback(predicate, thisArg, 3); - return baseFind(collection, predicate, baseEach); -} - -module.exports = find; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/findLast.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/findLast.js deleted file mode 100644 index f66f6cc..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/findLast.js +++ /dev/null @@ -1,29 +0,0 @@ -var baseCallback = require('../internal/baseCallback'), - baseEachRight = require('../internal/baseEachRight'), - baseFind = require('../internal/baseFind'); - -/** - * This method is like `_.find` except that it iterates over elements of - * `collection` from right to left. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to search. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @returns {*} Returns the matched element, else `undefined`. - * @example - * - * _.findLast([1, 2, 3, 4], function(n) { - * return n % 2 == 1; - * }); - * // => 3 - */ -function findLast(collection, predicate, thisArg) { - predicate = baseCallback(predicate, thisArg, 3); - return baseFind(collection, predicate, baseEachRight); -} - -module.exports = findLast; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/findWhere.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/findWhere.js deleted file mode 100644 index 2d62065..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/findWhere.js +++ /dev/null @@ -1,37 +0,0 @@ -var baseMatches = require('../internal/baseMatches'), - find = require('./find'); - -/** - * Performs a deep comparison between each element in `collection` and the - * source object, returning the first element that has equivalent property - * values. - * - * **Note:** This method supports comparing arrays, booleans, `Date` objects, - * numbers, `Object` objects, regexes, and strings. Objects are compared by - * their own, not inherited, enumerable properties. For comparing a single - * own or inherited property value see `_.matchesProperty`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to search. - * @param {Object} source The object of property values to match. - * @returns {*} Returns the matched element, else `undefined`. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': true }, - * { 'user': 'fred', 'age': 40, 'active': false } - * ]; - * - * _.result(_.findWhere(users, { 'age': 36, 'active': true }), 'user'); - * // => 'barney' - * - * _.result(_.findWhere(users, { 'age': 40, 'active': false }), 'user'); - * // => 'fred' - */ -function findWhere(collection, source) { - return find(collection, baseMatches(source)); -} - -module.exports = findWhere; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/foldl.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/foldl.js deleted file mode 100644 index 26f53cf..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/foldl.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./reduce'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/foldr.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/foldr.js deleted file mode 100644 index 8fb199e..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/foldr.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./reduceRight'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/forEach.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/forEach.js deleted file mode 100644 index 38cf796..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/forEach.js +++ /dev/null @@ -1,42 +0,0 @@ -var arrayEach = require('../internal/arrayEach'), - baseEach = require('../internal/baseEach'), - bindCallback = require('../internal/bindCallback'), - isArray = require('../lang/isArray'); - -/** - * Iterates over elements of `collection` invoking `iteratee` for each element. - * The `iteratee` is bound to `thisArg` and invoked with three arguments; - * (value, index|key, collection). Iterator 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 `_.forIn` or `_.forOwn` - * may be used for object iteration. - * - * @static - * @memberOf _ - * @alias each - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Array|Object|string} Returns `collection`. - * @example - * - * _([1, 2]).forEach(function(n) { - * console.log(n); - * }).value(); - * // => logs each value from left to right and returns the array - * - * _.forEach({ 'a': 1, 'b': 2 }, function(n, key) { - * console.log(n, key); - * }); - * // => logs each value-key pair and returns the object (iteration order is not guaranteed) - */ -function forEach(collection, iteratee, thisArg) { - return (typeof iteratee == 'function' && typeof thisArg == 'undefined' && isArray(collection)) - ? arrayEach(collection, iteratee) - : baseEach(collection, bindCallback(iteratee, thisArg, 3)); -} - -module.exports = forEach; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/forEachRight.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/forEachRight.js deleted file mode 100644 index 56bb8ff..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/forEachRight.js +++ /dev/null @@ -1,31 +0,0 @@ -var arrayEachRight = require('../internal/arrayEachRight'), - baseEachRight = require('../internal/baseEachRight'), - bindCallback = require('../internal/bindCallback'), - isArray = require('../lang/isArray'); - -/** - * This method is like `_.forEach` except that it iterates over elements of - * `collection` from right to left. - * - * @static - * @memberOf _ - * @alias eachRight - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Array|Object|string} Returns `collection`. - * @example - * - * _([1, 2]).forEachRight(function(n) { - * console.log(n); - * }).join(','); - * // => logs each value from right to left and returns the array - */ -function forEachRight(collection, iteratee, thisArg) { - return (typeof iteratee == 'function' && typeof thisArg == 'undefined' && isArray(collection)) - ? arrayEachRight(collection, iteratee) - : baseEachRight(collection, bindCallback(iteratee, thisArg, 3)); -} - -module.exports = forEachRight; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/groupBy.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/groupBy.js deleted file mode 100644 index f2578b3..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/groupBy.js +++ /dev/null @@ -1,59 +0,0 @@ -var createAggregator = require('../internal/createAggregator'); - -/** Used for native 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` through `iteratee`. The corresponding value - * of each key is an array of the elements responsible for generating the key. - * The `iteratee` is bound to `thisArg` and invoked with three arguments; - * (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|Object|string} [iteratee=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Object} Returns the composed aggregate object. - * @example - * - * _.groupBy([4.2, 6.1, 6.4], function(n) { - * return Math.floor(n); - * }); - * // => { '4': [4.2], '6': [6.1, 6.4] } - * - * _.groupBy([4.2, 6.1, 6.4], function(n) { - * return this.floor(n); - * }, Math); - * // => { '4': [4.2], '6': [6.1, 6.4] } - * - * // using the `_.property` callback 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 { - result[key] = [value]; - } -}); - -module.exports = groupBy; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/include.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/include.js deleted file mode 100644 index 594722a..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/include.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./includes'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/includes.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/includes.js deleted file mode 100644 index a383fab..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/includes.js +++ /dev/null @@ -1,61 +0,0 @@ -var baseIndexOf = require('../internal/baseIndexOf'), - isArray = require('../lang/isArray'), - isLength = require('../internal/isLength'), - isString = require('../lang/isString'), - values = require('../object/values'); - -/* Native method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max; - -/** - * Checks if `value` is in `collection` using `SameValueZero` for equality - * comparisons. If `fromIndex` is negative, it is used as the offset from - * the end of `collection`. - * - * **Note:** `SameValueZero` comparisons are like strict equality comparisons, - * e.g. `===`, except that `NaN` matches `NaN`. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero) - * for more details. - * - * @static - * @memberOf _ - * @alias contains, include - * @category Collection - * @param {Array|Object|string} collection The collection to search. - * @param {*} target The value to search for. - * @param {number} [fromIndex=0] The index to search from. - * @returns {boolean} Returns `true` if a matching element is found, else `false`. - * @example - * - * _.includes([1, 2, 3], 1); - * // => true - * - * _.includes([1, 2, 3], 1, 2); - * // => false - * - * _.includes({ 'user': 'fred', 'age': 40 }, 'fred'); - * // => true - * - * _.includes('pebbles', 'eb'); - * // => true - */ -function includes(collection, target, fromIndex) { - var length = collection ? collection.length : 0; - if (!isLength(length)) { - collection = values(collection); - length = collection.length; - } - if (!length) { - return false; - } - if (typeof fromIndex == 'number') { - fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : (fromIndex || 0); - } else { - fromIndex = 0; - } - return (typeof collection == 'string' || !isArray(collection) && isString(collection)) - ? (fromIndex < length && collection.indexOf(target, fromIndex) > -1) - : (baseIndexOf(collection, target, fromIndex) > -1); -} - -module.exports = includes; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/indexBy.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/indexBy.js deleted file mode 100644 index 0cc42d5..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/indexBy.js +++ /dev/null @@ -1,53 +0,0 @@ -var createAggregator = require('../internal/createAggregator'); - -/** - * Creates an object composed of keys generated from the results of running - * each element of `collection` through `iteratee`. The corresponding value - * of each key is the last element responsible for generating the key. The - * iteratee function is bound to `thisArg` and invoked with three arguments; - * (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|Object|string} [iteratee=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Object} Returns the composed aggregate object. - * @example - * - * var keyData = [ - * { 'dir': 'left', 'code': 97 }, - * { 'dir': 'right', 'code': 100 } - * ]; - * - * _.indexBy(keyData, 'dir'); - * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } } - * - * _.indexBy(keyData, function(object) { - * return String.fromCharCode(object.code); - * }); - * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } } - * - * _.indexBy(keyData, function(object) { - * return this.fromCharCode(object.code); - * }, String); - * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } } - */ -var indexBy = createAggregator(function(result, value, key) { - result[key] = value; -}); - -module.exports = indexBy; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/inject.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/inject.js deleted file mode 100644 index 26f53cf..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/inject.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./reduce'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/invoke.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/invoke.js deleted file mode 100644 index c305a04..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/invoke.js +++ /dev/null @@ -1,30 +0,0 @@ -var baseInvoke = require('../internal/baseInvoke'), - baseSlice = require('../internal/baseSlice'); - -/** - * Invokes the method named by `methodName` on each element in `collection`, - * returning an array of the results of each invoked method. Any additional - * arguments are provided to each invoked method. If `methodName` is a function - * it is invoked for, and `this` bound to, each element in `collection`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|string} methodName The name of the method to invoke or - * the function invoked per iteration. - * @param {...*} [args] The arguments to invoke the method with. - * @returns {Array} Returns the array of results. - * @example - * - * _.invoke([[5, 1, 7], [3, 2, 1]], 'sort'); - * // => [[1, 5, 7], [1, 2, 3]] - * - * _.invoke([123, 456], String.prototype.split, ''); - * // => [['1', '2', '3'], ['4', '5', '6']] - */ -function invoke(collection, methodName) { - return baseInvoke(collection, methodName, baseSlice(arguments, 2)); -} - -module.exports = invoke; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/map.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/map.js deleted file mode 100644 index f918be6..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/map.js +++ /dev/null @@ -1,68 +0,0 @@ -var arrayMap = require('../internal/arrayMap'), - baseCallback = require('../internal/baseCallback'), - baseMap = require('../internal/baseMap'), - isArray = require('../lang/isArray'); - -/** - * Creates an array of values by running each element in `collection` through - * `iteratee`. The `iteratee` is bound to `thisArg` and invoked with three - * arguments; (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * Many lodash methods are guarded to work as interatees for methods like - * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`. - * - * The guarded methods are: - * `ary`, `callback`, `chunk`, `clone`, `create`, `curry`, `curryRight`, `drop`, - * `dropRight`, `fill`, `flatten`, `invert`, `max`, `min`, `parseInt`, `slice`, - * `sortBy`, `take`, `takeRight`, `template`, `trim`, `trimLeft`, `trimRight`, - * `trunc`, `random`, `range`, `sample`, `uniq`, and `words` - * - * @static - * @memberOf _ - * @alias collect - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|Object|string} [iteratee=_.identity] The function invoked - * per iteration. - * create a `_.property` or `_.matches` style callback respectively. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Array} Returns the new mapped array. - * @example - * - * function timesThree(n) { - * return n * 3; - * } - * - * _.map([1, 2], timesThree); - * // => [3, 6] - * - * _.map({ 'a': 1, 'b': 2 }, timesThree); - * // => [3, 6] (iteration order is not guaranteed) - * - * var users = [ - * { 'user': 'barney' }, - * { 'user': 'fred' } - * ]; - * - * // using the `_.property` callback shorthand - * _.map(users, 'user'); - * // => ['barney', 'fred'] - */ -function map(collection, iteratee, thisArg) { - var func = isArray(collection) ? arrayMap : baseMap; - iteratee = baseCallback(iteratee, thisArg, 3); - return func(collection, iteratee); -} - -module.exports = map; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/max.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/max.js deleted file mode 100644 index bb1d213..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/max.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../math/max'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/min.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/min.js deleted file mode 100644 index eef13d0..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/min.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../math/min'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/partition.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/partition.js deleted file mode 100644 index 4a5bdbe..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/partition.js +++ /dev/null @@ -1,66 +0,0 @@ -var createAggregator = require('../internal/createAggregator'); - -/** - * Creates an array of elements split into two groups, the first of which - * contains elements `predicate` returns truthy for, while the second of which - * contains elements `predicate` returns falsey for. The predicate is bound - * to `thisArg` and invoked with three arguments; (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @returns {Array} Returns the array of grouped elements. - * @example - * - * _.partition([1, 2, 3], function(n) { - * return n % 2; - * }); - * // => [[1, 3], [2]] - * - * _.partition([1.2, 2.3, 3.4], function(n) { - * return this.floor(n) % 2; - * }, Math); - * // => [[1.2, 3.4], [2.3]] - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': false }, - * { 'user': 'fred', 'age': 40, 'active': true }, - * { 'user': 'pebbles', 'age': 1, 'active': false } - * ]; - * - * var mapper = function(array) { - * return _.pluck(array, 'user'); - * }; - * - * // using the `_.matches` callback shorthand - * _.map(_.partition(users, { 'age': 1, 'active': false }), mapper); - * // => [['pebbles'], ['barney', 'fred']] - * - * // using the `_.matchesProperty` callback shorthand - * _.map(_.partition(users, 'active', false), mapper); - * // => [['barney', 'pebbles'], ['fred']] - * - * // using the `_.property` callback shorthand - * _.map(_.partition(users, 'active'), mapper); - * // => [['fred'], ['barney', 'pebbles']] - */ -var partition = createAggregator(function(result, value, key) { - result[key ? 0 : 1].push(value); -}, function() { return [[], []]; }); - -module.exports = partition; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/pluck.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/pluck.js deleted file mode 100644 index af85d5a..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/pluck.js +++ /dev/null @@ -1,31 +0,0 @@ -var baseProperty = require('../internal/baseProperty'), - map = require('./map'); - -/** - * Gets the value of `key` from all elements in `collection`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {string} key The key of the property to pluck. - * @returns {Array} Returns the property values. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 } - * ]; - * - * _.pluck(users, 'user'); - * // => ['barney', 'fred'] - * - * var userIndex = _.indexBy(users, 'user'); - * _.pluck(userIndex, 'age'); - * // => [36, 40] (iteration order is not guaranteed) - */ -function pluck(collection, key) { - return map(collection, baseProperty(key)); -} - -module.exports = pluck; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/reduce.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/reduce.js deleted file mode 100644 index f02fd9c..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/reduce.js +++ /dev/null @@ -1,48 +0,0 @@ -var arrayReduce = require('../internal/arrayReduce'), - baseCallback = require('../internal/baseCallback'), - baseEach = require('../internal/baseEach'), - baseReduce = require('../internal/baseReduce'), - isArray = require('../lang/isArray'); - -/** - * Reduces `collection` to a value which is the accumulated result of running - * each element in `collection` through `iteratee`, where each successive - * invocation is supplied the return value of the previous. If `accumulator` - * is not provided the first element of `collection` is used as the initial - * value. The `iteratee` is bound to `thisArg`and invoked with four arguments; - * (accumulator, value, index|key, collection). - * - * Many lodash methods are guarded to work as interatees for methods like - * `_.reduce`, `_.reduceRight`, and `_.transform`. - * - * The guarded methods are: - * `assign`, `defaults`, `merge`, and `sortAllBy` - * - * @static - * @memberOf _ - * @alias foldl, inject - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {*} Returns the accumulated value. - * @example - * - * _.reduce([1, 2], function(sum, n) { - * return sum + n; - * }); - * // => 3 - * - * _.reduce({ 'a': 1, 'b': 2 }, function(result, n, key) { - * result[key] = n * 3; - * return result; - * }, {}); - * // => { 'a': 3, 'b': 6 } (iteration order is not guaranteed) - */ -function reduce(collection, iteratee, accumulator, thisArg) { - var func = isArray(collection) ? arrayReduce : baseReduce; - return func(collection, baseCallback(iteratee, thisArg, 4), accumulator, arguments.length < 3, baseEach); -} - -module.exports = reduce; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/reduceRight.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/reduceRight.js deleted file mode 100644 index d517632..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/reduceRight.js +++ /dev/null @@ -1,34 +0,0 @@ -var arrayReduceRight = require('../internal/arrayReduceRight'), - baseCallback = require('../internal/baseCallback'), - baseEachRight = require('../internal/baseEachRight'), - baseReduce = require('../internal/baseReduce'), - isArray = require('../lang/isArray'); - -/** - * This method is like `_.reduce` except that it iterates over elements of - * `collection` from right to left. - * - * @static - * @memberOf _ - * @alias foldr - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {*} Returns the accumulated value. - * @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, thisArg) { - var func = isArray(collection) ? arrayReduceRight : baseReduce; - return func(collection, baseCallback(iteratee, thisArg, 4), accumulator, arguments.length < 3, baseEachRight); -} - -module.exports = reduceRight; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/reject.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/reject.js deleted file mode 100644 index e783fc7..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/reject.js +++ /dev/null @@ -1,61 +0,0 @@ -var arrayFilter = require('../internal/arrayFilter'), - baseCallback = require('../internal/baseCallback'), - baseFilter = require('../internal/baseFilter'), - isArray = require('../lang/isArray'); - -/** - * The opposite of `_.filter`; this method returns the elements of `collection` - * that `predicate` does **not** return truthy for. - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @returns {Array} Returns the new filtered array. - * @example - * - * _.reject([1, 2, 3, 4], function(n) { - * return n % 2 == 0; - * }); - * // => [1, 3] - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': false }, - * { 'user': 'fred', 'age': 40, 'active': true } - * ]; - * - * // using the `_.matches` callback shorthand - * _.pluck(_.reject(users, { 'age': 40, 'active': true }), 'user'); - * // => ['barney'] - * - * // using the `_.matchesProperty` callback shorthand - * _.pluck(_.reject(users, 'active', false), 'user'); - * // => ['fred'] - * - * // using the `_.property` callback shorthand - * _.pluck(_.reject(users, 'active'), 'user'); - * // => ['barney'] - */ -function reject(collection, predicate, thisArg) { - var func = isArray(collection) ? arrayFilter : baseFilter; - predicate = baseCallback(predicate, thisArg, 3); - return func(collection, function(value, index, collection) { - return !predicate(value, index, collection); - }); -} - -module.exports = reject; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sample.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sample.js deleted file mode 100644 index f090db1..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sample.js +++ /dev/null @@ -1,38 +0,0 @@ -var baseRandom = require('../internal/baseRandom'), - isIterateeCall = require('../internal/isIterateeCall'), - shuffle = require('./shuffle'), - toIterable = require('../internal/toIterable'); - -/* Native method references for those with the same name as other `lodash` methods. */ -var nativeMin = Math.min; - -/** - * Gets a random element or `n` random elements from a collection. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to sample. - * @param {number} [n] The number of elements to sample. - * @param- {Object} [guard] Enables use as a callback for functions like `_.map`. - * @returns {*} Returns the random sample(s). - * @example - * - * _.sample([1, 2, 3, 4]); - * // => 2 - * - * _.sample([1, 2, 3, 4], 2); - * // => [3, 1] - */ -function sample(collection, n, guard) { - if (guard ? isIterateeCall(collection, n, guard) : n == null) { - collection = toIterable(collection); - var length = collection.length; - return length > 0 ? collection[baseRandom(0, length - 1)] : undefined; - } - var result = shuffle(collection); - result.length = nativeMin(n < 0 ? 0 : (+n || 0), result.length); - return result; -} - -module.exports = sample; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/select.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/select.js deleted file mode 100644 index ade80f6..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/select.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./filter'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/shuffle.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/shuffle.js deleted file mode 100644 index 7548c1a..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/shuffle.js +++ /dev/null @@ -1,36 +0,0 @@ -var baseRandom = require('../internal/baseRandom'), - toIterable = require('../internal/toIterable'); - -/** - * Creates an array of shuffled values, using a version of the Fisher-Yates - * shuffle. See [Wikipedia](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle) - * for more details. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} 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) { - collection = toIterable(collection); - - var index = -1, - length = collection.length, - result = Array(length); - - while (++index < length) { - var rand = baseRandom(0, index); - if (index != rand) { - result[index] = result[rand]; - } - result[rand] = collection[index]; - } - return result; -} - -module.exports = shuffle; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/size.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/size.js deleted file mode 100644 index 2db4bcf..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/size.js +++ /dev/null @@ -1,29 +0,0 @@ -var isLength = require('../internal/isLength'), - keys = require('../object/keys'); - -/** - * Gets the size of `collection` by returning its length for array-like - * values or the number of own enumerable properties for objects. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to inspect. - * @returns {number} Returns the size of `collection`. - * @example - * - * _.size([1, 2, 3]); - * // => 3 - * - * _.size({ 'a': 1, 'b': 2 }); - * // => 2 - * - * _.size('pebbles'); - * // => 7 - */ -function size(collection) { - var length = collection ? collection.length : 0; - return isLength(length) ? length : keys(collection).length; -} - -module.exports = size; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/some.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/some.js deleted file mode 100644 index e256773..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/some.js +++ /dev/null @@ -1,63 +0,0 @@ -var arraySome = require('../internal/arraySome'), - baseCallback = require('../internal/baseCallback'), - baseSome = require('../internal/baseSome'), - isArray = require('../lang/isArray'); - -/** - * Checks if `predicate` returns truthy for **any** element of `collection`. - * The function returns as soon as it finds a passing value and does not iterate - * over the entire collection. The predicate is bound to `thisArg` and invoked - * with three arguments; (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @alias any - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @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 } - * ]; - * - * // using the `_.matches` callback shorthand - * _.some(users, { 'user': 'barney', 'active': false }); - * // => false - * - * // using the `_.matchesProperty` callback shorthand - * _.some(users, 'active', false); - * // => true - * - * // using the `_.property` callback shorthand - * _.some(users, 'active'); - * // => true - */ -function some(collection, predicate, thisArg) { - var func = isArray(collection) ? arraySome : baseSome; - if (typeof predicate != 'function' || typeof thisArg != 'undefined') { - predicate = baseCallback(predicate, thisArg, 3); - } - return func(collection, predicate); -} - -module.exports = some; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sortBy.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sortBy.js deleted file mode 100644 index b0f68ba..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sortBy.js +++ /dev/null @@ -1,75 +0,0 @@ -var baseCallback = require('../internal/baseCallback'), - baseEach = require('../internal/baseEach'), - baseSortBy = require('../internal/baseSortBy'), - compareAscending = require('../internal/compareAscending'), - isIterateeCall = require('../internal/isIterateeCall'), - isLength = require('../internal/isLength'); - -/** - * Creates an array of elements, sorted in ascending order by the results of - * running each element in a collection through `iteratee`. This method performs - * a stable sort, that is, it preserves the original sort order of equal elements. - * The `iteratee` is bound to `thisArg` and invoked with three arguments; - * (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Array|Function|Object|string} [iteratee=_.identity] The function - * invoked per iteration. If a property name or an object is provided it is - * used to create a `_.property` or `_.matches` style callback respectively. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Array} Returns the new sorted array. - * @example - * - * _.sortBy([1, 2, 3], function(n) { - * return Math.sin(n); - * }); - * // => [3, 1, 2] - * - * _.sortBy([1, 2, 3], function(n) { - * return this.sin(n); - * }, Math); - * // => [3, 1, 2] - * - * var users = [ - * { 'user': 'fred' }, - * { 'user': 'pebbles' }, - * { 'user': 'barney' } - * ]; - * - * // using the `_.property` callback shorthand - * _.pluck(_.sortBy(users, 'user'), 'user'); - * // => ['barney', 'fred', 'pebbles'] - */ -function sortBy(collection, iteratee, thisArg) { - if (collection == null) { - return []; - } - var index = -1, - length = collection.length, - result = isLength(length) ? Array(length) : []; - - if (thisArg && isIterateeCall(collection, iteratee, thisArg)) { - iteratee = null; - } - iteratee = baseCallback(iteratee, thisArg, 3); - baseEach(collection, function(value, key, collection) { - result[++index] = { 'criteria': iteratee(value, key, collection), 'index': index, 'value': value }; - }); - return baseSortBy(result, compareAscending); -} - -module.exports = sortBy; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sortByAll.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sortByAll.js deleted file mode 100644 index 9433989..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sortByAll.js +++ /dev/null @@ -1,41 +0,0 @@ -var baseFlatten = require('../internal/baseFlatten'), - baseSortByOrder = require('../internal/baseSortByOrder'), - isIterateeCall = require('../internal/isIterateeCall'); - -/** - * This method is like `_.sortBy` except that it sorts by property names - * instead of an iteratee function. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {...(string|string[])} props The property names to sort by, - * specified as individual property names or arrays of property names. - * @returns {Array} Returns the new sorted array. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 }, - * { 'user': 'barney', 'age': 26 }, - * { 'user': 'fred', 'age': 30 } - * ]; - * - * _.map(_.sortByAll(users, ['user', 'age']), _.values); - * // => [['barney', 26], ['barney', 36], ['fred', 30], ['fred', 40]] - */ -function sortByAll(collection) { - if (collection == null) { - return []; - } - var args = arguments, - guard = args[3]; - - if (guard && isIterateeCall(args[1], args[2], guard)) { - args = [collection, args[1]]; - } - return baseSortByOrder(collection, baseFlatten(args, false, false, 1), []); -} - -module.exports = sortByAll; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sortByOrder.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sortByOrder.js deleted file mode 100644 index 4528e6d..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sortByOrder.js +++ /dev/null @@ -1,48 +0,0 @@ -var baseSortByOrder = require('../internal/baseSortByOrder'), - isArray = require('../lang/isArray'), - isIterateeCall = require('../internal/isIterateeCall'); - -/** - * This method is like `_.sortByAll` except that it allows specifying the - * sort orders of the property names to sort by. A truthy value in `orders` - * will sort the corresponding property name in ascending order while a - * falsey value will sort it in descending order. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {string[]} props The property names to sort by. - * @param {boolean[]} orders The sort orders of `props`. - * @param- {Object} [guard] Enables use as a callback for functions like `_.reduce`. - * @returns {Array} Returns the new sorted array. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 26 }, - * { 'user': 'fred', 'age': 40 }, - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 30 } - * ]; - * - * // sort by `user` in ascending order and by `age` in descending order - * _.map(_.sortByOrder(users, ['user', 'age'], [true, false]), _.values); - * // => [['barney', 36], ['barney', 26], ['fred', 40], ['fred', 30]] - */ -function sortByOrder(collection, props, orders, guard) { - if (collection == null) { - return []; - } - if (guard && isIterateeCall(props, orders, guard)) { - orders = null; - } - if (!isArray(props)) { - props = props == null ? [] : [props]; - } - if (!isArray(orders)) { - orders = orders == null ? [] : [orders]; - } - return baseSortByOrder(collection, props, orders); -} - -module.exports = sortByOrder; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sum.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sum.js deleted file mode 100644 index a2e9380..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/sum.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../math/sum'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/where.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/where.js deleted file mode 100644 index f603bf8..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/collection/where.js +++ /dev/null @@ -1,37 +0,0 @@ -var baseMatches = require('../internal/baseMatches'), - filter = require('./filter'); - -/** - * Performs a deep comparison between each element in `collection` and the - * source object, returning an array of all elements that have equivalent - * property values. - * - * **Note:** This method supports comparing arrays, booleans, `Date` objects, - * numbers, `Object` objects, regexes, and strings. Objects are compared by - * their own, not inherited, enumerable properties. For comparing a single - * own or inherited property value see `_.matchesProperty`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to search. - * @param {Object} source The object of property values to match. - * @returns {Array} Returns the new filtered array. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': false, 'pets': ['hoppy'] }, - * { 'user': 'fred', 'age': 40, 'active': true, 'pets': ['baby puss', 'dino'] } - * ]; - * - * _.pluck(_.where(users, { 'age': 36, 'active': false }), 'user'); - * // => ['barney'] - * - * _.pluck(_.where(users, { 'pets': ['dino'] }), 'user'); - * // => ['fred'] - */ -function where(collection, source) { - return filter(collection, baseMatches(source)); -} - -module.exports = where; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/date.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/date.js deleted file mode 100644 index 195366e..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/date.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - 'now': require('./date/now') -}; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/date/now.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/date/now.js deleted file mode 100644 index 628225d..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/date/now.js +++ /dev/null @@ -1,24 +0,0 @@ -var isNative = require('../lang/isNative'); - -/* Native method references for those with the same name as other `lodash` methods. */ -var nativeNow = isNative(nativeNow = Date.now) && nativeNow; - -/** - * Gets the number of milliseconds that have elapsed since the Unix epoch - * (1 January 1970 00:00:00 UTC). - * - * @static - * @memberOf _ - * @category Date - * @example - * - * _.defer(function(stamp) { - * console.log(_.now() - stamp); - * }, _.now()); - * // => logs the number of milliseconds it took for the deferred function to be invoked - */ -var now = nativeNow || function() { - return new Date().getTime(); -}; - -module.exports = now; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function.js deleted file mode 100644 index 33ccefc..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function.js +++ /dev/null @@ -1,26 +0,0 @@ -module.exports = { - 'after': require('./function/after'), - 'ary': require('./function/ary'), - 'backflow': require('./function/backflow'), - 'before': require('./function/before'), - 'bind': require('./function/bind'), - 'bindAll': require('./function/bindAll'), - 'bindKey': require('./function/bindKey'), - 'compose': require('./function/compose'), - 'curry': require('./function/curry'), - 'curryRight': require('./function/curryRight'), - 'debounce': require('./function/debounce'), - 'defer': require('./function/defer'), - 'delay': require('./function/delay'), - 'flow': require('./function/flow'), - 'flowRight': require('./function/flowRight'), - 'memoize': require('./function/memoize'), - 'negate': require('./function/negate'), - 'once': require('./function/once'), - 'partial': require('./function/partial'), - 'partialRight': require('./function/partialRight'), - 'rearg': require('./function/rearg'), - 'spread': require('./function/spread'), - 'throttle': require('./function/throttle'), - 'wrap': require('./function/wrap') -}; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/after.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/after.js deleted file mode 100644 index e6a5de4..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/after.js +++ /dev/null @@ -1,48 +0,0 @@ -/** Used as the `TypeError` message for "Functions" methods. */ -var FUNC_ERROR_TEXT = 'Expected a function'; - -/* Native method references for those with the same name as other `lodash` methods. */ -var nativeIsFinite = global.isFinite; - -/** - * The opposite of `_.before`; this method creates a function that invokes - * `func` once it is called `n` or more times. - * - * @static - * @memberOf _ - * @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') { - if (typeof n == 'function') { - var temp = n; - n = func; - func = temp; - } else { - throw new TypeError(FUNC_ERROR_TEXT); - } - } - n = nativeIsFinite(n = +n) ? n : 0; - return function() { - if (--n < 1) { - return func.apply(this, arguments); - } - }; -} - -module.exports = after; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/ary.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/ary.js deleted file mode 100644 index 9604c1b..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/ary.js +++ /dev/null @@ -1,34 +0,0 @@ -var createWrapper = require('../internal/createWrapper'), - isIterateeCall = require('../internal/isIterateeCall'); - -/** Used to compose bitmasks for wrapper metadata. */ -var ARY_FLAG = 256; - -/* Native method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max; - -/** - * Creates a function that accepts up to `n` arguments ignoring any - * additional arguments. - * - * @static - * @memberOf _ - * @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 a callback for functions like `_.map`. - * @returns {Function} Returns the new function. - * @example - * - * _.map(['6', '8', '10'], _.ary(parseInt, 1)); - * // => [6, 8, 10] - */ -function ary(func, n, guard) { - if (guard && isIterateeCall(func, n, guard)) { - n = null; - } - n = (func && n == null) ? func.length : nativeMax(+n || 0, 0); - return createWrapper(func, ARY_FLAG, null, null, null, null, n); -} - -module.exports = ary; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/backflow.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/backflow.js deleted file mode 100644 index 1954e94..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/backflow.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./flowRight'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/before.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/before.js deleted file mode 100644 index 0ae3f97..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/before.js +++ /dev/null @@ -1,41 +0,0 @@ -/** Used as the `TypeError` message for "Functions" methods. */ -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 is called less than `n` times. Subsequent - * calls to the created function return the result of the last `func` invocation. - * - * @static - * @memberOf _ - * @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('#add').on('click', _.before(5, addContactToList)); - * // => allows adding up to 4 contacts to the list - */ -function before(n, func) { - var result; - if (typeof func != 'function') { - if (typeof n == 'function') { - var temp = n; - n = func; - func = temp; - } else { - throw new TypeError(FUNC_ERROR_TEXT); - } - } - return function() { - if (--n > 0) { - result = func.apply(this, arguments); - } else { - func = null; - } - return result; - }; -} - -module.exports = before; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/bind.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/bind.js deleted file mode 100644 index 155df05..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/bind.js +++ /dev/null @@ -1,58 +0,0 @@ -var baseSlice = require('../internal/baseSlice'), - createWrapper = require('../internal/createWrapper'), - replaceHolders = require('../internal/replaceHolders'); - -/** Used to compose bitmasks for wrapper metadata. */ -var BIND_FLAG = 1, - PARTIAL_FLAG = 32; - -/** - * Creates a function that invokes `func` with the `this` binding of `thisArg` - * and prepends any additional `_.bind` arguments to those provided to the - * bound function. - * - * 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 does not set the `length` - * property of bound functions. - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to bind. - * @param {*} thisArg The `this` binding of `func`. - * @param {...*} [args] The arguments to be partially applied. - * @returns {Function} Returns the new bound function. - * @example - * - * var greet = function(greeting, punctuation) { - * return greeting + ' ' + this.user + punctuation; - * }; - * - * var object = { 'user': 'fred' }; - * - * var bound = _.bind(greet, object, 'hi'); - * bound('!'); - * // => 'hi fred!' - * - * // using placeholders - * var bound = _.bind(greet, object, _, '!'); - * bound('hi'); - * // => 'hi fred!' - */ -function bind(func, thisArg) { - var bitmask = BIND_FLAG; - if (arguments.length > 2) { - var partials = baseSlice(arguments, 2), - holders = replaceHolders(partials, bind.placeholder); - - bitmask |= PARTIAL_FLAG; - } - return createWrapper(func, bitmask, thisArg, partials, holders); -} - -// Assign default placeholders. -bind.placeholder = {}; - -module.exports = bind; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/bindAll.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/bindAll.js deleted file mode 100644 index 82db5dc..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/bindAll.js +++ /dev/null @@ -1,41 +0,0 @@ -var baseBindAll = require('../internal/baseBindAll'), - baseFlatten = require('../internal/baseFlatten'), - functions = require('../object/functions'); - -/** - * Binds methods of an object to the object itself, overwriting the existing - * method. Method names may be specified as individual arguments or as arrays - * of method names. If no method names are provided all enumerable function - * properties, own and inherited, of `object` are bound. - * - * **Note:** This method does not set the `length` property of bound functions. - * - * @static - * @memberOf _ - * @category Function - * @param {Object} object The object to bind and assign the bound methods to. - * @param {...(string|string[])} [methodNames] The object method names to bind, - * specified as individual method names or arrays of method names. - * @returns {Object} Returns `object`. - * @example - * - * var view = { - * 'label': 'docs', - * 'onClick': function() { - * console.log('clicked ' + this.label); - * } - * }; - * - * _.bindAll(view); - * jQuery('#docs').on('click', view.onClick); - * // => logs 'clicked docs' when the element is clicked - */ -function bindAll(object) { - return baseBindAll(object, - arguments.length > 1 - ? baseFlatten(arguments, false, false, 1) - : functions(object) - ); -} - -module.exports = bindAll; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/bindKey.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/bindKey.js deleted file mode 100644 index 8098d16..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/bindKey.js +++ /dev/null @@ -1,68 +0,0 @@ -var baseSlice = require('../internal/baseSlice'), - createWrapper = require('../internal/createWrapper'), - replaceHolders = require('../internal/replaceHolders'); - -/** Used to compose bitmasks for wrapper metadata. */ -var BIND_FLAG = 1, - BIND_KEY_FLAG = 2, - PARTIAL_FLAG = 32; - -/** - * Creates a function that invokes the method at `object[key]` and prepends - * any additional `_.bindKey` arguments to those provided to the bound function. - * - * 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://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 _ - * @category Function - * @param {Object} object The object the method belongs to. - * @param {string} key The key of the method. - * @param {...*} [args] 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!' - * - * // using placeholders - * var bound = _.bindKey(object, 'greet', _, '!'); - * bound('hi'); - * // => 'hiya fred!' - */ -function bindKey(object, key) { - var bitmask = BIND_FLAG | BIND_KEY_FLAG; - if (arguments.length > 2) { - var partials = baseSlice(arguments, 2), - holders = replaceHolders(partials, bindKey.placeholder); - - bitmask |= PARTIAL_FLAG; - } - return createWrapper(key, bitmask, object, partials, holders); -} - -// Assign default placeholders. -bindKey.placeholder = {}; - -module.exports = bindKey; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/compose.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/compose.js deleted file mode 100644 index 1954e94..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/compose.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./flowRight'); diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/curry.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/curry.js deleted file mode 100644 index 5f7afaf..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/curry.js +++ /dev/null @@ -1,59 +0,0 @@ -var createWrapper = require('../internal/createWrapper'), - isIterateeCall = require('../internal/isIterateeCall'); - -/** Used to compose bitmasks for wrapper metadata. */ -var CURRY_FLAG = 8; - -/** - * Creates a function that accepts one or more arguments of `func` that when - * called either invokes `func` returning its result, if all `func` arguments - * have been provided, or returns a function that accepts one or more of 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 does not set the `length` property of curried functions. - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to curry. - * @param {number} [arity=func.length] The arity of `func`. - * @param- {Object} [guard] Enables use as a callback for functions 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] - * - * // using placeholders - * curried(1)(_, 3)(2); - * // => [1, 2, 3] - */ -function curry(func, arity, guard) { - if (guard && isIterateeCall(func, arity, guard)) { - arity = null; - } - var result = createWrapper(func, CURRY_FLAG, null, null, null, null, null, arity); - result.placeholder = curry.placeholder; - return result; -} - -// Assign default placeholders. -curry.placeholder = {}; - -module.exports = curry; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/curryRight.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/curryRight.js deleted file mode 100644 index c36ab21..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/curryRight.js +++ /dev/null @@ -1,56 +0,0 @@ -var createWrapper = require('../internal/createWrapper'), - isIterateeCall = require('../internal/isIterateeCall'); - -/** Used to compose bitmasks for wrapper metadata. */ -var 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 does not set the `length` property of curried functions. - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to curry. - * @param {number} [arity=func.length] The arity of `func`. - * @param- {Object} [guard] Enables use as a callback for functions 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] - * - * // using placeholders - * curried(3)(1, _)(2); - * // => [1, 2, 3] - */ -function curryRight(func, arity, guard) { - if (guard && isIterateeCall(func, arity, guard)) { - arity = null; - } - var result = createWrapper(func, CURRY_RIGHT_FLAG, null, null, null, null, null, arity); - result.placeholder = curryRight.placeholder; - return result; -} - -// Assign default placeholders. -curryRight.placeholder = {}; - -module.exports = curryRight; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/debounce.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/debounce.js deleted file mode 100644 index 5fdf7fc..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/debounce.js +++ /dev/null @@ -1,186 +0,0 @@ -var isObject = require('../lang/isObject'), - now = require('../date/now'); - -/** Used as the `TypeError` message for "Functions" methods. */ -var FUNC_ERROR_TEXT = 'Expected a function'; - -/* Native method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max; - -/** - * Creates a function that delays invoking `func` until after `wait` milliseconds - * have elapsed since the last time it was invoked. The created function comes - * with a `cancel` method to cancel delayed invocations. Provide an options - * object to indicate that `func` should be invoked on the leading and/or - * trailing edge of the `wait` timeout. 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 the debounced function is - * invoked more than once during the `wait` timeout. - * - * See [David Corbacho's article](http://drupalmotion.com/article/debounce-and-throttle-visual-explanation) - * for details over the differences between `_.debounce` and `_.throttle`. - * - * @static - * @memberOf _ - * @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 is 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 the click event is fired, debouncing subsequent calls - * jQuery('#postbox').on('click', _.debounce(sendMail, 300, { - * 'leading': true, - * 'trailing': false - * })); - * - * // ensure `batchLog` is invoked once after 1 second of debounced calls - * var source = new EventSource('/stream'); - * jQuery(source).on('message', _.debounce(batchLog, 250, { - * 'maxWait': 1000 - * })); - * - * // cancel a debounced call - * var todoChanges = _.debounce(batchLog, 1000); - * Object.observe(models.todo, todoChanges); - * - * Object.observe(models, function(changes) { - * if (_.find(changes, { 'user': 'todo', 'type': 'delete'})) { - * todoChanges.cancel(); - * } - * }, ['delete']); - * - * // ...at some point `models.todo` is changed - * models.todo.completed = true; - * - * // ...before 1 second has passed `models.todo` is deleted - * // which cancels the debounced `todoChanges` call - * delete models.todo; - */ -function debounce(func, wait, options) { - var args, - maxTimeoutId, - result, - stamp, - thisArg, - timeoutId, - trailingCall, - lastCalled = 0, - maxWait = false, - trailing = true; - - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - wait = wait < 0 ? 0 : (+wait || 0); - if (options === true) { - var leading = true; - trailing = false; - } else if (isObject(options)) { - leading = options.leading; - maxWait = 'maxWait' in options && nativeMax(+options.maxWait || 0, wait); - trailing = 'trailing' in options ? options.trailing : trailing; - } - - function cancel() { - if (timeoutId) { - clearTimeout(timeoutId); - } - if (maxTimeoutId) { - clearTimeout(maxTimeoutId); - } - maxTimeoutId = timeoutId = trailingCall = undefined; - } - - function delayed() { - var remaining = wait - (now() - stamp); - if (remaining <= 0 || remaining > wait) { - if (maxTimeoutId) { - clearTimeout(maxTimeoutId); - } - var isCalled = trailingCall; - maxTimeoutId = timeoutId = trailingCall = undefined; - if (isCalled) { - lastCalled = now(); - result = func.apply(thisArg, args); - if (!timeoutId && !maxTimeoutId) { - args = thisArg = null; - } - } - } else { - timeoutId = setTimeout(delayed, remaining); - } - } - - function maxDelayed() { - if (timeoutId) { - clearTimeout(timeoutId); - } - maxTimeoutId = timeoutId = trailingCall = undefined; - if (trailing || (maxWait !== wait)) { - lastCalled = now(); - result = func.apply(thisArg, args); - if (!timeoutId && !maxTimeoutId) { - args = thisArg = null; - } - } - } - - function debounced() { - args = arguments; - stamp = now(); - thisArg = this; - trailingCall = trailing && (timeoutId || !leading); - - if (maxWait === false) { - var leadingCall = leading && !timeoutId; - } else { - if (!maxTimeoutId && !leading) { - lastCalled = stamp; - } - var remaining = maxWait - (stamp - lastCalled), - isCalled = remaining <= 0 || remaining > maxWait; - - if (isCalled) { - if (maxTimeoutId) { - maxTimeoutId = clearTimeout(maxTimeoutId); - } - lastCalled = stamp; - result = func.apply(thisArg, args); - } - else if (!maxTimeoutId) { - maxTimeoutId = setTimeout(maxDelayed, remaining); - } - } - if (isCalled && timeoutId) { - timeoutId = clearTimeout(timeoutId); - } - else if (!timeoutId && wait !== maxWait) { - timeoutId = setTimeout(delayed, wait); - } - if (leadingCall) { - isCalled = true; - result = func.apply(thisArg, args); - } - if (isCalled && !timeoutId && !maxTimeoutId) { - args = thisArg = null; - } - return result; - } - debounced.cancel = cancel; - return debounced; -} - -module.exports = debounce; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/defer.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/defer.js deleted file mode 100644 index ed31c24..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/defer.js +++ /dev/null @@ -1,24 +0,0 @@ -var baseDelay = require('../internal/baseDelay'); - -/** - * Defers invoking the `func` until the current call stack has cleared. Any - * additional arguments are provided to `func` when it is invoked. - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to defer. - * @param {...*} [args] The arguments to invoke the function with. - * @returns {number} Returns the timer id. - * @example - * - * _.defer(function(text) { - * console.log(text); - * }, 'deferred'); - * // logs 'deferred' after one or more milliseconds - */ -function defer(func) { - return baseDelay(func, 1, arguments, 1); -} - -module.exports = defer; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/delay.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/delay.js deleted file mode 100644 index 889e577..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/delay.js +++ /dev/null @@ -1,25 +0,0 @@ -var baseDelay = require('../internal/baseDelay'); - -/** - * Invokes `func` after `wait` milliseconds. Any additional arguments are - * provided to `func` when it is invoked. - * - * @static - * @memberOf _ - * @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 the function with. - * @returns {number} Returns the timer id. - * @example - * - * _.delay(function(text) { - * console.log(text); - * }, 1000, 'later'); - * // => logs 'later' after one second - */ -function delay(func, wait) { - return baseDelay(func, wait, arguments, 2); -} - -module.exports = delay; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/flow.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/flow.js deleted file mode 100644 index da946f2..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/flow.js +++ /dev/null @@ -1,25 +0,0 @@ -var createComposer = require('../internal/createComposer'); - -/** - * Creates a function that returns the result of invoking the provided - * functions with the `this` binding of the created function, where each - * successive invocation is supplied the return value of the previous. - * - * @static - * @memberOf _ - * @category Function - * @param {...Function} [funcs] Functions to invoke. - * @returns {Function} Returns the new function. - * @example - * - * function square(n) { - * return n * n; - * } - * - * var addSquare = _.flow(_.add, square); - * addSquare(1, 2); - * // => 9 - */ -var flow = createComposer(); - -module.exports = flow; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/flowRight.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/flowRight.js deleted file mode 100644 index f7981b3..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/flowRight.js +++ /dev/null @@ -1,25 +0,0 @@ -var createComposer = require('../internal/createComposer'); - -/** - * This method is like `_.flow` except that it creates a function that - * invokes the provided functions from right to left. - * - * @static - * @memberOf _ - * @alias backflow, compose - * @category Function - * @param {...Function} [funcs] Functions to invoke. - * @returns {Function} Returns the new function. - * @example - * - * function square(n) { - * return n * n; - * } - * - * var addSquare = _.flowRight(square, _.add); - * addSquare(1, 2); - * // => 9 - */ -var flowRight = createComposer(true); - -module.exports = flowRight; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/memoize.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/memoize.js deleted file mode 100644 index f80f4a9..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/memoize.js +++ /dev/null @@ -1,82 +0,0 @@ -var MapCache = require('../internal/MapCache'); - -/** Used as the `TypeError` message for "Functions" methods. */ -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 coerced to a string and used as the - * 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 ES `Map` method interface - * of `get`, `has`, and `set`. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-properties-of-the-map-prototype-object) - * for more details. - * - * @static - * @memberOf _ - * @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 memoizing function. - * @example - * - * var upperCase = _.memoize(function(string) { - * return string.toUpperCase(); - * }); - * - * upperCase('fred'); - * // => 'FRED' - * - * // modifying the result cache - * upperCase.cache.set('fred', 'BARNEY'); - * upperCase('fred'); - * // => 'BARNEY' - * - * // replacing `_.memoize.Cache` - * var object = { 'user': 'fred' }; - * var other = { 'user': 'barney' }; - * var identity = _.memoize(_.identity); - * - * identity(object); - * // => { 'user': 'fred' } - * identity(other); - * // => { 'user': 'fred' } - * - * _.memoize.Cache = WeakMap; - * var identity = _.memoize(_.identity); - * - * identity(object); - * // => { 'user': 'fred' } - * identity(other); - * // => { 'user': 'barney' } - */ -function memoize(func, resolver) { - if (typeof func != 'function' || (resolver && typeof resolver != 'function')) { - throw new TypeError(FUNC_ERROR_TEXT); - } - var memoized = function() { - var args = arguments, - cache = memoized.cache, - key = resolver ? resolver.apply(this, args) : args[0]; - - if (cache.has(key)) { - return cache.get(key); - } - var result = func.apply(this, args); - cache.set(key, result); - return result; - }; - memoized.cache = new memoize.Cache; - return memoized; -} - -// Assign cache to `_.memoize`. -memoize.Cache = MapCache; - -module.exports = memoize; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/negate.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/negate.js deleted file mode 100644 index 8247939..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/negate.js +++ /dev/null @@ -1,32 +0,0 @@ -/** Used as the `TypeError` message for "Functions" methods. */ -var FUNC_ERROR_TEXT = 'Expected a function'; - -/** - * 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 _ - * @category Function - * @param {Function} predicate The predicate to negate. - * @returns {Function} Returns the new 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() { - return !predicate.apply(this, arguments); - }; -} - -module.exports = negate; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/once.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/once.js deleted file mode 100644 index 90c0ae9..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/once.js +++ /dev/null @@ -1,24 +0,0 @@ -var before = require('./before'); - -/** - * Creates a function that is restricted to invoking `func` once. Repeat calls - * to the function return the value of the first call. The `func` is invoked - * with the `this` binding of the created function. - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new restricted function. - * @example - * - * var initialize = _.once(createApplication); - * initialize(); - * initialize(); - * // `initialize` invokes `createApplication` once - */ -function once(func) { - return before(func, 2); -} - -module.exports = once; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/partial.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/partial.js deleted file mode 100644 index 70a1f9f..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/partial.js +++ /dev/null @@ -1,50 +0,0 @@ -var baseSlice = require('../internal/baseSlice'), - createWrapper = require('../internal/createWrapper'), - replaceHolders = require('../internal/replaceHolders'); - -/** Used to compose bitmasks for wrapper metadata. */ -var PARTIAL_FLAG = 32; - -/** - * Creates a function that invokes `func` with `partial` arguments prepended - * to those provided to the new function. 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 does not set the `length` property of partially - * applied functions. - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to partially apply arguments to. - * @param {...*} [args] The arguments to be partially applied. - * @returns {Function} Returns the new partially applied function. - * @example - * - * var greet = function(greeting, name) { - * return greeting + ' ' + name; - * }; - * - * var sayHelloTo = _.partial(greet, 'hello'); - * sayHelloTo('fred'); - * // => 'hello fred' - * - * // using placeholders - * var greetFred = _.partial(greet, _, 'fred'); - * greetFred('hi'); - * // => 'hi fred' - */ -function partial(func) { - var partials = baseSlice(arguments, 1), - holders = replaceHolders(partials, partial.placeholder); - - return createWrapper(func, PARTIAL_FLAG, null, partials, holders); -} - -// Assign default placeholders. -partial.placeholder = {}; - -module.exports = partial; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/partialRight.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/partialRight.js deleted file mode 100644 index 1587ad0..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/partialRight.js +++ /dev/null @@ -1,49 +0,0 @@ -var baseSlice = require('../internal/baseSlice'), - createWrapper = require('../internal/createWrapper'), - replaceHolders = require('../internal/replaceHolders'); - -/** Used to compose bitmasks for wrapper metadata. */ -var PARTIAL_RIGHT_FLAG = 64; - -/** - * This method is like `_.partial` except that partially applied arguments - * are appended to those provided to the new function. - * - * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic - * builds, may be used as a placeholder for partially applied arguments. - * - * **Note:** This method does not set the `length` property of partially - * applied functions. - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to partially apply arguments to. - * @param {...*} [args] The arguments to be partially applied. - * @returns {Function} Returns the new partially applied function. - * @example - * - * var greet = function(greeting, name) { - * return greeting + ' ' + name; - * }; - * - * var greetFred = _.partialRight(greet, 'fred'); - * greetFred('hi'); - * // => 'hi fred' - * - * // using placeholders - * var sayHelloTo = _.partialRight(greet, 'hello', _); - * sayHelloTo('fred'); - * // => 'hello fred' - */ -function partialRight(func) { - var partials = baseSlice(arguments, 1), - holders = replaceHolders(partials, partialRight.placeholder); - - return createWrapper(func, PARTIAL_RIGHT_FLAG, null, partials, holders); -} - -// Assign default placeholders. -partialRight.placeholder = {}; - -module.exports = partialRight; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/rearg.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/rearg.js deleted file mode 100644 index a1bcd52..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/rearg.js +++ /dev/null @@ -1,40 +0,0 @@ -var baseFlatten = require('../internal/baseFlatten'), - createWrapper = require('../internal/createWrapper'); - -/** Used to compose bitmasks for wrapper metadata. */ -var REARG_FLAG = 128; - -/** - * 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 _ - * @category Function - * @param {Function} func The function to rearrange arguments for. - * @param {...(number|number[])} indexes The arranged argument indexes, - * specified as individual indexes or arrays of 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 map = _.rearg(_.map, [1, 0]); - * map(function(n) { - * return n * 3; - * }, [1, 2, 3]); - * // => [3, 6, 9] - */ -function rearg(func) { - var indexes = baseFlatten(arguments, false, false, 1); - return createWrapper(func, REARG_FLAG, null, null, null, indexes); -} - -module.exports = rearg; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/spread.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/spread.js deleted file mode 100644 index a14d72a..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/spread.js +++ /dev/null @@ -1,43 +0,0 @@ -/** Used as the `TypeError` message for "Functions" methods. */ -var FUNC_ERROR_TEXT = 'Expected a function'; - -/** - * Creates a function that invokes `func` with the `this` binding of the - * created function and the array of arguments provided to the created - * function much like [Function#apply](http://es5.github.io/#x15.3.4.3). - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to spread arguments over. - * @returns {*} Returns the new function. - * @example - * - * var spread = _.spread(function(who, what) { - * return who + ' says ' + what; - * }); - * - * spread(['Fred', 'hello']); - * // => 'Fred says hello' - * - * // with a Promise - * 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) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - return function(array) { - return func.apply(this, array); - }; -} - -module.exports = spread; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/throttle.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/throttle.js deleted file mode 100644 index 7c30e64..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/throttle.js +++ /dev/null @@ -1,72 +0,0 @@ -var debounce = require('./debounce'), - isObject = require('../lang/isObject'); - -/** Used as the `TypeError` message for "Functions" methods. */ -var FUNC_ERROR_TEXT = 'Expected a function'; - -/** Used as an internal `_.debounce` options object by `_.throttle`. */ -var debounceOptions = { - 'leading': false, - 'maxWait': 0, - 'trailing': false -}; - -/** - * Creates a function that only invokes `func` at most once per every `wait` - * milliseconds. The created function comes with a `cancel` method to cancel - * delayed invocations. Provide an options object to indicate that `func` - * should be invoked on the leading and/or trailing edge of the `wait` timeout. - * Subsequent calls to the throttled function return the result of the last - * `func` call. - * - * **Note:** If `leading` and `trailing` options are `true`, `func` is invoked - * on the trailing edge of the timeout only if the the throttled function is - * invoked more than once during the `wait` timeout. - * - * See [David Corbacho's article](http://drupalmotion.com/article/debounce-and-throttle-visual-explanation) - * for details over the differences between `_.throttle` and `_.debounce`. - * - * @static - * @memberOf _ - * @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 - * jQuery('.interactive').on('click', _.throttle(renewToken, 300000, { - * 'trailing': false - * })); - * - * // cancel a trailing throttled call - * 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 (options === false) { - leading = false; - } else if (isObject(options)) { - leading = 'leading' in options ? !!options.leading : leading; - trailing = 'trailing' in options ? !!options.trailing : trailing; - } - debounceOptions.leading = leading; - debounceOptions.maxWait = +wait; - debounceOptions.trailing = trailing; - return debounce(func, wait, debounceOptions); -} - -module.exports = throttle; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/wrap.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/wrap.js deleted file mode 100644 index 68b09af..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/function/wrap.js +++ /dev/null @@ -1,33 +0,0 @@ -var createWrapper = require('../internal/createWrapper'), - identity = require('../utility/identity'); - -/** Used to compose bitmasks for wrapper metadata. */ -var PARTIAL_FLAG = 32; - -/** - * Creates a function that provides `value` to the wrapper function as its - * first argument. Any additional arguments provided to the function are - * appended to those provided to the wrapper function. The wrapper is invoked - * with the `this` binding of the created function. - * - * @static - * @memberOf _ - * @category Function - * @param {*} value The value to wrap. - * @param {Function} wrapper 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) { - wrapper = wrapper == null ? identity : wrapper; - return createWrapper(wrapper, PARTIAL_FLAG, null, [value], []); -} - -module.exports = wrap; diff --git a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/index.js b/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/index.js deleted file mode 100644 index 52b19d7..0000000 --- a/node_modules/aws-sdk/node_modules/xmlbuilder/node_modules/lodash/index.js +++ /dev/null @@ -1,11599 +0,0 @@ -/** - * @license - * lodash 3.5.0 (Custom Build) - * Build: `lodash modern -d -o ./index.js` - * Copyright 2012-2015 The Dojo Foundation - * Based on Underscore.js 1.8.2 - * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - * Available under MIT license - */ -;(function() { - - /** Used as a safe reference for `undefined` in pre-ES5 environments. */ - var undefined; - - /** Used as the semantic version number. */ - var VERSION = '3.5.0'; - - /** Used to compose bitmasks for wrapper metadata. */ - var BIND_FLAG = 1, - BIND_KEY_FLAG = 2, - CURRY_BOUND_FLAG = 4, - CURRY_FLAG = 8, - CURRY_RIGHT_FLAG = 16, - PARTIAL_FLAG = 32, - PARTIAL_RIGHT_FLAG = 64, - REARG_FLAG = 128, - ARY_FLAG = 256; - - /** Used as default options for `_.trunc`. */ - var DEFAULT_TRUNC_LENGTH = 30, - DEFAULT_TRUNC_OMISSION = '...'; - - /** Used to detect when a function becomes hot. */ - var HOT_COUNT = 150, - HOT_SPAN = 16; - - /** Used to indicate the type of lazy iteratees. */ - var LAZY_DROP_WHILE_FLAG = 0, - LAZY_FILTER_FLAG = 1, - LAZY_MAP_FLAG = 2; - - /** Used as the `TypeError` message for "Functions" methods. */ - var FUNC_ERROR_TEXT = 'Expected a function'; - - /** Used as the internal argument placeholder. */ - var PLACEHOLDER = '__lodash_placeholder__'; - - /** `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]', - 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|#96);/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 ES template delimiters. - * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-template-literal-lexical-components) - * for more details. - */ - var reEsTemplate = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g; - - /** Used to match `RegExp` flags from their coerced string values. */ - var reFlags = /\w*$/; - - /** Used to detect named functions. */ - var reFuncName = /^\s*function[ \n\r\t]+\w/; - - /** Used to detect hexadecimal string values. */ - var reHexPrefix = /^0[xX]/; - - /** Used to detect host constructors (Safari > 5). */ - var reHostCtor = /^\[object .+?Constructor\]$/; - - /** Used to match latin-1 supplementary letters (excluding mathematical operators). */ - var reLatin1 = /[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g; - - /** Used to ensure capturing order of template delimiters. */ - var reNoMatch = /($^)/; - - /** - * Used to match `RegExp` special characters. - * See this [article on `RegExp` characters](http://www.regular-expressions.info/characters.html#special) - * for more details. - */ - var reRegExpChars = /[.*+?^${}()|[\]\/\\]/g, - reHasRegExpChars = RegExp(reRegExpChars.source); - - /** Used to detect functions containing a `this` reference. */ - var reThis = /\bthis\b/; - - /** Used to match unescaped characters in compiled string literals. */ - var reUnescapedString = /['\n\r\u2028\u2029\\]/g; - - /** Used to match words to create compound words. */ - var reWords = (function() { - var upper = '[A-Z\\xc0-\\xd6\\xd8-\\xde]', - lower = '[a-z\\xdf-\\xf6\\xf8-\\xff]+'; - - return RegExp(upper + '+(?=' + upper + lower + ')|' + upper + '?' + lower + '|' + upper + '+|[0-9]+', 'g'); - }()); - - /** Used to detect and test for whitespace. */ - var whitespace = ( - // Basic whitespace characters. - ' \t\x0b\f\xa0\ufeff' + - - // Line terminators. - '\n\r\u2028\u2029' + - - // Unicode category "Zs" space separators. - '\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000' - ); - - /** Used to assign default `context` object properties. */ - var contextProps = [ - 'Array', 'ArrayBuffer', 'Date', 'Error', 'Float32Array', 'Float64Array', - 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Math', 'Number', - 'Object', 'RegExp', 'Set', 'String', '_', 'clearTimeout', 'document', - 'isFinite', 'parseInt', 'setTimeout', 'TypeError', 'Uint8Array', - 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap', - 'window', 'WinRTError' - ]; - - /** 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[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[boolTag] = - cloneableTags[dateTag] = cloneableTags[float32Tag] = - cloneableTags[float64Tag] = cloneableTags[int8Tag] = - cloneableTags[int16Tag] = cloneableTags[int32Tag] = - cloneableTags[numberTag] = cloneableTags[objectTag] = - cloneableTags[regexpTag] = cloneableTags[stringTag] = - cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = - cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true; - cloneableTags[errorTag] = cloneableTags[funcTag] = - cloneableTags[mapTag] = cloneableTags[setTag] = - cloneableTags[weakMapTag] = false; - - /** Used as an internal `_.debounce` options object by `_.throttle`. */ - var debounceOptions = { - 'leading': false, - 'maxWait': 0, - 'trailing': false - }; - - /** Used to map latin-1 supplementary letters to basic latin letters. */ - var deburredLetters = { - '\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' - }; - - /** Used to map characters to HTML entities. */ - var htmlEscapes = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''', - '`': '`' - }; - - /** Used to map HTML entities to characters. */ - var htmlUnescapes = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - ''': "'", - '`': '`' - }; - - /** Used to determine if values are of the language type `Object`. */ - var objectTypes = { - 'function': true, - 'object': true - }; - - /** Used to escape characters for inclusion in compiled string literals. */ - var stringEscapes = { - '\\': '\\', - "'": "'", - '\n': 'n', - '\r': 'r', - '\u2028': 'u2028', - '\u2029': 'u2029' - }; - - /** Detect free variable `exports`. */ - var freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && exports; - - /** Detect free variable `module`. */ - var freeModule = objectTypes[typeof module] && module && !module.nodeType && module; - - /** Detect free variable `global` from Node.js. */ - var freeGlobal = freeExports && freeModule && typeof global == 'object' && global; - - /** Detect free variable `window`. */ - var freeWindow = objectTypes[typeof window] && window; - - /** Detect the popular CommonJS extension `module.exports`. */ - var moduleExports = freeModule && freeModule.exports === freeExports && freeExports; - - /** - * Used as a reference to the global object. - * - * The `this` value is used if it is the global object to avoid Greasemonkey's - * restricted `window` object, otherwise the `window` object is used. - */ - var root = freeGlobal || ((freeWindow !== (this && this.window)) && freeWindow) || this; - - /*--------------------------------------------------------------------------*/ - - /** - * The base implementation of `compareAscending` which compares values and - * sorts them in ascending order without guaranteeing a stable sort. - * - * @private - * @param {*} value The value to compare to `other`. - * @param {*} other The value to compare to `value`. - * @returns {number} Returns the sort order indicator for `value`. - */ - function baseCompareAscending(value, other) { - if (value !== other) { - var valIsReflexive = value === value, - othIsReflexive = other === other; - - if (value > other || !valIsReflexive || (typeof value == 'undefined' && othIsReflexive)) { - return 1; - } - if (value < other || !othIsReflexive || (typeof other == 'undefined' && valIsReflexive)) { - return -1; - } - } - return 0; - } - - /** - * The base implementation of `_.indexOf` without support for binary searches. - * - * @private - * @param {Array} array The array to search. - * @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) { - if (value !== value) { - return indexOfNaN(array, fromIndex); - } - var index = fromIndex - 1, - length = array.length; - - while (++index < length) { - if (array[index] === value) { - return index; - } - } - return -1; - } - - /** - * The base implementation of `_.isFunction` without support for environments - * with incorrect `typeof` results. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`. - */ - function baseIsFunction(value) { - // Avoid a Chakra JIT bug in compatibility modes of IE 11. - // See https://github.com/jashkenas/underscore/issues/1621 for more details. - return typeof value == 'function' || false; - } - - /** - * Converts `value` to a string if it is not one. An empty string is returned - * for `null` or `undefined` values. - * - * @private - * @param {*} value The value to process. - * @returns {string} Returns the string. - */ - function baseToString(value) { - if (typeof value == 'string') { - return value; - } - return value == null ? '' : (value + ''); - } - - /** - * Used by `_.max` and `_.min` as the default callback for string values. - * - * @private - * @param {string} string The string to inspect. - * @returns {number} Returns the code unit of the first character of the string. - */ - function charAtCallback(string) { - return string.charCodeAt(0); - } - - /** - * Used by `_.trim` and `_.trimLeft` to get the index of the first character - * of `string` that is not found in `chars`. - * - * @private - * @param {string} string The string to inspect. - * @param {string} chars The characters to find. - * @returns {number} Returns the index of the first character not found in `chars`. - */ - function charsLeftIndex(string, chars) { - var index = -1, - length = string.length; - - while (++index < length && chars.indexOf(string.charAt(index)) > -1) {} - return index; - } - - /** - * Used by `_.trim` and `_.trimRight` to get the index of the last character - * of `string` that is not found in `chars`. - * - * @private - * @param {string} string The string to inspect. - * @param {string} chars The characters to find. - * @returns {number} Returns the index of the last character not found in `chars`. - */ - function charsRightIndex(string, chars) { - var index = string.length; - - while (index-- && chars.indexOf(string.charAt(index)) > -1) {} - return index; - } - - /** - * Used by `_.sortBy` to compare transformed elements of a collection and stable - * sort them in ascending order. - * - * @private - * @param {Object} object The object to compare to `other`. - * @param {Object} other The object to compare to `object`. - * @returns {number} Returns the sort order indicator for `object`. - */ - function compareAscending(object, other) { - return baseCompareAscending(object.criteria, other.criteria) || (object.index - other.index); - } - - /** - * Used by `_.sortByOrder` to compare multiple properties of each element - * in a collection and stable sort them in the following order: - * - * If orders is unspecified, sort in ascending order for all properties. - * Otherwise, for each property, sort in ascending order if its corresponding value in - * orders is true, and descending order if false. - * - * @private - * @param {Object} object The object to compare to `other`. - * @param {Object} other The object to compare to `object`. - * @param {boolean[]} 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 = baseCompareAscending(objCriteria[index], othCriteria[index]); - if (result) { - if (index >= ordersLength) { - return result; - } - return result * (orders[index] ? 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://code.google.com/p/v8/issues/detail?id=90 for more details. - return object.index - other.index; - } - - /** - * Used by `_.deburr` to convert latin-1 supplementary letters to basic latin letters. - * - * @private - * @param {string} letter The matched letter to deburr. - * @returns {string} Returns the deburred letter. - */ - function deburrLetter(letter) { - return deburredLetters[letter]; - } - - /** - * Used by `_.escape` to convert characters to HTML entities. - * - * @private - * @param {string} chr The matched character to escape. - * @returns {string} Returns the escaped character. - */ - function escapeHtmlChar(chr) { - return htmlEscapes[chr]; - } - - /** - * 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 index at which the first occurrence of `NaN` is found in `array`. - * If `fromRight` is provided elements of `array` are iterated from right to left. - * - * @private - * @param {Array} array The array to search. - * @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 `NaN`, else `-1`. - */ - function indexOfNaN(array, fromIndex, fromRight) { - var length = array.length, - index = fromIndex + (fromRight ? 0 : -1); - - while ((fromRight ? index-- : ++index < length)) { - var other = array[index]; - if (other !== other) { - return index; - } - } - return -1; - } - - /** - * Checks if `value` is object-like. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is object-like, else `false`. - */ - function isObjectLike(value) { - return (value && typeof value == 'object') || false; - } - - /** - * Used by `trimmedLeftIndex` and `trimmedRightIndex` to determine if a - * character code is whitespace. - * - * @private - * @param {number} charCode The character code to inspect. - * @returns {boolean} Returns `true` if `charCode` is whitespace, else `false`. - */ - function isSpace(charCode) { - return ((charCode <= 160 && (charCode >= 9 && charCode <= 13) || charCode == 32 || charCode == 160) || charCode == 5760 || charCode == 6158 || - (charCode >= 8192 && (charCode <= 8202 || charCode == 8232 || charCode == 8233 || charCode == 8239 || charCode == 8287 || charCode == 12288 || charCode == 65279))); - } - - /** - * 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 = -1, - result = []; - - while (++index < length) { - if (array[index] === placeholder) { - array[index] = PLACEHOLDER; - result[++resIndex] = index; - } - } - return result; - } - - /** - * An implementation of `_.uniq` optimized for sorted arrays without support - * for callback shorthands and `this` binding. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The function invoked per iteration. - * @returns {Array} Returns the new duplicate-value-free array. - */ - function sortedUniq(array, iteratee) { - var seen, - index = -1, - length = array.length, - resIndex = -1, - result = []; - - while (++index < length) { - var value = array[index], - computed = iteratee ? iteratee(value, index, array) : value; - - if (!index || seen !== computed) { - seen = computed; - result[++resIndex] = value; - } - } - return result; - } - - /** - * Used by `_.trim` and `_.trimLeft` to get the index of the first non-whitespace - * character of `string`. - * - * @private - * @param {string} string The string to inspect. - * @returns {number} Returns the index of the first non-whitespace character. - */ - function trimmedLeftIndex(string) { - var index = -1, - length = string.length; - - while (++index < length && isSpace(string.charCodeAt(index))) {} - return index; - } - - /** - * Used by `_.trim` and `_.trimRight` to get the index of the last non-whitespace - * character of `string`. - * - * @private - * @param {string} string The string to inspect. - * @returns {number} Returns the index of the last non-whitespace character. - */ - function trimmedRightIndex(string) { - var index = string.length; - - while (index-- && isSpace(string.charCodeAt(index))) {} - return index; - } - - /** - * Used by `_.unescape` to convert HTML entities to characters. - * - * @private - * @param {string} chr The matched character to unescape. - * @returns {string} Returns the unescaped character. - */ - function unescapeHtmlChar(chr) { - return htmlUnescapes[chr]; - } - - /*--------------------------------------------------------------------------*/ - - /** - * Create a new pristine `lodash` function using the given `context` object. - * - * @static - * @memberOf _ - * @category Utility - * @param {Object} [context=root] The context object. - * @returns {Function} Returns a new `lodash` function. - * @example - * - * _.mixin({ 'add': function(a, b) { return a + b; } }); - * - * var lodash = _.runInContext(); - * lodash.mixin({ 'sub': function(a, b) { return a - b; } }); - * - * _.isFunction(_.add); - * // => true - * _.isFunction(_.sub); - * // => false - * - * lodash.isFunction(lodash.add); - * // => false - * lodash.isFunction(lodash.sub); - * // => true - * - * // using `context` to mock `Date#getTime` use in `_.now` - * var mock = _.runInContext({ - * 'Date': function() { - * return { 'getTime': getTimeMock }; - * } - * }); - * - * // or creating a suped-up `defer` in Node.js - * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer; - */ - function runInContext(context) { - // Avoid issues with some ES3 environments that attempt to use values, named - // after built-in constructors like `Object`, for the creation of literals. - // ES5 clears this up by stating that literals must use built-in constructors. - // See https://es5.github.io/#x11.1.5 for more details. - context = context ? _.defaults(root.Object(), context, _.pick(root, contextProps)) : root; - - /** Native constructor references. */ - var Array = context.Array, - Date = context.Date, - Error = context.Error, - Function = context.Function, - Math = context.Math, - Number = context.Number, - Object = context.Object, - RegExp = context.RegExp, - String = context.String, - TypeError = context.TypeError; - - /** Used for native method references. */ - var arrayProto = Array.prototype, - objectProto = Object.prototype, - stringProto = String.prototype; - - /** Used to detect DOM support. */ - var document = (document = context.window) && document.document; - - /** Used to resolve the decompiled source of functions. */ - var fnToString = Function.prototype.toString; - - /** Used to the length of n-tuples for `_.unzip`. */ - var getLength = baseProperty('length'); - - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; - - /** Used to generate unique IDs. */ - var idCounter = 0; - - /** - * Used to resolve the `toStringTag` of values. - * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring) - * for more details. - */ - var objToString = objectProto.toString; - - /** Used to restore the original `_` reference in `_.noConflict`. */ - var oldDash = context._; - - /** Used to detect if a method is native. */ - var reNative = RegExp('^' + - escapeRegExp(objToString) - .replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' - ); - - /** Native method references. */ - var ArrayBuffer = isNative(ArrayBuffer = context.ArrayBuffer) && ArrayBuffer, - bufferSlice = isNative(bufferSlice = ArrayBuffer && new ArrayBuffer(0).slice) && bufferSlice, - ceil = Math.ceil, - clearTimeout = context.clearTimeout, - floor = Math.floor, - getPrototypeOf = isNative(getPrototypeOf = Object.getPrototypeOf) && getPrototypeOf, - push = arrayProto.push, - propertyIsEnumerable = objectProto.propertyIsEnumerable, - Set = isNative(Set = context.Set) && Set, - setTimeout = context.setTimeout, - splice = arrayProto.splice, - Uint8Array = isNative(Uint8Array = context.Uint8Array) && Uint8Array, - WeakMap = isNative(WeakMap = context.WeakMap) && WeakMap; - - /** Used to clone array buffers. */ - var Float64Array = (function() { - // Safari 5 errors when using an array buffer to initialize a typed array - // where the array buffer's `byteLength` is not a multiple of the typed - // array's `BYTES_PER_ELEMENT`. - try { - var func = isNative(func = context.Float64Array) && func, - result = new func(new ArrayBuffer(10), 0, 1) && func; - } catch(e) {} - return result; - }()); - - /* Native method references for those with the same name as other `lodash` methods. */ - var nativeIsArray = isNative(nativeIsArray = Array.isArray) && nativeIsArray, - nativeCreate = isNative(nativeCreate = Object.create) && nativeCreate, - nativeIsFinite = context.isFinite, - nativeKeys = isNative(nativeKeys = Object.keys) && nativeKeys, - nativeMax = Math.max, - nativeMin = Math.min, - nativeNow = isNative(nativeNow = Date.now) && nativeNow, - nativeNumIsFinite = isNative(nativeNumIsFinite = Number.isFinite) && nativeNumIsFinite, - nativeParseInt = context.parseInt, - nativeRandom = Math.random; - - /** Used as references for `-Infinity` and `Infinity`. */ - var NEGATIVE_INFINITY = Number.NEGATIVE_INFINITY, - POSITIVE_INFINITY = Number.POSITIVE_INFINITY; - - /** Used as references for the maximum length and index of an array. */ - var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1, - MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1, - HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1; - - /** Used as the size, in bytes, of each `Float64Array` element. */ - var FLOAT64_BYTES_PER_ELEMENT = Float64Array ? Float64Array.BYTES_PER_ELEMENT : 0; - - /** - * Used as the maximum length of an array-like value. - * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer) - * for more details. - */ - var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1; - - /** Used to store function metadata. */ - var metaMap = WeakMap && new WeakMap; - - /*------------------------------------------------------------------------*/ - - /** - * Creates a `lodash` object which wraps `value` to enable implicit chaining. - * Methods that operate on and return arrays, collections, and functions can - * be chained together. Methods that return a boolean or single value will - * automatically end the chain returning the unwrapped value. Explicit chaining - * may be enabled using `_.chain`. The execution of chained methods is lazy, - * that is, execution is deferred until `_#value` is implicitly or explicitly - * called. - * - * Lazy evaluation allows several methods to support shortcut fusion. Shortcut - * fusion is an optimization that merges iteratees to avoid creating intermediate - * arrays and reduce the number of iteratee executions. - * - * 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`, `reverse`, `shift`, `slice`, `sort`, - * `splice`, and `unshift` - * - * The wrapper `String` methods are: - * `replace` and `split` - * - * The wrapper methods that support shortcut fusion are: - * `compact`, `drop`, `dropRight`, `dropRightWhile`, `dropWhile`, `filter`, - * `first`, `initial`, `last`, `map`, `pluck`, `reject`, `rest`, `reverse`, - * `slice`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, `toArray`, - * and `where` - * - * The chainable wrapper methods are: - * `after`, `ary`, `assign`, `at`, `before`, `bind`, `bindAll`, `bindKey`, - * `callback`, `chain`, `chunk`, `commit`, `compact`, `concat`, `constant`, - * `countBy`, `create`, `curry`, `debounce`, `defaults`, `defer`, `delay`, - * `difference`, `drop`, `dropRight`, `dropRightWhile`, `dropWhile`, `fill`, - * `filter`, `flatten`, `flattenDeep`, `flow`, `flowRight`, `forEach`, - * `forEachRight`, `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `functions`, - * `groupBy`, `indexBy`, `initial`, `intersection`, `invert`, `invoke`, `keys`, - * `keysIn`, `map`, `mapValues`, `matches`, `matchesProperty`, `memoize`, `merge`, - * `mixin`, `negate`, `noop`, `omit`, `once`, `pairs`, `partial`, `partialRight`, - * `partition`, `pick`, `plant`, `pluck`, `property`, `propertyOf`, `pull`, - * `pullAt`, `push`, `range`, `rearg`, `reject`, `remove`, `rest`, `reverse`, - * `shuffle`, `slice`, `sort`, `sortBy`, `sortByAll`, `sortByOrder`, `splice`, - * `spread`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, `tap`, - * `throttle`, `thru`, `times`, `toArray`, `toPlainObject`, `transform`, - * `union`, `uniq`, `unshift`, `unzip`, `values`, `valuesIn`, `where`, - * `without`, `wrap`, `xor`, `zip`, and `zipObject` - * - * The wrapper methods that are **not** chainable by default are: - * `add`, `attempt`, `camelCase`, `capitalize`, `clone`, `cloneDeep`, `deburr`, - * `endsWith`, `escape`, `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, - * `findLast`, `findLastIndex`, `findLastKey`, `findWhere`, `first`, `has`, - * `identity`, `includes`, `indexOf`, `inRange`, `isArguments`, `isArray`, - * `isBoolean`, `isDate`, `isElement`, `isEmpty`, `isEqual`, `isError`, - * `isFinite`,`isFunction`, `isMatch`, `isNative`, `isNaN`, `isNull`, `isNumber`, - * `isObject`, `isPlainObject`, `isRegExp`, `isString`, `isUndefined`, - * `isTypedArray`, `join`, `kebabCase`, `last`, `lastIndexOf`, `max`, `min`, - * `noConflict`, `now`, `pad`, `padLeft`, `padRight`, `parseInt`, `pop`, - * `random`, `reduce`, `reduceRight`, `repeat`, `result`, `runInContext`, - * `shift`, `size`, `snakeCase`, `some`, `sortedIndex`, `sortedLastIndex`, - * `startCase`, `startsWith`, `sum`, `template`, `trim`, `trimLeft`, - * `trimRight`, `trunc`, `unescape`, `uniqueId`, `value`, and `words` - * - * The wrapper method `sample` will return a wrapped value when `n` is provided, - * otherwise an unwrapped value is returned. - * - * @name _ - * @constructor - * @category Chain - * @param {*} value The value to wrap in a `lodash` instance. - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var wrapped = _([1, 2, 3]); - * - * // returns an unwrapped value - * wrapped.reduce(function(sum, n) { - * return sum + n; - * }); - * // => 6 - * - * // returns a wrapped value - * var squares = wrapped.map(function(n) { - * return n * n; - * }); - * - * _.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, '__chain__') && hasOwnProperty.call(value, '__wrapped__')) { - return wrapperClone(value); - } - } - return new LodashWrapper(value); - } - - /** - * The function whose prototype all chaining 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 chaining for all wrapper methods. - * @param {Array} [actions=[]] Actions to peform to resolve the unwrapped value. - */ - function LodashWrapper(value, chainAll, actions) { - this.__wrapped__ = value; - this.__actions__ = actions || []; - this.__chain__ = !!chainAll; - } - - /** - * An object environment feature flags. - * - * @static - * @memberOf _ - * @type Object - */ - var support = lodash.support = {}; - - (function(x) { - - /** - * Detect if functions can be decompiled by `Function#toString` - * (all but Firefox OS certified apps, older Opera mobile browsers, and - * the PlayStation 3; forced `false` for Windows 8 apps). - * - * @memberOf _.support - * @type boolean - */ - support.funcDecomp = !isNative(context.WinRTError) && reThis.test(runInContext); - - /** - * Detect if `Function#name` is supported (all but IE). - * - * @memberOf _.support - * @type boolean - */ - support.funcNames = typeof Function.name == 'string'; - - /** - * Detect if the DOM is supported. - * - * @memberOf _.support - * @type boolean - */ - try { - support.dom = document.createDocumentFragment().nodeType === 11; - } catch(e) { - support.dom = false; - } - - /** - * Detect if `arguments` object indexes are non-enumerable. - * - * In Firefox < 4, IE < 9, PhantomJS, and Safari < 5.1 `arguments` object - * indexes are non-enumerable. Chrome < 25 and Node.js < 0.11.0 treat - * `arguments` object indexes as non-enumerable and fail `hasOwnProperty` - * checks for indexes that exceed their function's formal parameters with - * associated values of `0`. - * - * @memberOf _.support - * @type boolean - */ - try { - support.nonEnumArgs = !propertyIsEnumerable.call(arguments, 1); - } catch(e) { - support.nonEnumArgs = true; - } - }(0, 0)); - - /** - * By default, the template delimiters used by lodash are like those in - * embedded Ruby (ERB). 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 - } - }; - - /*------------------------------------------------------------------------*/ - - /** - * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation. - * - * @private - * @param {*} value The value to wrap. - */ - function LazyWrapper(value) { - this.__wrapped__ = value; - this.__actions__ = null; - this.__dir__ = 1; - this.__dropCount__ = 0; - this.__filtered__ = false; - this.__iteratees__ = null; - this.__takeCount__ = POSITIVE_INFINITY; - this.__views__ = null; - } - - /** - * Creates a clone of the lazy wrapper object. - * - * @private - * @name clone - * @memberOf LazyWrapper - * @returns {Object} Returns the cloned `LazyWrapper` object. - */ - function lazyClone() { - var actions = this.__actions__, - iteratees = this.__iteratees__, - views = this.__views__, - result = new LazyWrapper(this.__wrapped__); - - result.__actions__ = actions ? arrayCopy(actions) : null; - result.__dir__ = this.__dir__; - result.__filtered__ = this.__filtered__; - result.__iteratees__ = iteratees ? arrayCopy(iteratees) : null; - result.__takeCount__ = this.__takeCount__; - result.__views__ = views ? arrayCopy(views) : null; - 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(); - if (!isArray(array)) { - return baseWrapperValue(array, this.__actions__); - } - var dir = this.__dir__, - isRight = dir < 0, - view = getView(0, array.length, this.__views__), - start = view.start, - end = view.end, - length = end - start, - index = isRight ? end : (start - 1), - takeCount = nativeMin(length, this.__takeCount__), - iteratees = this.__iteratees__, - iterLength = iteratees ? iteratees.length : 0, - resIndex = 0, - 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; - - if (type == LAZY_DROP_WHILE_FLAG) { - if (data.done && (isRight ? (index > data.index) : (index < data.index))) { - data.count = 0; - data.done = false; - } - data.index = index; - if (!data.done) { - var limit = data.limit; - if (!(data.done = limit > -1 ? (data.count++ >= limit) : !iteratee(value))) { - continue outer; - } - } - } else { - var 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; - } - - /*------------------------------------------------------------------------*/ - - /** - * Creates a cache object to store key/value pairs. - * - * @private - * @static - * @name Cache - * @memberOf _.memoize - */ - function MapCache() { - this.__data__ = {}; - } - - /** - * Removes `key` and its value from the cache. - * - * @private - * @name delete - * @memberOf _.memoize.Cache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed successfully, else `false`. - */ - function mapDelete(key) { - return this.has(key) && delete this.__data__[key]; - } - - /** - * Gets the cached value for `key`. - * - * @private - * @name get - * @memberOf _.memoize.Cache - * @param {string} key The key of the value to get. - * @returns {*} Returns the cached value. - */ - function mapGet(key) { - return key == '__proto__' ? undefined : this.__data__[key]; - } - - /** - * Checks if a cached value for `key` exists. - * - * @private - * @name has - * @memberOf _.memoize.Cache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function mapHas(key) { - return key != '__proto__' && hasOwnProperty.call(this.__data__, key); - } - - /** - * Adds `value` to `key` of the cache. - * - * @private - * @name set - * @memberOf _.memoize.Cache - * @param {string} key The key of the value to cache. - * @param {*} value The value to cache. - * @returns {Object} Returns the cache object. - */ - function mapSet(key, value) { - if (key != '__proto__') { - this.__data__[key] = value; - } - return this; - } - - /*------------------------------------------------------------------------*/ - - /** - * - * Creates a cache object to store unique values. - * - * @private - * @param {Array} [values] The values to cache. - */ - function SetCache(values) { - var length = values ? values.length : 0; - - this.data = { 'hash': nativeCreate(null), 'set': new Set }; - while (length--) { - this.push(values[length]); - } - } - - /** - * Checks if `value` is in `cache` mimicking the return signature of - * `_.indexOf` by returning `0` if the value is found, else `-1`. - * - * @private - * @param {Object} cache The cache to search. - * @param {*} value The value to search for. - * @returns {number} Returns `0` if `value` is found, else `-1`. - */ - function cacheIndexOf(cache, value) { - var data = cache.data, - result = (typeof value == 'string' || isObject(value)) ? data.set.has(value) : data.hash[value]; - - return result ? 0 : -1; - } - - /** - * Adds `value` to the cache. - * - * @private - * @name push - * @memberOf SetCache - * @param {*} value The value to cache. - */ - function cachePush(value) { - var data = this.data; - if (typeof value == 'string' || isObject(value)) { - data.set.add(value); - } else { - data.hash[value] = true; - } - } - - /*------------------------------------------------------------------------*/ - - /** - * 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 arrayCopy(source, array) { - var index = -1, - length = source.length; - - array || (array = Array(length)); - while (++index < length) { - array[index] = source[index]; - } - return array; - } - - /** - * A specialized version of `_.forEach` for arrays without support for callback - * shorthands or `this` binding. - * - * @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.length; - - while (++index < length) { - if (iteratee(array[index], index, array) === false) { - break; - } - } - return array; - } - - /** - * A specialized version of `_.forEachRight` for arrays without support for - * callback shorthands or `this` binding. - * - * @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.length; - - while (length--) { - if (iteratee(array[length], length, array) === false) { - break; - } - } - return array; - } - - /** - * A specialized version of `_.every` for arrays without support for callback - * shorthands or `this` binding. - * - * @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.length; - - while (++index < length) { - if (!predicate(array[index], index, array)) { - return false; - } - } - return true; - } - - /** - * A specialized version of `_.filter` for arrays without support for callback - * shorthands or `this` binding. - * - * @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.length, - resIndex = -1, - result = []; - - while (++index < length) { - var value = array[index]; - if (predicate(value, index, array)) { - result[++resIndex] = value; - } - } - return result; - } - - /** - * A specialized version of `_.map` for arrays without support for callback - * shorthands or `this` binding. - * - * @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.length, - result = Array(length); - - while (++index < length) { - result[index] = iteratee(array[index], index, array); - } - return result; - } - - /** - * A specialized version of `_.max` for arrays without support for iteratees. - * - * @private - * @param {Array} array The array to iterate over. - * @returns {*} Returns the maximum value. - */ - function arrayMax(array) { - var index = -1, - length = array.length, - result = NEGATIVE_INFINITY; - - while (++index < length) { - var value = array[index]; - if (value > result) { - result = value; - } - } - return result; - } - - /** - * A specialized version of `_.min` for arrays without support for iteratees. - * - * @private - * @param {Array} array The array to iterate over. - * @returns {*} Returns the minimum value. - */ - function arrayMin(array) { - var index = -1, - length = array.length, - result = POSITIVE_INFINITY; - - while (++index < length) { - var value = array[index]; - if (value < result) { - result = value; - } - } - return result; - } - - /** - * A specialized version of `_.reduce` for arrays without support for callback - * shorthands or `this` binding. - * - * @private - * @param {Array} array The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @param {boolean} [initFromArray] Specify using the first element of `array` - * as the initial value. - * @returns {*} Returns the accumulated value. - */ - function arrayReduce(array, iteratee, accumulator, initFromArray) { - var index = -1, - length = array.length; - - if (initFromArray && 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 - * callback shorthands or `this` binding. - * - * @private - * @param {Array} array The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @param {boolean} [initFromArray] Specify using the last element of `array` - * as the initial value. - * @returns {*} Returns the accumulated value. - */ - function arrayReduceRight(array, iteratee, accumulator, initFromArray) { - var length = array.length; - if (initFromArray && 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 callback - * shorthands or `this` binding. - * - * @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.length; - - while (++index < length) { - if (predicate(array[index], index, array)) { - return true; - } - } - return false; - } - - /** - * Used by `_.defaults` to customize its `_.assign` use. - * - * @private - * @param {*} objectValue The destination object property value. - * @param {*} sourceValue The source object property value. - * @returns {*} Returns the value to assign to the destination object. - */ - function assignDefaults(objectValue, sourceValue) { - return typeof objectValue == 'undefined' ? sourceValue : objectValue; - } - - /** - * Used by `_.template` to customize its `_.assign` use. - * - * **Note:** This method is like `assignDefaults` except that it ignores - * inherited property values when checking if a property is `undefined`. - * - * @private - * @param {*} objectValue The destination object property value. - * @param {*} sourceValue The source object property value. - * @param {string} key The key associated with the object and source values. - * @param {Object} object The destination object. - * @returns {*} Returns the value to assign to the destination object. - */ - function assignOwnDefaults(objectValue, sourceValue, key, object) { - return (typeof objectValue == 'undefined' || !hasOwnProperty.call(object, key)) - ? sourceValue - : objectValue; - } - - /** - * The base implementation of `_.assign` without support for argument juggling, - * multiple sources, and `this` binding `customizer` functions. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @param {Function} [customizer] The function to customize assigning values. - * @returns {Object} Returns the destination object. - */ - function baseAssign(object, source, customizer) { - var props = keys(source); - if (!customizer) { - return baseCopy(source, object, props); - } - var index = -1, - length = props.length; - - while (++index < length) { - var key = props[index], - value = object[key], - result = customizer(value, source[key], key, object, source); - - if ((result === result ? (result !== value) : (value === value)) || - (typeof value == 'undefined' && !(key in object))) { - object[key] = result; - } - } - return object; - } - - /** - * The base implementation of `_.at` without support for strings and individual - * key arguments. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {number[]|string[]} [props] The property names or indexes of elements to pick. - * @returns {Array} Returns the new array of picked elements. - */ - function baseAt(collection, props) { - var index = -1, - length = collection.length, - isArr = isLength(length), - propsLength = props.length, - result = Array(propsLength); - - while(++index < propsLength) { - var key = props[index]; - if (isArr) { - key = parseFloat(key); - result[index] = isIndex(key, length) ? collection[key] : undefined; - } else { - result[index] = collection[key]; - } - } - return result; - } - - /** - * Copies the properties of `source` to `object`. - * - * @private - * @param {Object} source The object to copy properties from. - * @param {Object} [object={}] The object to copy properties to. - * @param {Array} props The property names to copy. - * @returns {Object} Returns `object`. - */ - function baseCopy(source, object, props) { - if (!props) { - props = object; - object = {}; - } - var index = -1, - length = props.length; - - while (++index < length) { - var key = props[index]; - object[key] = source[key]; - } - return object; - } - - /** - * The base implementation of `_.bindAll` without support for individual - * method name arguments. - * - * @private - * @param {Object} object The object to bind and assign the bound methods to. - * @param {string[]} methodNames The object method names to bind. - * @returns {Object} Returns `object`. - */ - function baseBindAll(object, methodNames) { - var index = -1, - length = methodNames.length; - - while (++index < length) { - var key = methodNames[index]; - object[key] = createWrapper(object[key], BIND_FLAG, object); - } - return object; - } - - /** - * The base implementation of `_.callback` which supports specifying the - * number of arguments to provide to `func`. - * - * @private - * @param {*} [func=_.identity] The value to convert to a callback. - * @param {*} [thisArg] The `this` binding of `func`. - * @param {number} [argCount] The number of arguments to provide to `func`. - * @returns {Function} Returns the callback. - */ - function baseCallback(func, thisArg, argCount) { - var type = typeof func; - if (type == 'function') { - return (typeof thisArg != 'undefined' && isBindable(func)) - ? bindCallback(func, thisArg, argCount) - : func; - } - if (func == null) { - return identity; - } - if (type == 'object') { - return baseMatches(func); - } - return typeof thisArg == 'undefined' - ? baseProperty(func + '') - : baseMatchesProperty(func + '', thisArg); - } - - /** - * The base implementation of `_.clone` without support for argument juggling - * and `this` binding `customizer` functions. - * - * @private - * @param {*} value The value to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @param {Function} [customizer] The function to customize cloning values. - * @param {string} [key] The key of `value`. - * @param {Object} [object] The object `value` belongs to. - * @param {Array} [stackA=[]] Tracks traversed source objects. - * @param {Array} [stackB=[]] Associates clones with source counterparts. - * @returns {*} Returns the cloned value. - */ - function baseClone(value, isDeep, customizer, key, object, stackA, stackB) { - var result; - if (customizer) { - result = object ? customizer(value, key, object) : customizer(value); - } - if (typeof result != 'undefined') { - return result; - } - if (!isObject(value)) { - return value; - } - var isArr = isArray(value); - if (isArr) { - result = initCloneArray(value); - if (!isDeep) { - return arrayCopy(value, result); - } - } else { - var tag = objToString.call(value), - isFunc = tag == funcTag; - - if (tag == objectTag || tag == argsTag || (isFunc && !object)) { - result = initCloneObject(isFunc ? {} : value); - if (!isDeep) { - return baseCopy(value, result, keys(value)); - } - } else { - return cloneableTags[tag] - ? initCloneByTag(value, tag, isDeep) - : (object ? value : {}); - } - } - // Check for circular references and return corresponding clone. - stackA || (stackA = []); - stackB || (stackB = []); - - var length = stackA.length; - while (length--) { - if (stackA[length] == value) { - return stackB[length]; - } - } - // Add the source value to the stack of traversed objects and associate it with its clone. - stackA.push(value); - stackB.push(result); - - // Recursively populate clone (susceptible to call stack limits). - (isArr ? arrayEach : baseForOwn)(value, function(subValue, key) { - result[key] = baseClone(subValue, isDeep, customizer, key, value, stackA, stackB); - }); - return result; - } - - /** - * The base implementation of `_.create` without support for assigning - * properties to the created object. - * - * @private - * @param {Object} prototype The object to inherit from. - * @returns {Object} Returns the new object. - */ - var baseCreate = (function() { - function Object() {} - return function(prototype) { - if (isObject(prototype)) { - Object.prototype = prototype; - var result = new Object; - Object.prototype = null; - } - return result || context.Object(); - }; - }()); - - /** - * The base implementation of `_.delay` and `_.defer` which accepts an index - * of where to slice the arguments to provide to `func`. - * - * @private - * @param {Function} func The function to delay. - * @param {number} wait The number of milliseconds to delay invocation. - * @param {Object} args The `arguments` object to slice and provide to `func`. - * @returns {number} Returns the timer id. - */ - function baseDelay(func, wait, args, fromIndex) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - return setTimeout(function() { func.apply(undefined, baseSlice(args, fromIndex)); }, wait); - } - - /** - * The base implementation of `_.difference` which accepts a single array - * of values to exclude. - * - * @private - * @param {Array} array The array to inspect. - * @param {Array} values The values to exclude. - * @returns {Array} Returns the new array of filtered values. - */ - function baseDifference(array, values) { - var length = array ? array.length : 0, - result = []; - - if (!length) { - return result; - } - var index = -1, - indexOf = getIndexOf(), - isCommon = indexOf == baseIndexOf, - cache = (isCommon && values.length >= 200) ? createCache(values) : null, - valuesLength = values.length; - - if (cache) { - indexOf = cacheIndexOf; - isCommon = false; - values = cache; - } - outer: - while (++index < length) { - var value = array[index]; - - if (isCommon && value === value) { - var valuesIndex = valuesLength; - while (valuesIndex--) { - if (values[valuesIndex] === value) { - continue outer; - } - } - result.push(value); - } - else if (indexOf(values, value, 0) < 0) { - result.push(value); - } - } - return result; - } - - /** - * The base implementation of `_.forEach` without support for callback - * shorthands and `this` binding. - * - * @private - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array|Object|string} Returns `collection`. - */ - function baseEach(collection, iteratee) { - var length = collection ? collection.length : 0; - if (!isLength(length)) { - return baseForOwn(collection, iteratee); - } - var index = -1, - iterable = toObject(collection); - - while (++index < length) { - if (iteratee(iterable[index], index, iterable) === false) { - break; - } - } - return collection; - } - - /** - * The base implementation of `_.forEachRight` without support for callback - * shorthands and `this` binding. - * - * @private - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array|Object|string} Returns `collection`. - */ - function baseEachRight(collection, iteratee) { - var length = collection ? collection.length : 0; - if (!isLength(length)) { - return baseForOwnRight(collection, iteratee); - } - var iterable = toObject(collection); - while (length--) { - if (iteratee(iterable[length], length, iterable) === false) { - break; - } - } - return collection; - } - - /** - * The base implementation of `_.every` without support for callback - * shorthands or `this` binding. - * - * @private - * @param {Array|Object|string} 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 `_.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 = start == null ? 0 : (+start || 0); - if (start < 0) { - start = -start > length ? 0 : (length + start); - } - end = (typeof end == 'undefined' || end > length) ? length : (+end || 0); - if (end < 0) { - end += length; - } - length = start > end ? 0 : (end >>> 0); - start >>>= 0; - - while (start < length) { - array[start++] = value; - } - return array; - } - - /** - * The base implementation of `_.filter` without support for callback - * shorthands or `this` binding. - * - * @private - * @param {Array|Object|string} 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 `_.find`, `_.findLast`, `_.findKey`, and `_.findLastKey`, - * without support for callback shorthands and `this` binding, which iterates - * over `collection` using the provided `eachFunc`. - * - * @private - * @param {Array|Object|string} collection The collection to search. - * @param {Function} predicate The function invoked per iteration. - * @param {Function} eachFunc The function to iterate over `collection`. - * @param {boolean} [retKey] Specify returning the key of the found element - * instead of the element itself. - * @returns {*} Returns the found element or its key, else `undefined`. - */ - function baseFind(collection, predicate, eachFunc, retKey) { - var result; - eachFunc(collection, function(value, key, collection) { - if (predicate(value, key, collection)) { - result = retKey ? key : value; - return false; - } - }); - return result; - } - - /** - * The base implementation of `_.flatten` with added support for restricting - * flattening and specifying the start index. - * - * @private - * @param {Array} array The array to flatten. - * @param {boolean} isDeep Specify a deep flatten. - * @param {boolean} isStrict Restrict flattening to arrays and `arguments` objects. - * @param {number} fromIndex The index to start from. - * @returns {Array} Returns the new flattened array. - */ - function baseFlatten(array, isDeep, isStrict, fromIndex) { - var index = fromIndex - 1, - length = array.length, - resIndex = -1, - result = []; - - while (++index < length) { - var value = array[index]; - - if (isObjectLike(value) && isLength(value.length) && (isArray(value) || isArguments(value))) { - if (isDeep) { - // Recursively flatten arrays (susceptible to call stack limits). - value = baseFlatten(value, isDeep, isStrict, 0); - } - var valIndex = -1, - valLength = value.length; - - result.length += valLength; - while (++valIndex < valLength) { - result[++resIndex] = value[valIndex]; - } - } else if (!isStrict) { - result[++resIndex] = value; - } - } - return result; - } - - /** - * The base implementation of `baseForIn` and `baseForOwn` which iterates - * over `object` properties returned by `keysFunc` invoking `iteratee` for - * each property. Iterator 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`. - */ - function baseFor(object, iteratee, keysFunc) { - var index = -1, - iterable = toObject(object), - props = keysFunc(object), - length = props.length; - - while (++index < length) { - var key = props[index]; - if (iteratee(iterable[key], key, iterable) === false) { - break; - } - } - return object; - } - - /** - * 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`. - */ - function baseForRight(object, iteratee, keysFunc) { - var iterable = toObject(object), - props = keysFunc(object), - length = props.length; - - while (length--) { - var key = props[length]; - if (iteratee(iterable[key], key, iterable) === false) { - break; - } - } - return object; - } - - /** - * The base implementation of `_.forIn` without support for callback - * shorthands and `this` binding. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Object} Returns `object`. - */ - function baseForIn(object, iteratee) { - return baseFor(object, iteratee, keysIn); - } - - /** - * The base implementation of `_.forOwn` without support for callback - * shorthands and `this` binding. - * - * @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 baseFor(object, iteratee, keys); - } - - /** - * The base implementation of `_.forOwnRight` without support for callback - * shorthands and `this` binding. - * - * @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 baseForRight(object, iteratee, keys); - } - - /** - * The base implementation of `_.functions` which creates an array of - * `object` function property names filtered from those provided. - * - * @private - * @param {Object} object The object to inspect. - * @param {Array} props The property names to filter. - * @returns {Array} Returns the new array of filtered property names. - */ - function baseFunctions(object, props) { - var index = -1, - length = props.length, - resIndex = -1, - result = []; - - while (++index < length) { - var key = props[index]; - if (isFunction(object[key])) { - result[++resIndex] = key; - } - } - return result; - } - - /** - * The base implementation of `_.invoke` which requires additional arguments - * to be provided as an array of arguments rather than individually. - * - * @private - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|string} methodName The name of the method to invoke or - * the function invoked per iteration. - * @param {Array} [args] The arguments to invoke the method with. - * @returns {Array} Returns the array of results. - */ - function baseInvoke(collection, methodName, args) { - var index = -1, - isFunc = typeof methodName == 'function', - length = collection ? collection.length : 0, - result = isLength(length) ? Array(length) : []; - - baseEach(collection, function(value) { - var func = isFunc ? methodName : (value != null && value[methodName]); - result[++index] = func ? func.apply(value, args) : undefined; - }); - return result; - } - - /** - * The base implementation of `_.isEqual` without support for `this` binding - * `customizer` functions. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @param {Function} [customizer] The function to customize comparing values. - * @param {boolean} [isWhere] Specify performing partial comparisons. - * @param {Array} [stackA] Tracks traversed `value` objects. - * @param {Array} [stackB] Tracks traversed `other` objects. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - */ - function baseIsEqual(value, other, customizer, isWhere, stackA, stackB) { - // Exit early for identical values. - if (value === other) { - // Treat `+0` vs. `-0` as not equal. - return value !== 0 || (1 / value == 1 / other); - } - var valType = typeof value, - othType = typeof other; - - // Exit early for unlike primitive values. - if ((valType != 'function' && valType != 'object' && othType != 'function' && othType != 'object') || - value == null || other == null) { - // Return `false` unless both values are `NaN`. - return value !== value && other !== other; - } - return baseIsEqualDeep(value, other, baseIsEqual, customizer, isWhere, stackA, stackB); - } - - /** - * 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 {Function} equalFunc The function to determine equivalents of values. - * @param {Function} [customizer] The function to customize comparing objects. - * @param {boolean} [isWhere] Specify performing partial comparisons. - * @param {Array} [stackA=[]] Tracks traversed `value` objects. - * @param {Array} [stackB=[]] Tracks traversed `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function baseIsEqualDeep(object, other, equalFunc, customizer, isWhere, stackA, stackB) { - var objIsArr = isArray(object), - othIsArr = isArray(other), - objTag = arrayTag, - othTag = arrayTag; - - if (!objIsArr) { - objTag = objToString.call(object); - if (objTag == argsTag) { - objTag = objectTag; - } else if (objTag != objectTag) { - objIsArr = isTypedArray(object); - } - } - if (!othIsArr) { - othTag = objToString.call(other); - if (othTag == argsTag) { - othTag = objectTag; - } else if (othTag != objectTag) { - othIsArr = isTypedArray(other); - } - } - var objIsObj = objTag == objectTag, - othIsObj = othTag == objectTag, - isSameTag = objTag == othTag; - - if (isSameTag && !(objIsArr || objIsObj)) { - return equalByTag(object, other, objTag); - } - var valWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'), - othWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__'); - - if (valWrapped || othWrapped) { - return equalFunc(valWrapped ? object.value() : object, othWrapped ? other.value() : other, customizer, isWhere, stackA, stackB); - } - if (!isSameTag) { - return false; - } - // Assume cyclic values are equal. - // For more information on detecting circular references see https://es5.github.io/#JO. - stackA || (stackA = []); - stackB || (stackB = []); - - var length = stackA.length; - while (length--) { - if (stackA[length] == object) { - return stackB[length] == other; - } - } - // Add `object` and `other` to the stack of traversed objects. - stackA.push(object); - stackB.push(other); - - var result = (objIsArr ? equalArrays : equalObjects)(object, other, equalFunc, customizer, isWhere, stackA, stackB); - - stackA.pop(); - stackB.pop(); - - return result; - } - - /** - * The base implementation of `_.isMatch` without support for callback - * shorthands or `this` binding. - * - * @private - * @param {Object} object The object to inspect. - * @param {Array} props The source property names to match. - * @param {Array} values The source values to match. - * @param {Array} strictCompareFlags Strict comparison flags for source values. - * @param {Function} [customizer] The function to customize comparing objects. - * @returns {boolean} Returns `true` if `object` is a match, else `false`. - */ - function baseIsMatch(object, props, values, strictCompareFlags, customizer) { - var length = props.length; - if (object == null) { - return !length; - } - var index = -1, - noCustomizer = !customizer; - - while (++index < length) { - if ((noCustomizer && strictCompareFlags[index]) - ? values[index] !== object[props[index]] - : !hasOwnProperty.call(object, props[index]) - ) { - return false; - } - } - index = -1; - while (++index < length) { - var key = props[index]; - if (noCustomizer && strictCompareFlags[index]) { - var result = hasOwnProperty.call(object, key); - } else { - var objValue = object[key], - srcValue = values[index]; - - result = customizer ? customizer(objValue, srcValue, key) : undefined; - if (typeof result == 'undefined') { - result = baseIsEqual(srcValue, objValue, customizer, true); - } - } - if (!result) { - return false; - } - } - return true; - } - - /** - * The base implementation of `_.map` without support for callback shorthands - * or `this` binding. - * - * @private - * @param {Array|Object|string} 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 result = []; - baseEach(collection, function(value, key, collection) { - result.push(iteratee(value, key, collection)); - }); - return result; - } - - /** - * The base implementation of `_.matches` which does not clone `source`. - * - * @private - * @param {Object} source The object of property values to match. - * @returns {Function} Returns the new function. - */ - function baseMatches(source) { - var props = keys(source), - length = props.length; - - if (length == 1) { - var key = props[0], - value = source[key]; - - if (isStrictComparable(value)) { - return function(object) { - return object != null && object[key] === value && hasOwnProperty.call(object, key); - }; - } - } - var values = Array(length), - strictCompareFlags = Array(length); - - while (length--) { - value = source[props[length]]; - values[length] = value; - strictCompareFlags[length] = isStrictComparable(value); - } - return function(object) { - return baseIsMatch(object, props, values, strictCompareFlags); - }; - } - - /** - * The base implementation of `_.matchesProperty` which does not coerce `key` - * to a string. - * - * @private - * @param {string} key The key of the property to get. - * @param {*} value The value to compare. - * @returns {Function} Returns the new function. - */ - function baseMatchesProperty(key, value) { - if (isStrictComparable(value)) { - return function(object) { - return object != null && object[key] === value; - }; - } - return function(object) { - return object != null && baseIsEqual(value, object[key], null, true); - }; - } - - /** - * The base implementation of `_.merge` without support for argument juggling, - * multiple sources, and `this` binding `customizer` functions. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @param {Function} [customizer] The function to customize merging properties. - * @param {Array} [stackA=[]] Tracks traversed source objects. - * @param {Array} [stackB=[]] Associates values with source counterparts. - * @returns {Object} Returns the destination object. - */ - function baseMerge(object, source, customizer, stackA, stackB) { - if (!isObject(object)) { - return object; - } - var isSrcArr = isLength(source.length) && (isArray(source) || isTypedArray(source)); - (isSrcArr ? arrayEach : baseForOwn)(source, function(srcValue, key, source) { - if (isObjectLike(srcValue)) { - stackA || (stackA = []); - stackB || (stackB = []); - return baseMergeDeep(object, source, key, baseMerge, customizer, stackA, stackB); - } - var value = object[key], - result = customizer ? customizer(value, srcValue, key, object, source) : undefined, - isCommon = typeof result == 'undefined'; - - if (isCommon) { - result = srcValue; - } - if ((isSrcArr || typeof result != 'undefined') && - (isCommon || (result === result ? (result !== value) : (value === value)))) { - object[key] = result; - } - }); - return object; - } - - /** - * 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 {Function} mergeFunc The function to merge values. - * @param {Function} [customizer] The function to customize merging properties. - * @param {Array} [stackA=[]] Tracks traversed source objects. - * @param {Array} [stackB=[]] Associates values with source counterparts. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function baseMergeDeep(object, source, key, mergeFunc, customizer, stackA, stackB) { - var length = stackA.length, - srcValue = source[key]; - - while (length--) { - if (stackA[length] == srcValue) { - object[key] = stackB[length]; - return; - } - } - var value = object[key], - result = customizer ? customizer(value, srcValue, key, object, source) : undefined, - isCommon = typeof result == 'undefined'; - - if (isCommon) { - result = srcValue; - if (isLength(srcValue.length) && (isArray(srcValue) || isTypedArray(srcValue))) { - result = isArray(value) - ? value - : (value ? arrayCopy(value) : []); - } - else if (isPlainObject(srcValue) || isArguments(srcValue)) { - result = isArguments(value) - ? toPlainObject(value) - : (isPlainObject(value) ? value : {}); - } - else { - isCommon = false; - } - } - // Add the source value to the stack of traversed objects and associate - // it with its merged value. - stackA.push(srcValue); - stackB.push(result); - - if (isCommon) { - // Recursively merge objects and arrays (susceptible to call stack limits). - object[key] = mergeFunc(result, srcValue, customizer, stackA, stackB); - } else if (result === result ? (result !== value) : (value === value)) { - object[key] = result; - } - } - - /** - * The base implementation of `_.property` which does not coerce `key` to a string. - * - * @private - * @param {string} key The key of the property to get. - * @returns {Function} Returns the new function. - */ - function baseProperty(key) { - return function(object) { - return object == null ? undefined : object[key]; - }; - } - - /** - * The base implementation of `_.pullAt` without support for individual - * index arguments. - * - * @private - * @param {Array} array The array to modify. - * @param {number[]} indexes The indexes of elements to remove. - * @returns {Array} Returns the new array of removed elements. - */ - function basePullAt(array, indexes) { - var length = indexes.length, - result = baseAt(array, indexes); - - indexes.sort(baseCompareAscending); - while (length--) { - var index = parseFloat(indexes[length]); - if (index != previous && isIndex(index)) { - var previous = index; - splice.call(array, index, 1); - } - } - return result; - } - - /** - * The base implementation of `_.random` without support for argument juggling - * and returning floating-point numbers. - * - * @private - * @param {number} min The minimum possible value. - * @param {number} max The maximum possible value. - * @returns {number} Returns the random number. - */ - function baseRandom(min, max) { - return min + floor(nativeRandom() * (max - min + 1)); - } - - /** - * The base implementation of `_.reduce` and `_.reduceRight` without support - * for callback shorthands or `this` binding, which iterates over `collection` - * using the provided `eachFunc`. - * - * @private - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {*} accumulator The initial value. - * @param {boolean} initFromCollection 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, initFromCollection, eachFunc) { - eachFunc(collection, function(value, index, collection) { - accumulator = initFromCollection - ? (initFromCollection = false, value) - : iteratee(accumulator, value, index, collection); - }); - return accumulator; - } - - /** - * The base implementation of `setData` without support for hot loop detection. - * - * @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 `_.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; - - start = start == null ? 0 : (+start || 0); - if (start < 0) { - start = -start > length ? 0 : (length + start); - } - end = (typeof end == 'undefined' || end > length) ? length : (+end || 0); - 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 callback shorthands - * or `this` binding. - * - * @private - * @param {Array|Object|string} 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 `_.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 `_.sortByOrder` without param guards. - * - * @private - * @param {Array|Object|string} collection The collection to iterate over. - * @param {string[]} props The property names to sort by. - * @param {boolean[]} orders The sort orders of `props`. - * @returns {Array} Returns the new sorted array. - */ - function baseSortByOrder(collection, props, orders) { - var index = -1, - length = collection.length, - result = isLength(length) ? Array(length) : []; - - baseEach(collection, function(value) { - var length = props.length, - criteria = Array(length); - - while (length--) { - criteria[length] = value == null ? undefined : value[props[length]]; - } - result[++index] = { 'criteria': criteria, 'index': index, 'value': value }; - }); - - return baseSortBy(result, function(object, other) { - return compareMultiple(object, other, orders); - }); - } - - /** - * The base implementation of `_.uniq` without support for callback shorthands - * and `this` binding. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The function invoked per iteration. - * @returns {Array} Returns the new duplicate-value-free array. - */ - function baseUniq(array, iteratee) { - var index = -1, - indexOf = getIndexOf(), - length = array.length, - isCommon = indexOf == baseIndexOf, - isLarge = isCommon && length >= 200, - seen = isLarge ? createCache() : null, - result = []; - - if (seen) { - indexOf = cacheIndexOf; - isCommon = false; - } else { - isLarge = false; - seen = iteratee ? [] : result; - } - outer: - while (++index < length) { - var value = array[index], - computed = iteratee ? iteratee(value, index, array) : value; - - if (isCommon && value === value) { - var seenIndex = seen.length; - while (seenIndex--) { - if (seen[seenIndex] === computed) { - continue outer; - } - } - if (iteratee) { - seen.push(computed); - } - result.push(value); - } - else if (indexOf(seen, computed, 0) < 0) { - if (iteratee || isLarge) { - seen.push(computed); - } - result.push(value); - } - } - return result; - } - - /** - * The base implementation of `_.values` and `_.valuesIn` which creates an - * array of `object` property values corresponding to the property names - * returned by `keysFunc`. - * - * @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) { - var index = -1, - length = props.length, - result = Array(length); - - while (++index < length) { - result[index] = object[props[index]]; - } - 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 peform to resolve the unwrapped value. - * @returns {*} Returns the resolved unwrapped value. - */ - function baseWrapperValue(value, actions) { - var result = value; - if (result instanceof LazyWrapper) { - result = result.value(); - } - var index = -1, - length = actions.length; - - while (++index < length) { - var args = [result], - action = actions[index]; - - push.apply(args, action.args); - result = action.func.apply(action.thisArg, args); - } - return result; - } - - /** - * 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, instead - * of the lowest, index at which a value should be inserted into `array`. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - */ - function binaryIndex(array, value, retHighest) { - var low = 0, - high = array ? array.length : low; - - if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) { - while (low < high) { - var mid = (low + high) >>> 1, - computed = array[mid]; - - if (retHighest ? (computed <= value) : (computed < value)) { - low = mid + 1; - } else { - high = mid; - } - } - return high; - } - return binaryIndexBy(array, value, identity, retHighest); - } - - /** - * This function is like `binaryIndex` except that it 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 function invoked per iteration. - * @param {boolean} [retHighest] Specify returning the highest, instead - * of the lowest, index at which a value should be inserted into `array`. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - */ - function binaryIndexBy(array, value, iteratee, retHighest) { - value = iteratee(value); - - var low = 0, - high = array ? array.length : 0, - valIsNaN = value !== value, - valIsUndef = typeof value == 'undefined'; - - while (low < high) { - var mid = floor((low + high) / 2), - computed = iteratee(array[mid]), - isReflexive = computed === computed; - - if (valIsNaN) { - var setLow = isReflexive || retHighest; - } else if (valIsUndef) { - setLow = isReflexive && (retHighest || typeof computed != 'undefined'); - } else { - setLow = retHighest ? (computed <= value) : (computed < value); - } - if (setLow) { - low = mid + 1; - } else { - high = mid; - } - } - return nativeMin(high, MAX_ARRAY_INDEX); - } - - /** - * A specialized version of `baseCallback` which only supports `this` binding - * and specifying the number of arguments to provide to `func`. - * - * @private - * @param {Function} func The function to bind. - * @param {*} thisArg The `this` binding of `func`. - * @param {number} [argCount] The number of arguments to provide to `func`. - * @returns {Function} Returns the callback. - */ - function bindCallback(func, thisArg, argCount) { - if (typeof func != 'function') { - return identity; - } - if (typeof thisArg == 'undefined') { - return func; - } - switch (argCount) { - case 1: return function(value) { - return func.call(thisArg, value); - }; - case 3: return function(value, index, collection) { - return func.call(thisArg, value, index, collection); - }; - case 4: return function(accumulator, value, index, collection) { - return func.call(thisArg, accumulator, value, index, collection); - }; - case 5: return function(value, other, key, object, source) { - return func.call(thisArg, value, other, key, object, source); - }; - } - return function() { - return func.apply(thisArg, arguments); - }; - } - - /** - * Creates a clone of the given array buffer. - * - * @private - * @param {ArrayBuffer} buffer The array buffer to clone. - * @returns {ArrayBuffer} Returns the cloned array buffer. - */ - function bufferClone(buffer) { - return bufferSlice.call(buffer, 0); - } - if (!bufferSlice) { - // PhantomJS has `ArrayBuffer` and `Uint8Array` but not `Float64Array`. - bufferClone = !(ArrayBuffer && Uint8Array) ? constant(null) : function(buffer) { - var byteLength = buffer.byteLength, - floatLength = Float64Array ? floor(byteLength / FLOAT64_BYTES_PER_ELEMENT) : 0, - offset = floatLength * FLOAT64_BYTES_PER_ELEMENT, - result = new ArrayBuffer(byteLength); - - if (floatLength) { - var view = new Float64Array(result, 0, floatLength); - view.set(new Float64Array(buffer, 0, floatLength)); - } - if (byteLength != offset) { - view = new Uint8Array(result, offset); - view.set(new Uint8Array(buffer, offset)); - } - return result; - }; - } - - /** - * Creates an array that is the composition of partially applied arguments, - * placeholders, and provided arguments into a single array of arguments. - * - * @private - * @param {Array|Object} args The provided arguments. - * @param {Array} partials The arguments to prepend to those provided. - * @param {Array} holders The `partials` placeholder indexes. - * @returns {Array} Returns the new array of composed arguments. - */ - function composeArgs(args, partials, holders) { - var holdersLength = holders.length, - argsIndex = -1, - argsLength = nativeMax(args.length - holdersLength, 0), - leftIndex = -1, - leftLength = partials.length, - result = Array(argsLength + leftLength); - - while (++leftIndex < leftLength) { - result[leftIndex] = partials[leftIndex]; - } - while (++argsIndex < holdersLength) { - result[holders[argsIndex]] = args[argsIndex]; - } - while (argsLength--) { - result[leftIndex++] = args[argsIndex++]; - } - return result; - } - - /** - * This function is like `composeArgs` except that the arguments composition - * is tailored for `_.partialRight`. - * - * @private - * @param {Array|Object} args The provided arguments. - * @param {Array} partials The arguments to append to those provided. - * @param {Array} holders The `partials` placeholder indexes. - * @returns {Array} Returns the new array of composed arguments. - */ - function composeArgsRight(args, partials, holders) { - var holdersIndex = -1, - holdersLength = holders.length, - argsIndex = -1, - argsLength = nativeMax(args.length - holdersLength, 0), - rightIndex = -1, - rightLength = partials.length, - result = Array(argsLength + rightLength); - - while (++argsIndex < argsLength) { - result[argsIndex] = args[argsIndex]; - } - var pad = argsIndex; - while (++rightIndex < rightLength) { - result[pad + rightIndex] = partials[rightIndex]; - } - while (++holdersIndex < holdersLength) { - result[pad + holders[holdersIndex]] = args[argsIndex++]; - } - return result; - } - - /** - * Creates a function that aggregates a collection, creating an accumulator - * object composed from the results of running each element in the collection - * through an iteratee. - * - * @private - * @param {Function} setter The function to set keys and values of the accumulator object. - * @param {Function} [initializer] The function to initialize the accumulator object. - * @returns {Function} Returns the new aggregator function. - */ - function createAggregator(setter, initializer) { - return function(collection, iteratee, thisArg) { - var result = initializer ? initializer() : {}; - iteratee = getCallback(iteratee, thisArg, 3); - - if (isArray(collection)) { - var index = -1, - length = collection.length; - - while (++index < length) { - var value = collection[index]; - setter(result, value, iteratee(value, index, collection), collection); - } - } else { - baseEach(collection, function(value, key, collection) { - setter(result, value, iteratee(value, key, collection), collection); - }); - } - return result; - }; - } - - /** - * Creates a function that assigns properties of source object(s) to a given - * destination object. - * - * @private - * @param {Function} assigner The function to assign values. - * @returns {Function} Returns the new assigner function. - */ - function createAssigner(assigner) { - return function() { - var args = arguments, - length = args.length, - object = args[0]; - - if (length < 2 || object == null) { - return object; - } - var customizer = args[length - 2], - thisArg = args[length - 1], - guard = args[3]; - - if (length > 3 && typeof customizer == 'function') { - customizer = bindCallback(customizer, thisArg, 5); - length -= 2; - } else { - customizer = (length > 2 && typeof thisArg == 'function') ? thisArg : null; - length -= (customizer ? 1 : 0); - } - if (guard && isIterateeCall(args[1], args[2], guard)) { - customizer = length == 3 ? null : customizer; - length = 2; - } - var index = 0; - while (++index < length) { - var source = args[index]; - if (source) { - assigner(object, source, customizer); - } - } - return object; - }; - } - - /** - * Creates a function that wraps `func` and invokes it with the `this` - * binding of `thisArg`. - * - * @private - * @param {Function} func The function to bind. - * @param {*} [thisArg] The `this` binding of `func`. - * @returns {Function} Returns the new bound function. - */ - function createBindWrapper(func, thisArg) { - var Ctor = createCtorWrapper(func); - - function wrapper() { - var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; - return fn.apply(thisArg, arguments); - } - return wrapper; - } - - /** - * Creates a `Set` cache object to optimize linear searches of large arrays. - * - * @private - * @param {Array} [values] The values to cache. - * @returns {null|Object} Returns the new cache object if `Set` is supported, else `null`. - */ - var createCache = !(nativeCreate && Set) ? constant(null) : function(values) { - return new SetCache(values); - }; - - /** - * Creates a function to compose other functions into a single function. - * - * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new composer function. - */ - function createComposer(fromRight) { - return function() { - var length = arguments.length, - index = length, - fromIndex = fromRight ? (length - 1) : 0; - - if (!length) { - return function() { return arguments[0]; }; - } - var funcs = Array(length); - while (index--) { - funcs[index] = arguments[index]; - if (typeof funcs[index] != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - } - return function() { - var index = fromIndex, - result = funcs[index].apply(this, arguments); - - while ((fromRight ? index-- : ++index < length)) { - result = funcs[index].call(this, result); - } - return result; - }; - }; - } - - /** - * Creates a function that produces compound words out of the words in a - * given string. - * - * @private - * @param {Function} callback The function to combine each word. - * @returns {Function} Returns the new compounder function. - */ - function createCompounder(callback) { - return function(string) { - var index = -1, - array = words(deburr(string)), - length = array.length, - result = ''; - - while (++index < length) { - result = callback(result, array[index], index); - } - return result; - }; - } - - /** - * 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 createCtorWrapper(Ctor) { - return function() { - var thisBinding = baseCreate(Ctor.prototype), - result = Ctor.apply(thisBinding, arguments); - - // 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 gets the extremum value of a collection. - * - * @private - * @param {Function} arrayFunc The function to get the extremum value from an array. - * @param {boolean} [isMin] Specify returning the minimum, instead of the maximum, - * extremum value. - * @returns {Function} Returns the new extremum function. - */ - function createExtremum(arrayFunc, isMin) { - return function(collection, iteratee, thisArg) { - if (thisArg && isIterateeCall(collection, iteratee, thisArg)) { - iteratee = null; - } - var func = getCallback(), - noIteratee = iteratee == null; - - if (!(func === baseCallback && noIteratee)) { - noIteratee = false; - iteratee = func(iteratee, thisArg, 3); - } - if (noIteratee) { - var isArr = isArray(collection); - if (!isArr && isString(collection)) { - iteratee = charAtCallback; - } else { - return arrayFunc(isArr ? collection : toIterable(collection)); - } - } - return extremumBy(collection, iteratee, isMin); - }; - } - - /** - * Creates a function that wraps `func` and invokes it with optional `this` - * binding of, partial application, and currying. - * - * @private - * @param {Function|string} func The function or method name to reference. - * @param {number} bitmask The bitmask of flags. See `createWrapper` 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 createHybridWrapper(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) { - var isAry = bitmask & ARY_FLAG, - isBind = bitmask & BIND_FLAG, - isBindKey = bitmask & BIND_KEY_FLAG, - isCurry = bitmask & CURRY_FLAG, - isCurryBound = bitmask & CURRY_BOUND_FLAG, - isCurryRight = bitmask & CURRY_RIGHT_FLAG; - - var Ctor = !isBindKey && createCtorWrapper(func), - key = func; - - function wrapper() { - // Avoid `arguments` object use disqualifying optimizations by - // converting it to an array before providing it to other functions. - var length = arguments.length, - index = length, - args = Array(length); - - while (index--) { - args[index] = arguments[index]; - } - if (partials) { - args = composeArgs(args, partials, holders); - } - if (partialsRight) { - args = composeArgsRight(args, partialsRight, holdersRight); - } - if (isCurry || isCurryRight) { - var placeholder = wrapper.placeholder, - argsHolders = replaceHolders(args, placeholder); - - length -= argsHolders.length; - if (length < arity) { - var newArgPos = argPos ? arrayCopy(argPos) : null, - newArity = nativeMax(arity - length, 0), - newsHolders = isCurry ? argsHolders : null, - newHoldersRight = isCurry ? null : argsHolders, - newPartials = isCurry ? args : null, - newPartialsRight = isCurry ? null : args; - - bitmask |= (isCurry ? PARTIAL_FLAG : PARTIAL_RIGHT_FLAG); - bitmask &= ~(isCurry ? PARTIAL_RIGHT_FLAG : PARTIAL_FLAG); - - if (!isCurryBound) { - bitmask &= ~(BIND_FLAG | BIND_KEY_FLAG); - } - var result = createHybridWrapper(func, bitmask, thisArg, newPartials, newsHolders, newPartialsRight, newHoldersRight, newArgPos, ary, newArity); - result.placeholder = placeholder; - return result; - } - } - var thisBinding = isBind ? thisArg : this; - if (isBindKey) { - func = thisBinding[key]; - } - if (argPos) { - args = reorder(args, argPos); - } - if (isAry && ary < args.length) { - args.length = ary; - } - var fn = (this && this !== root && this instanceof wrapper) ? (Ctor || createCtorWrapper(func)) : func; - return fn.apply(thisBinding, args); - } - return wrapper; - } - - /** - * Creates the pad required for `string` based on the given padding length. - * The `chars` string may be truncated if the number of padding characters - * exceeds the padding length. - * - * @private - * @param {string} string The string to create padding for. - * @param {number} [length=0] The padding length. - * @param {string} [chars=' '] The string used as padding. - * @returns {string} Returns the pad for `string`. - */ - function createPad(string, length, chars) { - var strLength = string.length; - length = +length; - - if (strLength >= length || !nativeIsFinite(length)) { - return ''; - } - var padLength = length - strLength; - chars = chars == null ? ' ' : (chars + ''); - return repeat(chars, ceil(padLength / chars.length)).slice(0, padLength); - } - - /** - * Creates a function that wraps `func` and invokes it with the optional `this` - * binding of `thisArg` and the `partials` prepended to those provided to - * the wrapper. - * - * @private - * @param {Function} func The function to partially apply arguments to. - * @param {number} bitmask The bitmask of flags. See `createWrapper` 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 bound function. - */ - function createPartialWrapper(func, bitmask, thisArg, partials) { - var isBind = bitmask & BIND_FLAG, - Ctor = createCtorWrapper(func); - - function wrapper() { - // Avoid `arguments` object use disqualifying optimizations by - // converting it to an array before providing it `func`. - var argsIndex = -1, - argsLength = arguments.length, - leftIndex = -1, - leftLength = partials.length, - args = Array(argsLength + leftLength); - - while (++leftIndex < leftLength) { - args[leftIndex] = partials[leftIndex]; - } - while (argsLength--) { - args[leftIndex++] = arguments[++argsIndex]; - } - var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; - return fn.apply(isBind ? thisArg : this, args); - } - return wrapper; - } - - /** - * 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 reference. - * @param {number} bitmask The bitmask of flags. - * The bitmask may be composed of the following 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` - * @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 createWrapper(func, bitmask, thisArg, partials, holders, argPos, ary, arity) { - var isBindKey = bitmask & BIND_KEY_FLAG; - if (!isBindKey && typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - var length = partials ? partials.length : 0; - if (!length) { - bitmask &= ~(PARTIAL_FLAG | PARTIAL_RIGHT_FLAG); - partials = holders = null; - } - length -= (holders ? holders.length : 0); - if (bitmask & PARTIAL_RIGHT_FLAG) { - var partialsRight = partials, - holdersRight = holders; - - partials = holders = null; - } - var data = !isBindKey && getData(func), - newData = [func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity]; - - if (data && data !== true) { - mergeData(newData, data); - bitmask = newData[1]; - arity = newData[9]; - } - newData[9] = arity == null - ? (isBindKey ? 0 : func.length) - : (nativeMax(arity - length, 0) || 0); - - if (bitmask == BIND_FLAG) { - var result = createBindWrapper(newData[0], newData[2]); - } else if ((bitmask == PARTIAL_FLAG || bitmask == (BIND_FLAG | PARTIAL_FLAG)) && !newData[4].length) { - result = createPartialWrapper.apply(undefined, newData); - } else { - result = createHybridWrapper.apply(undefined, newData); - } - var setter = data ? baseSetData : setData; - return setter(result, newData); - } - - /** - * 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 {Function} equalFunc The function to determine equivalents of values. - * @param {Function} [customizer] The function to customize comparing arrays. - * @param {boolean} [isWhere] Specify performing partial comparisons. - * @param {Array} [stackA] Tracks traversed `value` objects. - * @param {Array} [stackB] Tracks traversed `other` objects. - * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`. - */ - function equalArrays(array, other, equalFunc, customizer, isWhere, stackA, stackB) { - var index = -1, - arrLength = array.length, - othLength = other.length, - result = true; - - if (arrLength != othLength && !(isWhere && othLength > arrLength)) { - return false; - } - // Deep compare the contents, ignoring non-numeric properties. - while (result && ++index < arrLength) { - var arrValue = array[index], - othValue = other[index]; - - result = undefined; - if (customizer) { - result = isWhere - ? customizer(othValue, arrValue, index) - : customizer(arrValue, othValue, index); - } - if (typeof result == 'undefined') { - // Recursively compare arrays (susceptible to call stack limits). - if (isWhere) { - var othIndex = othLength; - while (othIndex--) { - othValue = other[othIndex]; - result = (arrValue && arrValue === othValue) || equalFunc(arrValue, othValue, customizer, isWhere, stackA, stackB); - if (result) { - break; - } - } - } else { - result = (arrValue && arrValue === othValue) || equalFunc(arrValue, othValue, customizer, isWhere, stackA, stackB); - } - } - } - return !!result; - } - - /** - * 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} value The object to compare. - * @param {Object} other The other object to compare. - * @param {string} tag The `toStringTag` of the objects to compare. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function equalByTag(object, other, tag) { - switch (tag) { - case boolTag: - case dateTag: - // Coerce dates and booleans to numbers, dates to milliseconds and booleans - // to `1` or `0` treating invalid dates coerced to `NaN` as not equal. - return +object == +other; - - case errorTag: - return object.name == other.name && object.message == other.message; - - case numberTag: - // Treat `NaN` vs. `NaN` as equal. - return (object != +object) - ? other != +other - // But, treat `-0` vs. `+0` as not equal. - : (object == 0 ? ((1 / object) == (1 / other)) : object == +other); - - case regexpTag: - case stringTag: - // Coerce regexes to strings and treat strings primitives and string - // objects as equal. See https://es5.github.io/#x15.10.6.4 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 {Function} equalFunc The function to determine equivalents of values. - * @param {Function} [customizer] The function to customize comparing values. - * @param {boolean} [isWhere] Specify performing partial comparisons. - * @param {Array} [stackA] Tracks traversed `value` objects. - * @param {Array} [stackB] Tracks traversed `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function equalObjects(object, other, equalFunc, customizer, isWhere, stackA, stackB) { - var objProps = keys(object), - objLength = objProps.length, - othProps = keys(other), - othLength = othProps.length; - - if (objLength != othLength && !isWhere) { - return false; - } - var hasCtor, - index = -1; - - while (++index < objLength) { - var key = objProps[index], - result = hasOwnProperty.call(other, key); - - if (result) { - var objValue = object[key], - othValue = other[key]; - - result = undefined; - if (customizer) { - result = isWhere - ? customizer(othValue, objValue, key) - : customizer(objValue, othValue, key); - } - if (typeof result == 'undefined') { - // Recursively compare objects (susceptible to call stack limits). - result = (objValue && objValue === othValue) || equalFunc(objValue, othValue, customizer, isWhere, stackA, stackB); - } - } - if (!result) { - return false; - } - hasCtor || (hasCtor = key == 'constructor'); - } - if (!hasCtor) { - var objCtor = object.constructor, - othCtor = other.constructor; - - // 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)) { - return false; - } - } - return true; - } - - /** - * Gets the extremum value of `collection` invoking `iteratee` for each value - * in `collection` to generate the criterion by which the value is ranked. - * The `iteratee` is invoked with three arguments; (value, index, collection). - * - * @private - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {boolean} [isMin] Specify returning the minimum, instead of the - * maximum, extremum value. - * @returns {*} Returns the extremum value. - */ - function extremumBy(collection, iteratee, isMin) { - var exValue = isMin ? POSITIVE_INFINITY : NEGATIVE_INFINITY, - computed = exValue, - result = computed; - - baseEach(collection, function(value, index, collection) { - var current = iteratee(value, index, collection); - if ((isMin ? (current < computed) : (current > computed)) || - (current === exValue && current === result)) { - computed = current; - result = value; - } - }); - return result; - } - - /** - * Gets the appropriate "callback" function. If the `_.callback` method is - * customized this function returns the custom method, otherwise it returns - * the `baseCallback` function. If arguments are provided the chosen function - * is invoked with them and its result is returned. - * - * @private - * @returns {Function} Returns the chosen function or its result. - */ - function getCallback(func, thisArg, argCount) { - var result = lodash.callback || callback; - result = result === callback ? baseCallback : result; - return argCount ? result(func, thisArg, argCount) : result; - } - - /** - * 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 appropriate "indexOf" function. If the `_.indexOf` method is - * customized this function returns the custom method, otherwise it returns - * the `baseIndexOf` function. If arguments are provided the chosen function - * is invoked with them and its result is returned. - * - * @private - * @returns {Function|number} Returns the chosen function or its result. - */ - function getIndexOf(collection, target, fromIndex) { - var result = lodash.indexOf || indexOf; - result = result === indexOf ? baseIndexOf : result; - return collection ? result(collection, target, fromIndex) : 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 ? transforms.length : 0; - - 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 }; - } - - /** - * 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 = new array.constructor(length); - - // Add array 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) { - var Ctor = object.constructor; - if (!(typeof Ctor == 'function' && Ctor instanceof Ctor)) { - Ctor = Object; - } - return new Ctor; - } - - /** - * 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 {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the initialized clone. - */ - function initCloneByTag(object, tag, isDeep) { - var Ctor = object.constructor; - switch (tag) { - case arrayBufferTag: - return bufferClone(object); - - case boolTag: - case dateTag: - return new Ctor(+object); - - case float32Tag: case float64Tag: - case int8Tag: case int16Tag: case int32Tag: - case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag: - var buffer = object.buffer; - return new Ctor(isDeep ? bufferClone(buffer) : buffer, object.byteOffset, object.length); - - case numberTag: - case stringTag: - return new Ctor(object); - - case regexpTag: - var result = new Ctor(object.source, reFlags.exec(object)); - result.lastIndex = object.lastIndex; - } - return result; - } - - /** - * Checks if `func` is eligible for `this` binding. - * - * @private - * @param {Function} func The function to check. - * @returns {boolean} Returns `true` if `func` is eligible, else `false`. - */ - function isBindable(func) { - var support = lodash.support, - result = !(support.funcNames ? func.name : support.funcDecomp); - - if (!result) { - var source = fnToString.call(func); - if (!support.funcNames) { - result = !reFuncName.test(source); - } - if (!result) { - // Check if `func` references the `this` keyword and store the result. - result = reThis.test(source) || isNative(func); - baseSetData(func, result); - } - } - return result; - } - - /** - * 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) { - value = +value; - length = length == null ? MAX_SAFE_INTEGER : length; - return value > -1 && value % 1 == 0 && value < length; - } - - /** - * Checks if the provided 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') { - var length = object.length, - prereq = isLength(length) && isIndex(index, length); - } else { - prereq = type == 'string' && index in object; - } - if (prereq) { - var other = object[index]; - return value === value ? (value === other) : (other !== other); - } - return false; - } - - /** - * Checks if `value` is a valid array-like length. - * - * **Note:** This function is based on ES `ToLength`. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength) - * for more details. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. - */ - function isLength(value) { - return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; - } - - /** - * 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 && (value === 0 ? ((1 / value) > 0) : !isObject(value)); - } - - /** - * Merges the function metadata of `source` into `data`. - * - * Merging metadata reduces the number of wrappers required 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` - * augment function arguments, making the order in which they are executed important, - * preventing the merging of metadata. However, we make an exception for a safe - * common 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; - - var arityFlags = ARY_FLAG | REARG_FLAG, - bindFlags = BIND_FLAG | BIND_KEY_FLAG, - comboFlags = arityFlags | bindFlags | CURRY_BOUND_FLAG | CURRY_RIGHT_FLAG; - - var isAry = bitmask & ARY_FLAG && !(srcBitmask & ARY_FLAG), - isRearg = bitmask & REARG_FLAG && !(srcBitmask & REARG_FLAG), - argPos = (isRearg ? data : source)[7], - ary = (isAry ? data : source)[8]; - - var isCommon = !(bitmask >= REARG_FLAG && srcBitmask > bindFlags) && - !(bitmask > bindFlags && srcBitmask >= REARG_FLAG); - - var isCombo = (newBitmask >= arityFlags && newBitmask <= comboFlags) && - (bitmask < REARG_FLAG || ((isRearg || isAry) && argPos.length <= ary)); - - // Exit early if metadata can't be merged. - if (!(isCommon || isCombo)) { - return data; - } - // Use source `thisArg` if available. - if (srcBitmask & BIND_FLAG) { - data[2] = source[2]; - // Set when currying a bound function. - newBitmask |= (bitmask & BIND_FLAG) ? 0 : CURRY_BOUND_FLAG; - } - // Compose partial arguments. - var value = source[3]; - if (value) { - var partials = data[3]; - data[3] = partials ? composeArgs(partials, value, source[4]) : arrayCopy(value); - data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : arrayCopy(source[4]); - } - // Compose partial right arguments. - value = source[5]; - if (value) { - partials = data[5]; - data[5] = partials ? composeArgsRight(partials, value, source[6]) : arrayCopy(value); - data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : arrayCopy(source[6]); - } - // Use source `argPos` if available. - value = source[7]; - if (value) { - data[7] = arrayCopy(value); - } - // Use source `ary` if it's smaller. - if (srcBitmask & 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; - } - - /** - * A specialized version of `_.pick` that picks `object` properties specified - * by the `props` array. - * - * @private - * @param {Object} object The source object. - * @param {string[]} props The property names to pick. - * @returns {Object} Returns the new object. - */ - function pickByArray(object, props) { - object = toObject(object); - - var index = -1, - length = props.length, - result = {}; - - while (++index < length) { - var key = props[index]; - if (key in object) { - result[key] = object[key]; - } - } - return result; - } - - /** - * A specialized version of `_.pick` that picks `object` properties `predicate` - * returns truthy for. - * - * @private - * @param {Object} object The source object. - * @param {Function} predicate The function invoked per iteration. - * @returns {Object} Returns the new object. - */ - function pickByCallback(object, predicate) { - var result = {}; - baseForIn(object, function(value, key, object) { - if (predicate(value, key, object)) { - result[key] = value; - } - }); - return result; - } - - /** - * 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 = arrayCopy(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://code.google.com/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 = (function() { - var count = 0, - lastCalled = 0; - - return function(key, value) { - var stamp = now(), - remaining = HOT_SPAN - (stamp - lastCalled); - - lastCalled = stamp; - if (remaining > 0) { - if (++count >= HOT_COUNT) { - return key; - } - } else { - count = 0; - } - return baseSetData(key, value); - }; - }()); - - /** - * A fallback implementation of `_.isPlainObject` which checks if `value` - * is an object created by the `Object` constructor or has a `[[Prototype]]` - * of `null`. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a plain object, else `false`. - */ - function shimIsPlainObject(value) { - var Ctor, - support = lodash.support; - - // Exit early for non `Object` objects. - if (!(isObjectLike(value) && objToString.call(value) == objectTag) || - (!hasOwnProperty.call(value, 'constructor') && - (Ctor = value.constructor, typeof Ctor == 'function' && !(Ctor instanceof Ctor)))) { - return false; - } - // IE < 9 iterates inherited properties before own properties. If the first - // iterated property is an object's own property then there are no inherited - // enumerable properties. - var result; - // In most environments an object's own properties are iterated before - // its inherited properties. If the last iterated property is an object's - // own property then there are no inherited enumerable properties. - baseForIn(value, function(subValue, key) { - result = key; - }); - return typeof result == 'undefined' || hasOwnProperty.call(value, result); - } - - /** - * A fallback implementation of `Object.keys` which creates an array of the - * own enumerable property names of `object`. - * - * @private - * @param {Object} object The object to inspect. - * @returns {Array} Returns the array of property names. - */ - function shimKeys(object) { - var props = keysIn(object), - propsLength = props.length, - length = propsLength && object.length, - support = lodash.support; - - var allowIndexes = length && isLength(length) && - (isArray(object) || (support.nonEnumArgs && isArguments(object))); - - var index = -1, - result = []; - - while (++index < propsLength) { - var key = props[index]; - if ((allowIndexes && isIndex(key, length)) || hasOwnProperty.call(object, key)) { - result.push(key); - } - } - return result; - } - - /** - * Converts `value` to an array-like object if it is not one. - * - * @private - * @param {*} value The value to process. - * @returns {Array|Object} Returns the array-like object. - */ - function toIterable(value) { - if (value == null) { - return []; - } - if (!isLength(value.length)) { - return values(value); - } - return isObject(value) ? value : Object(value); - } - - /** - * Converts `value` to an object if it is not one. - * - * @private - * @param {*} value The value to process. - * @returns {Object} Returns the object. - */ - function toObject(value) { - return isObject(value) ? value : Object(value); - } - - /** - * Creates a clone of `wrapper`. - * - * @private - * @param {Object} wrapper The wrapper to clone. - * @returns {Object} Returns the cloned wrapper. - */ - function wrapperClone(wrapper) { - return wrapper instanceof LazyWrapper - ? wrapper.clone() - : new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__, arrayCopy(wrapper.__actions__)); - } - - /*------------------------------------------------------------------------*/ - - /** - * Creates an array of elements split into groups the length of `size`. - * If `collection` can't be split evenly, the final chunk will be the remaining - * elements. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to process. - * @param {number} [size=1] The length of each chunk. - * @param- {Object} [guard] Enables use as a callback for functions like `_.map`. - * @returns {Array} Returns the new array containing 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 == null) { - size = 1; - } else { - size = nativeMax(+size || 1, 1); - } - var index = 0, - length = array ? array.length : 0, - resIndex = -1, - result = Array(ceil(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 _ - * @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 ? array.length : 0, - resIndex = -1, - result = []; - - while (++index < length) { - var value = array[index]; - if (value) { - result[++resIndex] = value; - } - } - return result; - } - - /** - * Creates an array excluding all values of the provided arrays using - * `SameValueZero` for equality comparisons. - * - * **Note:** `SameValueZero` comparisons are like strict equality comparisons, - * e.g. `===`, except that `NaN` matches `NaN`. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero) - * for more details. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to inspect. - * @param {...Array} [values] The arrays of values to exclude. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * _.difference([1, 2, 3], [4, 2]); - * // => [1, 3] - */ - function difference() { - var args = arguments, - index = -1, - length = args.length; - - while (++index < length) { - var value = args[index]; - if (isArray(value) || isArguments(value)) { - break; - } - } - return baseDifference(value, baseFlatten(args, false, true, ++index)); - } - - /** - * Creates a slice of `array` with `n` elements dropped from the beginning. - * - * @static - * @memberOf _ - * @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 a callback for functions 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 ? array.length : 0; - if (!length) { - return []; - } - if (guard ? isIterateeCall(array, n, guard) : n == null) { - n = 1; - } - return baseSlice(array, n < 0 ? 0 : n); - } - - /** - * Creates a slice of `array` with `n` elements dropped from the end. - * - * @static - * @memberOf _ - * @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 a callback for functions 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 ? array.length : 0; - if (!length) { - return []; - } - if (guard ? isIterateeCall(array, n, guard) : n == null) { - n = 1; - } - n = length - (+n || 0); - 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 - * bound to `thisArg` and invoked with three arguments; (value, index, array). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that match the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to query. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.dropRightWhile([1, 2, 3], function(n) { - * return n > 1; - * }); - * // => [1] - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': false } - * ]; - * - * // using the `_.matches` callback shorthand - * _.pluck(_.dropRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user'); - * // => ['barney', 'fred'] - * - * // using the `_.matchesProperty` callback shorthand - * _.pluck(_.dropRightWhile(users, 'active', false), 'user'); - * // => ['barney'] - * - * // using the `_.property` callback shorthand - * _.pluck(_.dropRightWhile(users, 'active'), 'user'); - * // => ['barney', 'fred', 'pebbles'] - */ - function dropRightWhile(array, predicate, thisArg) { - var length = array ? array.length : 0; - if (!length) { - return []; - } - predicate = getCallback(predicate, thisArg, 3); - while (length-- && predicate(array[length], length, array)) {} - return baseSlice(array, 0, length + 1); - } - - /** - * Creates a slice of `array` excluding elements dropped from the beginning. - * Elements are dropped until `predicate` returns falsey. The predicate is - * bound to `thisArg` and invoked with three arguments; (value, index, array). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to query. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.dropWhile([1, 2, 3], function(n) { - * return n < 3; - * }); - * // => [3] - * - * var users = [ - * { 'user': 'barney', 'active': false }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': true } - * ]; - * - * // using the `_.matches` callback shorthand - * _.pluck(_.dropWhile(users, { 'user': 'barney', 'active': false }), 'user'); - * // => ['fred', 'pebbles'] - * - * // using the `_.matchesProperty` callback shorthand - * _.pluck(_.dropWhile(users, 'active', false), 'user'); - * // => ['pebbles'] - * - * // using the `_.property` callback shorthand - * _.pluck(_.dropWhile(users, 'active'), 'user'); - * // => ['barney', 'fred', 'pebbles'] - */ - function dropWhile(array, predicate, thisArg) { - var length = array ? array.length : 0; - if (!length) { - return []; - } - var index = -1; - predicate = getCallback(predicate, thisArg, 3); - while (++index < length && predicate(array[index], index, array)) {} - return baseSlice(array, index); - } - - /** - * Fills elements of `array` with `value` from `start` up to, but not - * including, `end`. - * - * **Note:** This method mutates `array`. - * - * @static - * @memberOf _ - * @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`. - */ - function fill(array, value, start, end) { - var length = array ? array.length : 0; - 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. - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to search. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @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(chr) { - * return chr.user == 'barney'; - * }); - * // => 0 - * - * // using the `_.matches` callback shorthand - * _.findIndex(users, { 'user': 'fred', 'active': false }); - * // => 1 - * - * // using the `_.matchesProperty` callback shorthand - * _.findIndex(users, 'active', false); - * // => 0 - * - * // using the `_.property` callback shorthand - * _.findIndex(users, 'active'); - * // => 2 - */ - function findIndex(array, predicate, thisArg) { - var index = -1, - length = array ? array.length : 0; - - predicate = getCallback(predicate, thisArg, 3); - while (++index < length) { - if (predicate(array[index], index, array)) { - return index; - } - } - return -1; - } - - /** - * This method is like `_.findIndex` except that it iterates over elements - * of `collection` from right to left. - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to search. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @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(chr) { - * return chr.user == 'pebbles'; - * }); - * // => 2 - * - * // using the `_.matches` callback shorthand - * _.findLastIndex(users, { 'user': 'barney', 'active': true }); - * // => 0 - * - * // using the `_.matchesProperty` callback shorthand - * _.findLastIndex(users, 'active', false); - * // => 2 - * - * // using the `_.property` callback shorthand - * _.findLastIndex(users, 'active'); - * // => 0 - */ - function findLastIndex(array, predicate, thisArg) { - var length = array ? array.length : 0; - predicate = getCallback(predicate, thisArg, 3); - while (length--) { - if (predicate(array[length], length, array)) { - return length; - } - } - return -1; - } - - /** - * Gets the first element of `array`. - * - * @static - * @memberOf _ - * @alias head - * @category Array - * @param {Array} array The array to query. - * @returns {*} Returns the first element of `array`. - * @example - * - * _.first([1, 2, 3]); - * // => 1 - * - * _.first([]); - * // => undefined - */ - function first(array) { - return array ? array[0] : undefined; - } - - /** - * Flattens a nested array. If `isDeep` is `true` the array is recursively - * flattened, otherwise it is only flattened a single level. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to flatten. - * @param {boolean} [isDeep] Specify a deep flatten. - * @param- {Object} [guard] Enables use as a callback for functions like `_.map`. - * @returns {Array} Returns the new flattened array. - * @example - * - * _.flatten([1, [2, 3, [4]]]); - * // => [1, 2, 3, [4]]; - * - * // using `isDeep` - * _.flatten([1, [2, 3, [4]]], true); - * // => [1, 2, 3, 4]; - */ - function flatten(array, isDeep, guard) { - var length = array ? array.length : 0; - if (guard && isIterateeCall(array, isDeep, guard)) { - isDeep = false; - } - return length ? baseFlatten(array, isDeep, false, 0) : []; - } - - /** - * Recursively flattens a nested array. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to recursively flatten. - * @returns {Array} Returns the new flattened array. - * @example - * - * _.flattenDeep([1, [2, 3, [4]]]); - * // => [1, 2, 3, 4]; - */ - function flattenDeep(array) { - var length = array ? array.length : 0; - return length ? baseFlatten(array, true, false, 0) : []; - } - - /** - * Gets the index at which the first occurrence of `value` is found in `array` - * using `SameValueZero` for equality comparisons. If `fromIndex` is negative, - * it is used as the offset from the end of `array`. If `array` is sorted - * providing `true` for `fromIndex` performs a faster binary search. - * - * **Note:** `SameValueZero` comparisons are like strict equality comparisons, - * e.g. `===`, except that `NaN` matches `NaN`. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero) - * for more details. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to search. - * @param {*} value The value to search for. - * @param {boolean|number} [fromIndex=0] The index to search from or `true` - * to perform a binary search on a sorted array. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.indexOf([1, 2, 1, 2], 2); - * // => 1 - * - * // using `fromIndex` - * _.indexOf([1, 2, 1, 2], 2, 2); - * // => 3 - * - * // performing a binary search - * _.indexOf([1, 1, 2, 2], 2, true); - * // => 2 - */ - function indexOf(array, value, fromIndex) { - var length = array ? array.length : 0; - if (!length) { - return -1; - } - if (typeof fromIndex == 'number') { - fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : fromIndex; - } else if (fromIndex) { - var index = binaryIndex(array, value), - other = array[index]; - - if (value === value ? (value === other) : (other !== other)) { - return index; - } - return -1; - } - return baseIndexOf(array, value, fromIndex || 0); - } - - /** - * Gets all but the last element of `array`. - * - * @static - * @memberOf _ - * @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) { - return dropRight(array, 1); - } - - /** - * Creates an array of unique values in all provided arrays using `SameValueZero` - * for equality comparisons. - * - * **Note:** `SameValueZero` comparisons are like strict equality comparisons, - * e.g. `===`, except that `NaN` matches `NaN`. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero) - * for more details. - * - * @static - * @memberOf _ - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @returns {Array} Returns the new array of shared values. - * @example - * _.intersection([1, 2], [4, 2], [2, 1]); - * // => [2] - */ - function intersection() { - var args = [], - argsIndex = -1, - argsLength = arguments.length, - caches = [], - indexOf = getIndexOf(), - isCommon = indexOf == baseIndexOf; - - while (++argsIndex < argsLength) { - var value = arguments[argsIndex]; - if (isArray(value) || isArguments(value)) { - args.push(value); - caches.push((isCommon && value.length >= 120) ? createCache(argsIndex && value) : null); - } - } - argsLength = args.length; - var array = args[0], - index = -1, - length = array ? array.length : 0, - result = [], - seen = caches[0]; - - outer: - while (++index < length) { - value = array[index]; - if ((seen ? cacheIndexOf(seen, value) : indexOf(result, value, 0)) < 0) { - argsIndex = argsLength; - while (--argsIndex) { - var cache = caches[argsIndex]; - if ((cache ? cacheIndexOf(cache, value) : indexOf(args[argsIndex], value, 0)) < 0) { - continue outer; - } - } - if (seen) { - seen.push(value); - } - result.push(value); - } - } - return result; - } - - /** - * Gets the last element of `array`. - * - * @static - * @memberOf _ - * @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 ? array.length : 0; - 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 _ - * @category Array - * @param {Array} array The array to search. - * @param {*} value The value to search for. - * @param {boolean|number} [fromIndex=array.length-1] The index to search from - * or `true` to perform a binary search on a sorted array. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.lastIndexOf([1, 2, 1, 2], 2); - * // => 3 - * - * // using `fromIndex` - * _.lastIndexOf([1, 2, 1, 2], 2, 2); - * // => 1 - * - * // performing a binary search - * _.lastIndexOf([1, 1, 2, 2], 2, true); - * // => 3 - */ - function lastIndexOf(array, value, fromIndex) { - var length = array ? array.length : 0; - if (!length) { - return -1; - } - var index = length; - if (typeof fromIndex == 'number') { - index = (fromIndex < 0 ? nativeMax(length + fromIndex, 0) : nativeMin(fromIndex || 0, length - 1)) + 1; - } else if (fromIndex) { - index = binaryIndex(array, value, true) - 1; - var other = array[index]; - if (value === value ? (value === other) : (other !== other)) { - return index; - } - return -1; - } - if (value !== value) { - return indexOfNaN(array, index, true); - } - while (index--) { - if (array[index] === value) { - return index; - } - } - return -1; - } - - /** - * Removes all provided values from `array` using `SameValueZero` for equality - * comparisons. - * - * **Notes:** - * - Unlike `_.without`, this method mutates `array`. - * - `SameValueZero` comparisons are like strict equality comparisons, e.g. `===`, - * except that `NaN` matches `NaN`. See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero) - * for more details. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to modify. - * @param {...*} [values] The values to remove. - * @returns {Array} Returns `array`. - * @example - * - * var array = [1, 2, 3, 1, 2, 3]; - * - * _.pull(array, 2, 3); - * console.log(array); - * // => [1, 1] - */ - function pull() { - var args = arguments, - array = args[0]; - - if (!(array && array.length)) { - return array; - } - var index = 0, - indexOf = getIndexOf(), - length = args.length; - - while (++index < length) { - var fromIndex = 0, - value = args[index]; - - while ((fromIndex = indexOf(array, value, fromIndex)) > -1) { - splice.call(array, fromIndex, 1); - } - } - return array; - } - - /** - * Removes elements from `array` corresponding to the given indexes and returns - * an array of the removed elements. Indexes may be specified as an array of - * indexes or as individual arguments. - * - * **Note:** Unlike `_.at`, this method mutates `array`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to modify. - * @param {...(number|number[])} [indexes] The indexes of elements to remove, - * specified as individual indexes or arrays of indexes. - * @returns {Array} Returns the new array of removed elements. - * @example - * - * var array = [5, 10, 15, 20]; - * var evens = _.pullAt(array, 1, 3); - * - * console.log(array); - * // => [5, 15] - * - * console.log(evens); - * // => [10, 20] - */ - function pullAt(array) { - return basePullAt(array || [], baseFlatten(arguments, false, false, 1)); - } - - /** - * Removes all elements from `array` that `predicate` returns truthy for - * and returns an array of the removed elements. The predicate is bound to - * `thisArg` and invoked with three arguments; (value, index, array). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * **Note:** Unlike `_.filter`, this method mutates `array`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to modify. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @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, thisArg) { - var index = -1, - length = array ? array.length : 0, - result = []; - - predicate = getCallback(predicate, thisArg, 3); - while (++index < length) { - var value = array[index]; - if (predicate(value, index, array)) { - result.push(value); - splice.call(array, index--, 1); - length--; - } - } - return result; - } - - /** - * Gets all but the first element of `array`. - * - * @static - * @memberOf _ - * @alias tail - * @category Array - * @param {Array} array The array to query. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.rest([1, 2, 3]); - * // => [2, 3] - */ - function rest(array) { - return drop(array, 1); - } - - /** - * Creates a slice of `array` from `start` up to, but not including, `end`. - * - * **Note:** This function is used instead of `Array#slice` to support node - * lists in IE < 9 and to ensure dense arrays are returned. - * - * @static - * @memberOf _ - * @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 ? array.length : 0; - if (!length) { - return []; - } - if (end && typeof end != 'number' && isIterateeCall(array, start, end)) { - start = 0; - end = length; - } - 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. If an iteratee - * function is provided it is invoked for `value` and each element of `array` - * to compute their sort ranking. The iteratee is bound to `thisArg` and - * invoked with one argument; (value). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function|Object|string} [iteratee=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - * @example - * - * _.sortedIndex([30, 50], 40); - * // => 1 - * - * _.sortedIndex([4, 4, 5, 5], 5); - * // => 2 - * - * var dict = { 'data': { 'thirty': 30, 'forty': 40, 'fifty': 50 } }; - * - * // using an iteratee function - * _.sortedIndex(['thirty', 'fifty'], 'forty', function(word) { - * return this.data[word]; - * }, dict); - * // => 1 - * - * // using the `_.property` callback shorthand - * _.sortedIndex([{ 'x': 30 }, { 'x': 50 }], { 'x': 40 }, 'x'); - * // => 1 - */ - function sortedIndex(array, value, iteratee, thisArg) { - var func = getCallback(iteratee); - return (func === baseCallback && iteratee == null) - ? binaryIndex(array, value) - : binaryIndexBy(array, value, func(iteratee, thisArg, 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 _ - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function|Object|string} [iteratee=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - * @example - * - * _.sortedLastIndex([4, 4, 5, 5], 5); - * // => 4 - */ - function sortedLastIndex(array, value, iteratee, thisArg) { - var func = getCallback(iteratee); - return (func === baseCallback && iteratee == null) - ? binaryIndex(array, value, true) - : binaryIndexBy(array, value, func(iteratee, thisArg, 1), true); - } - - /** - * Creates a slice of `array` with `n` elements taken from the beginning. - * - * @static - * @memberOf _ - * @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 a callback for functions 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) { - var length = array ? array.length : 0; - if (!length) { - return []; - } - if (guard ? isIterateeCall(array, n, guard) : n == null) { - n = 1; - } - return baseSlice(array, 0, n < 0 ? 0 : n); - } - - /** - * Creates a slice of `array` with `n` elements taken from the end. - * - * @static - * @memberOf _ - * @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 a callback for functions 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 ? array.length : 0; - if (!length) { - return []; - } - if (guard ? isIterateeCall(array, n, guard) : n == null) { - n = 1; - } - n = length - (+n || 0); - return baseSlice(array, n < 0 ? 0 : n); - } - - /** - * Creates a slice of `array` with elements taken from the end. Elements are - * taken until `predicate` returns falsey. The predicate is bound to `thisArg` - * and invoked with three arguments; (value, index, array). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to query. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.takeRightWhile([1, 2, 3], function(n) { - * return n > 1; - * }); - * // => [2, 3] - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': false } - * ]; - * - * // using the `_.matches` callback shorthand - * _.pluck(_.takeRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user'); - * // => ['pebbles'] - * - * // using the `_.matchesProperty` callback shorthand - * _.pluck(_.takeRightWhile(users, 'active', false), 'user'); - * // => ['fred', 'pebbles'] - * - * // using the `_.property` callback shorthand - * _.pluck(_.takeRightWhile(users, 'active'), 'user'); - * // => [] - */ - function takeRightWhile(array, predicate, thisArg) { - var length = array ? array.length : 0; - if (!length) { - return []; - } - predicate = getCallback(predicate, thisArg, 3); - while (length-- && predicate(array[length], length, array)) {} - return baseSlice(array, length + 1); - } - - /** - * Creates a slice of `array` with elements taken from the beginning. Elements - * are taken until `predicate` returns falsey. The predicate is bound to - * `thisArg` and invoked with three arguments; (value, index, array). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to query. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.takeWhile([1, 2, 3], function(n) { - * return n < 3; - * }); - * // => [1, 2] - * - * var users = [ - * { 'user': 'barney', 'active': false }, - * { 'user': 'fred', 'active': false}, - * { 'user': 'pebbles', 'active': true } - * ]; - * - * // using the `_.matches` callback shorthand - * _.pluck(_.takeWhile(users, { 'user': 'barney', 'active': false }), 'user'); - * // => ['barney'] - * - * // using the `_.matchesProperty` callback shorthand - * _.pluck(_.takeWhile(users, 'active', false), 'user'); - * // => ['barney', 'fred'] - * - * // using the `_.property` callback shorthand - * _.pluck(_.takeWhile(users, 'active'), 'user'); - * // => [] - */ - function takeWhile(array, predicate, thisArg) { - var length = array ? array.length : 0; - if (!length) { - return []; - } - var index = -1; - predicate = getCallback(predicate, thisArg, 3); - while (++index < length && predicate(array[index], index, array)) {} - return baseSlice(array, 0, index); - } - - /** - * Creates an array of unique values, in order, of the provided arrays using - * `SameValueZero` for equality comparisons. - * - * **Note:** `SameValueZero` comparisons are like strict equality comparisons, - * e.g. `===`, except that `NaN` matches `NaN`. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero) - * for more details. - * - * @static - * @memberOf _ - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @returns {Array} Returns the new array of combined values. - * @example - * - * _.union([1, 2], [4, 2], [2, 1]); - * // => [1, 2, 4] - */ - function union() { - return baseUniq(baseFlatten(arguments, false, true, 0)); - } - - /** - * Creates a duplicate-value-free version of an array using `SameValueZero` - * for equality comparisons. Providing `true` for `isSorted` performs a faster - * search algorithm for sorted arrays. If an iteratee function is provided it - * is invoked for each value in the array to generate the criterion by which - * uniqueness is computed. The `iteratee` is bound to `thisArg` and invoked - * with three arguments; (value, index, array). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * **Note:** `SameValueZero` comparisons are like strict equality comparisons, - * e.g. `===`, except that `NaN` matches `NaN`. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero) - * for more details. - * - * @static - * @memberOf _ - * @alias unique - * @category Array - * @param {Array} array The array to inspect. - * @param {boolean} [isSorted] Specify the array is sorted. - * @param {Function|Object|string} [iteratee] The function invoked per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Array} Returns the new duplicate-value-free array. - * @example - * - * _.uniq([1, 2, 1]); - * // => [1, 2] - * - * // using `isSorted` - * _.uniq([1, 1, 2], true); - * // => [1, 2] - * - * // using an iteratee function - * _.uniq([1, 2.5, 1.5, 2], function(n) { - * return this.floor(n); - * }, Math); - * // => [1, 2.5] - * - * // using the `_.property` callback shorthand - * _.uniq([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }, { 'x': 2 }] - */ - function uniq(array, isSorted, iteratee, thisArg) { - var length = array ? array.length : 0; - if (!length) { - return []; - } - if (isSorted != null && typeof isSorted != 'boolean') { - thisArg = iteratee; - iteratee = isIterateeCall(array, isSorted, thisArg) ? null : isSorted; - isSorted = false; - } - var func = getCallback(); - if (!(func === baseCallback && iteratee == null)) { - iteratee = func(iteratee, thisArg, 3); - } - return (isSorted && getIndexOf() == baseIndexOf) - ? sortedUniq(array, iteratee) - : baseUniq(array, iteratee); - } - - /** - * 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 _ - * @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(['fred', 'barney'], [30, 40], [true, false]); - * // => [['fred', 30, true], ['barney', 40, false]] - * - * _.unzip(zipped); - * // => [['fred', 'barney'], [30, 40], [true, false]] - */ - function unzip(array) { - var index = -1, - length = (array && array.length && arrayMax(arrayMap(array, getLength))) >>> 0, - result = Array(length); - - while (++index < length) { - result[index] = arrayMap(array, baseProperty(index)); - } - return result; - } - - /** - * Creates an array excluding all provided values using `SameValueZero` for - * equality comparisons. - * - * **Note:** `SameValueZero` comparisons are like strict equality comparisons, - * e.g. `===`, except that `NaN` matches `NaN`. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero) - * for more details. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to filter. - * @param {...*} [values] The values to exclude. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * _.without([1, 2, 1, 3], 1, 2); - * // => [3] - */ - function without(array) { - return baseDifference(array, baseSlice(arguments, 1)); - } - - /** - * Creates an array that is the symmetric difference of the provided arrays. - * See [Wikipedia](https://en.wikipedia.org/wiki/Symmetric_difference) for - * more details. - * - * @static - * @memberOf _ - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @returns {Array} Returns the new array of values. - * @example - * - * _.xor([1, 2], [4, 2]); - * // => [1, 4] - */ - function xor() { - var index = -1, - length = arguments.length; - - while (++index < length) { - var array = arguments[index]; - if (isArray(array) || isArguments(array)) { - var result = result - ? baseDifference(result, array).concat(baseDifference(array, result)) - : array; - } - } - return result ? baseUniq(result) : []; - } - - /** - * 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 _ - * @category Array - * @param {...Array} [arrays] The arrays to process. - * @returns {Array} Returns the new array of grouped elements. - * @example - * - * _.zip(['fred', 'barney'], [30, 40], [true, false]); - * // => [['fred', 30, true], ['barney', 40, false]] - */ - function zip() { - var length = arguments.length, - array = Array(length); - - while (length--) { - array[length] = arguments[length]; - } - return unzip(array); - } - - /** - * Creates an object composed from arrays of property names and values. Provide - * either a single two dimensional array, e.g. `[[key1, value1], [key2, value2]]` - * or two arrays, one of property names and one of corresponding values. - * - * @static - * @memberOf _ - * @alias object - * @category Array - * @param {Array} props The property names. - * @param {Array} [values=[]] The property values. - * @returns {Object} Returns the new object. - * @example - * - * _.zipObject(['fred', 'barney'], [30, 40]); - * // => { 'fred': 30, 'barney': 40 } - */ - function zipObject(props, values) { - var index = -1, - length = props ? props.length : 0, - result = {}; - - if (length && !values && !isArray(props[0])) { - values = []; - } - while (++index < length) { - var key = props[index]; - if (values) { - result[key] = values[index]; - } else if (key) { - result[key[0]] = key[1]; - } - } - return result; - } - - /*------------------------------------------------------------------------*/ - - /** - * Creates a `lodash` object that wraps `value` with explicit method - * chaining enabled. - * - * @static - * @memberOf _ - * @category Chain - * @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(chr) { - * return chr.user + ' is ' + chr.age; - * }) - * .first() - * .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 - * bound to `thisArg` and invoked with one argument; (value). The purpose of - * this method is to "tap into" a method chain in order to perform operations - * on intermediate results within the chain. - * - * @static - * @memberOf _ - * @category Chain - * @param {*} value The value to provide to `interceptor`. - * @param {Function} interceptor The function to invoke. - * @param {*} [thisArg] The `this` binding of `interceptor`. - * @returns {*} Returns `value`. - * @example - * - * _([1, 2, 3]) - * .tap(function(array) { - * array.pop(); - * }) - * .reverse() - * .value(); - * // => [2, 1] - */ - function tap(value, interceptor, thisArg) { - interceptor.call(thisArg, value); - return value; - } - - /** - * This method is like `_.tap` except that it returns the result of `interceptor`. - * - * @static - * @memberOf _ - * @category Chain - * @param {*} value The value to provide to `interceptor`. - * @param {Function} interceptor The function to invoke. - * @param {*} [thisArg] The `this` binding of `interceptor`. - * @returns {*} Returns the result of `interceptor`. - * @example - * - * _([1, 2, 3]) - * .last() - * .thru(function(value) { - * return [value]; - * }) - * .value(); - * // => [3] - */ - function thru(value, interceptor, thisArg) { - return interceptor.call(thisArg, value); - } - - /** - * Enables explicit method chaining on the wrapper object. - * - * @name chain - * @memberOf _ - * @category Chain - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 } - * ]; - * - * // without explicit chaining - * _(users).first(); - * // => { 'user': 'barney', 'age': 36 } - * - * // with explicit chaining - * _(users).chain() - * .first() - * .pick('user') - * .value(); - * // => { 'user': 'barney' } - */ - function wrapperChain() { - return chain(this); - } - - /** - * Executes the chained sequence and returns the wrapped result. - * - * @name commit - * @memberOf _ - * @category Chain - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var array = [1, 2]; - * var wrapper = _(array).push(3); - * - * console.log(array); - * // => [1, 2] - * - * wrapper = wrapper.commit(); - * console.log(array); - * // => [1, 2, 3] - * - * wrapper.last(); - * // => 3 - * - * console.log(array); - * // => [1, 2, 3] - */ - function wrapperCommit() { - return new LodashWrapper(this.value(), this.__chain__); - } - - /** - * Creates a clone of the chained sequence planting `value` as the wrapped value. - * - * @name plant - * @memberOf _ - * @category Chain - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var array = [1, 2]; - * var wrapper = _(array).map(function(value) { - * return Math.pow(value, 2); - * }); - * - * var other = [3, 4]; - * var otherWrapper = wrapper.plant(other); - * - * otherWrapper.value(); - * // => [9, 16] - * - * wrapper.value(); - * // => [1, 4] - */ - function wrapperPlant(value) { - var result, - parent = this; - - while (parent instanceof baseLodash) { - var clone = wrapperClone(parent); - if (result) { - previous.__wrapped__ = clone; - } else { - result = clone; - } - var previous = clone; - parent = parent.__wrapped__; - } - previous.__wrapped__ = value; - return result; - } - - /** - * Reverses the wrapped array so the first element becomes the last, the - * second element becomes the second to last, and so on. - * - * **Note:** This method mutates the wrapped array. - * - * @name reverse - * @memberOf _ - * @category Chain - * @returns {Object} Returns the new reversed `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) { - if (this.__actions__.length) { - value = new LazyWrapper(this); - } - return new LodashWrapper(value.reverse(), this.__chain__); - } - return this.thru(function(value) { - return value.reverse(); - }); - } - - /** - * Produces the result of coercing the unwrapped value to a string. - * - * @name toString - * @memberOf _ - * @category Chain - * @returns {string} Returns the coerced string value. - * @example - * - * _([1, 2, 3]).toString(); - * // => '1,2,3' - */ - function wrapperToString() { - return (this.value() + ''); - } - - /** - * Executes the chained sequence to extract the unwrapped value. - * - * @name value - * @memberOf _ - * @alias run, toJSON, valueOf - * @category Chain - * @returns {*} Returns the resolved unwrapped value. - * @example - * - * _([1, 2, 3]).value(); - * // => [1, 2, 3] - */ - function wrapperValue() { - return baseWrapperValue(this.__wrapped__, this.__actions__); - } - - /*------------------------------------------------------------------------*/ - - /** - * Creates an array of elements corresponding to the given keys, or indexes, - * of `collection`. Keys may be specified as individual arguments or as arrays - * of keys. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {...(number|number[]|string|string[])} [props] The property names - * or indexes of elements to pick, specified individually or in arrays. - * @returns {Array} Returns the new array of picked elements. - * @example - * - * _.at(['a', 'b', 'c'], [0, 2]); - * // => ['a', 'c'] - * - * _.at(['fred', 'barney', 'pebbles'], 0, 2); - * // => ['fred', 'pebbles'] - */ - function at(collection) { - var length = collection ? collection.length : 0; - if (isLength(length)) { - collection = toIterable(collection); - } - return baseAt(collection, baseFlatten(arguments, false, false, 1)); - } - - /** - * Creates an object composed of keys generated from the results of running - * each element of `collection` through `iteratee`. The corresponding value - * of each key is the number of times the key was returned by `iteratee`. - * The `iteratee` is bound to `thisArg` and invoked with three arguments; - * (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|Object|string} [iteratee=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Object} Returns the composed aggregate object. - * @example - * - * _.countBy([4.3, 6.1, 6.4], function(n) { - * return Math.floor(n); - * }); - * // => { '4': 1, '6': 2 } - * - * _.countBy([4.3, 6.1, 6.4], function(n) { - * return this.floor(n); - * }, Math); - * // => { '4': 1, '6': 2 } - * - * _.countBy(['one', 'two', 'three'], 'length'); - * // => { '3': 2, '5': 1 } - */ - var countBy = createAggregator(function(result, value, key) { - hasOwnProperty.call(result, key) ? ++result[key] : (result[key] = 1); - }); - - /** - * Checks if `predicate` returns truthy for **all** elements of `collection`. - * The predicate is bound to `thisArg` and invoked with three arguments; - * (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @alias all - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @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', 'active': false }, - * { 'user': 'fred', 'active': false } - * ]; - * - * // using the `_.matches` callback shorthand - * _.every(users, { 'user': 'barney', 'active': false }); - * // => false - * - * // using the `_.matchesProperty` callback shorthand - * _.every(users, 'active', false); - * // => true - * - * // using the `_.property` callback shorthand - * _.every(users, 'active'); - * // => false - */ - function every(collection, predicate, thisArg) { - var func = isArray(collection) ? arrayEvery : baseEvery; - if (typeof predicate != 'function' || typeof thisArg != 'undefined') { - predicate = getCallback(predicate, thisArg, 3); - } - return func(collection, predicate); - } - - /** - * Iterates over elements of `collection`, returning an array of all elements - * `predicate` returns truthy for. The predicate is bound to `thisArg` and - * invoked with three arguments; (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @alias select - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @returns {Array} Returns the new filtered array. - * @example - * - * _.filter([4, 5, 6], function(n) { - * return n % 2 == 0; - * }); - * // => [4, 6] - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': true }, - * { 'user': 'fred', 'age': 40, 'active': false } - * ]; - * - * // using the `_.matches` callback shorthand - * _.pluck(_.filter(users, { 'age': 36, 'active': true }), 'user'); - * // => ['barney'] - * - * // using the `_.matchesProperty` callback shorthand - * _.pluck(_.filter(users, 'active', false), 'user'); - * // => ['fred'] - * - * // using the `_.property` callback shorthand - * _.pluck(_.filter(users, 'active'), 'user'); - * // => ['barney'] - */ - function filter(collection, predicate, thisArg) { - var func = isArray(collection) ? arrayFilter : baseFilter; - predicate = getCallback(predicate, thisArg, 3); - return func(collection, predicate); - } - - /** - * Iterates over elements of `collection`, returning the first element - * `predicate` returns truthy for. The predicate is bound to `thisArg` and - * invoked with three arguments; (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @alias detect - * @category Collection - * @param {Array|Object|string} collection The collection to search. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @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 } - * ]; - * - * _.result(_.find(users, function(chr) { - * return chr.age < 40; - * }), 'user'); - * // => 'barney' - * - * // using the `_.matches` callback shorthand - * _.result(_.find(users, { 'age': 1, 'active': true }), 'user'); - * // => 'pebbles' - * - * // using the `_.matchesProperty` callback shorthand - * _.result(_.find(users, 'active', false), 'user'); - * // => 'fred' - * - * // using the `_.property` callback shorthand - * _.result(_.find(users, 'active'), 'user'); - * // => 'barney' - */ - function find(collection, predicate, thisArg) { - if (isArray(collection)) { - var index = findIndex(collection, predicate, thisArg); - return index > -1 ? collection[index] : undefined; - } - predicate = getCallback(predicate, thisArg, 3); - return baseFind(collection, predicate, baseEach); - } - - /** - * This method is like `_.find` except that it iterates over elements of - * `collection` from right to left. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to search. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @returns {*} Returns the matched element, else `undefined`. - * @example - * - * _.findLast([1, 2, 3, 4], function(n) { - * return n % 2 == 1; - * }); - * // => 3 - */ - function findLast(collection, predicate, thisArg) { - predicate = getCallback(predicate, thisArg, 3); - return baseFind(collection, predicate, baseEachRight); - } - - /** - * Performs a deep comparison between each element in `collection` and the - * source object, returning the first element that has equivalent property - * values. - * - * **Note:** This method supports comparing arrays, booleans, `Date` objects, - * numbers, `Object` objects, regexes, and strings. Objects are compared by - * their own, not inherited, enumerable properties. For comparing a single - * own or inherited property value see `_.matchesProperty`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to search. - * @param {Object} source The object of property values to match. - * @returns {*} Returns the matched element, else `undefined`. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': true }, - * { 'user': 'fred', 'age': 40, 'active': false } - * ]; - * - * _.result(_.findWhere(users, { 'age': 36, 'active': true }), 'user'); - * // => 'barney' - * - * _.result(_.findWhere(users, { 'age': 40, 'active': false }), 'user'); - * // => 'fred' - */ - function findWhere(collection, source) { - return find(collection, baseMatches(source)); - } - - /** - * Iterates over elements of `collection` invoking `iteratee` for each element. - * The `iteratee` is bound to `thisArg` and invoked with three arguments; - * (value, index|key, collection). Iterator 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 `_.forIn` or `_.forOwn` - * may be used for object iteration. - * - * @static - * @memberOf _ - * @alias each - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Array|Object|string} Returns `collection`. - * @example - * - * _([1, 2]).forEach(function(n) { - * console.log(n); - * }).value(); - * // => logs each value from left to right and returns the array - * - * _.forEach({ 'a': 1, 'b': 2 }, function(n, key) { - * console.log(n, key); - * }); - * // => logs each value-key pair and returns the object (iteration order is not guaranteed) - */ - function forEach(collection, iteratee, thisArg) { - return (typeof iteratee == 'function' && typeof thisArg == 'undefined' && isArray(collection)) - ? arrayEach(collection, iteratee) - : baseEach(collection, bindCallback(iteratee, thisArg, 3)); - } - - /** - * This method is like `_.forEach` except that it iterates over elements of - * `collection` from right to left. - * - * @static - * @memberOf _ - * @alias eachRight - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Array|Object|string} Returns `collection`. - * @example - * - * _([1, 2]).forEachRight(function(n) { - * console.log(n); - * }).join(','); - * // => logs each value from right to left and returns the array - */ - function forEachRight(collection, iteratee, thisArg) { - return (typeof iteratee == 'function' && typeof thisArg == 'undefined' && isArray(collection)) - ? arrayEachRight(collection, iteratee) - : baseEachRight(collection, bindCallback(iteratee, thisArg, 3)); - } - - /** - * Creates an object composed of keys generated from the results of running - * each element of `collection` through `iteratee`. The corresponding value - * of each key is an array of the elements responsible for generating the key. - * The `iteratee` is bound to `thisArg` and invoked with three arguments; - * (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|Object|string} [iteratee=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Object} Returns the composed aggregate object. - * @example - * - * _.groupBy([4.2, 6.1, 6.4], function(n) { - * return Math.floor(n); - * }); - * // => { '4': [4.2], '6': [6.1, 6.4] } - * - * _.groupBy([4.2, 6.1, 6.4], function(n) { - * return this.floor(n); - * }, Math); - * // => { '4': [4.2], '6': [6.1, 6.4] } - * - * // using the `_.property` callback 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 { - result[key] = [value]; - } - }); - - /** - * Checks if `value` is in `collection` using `SameValueZero` for equality - * comparisons. If `fromIndex` is negative, it is used as the offset from - * the end of `collection`. - * - * **Note:** `SameValueZero` comparisons are like strict equality comparisons, - * e.g. `===`, except that `NaN` matches `NaN`. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero) - * for more details. - * - * @static - * @memberOf _ - * @alias contains, include - * @category Collection - * @param {Array|Object|string} collection The collection to search. - * @param {*} target The value to search for. - * @param {number} [fromIndex=0] The index to search from. - * @returns {boolean} Returns `true` if a matching element is found, else `false`. - * @example - * - * _.includes([1, 2, 3], 1); - * // => true - * - * _.includes([1, 2, 3], 1, 2); - * // => false - * - * _.includes({ 'user': 'fred', 'age': 40 }, 'fred'); - * // => true - * - * _.includes('pebbles', 'eb'); - * // => true - */ - function includes(collection, target, fromIndex) { - var length = collection ? collection.length : 0; - if (!isLength(length)) { - collection = values(collection); - length = collection.length; - } - if (!length) { - return false; - } - if (typeof fromIndex == 'number') { - fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : (fromIndex || 0); - } else { - fromIndex = 0; - } - return (typeof collection == 'string' || !isArray(collection) && isString(collection)) - ? (fromIndex < length && collection.indexOf(target, fromIndex) > -1) - : (getIndexOf(collection, target, fromIndex) > -1); - } - - /** - * Creates an object composed of keys generated from the results of running - * each element of `collection` through `iteratee`. The corresponding value - * of each key is the last element responsible for generating the key. The - * iteratee function is bound to `thisArg` and invoked with three arguments; - * (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|Object|string} [iteratee=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Object} Returns the composed aggregate object. - * @example - * - * var keyData = [ - * { 'dir': 'left', 'code': 97 }, - * { 'dir': 'right', 'code': 100 } - * ]; - * - * _.indexBy(keyData, 'dir'); - * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } } - * - * _.indexBy(keyData, function(object) { - * return String.fromCharCode(object.code); - * }); - * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } } - * - * _.indexBy(keyData, function(object) { - * return this.fromCharCode(object.code); - * }, String); - * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } } - */ - var indexBy = createAggregator(function(result, value, key) { - result[key] = value; - }); - - /** - * Invokes the method named by `methodName` on each element in `collection`, - * returning an array of the results of each invoked method. Any additional - * arguments are provided to each invoked method. If `methodName` is a function - * it is invoked for, and `this` bound to, each element in `collection`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|string} methodName The name of the method to invoke or - * the function invoked per iteration. - * @param {...*} [args] The arguments to invoke the method with. - * @returns {Array} Returns the array of results. - * @example - * - * _.invoke([[5, 1, 7], [3, 2, 1]], 'sort'); - * // => [[1, 5, 7], [1, 2, 3]] - * - * _.invoke([123, 456], String.prototype.split, ''); - * // => [['1', '2', '3'], ['4', '5', '6']] - */ - function invoke(collection, methodName) { - return baseInvoke(collection, methodName, baseSlice(arguments, 2)); - } - - /** - * Creates an array of values by running each element in `collection` through - * `iteratee`. The `iteratee` is bound to `thisArg` and invoked with three - * arguments; (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * Many lodash methods are guarded to work as interatees for methods like - * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`. - * - * The guarded methods are: - * `ary`, `callback`, `chunk`, `clone`, `create`, `curry`, `curryRight`, `drop`, - * `dropRight`, `fill`, `flatten`, `invert`, `max`, `min`, `parseInt`, `slice`, - * `sortBy`, `take`, `takeRight`, `template`, `trim`, `trimLeft`, `trimRight`, - * `trunc`, `random`, `range`, `sample`, `uniq`, and `words` - * - * @static - * @memberOf _ - * @alias collect - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|Object|string} [iteratee=_.identity] The function invoked - * per iteration. - * create a `_.property` or `_.matches` style callback respectively. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Array} Returns the new mapped array. - * @example - * - * function timesThree(n) { - * return n * 3; - * } - * - * _.map([1, 2], timesThree); - * // => [3, 6] - * - * _.map({ 'a': 1, 'b': 2 }, timesThree); - * // => [3, 6] (iteration order is not guaranteed) - * - * var users = [ - * { 'user': 'barney' }, - * { 'user': 'fred' } - * ]; - * - * // using the `_.property` callback shorthand - * _.map(users, 'user'); - * // => ['barney', 'fred'] - */ - function map(collection, iteratee, thisArg) { - var func = isArray(collection) ? arrayMap : baseMap; - iteratee = getCallback(iteratee, thisArg, 3); - return func(collection, iteratee); - } - - /** - * Creates an array of elements split into two groups, the first of which - * contains elements `predicate` returns truthy for, while the second of which - * contains elements `predicate` returns falsey for. The predicate is bound - * to `thisArg` and invoked with three arguments; (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @returns {Array} Returns the array of grouped elements. - * @example - * - * _.partition([1, 2, 3], function(n) { - * return n % 2; - * }); - * // => [[1, 3], [2]] - * - * _.partition([1.2, 2.3, 3.4], function(n) { - * return this.floor(n) % 2; - * }, Math); - * // => [[1.2, 3.4], [2.3]] - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': false }, - * { 'user': 'fred', 'age': 40, 'active': true }, - * { 'user': 'pebbles', 'age': 1, 'active': false } - * ]; - * - * var mapper = function(array) { - * return _.pluck(array, 'user'); - * }; - * - * // using the `_.matches` callback shorthand - * _.map(_.partition(users, { 'age': 1, 'active': false }), mapper); - * // => [['pebbles'], ['barney', 'fred']] - * - * // using the `_.matchesProperty` callback shorthand - * _.map(_.partition(users, 'active', false), mapper); - * // => [['barney', 'pebbles'], ['fred']] - * - * // using the `_.property` callback shorthand - * _.map(_.partition(users, 'active'), mapper); - * // => [['fred'], ['barney', 'pebbles']] - */ - var partition = createAggregator(function(result, value, key) { - result[key ? 0 : 1].push(value); - }, function() { return [[], []]; }); - - /** - * Gets the value of `key` from all elements in `collection`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {string} key The key of the property to pluck. - * @returns {Array} Returns the property values. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 } - * ]; - * - * _.pluck(users, 'user'); - * // => ['barney', 'fred'] - * - * var userIndex = _.indexBy(users, 'user'); - * _.pluck(userIndex, 'age'); - * // => [36, 40] (iteration order is not guaranteed) - */ - function pluck(collection, key) { - return map(collection, baseProperty(key)); - } - - /** - * Reduces `collection` to a value which is the accumulated result of running - * each element in `collection` through `iteratee`, where each successive - * invocation is supplied the return value of the previous. If `accumulator` - * is not provided the first element of `collection` is used as the initial - * value. The `iteratee` is bound to `thisArg`and invoked with four arguments; - * (accumulator, value, index|key, collection). - * - * Many lodash methods are guarded to work as interatees for methods like - * `_.reduce`, `_.reduceRight`, and `_.transform`. - * - * The guarded methods are: - * `assign`, `defaults`, `merge`, and `sortAllBy` - * - * @static - * @memberOf _ - * @alias foldl, inject - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {*} Returns the accumulated value. - * @example - * - * _.reduce([1, 2], function(sum, n) { - * return sum + n; - * }); - * // => 3 - * - * _.reduce({ 'a': 1, 'b': 2 }, function(result, n, key) { - * result[key] = n * 3; - * return result; - * }, {}); - * // => { 'a': 3, 'b': 6 } (iteration order is not guaranteed) - */ - function reduce(collection, iteratee, accumulator, thisArg) { - var func = isArray(collection) ? arrayReduce : baseReduce; - return func(collection, getCallback(iteratee, thisArg, 4), accumulator, arguments.length < 3, baseEach); - } - - /** - * This method is like `_.reduce` except that it iterates over elements of - * `collection` from right to left. - * - * @static - * @memberOf _ - * @alias foldr - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {*} Returns the accumulated value. - * @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, thisArg) { - var func = isArray(collection) ? arrayReduceRight : baseReduce; - return func(collection, getCallback(iteratee, thisArg, 4), accumulator, arguments.length < 3, baseEachRight); - } - - /** - * The opposite of `_.filter`; this method returns the elements of `collection` - * that `predicate` does **not** return truthy for. - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @returns {Array} Returns the new filtered array. - * @example - * - * _.reject([1, 2, 3, 4], function(n) { - * return n % 2 == 0; - * }); - * // => [1, 3] - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': false }, - * { 'user': 'fred', 'age': 40, 'active': true } - * ]; - * - * // using the `_.matches` callback shorthand - * _.pluck(_.reject(users, { 'age': 40, 'active': true }), 'user'); - * // => ['barney'] - * - * // using the `_.matchesProperty` callback shorthand - * _.pluck(_.reject(users, 'active', false), 'user'); - * // => ['fred'] - * - * // using the `_.property` callback shorthand - * _.pluck(_.reject(users, 'active'), 'user'); - * // => ['barney'] - */ - function reject(collection, predicate, thisArg) { - var func = isArray(collection) ? arrayFilter : baseFilter; - predicate = getCallback(predicate, thisArg, 3); - return func(collection, function(value, index, collection) { - return !predicate(value, index, collection); - }); - } - - /** - * Gets a random element or `n` random elements from a collection. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to sample. - * @param {number} [n] The number of elements to sample. - * @param- {Object} [guard] Enables use as a callback for functions like `_.map`. - * @returns {*} Returns the random sample(s). - * @example - * - * _.sample([1, 2, 3, 4]); - * // => 2 - * - * _.sample([1, 2, 3, 4], 2); - * // => [3, 1] - */ - function sample(collection, n, guard) { - if (guard ? isIterateeCall(collection, n, guard) : n == null) { - collection = toIterable(collection); - var length = collection.length; - return length > 0 ? collection[baseRandom(0, length - 1)] : undefined; - } - var result = shuffle(collection); - result.length = nativeMin(n < 0 ? 0 : (+n || 0), result.length); - return result; - } - - /** - * Creates an array of shuffled values, using a version of the Fisher-Yates - * shuffle. See [Wikipedia](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle) - * for more details. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} 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) { - collection = toIterable(collection); - - var index = -1, - length = collection.length, - result = Array(length); - - while (++index < length) { - var rand = baseRandom(0, index); - if (index != rand) { - result[index] = result[rand]; - } - result[rand] = collection[index]; - } - return result; - } - - /** - * Gets the size of `collection` by returning its length for array-like - * values or the number of own enumerable properties for objects. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to inspect. - * @returns {number} Returns the size of `collection`. - * @example - * - * _.size([1, 2, 3]); - * // => 3 - * - * _.size({ 'a': 1, 'b': 2 }); - * // => 2 - * - * _.size('pebbles'); - * // => 7 - */ - function size(collection) { - var length = collection ? collection.length : 0; - return isLength(length) ? length : keys(collection).length; - } - - /** - * Checks if `predicate` returns truthy for **any** element of `collection`. - * The function returns as soon as it finds a passing value and does not iterate - * over the entire collection. The predicate is bound to `thisArg` and invoked - * with three arguments; (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @alias any - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @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 } - * ]; - * - * // using the `_.matches` callback shorthand - * _.some(users, { 'user': 'barney', 'active': false }); - * // => false - * - * // using the `_.matchesProperty` callback shorthand - * _.some(users, 'active', false); - * // => true - * - * // using the `_.property` callback shorthand - * _.some(users, 'active'); - * // => true - */ - function some(collection, predicate, thisArg) { - var func = isArray(collection) ? arraySome : baseSome; - if (typeof predicate != 'function' || typeof thisArg != 'undefined') { - predicate = getCallback(predicate, thisArg, 3); - } - return func(collection, predicate); - } - - /** - * Creates an array of elements, sorted in ascending order by the results of - * running each element in a collection through `iteratee`. This method performs - * a stable sort, that is, it preserves the original sort order of equal elements. - * The `iteratee` is bound to `thisArg` and invoked with three arguments; - * (value, index|key, collection). - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Array|Function|Object|string} [iteratee=_.identity] The function - * invoked per iteration. If a property name or an object is provided it is - * used to create a `_.property` or `_.matches` style callback respectively. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Array} Returns the new sorted array. - * @example - * - * _.sortBy([1, 2, 3], function(n) { - * return Math.sin(n); - * }); - * // => [3, 1, 2] - * - * _.sortBy([1, 2, 3], function(n) { - * return this.sin(n); - * }, Math); - * // => [3, 1, 2] - * - * var users = [ - * { 'user': 'fred' }, - * { 'user': 'pebbles' }, - * { 'user': 'barney' } - * ]; - * - * // using the `_.property` callback shorthand - * _.pluck(_.sortBy(users, 'user'), 'user'); - * // => ['barney', 'fred', 'pebbles'] - */ - function sortBy(collection, iteratee, thisArg) { - if (collection == null) { - return []; - } - var index = -1, - length = collection.length, - result = isLength(length) ? Array(length) : []; - - if (thisArg && isIterateeCall(collection, iteratee, thisArg)) { - iteratee = null; - } - iteratee = getCallback(iteratee, thisArg, 3); - baseEach(collection, function(value, key, collection) { - result[++index] = { 'criteria': iteratee(value, key, collection), 'index': index, 'value': value }; - }); - return baseSortBy(result, compareAscending); - } - - /** - * This method is like `_.sortBy` except that it sorts by property names - * instead of an iteratee function. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {...(string|string[])} props The property names to sort by, - * specified as individual property names or arrays of property names. - * @returns {Array} Returns the new sorted array. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 }, - * { 'user': 'barney', 'age': 26 }, - * { 'user': 'fred', 'age': 30 } - * ]; - * - * _.map(_.sortByAll(users, ['user', 'age']), _.values); - * // => [['barney', 26], ['barney', 36], ['fred', 30], ['fred', 40]] - */ - function sortByAll(collection) { - if (collection == null) { - return []; - } - var args = arguments, - guard = args[3]; - - if (guard && isIterateeCall(args[1], args[2], guard)) { - args = [collection, args[1]]; - } - return baseSortByOrder(collection, baseFlatten(args, false, false, 1), []); - } - - /** - * This method is like `_.sortByAll` except that it allows specifying the - * sort orders of the property names to sort by. A truthy value in `orders` - * will sort the corresponding property name in ascending order while a - * falsey value will sort it in descending order. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to iterate over. - * @param {string[]} props The property names to sort by. - * @param {boolean[]} orders The sort orders of `props`. - * @param- {Object} [guard] Enables use as a callback for functions like `_.reduce`. - * @returns {Array} Returns the new sorted array. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 26 }, - * { 'user': 'fred', 'age': 40 }, - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 30 } - * ]; - * - * // sort by `user` in ascending order and by `age` in descending order - * _.map(_.sortByOrder(users, ['user', 'age'], [true, false]), _.values); - * // => [['barney', 36], ['barney', 26], ['fred', 40], ['fred', 30]] - */ - function sortByOrder(collection, props, orders, guard) { - if (collection == null) { - return []; - } - if (guard && isIterateeCall(props, orders, guard)) { - orders = null; - } - if (!isArray(props)) { - props = props == null ? [] : [props]; - } - if (!isArray(orders)) { - orders = orders == null ? [] : [orders]; - } - return baseSortByOrder(collection, props, orders); - } - - /** - * Performs a deep comparison between each element in `collection` and the - * source object, returning an array of all elements that have equivalent - * property values. - * - * **Note:** This method supports comparing arrays, booleans, `Date` objects, - * numbers, `Object` objects, regexes, and strings. Objects are compared by - * their own, not inherited, enumerable properties. For comparing a single - * own or inherited property value see `_.matchesProperty`. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object|string} collection The collection to search. - * @param {Object} source The object of property values to match. - * @returns {Array} Returns the new filtered array. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': false, 'pets': ['hoppy'] }, - * { 'user': 'fred', 'age': 40, 'active': true, 'pets': ['baby puss', 'dino'] } - * ]; - * - * _.pluck(_.where(users, { 'age': 36, 'active': false }), 'user'); - * // => ['barney'] - * - * _.pluck(_.where(users, { 'pets': ['dino'] }), 'user'); - * // => ['fred'] - */ - function where(collection, source) { - return filter(collection, baseMatches(source)); - } - - /*------------------------------------------------------------------------*/ - - /** - * Gets the number of milliseconds that have elapsed since the Unix epoch - * (1 January 1970 00:00:00 UTC). - * - * @static - * @memberOf _ - * @category Date - * @example - * - * _.defer(function(stamp) { - * console.log(_.now() - stamp); - * }, _.now()); - * // => logs the number of milliseconds it took for the deferred function to be invoked - */ - var now = nativeNow || function() { - return new Date().getTime(); - }; - - /*------------------------------------------------------------------------*/ - - /** - * The opposite of `_.before`; this method creates a function that invokes - * `func` once it is called `n` or more times. - * - * @static - * @memberOf _ - * @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') { - if (typeof n == 'function') { - var temp = n; - n = func; - func = temp; - } else { - throw new TypeError(FUNC_ERROR_TEXT); - } - } - n = nativeIsFinite(n = +n) ? n : 0; - return function() { - if (--n < 1) { - return func.apply(this, arguments); - } - }; - } - - /** - * Creates a function that accepts up to `n` arguments ignoring any - * additional arguments. - * - * @static - * @memberOf _ - * @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 a callback for functions like `_.map`. - * @returns {Function} Returns the new function. - * @example - * - * _.map(['6', '8', '10'], _.ary(parseInt, 1)); - * // => [6, 8, 10] - */ - function ary(func, n, guard) { - if (guard && isIterateeCall(func, n, guard)) { - n = null; - } - n = (func && n == null) ? func.length : nativeMax(+n || 0, 0); - return createWrapper(func, ARY_FLAG, null, null, null, null, n); - } - - /** - * Creates a function that invokes `func`, with the `this` binding and arguments - * of the created function, while it is called less than `n` times. Subsequent - * calls to the created function return the result of the last `func` invocation. - * - * @static - * @memberOf _ - * @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('#add').on('click', _.before(5, addContactToList)); - * // => allows adding up to 4 contacts to the list - */ - function before(n, func) { - var result; - if (typeof func != 'function') { - if (typeof n == 'function') { - var temp = n; - n = func; - func = temp; - } else { - throw new TypeError(FUNC_ERROR_TEXT); - } - } - return function() { - if (--n > 0) { - result = func.apply(this, arguments); - } else { - func = null; - } - return result; - }; - } - - /** - * Creates a function that invokes `func` with the `this` binding of `thisArg` - * and prepends any additional `_.bind` arguments to those provided to the - * bound function. - * - * 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 does not set the `length` - * property of bound functions. - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to bind. - * @param {*} thisArg The `this` binding of `func`. - * @param {...*} [args] The arguments to be partially applied. - * @returns {Function} Returns the new bound function. - * @example - * - * var greet = function(greeting, punctuation) { - * return greeting + ' ' + this.user + punctuation; - * }; - * - * var object = { 'user': 'fred' }; - * - * var bound = _.bind(greet, object, 'hi'); - * bound('!'); - * // => 'hi fred!' - * - * // using placeholders - * var bound = _.bind(greet, object, _, '!'); - * bound('hi'); - * // => 'hi fred!' - */ - function bind(func, thisArg) { - var bitmask = BIND_FLAG; - if (arguments.length > 2) { - var partials = baseSlice(arguments, 2), - holders = replaceHolders(partials, bind.placeholder); - - bitmask |= PARTIAL_FLAG; - } - return createWrapper(func, bitmask, thisArg, partials, holders); - } - - /** - * Binds methods of an object to the object itself, overwriting the existing - * method. Method names may be specified as individual arguments or as arrays - * of method names. If no method names are provided all enumerable function - * properties, own and inherited, of `object` are bound. - * - * **Note:** This method does not set the `length` property of bound functions. - * - * @static - * @memberOf _ - * @category Function - * @param {Object} object The object to bind and assign the bound methods to. - * @param {...(string|string[])} [methodNames] The object method names to bind, - * specified as individual method names or arrays of method names. - * @returns {Object} Returns `object`. - * @example - * - * var view = { - * 'label': 'docs', - * 'onClick': function() { - * console.log('clicked ' + this.label); - * } - * }; - * - * _.bindAll(view); - * jQuery('#docs').on('click', view.onClick); - * // => logs 'clicked docs' when the element is clicked - */ - function bindAll(object) { - return baseBindAll(object, - arguments.length > 1 - ? baseFlatten(arguments, false, false, 1) - : functions(object) - ); - } - - /** - * Creates a function that invokes the method at `object[key]` and prepends - * any additional `_.bindKey` arguments to those provided to the bound function. - * - * 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://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 _ - * @category Function - * @param {Object} object The object the method belongs to. - * @param {string} key The key of the method. - * @param {...*} [args] 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!' - * - * // using placeholders - * var bound = _.bindKey(object, 'greet', _, '!'); - * bound('hi'); - * // => 'hiya fred!' - */ - function bindKey(object, key) { - var bitmask = BIND_FLAG | BIND_KEY_FLAG; - if (arguments.length > 2) { - var partials = baseSlice(arguments, 2), - holders = replaceHolders(partials, bindKey.placeholder); - - bitmask |= PARTIAL_FLAG; - } - return createWrapper(key, bitmask, object, partials, holders); - } - - /** - * Creates a function that accepts one or more arguments of `func` that when - * called either invokes `func` returning its result, if all `func` arguments - * have been provided, or returns a function that accepts one or more of 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 does not set the `length` property of curried functions. - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to curry. - * @param {number} [arity=func.length] The arity of `func`. - * @param- {Object} [guard] Enables use as a callback for functions 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] - * - * // using placeholders - * curried(1)(_, 3)(2); - * // => [1, 2, 3] - */ - function curry(func, arity, guard) { - if (guard && isIterateeCall(func, arity, guard)) { - arity = null; - } - var result = createWrapper(func, CURRY_FLAG, null, null, null, null, null, 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 does not set the `length` property of curried functions. - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to curry. - * @param {number} [arity=func.length] The arity of `func`. - * @param- {Object} [guard] Enables use as a callback for functions 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] - * - * // using placeholders - * curried(3)(1, _)(2); - * // => [1, 2, 3] - */ - function curryRight(func, arity, guard) { - if (guard && isIterateeCall(func, arity, guard)) { - arity = null; - } - var result = createWrapper(func, CURRY_RIGHT_FLAG, null, null, null, null, null, arity); - result.placeholder = curryRight.placeholder; - return result; - } - - /** - * Creates a function that delays invoking `func` until after `wait` milliseconds - * have elapsed since the last time it was invoked. The created function comes - * with a `cancel` method to cancel delayed invocations. Provide an options - * object to indicate that `func` should be invoked on the leading and/or - * trailing edge of the `wait` timeout. 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 the debounced function is - * invoked more than once during the `wait` timeout. - * - * See [David Corbacho's article](http://drupalmotion.com/article/debounce-and-throttle-visual-explanation) - * for details over the differences between `_.debounce` and `_.throttle`. - * - * @static - * @memberOf _ - * @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 is 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 the click event is fired, debouncing subsequent calls - * jQuery('#postbox').on('click', _.debounce(sendMail, 300, { - * 'leading': true, - * 'trailing': false - * })); - * - * // ensure `batchLog` is invoked once after 1 second of debounced calls - * var source = new EventSource('/stream'); - * jQuery(source).on('message', _.debounce(batchLog, 250, { - * 'maxWait': 1000 - * })); - * - * // cancel a debounced call - * var todoChanges = _.debounce(batchLog, 1000); - * Object.observe(models.todo, todoChanges); - * - * Object.observe(models, function(changes) { - * if (_.find(changes, { 'user': 'todo', 'type': 'delete'})) { - * todoChanges.cancel(); - * } - * }, ['delete']); - * - * // ...at some point `models.todo` is changed - * models.todo.completed = true; - * - * // ...before 1 second has passed `models.todo` is deleted - * // which cancels the debounced `todoChanges` call - * delete models.todo; - */ - function debounce(func, wait, options) { - var args, - maxTimeoutId, - result, - stamp, - thisArg, - timeoutId, - trailingCall, - lastCalled = 0, - maxWait = false, - trailing = true; - - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - wait = wait < 0 ? 0 : (+wait || 0); - if (options === true) { - var leading = true; - trailing = false; - } else if (isObject(options)) { - leading = options.leading; - maxWait = 'maxWait' in options && nativeMax(+options.maxWait || 0, wait); - trailing = 'trailing' in options ? options.trailing : trailing; - } - - function cancel() { - if (timeoutId) { - clearTimeout(timeoutId); - } - if (maxTimeoutId) { - clearTimeout(maxTimeoutId); - } - maxTimeoutId = timeoutId = trailingCall = undefined; - } - - function delayed() { - var remaining = wait - (now() - stamp); - if (remaining <= 0 || remaining > wait) { - if (maxTimeoutId) { - clearTimeout(maxTimeoutId); - } - var isCalled = trailingCall; - maxTimeoutId = timeoutId = trailingCall = undefined; - if (isCalled) { - lastCalled = now(); - result = func.apply(thisArg, args); - if (!timeoutId && !maxTimeoutId) { - args = thisArg = null; - } - } - } else { - timeoutId = setTimeout(delayed, remaining); - } - } - - function maxDelayed() { - if (timeoutId) { - clearTimeout(timeoutId); - } - maxTimeoutId = timeoutId = trailingCall = undefined; - if (trailing || (maxWait !== wait)) { - lastCalled = now(); - result = func.apply(thisArg, args); - if (!timeoutId && !maxTimeoutId) { - args = thisArg = null; - } - } - } - - function debounced() { - args = arguments; - stamp = now(); - thisArg = this; - trailingCall = trailing && (timeoutId || !leading); - - if (maxWait === false) { - var leadingCall = leading && !timeoutId; - } else { - if (!maxTimeoutId && !leading) { - lastCalled = stamp; - } - var remaining = maxWait - (stamp - lastCalled), - isCalled = remaining <= 0 || remaining > maxWait; - - if (isCalled) { - if (maxTimeoutId) { - maxTimeoutId = clearTimeout(maxTimeoutId); - } - lastCalled = stamp; - result = func.apply(thisArg, args); - } - else if (!maxTimeoutId) { - maxTimeoutId = setTimeout(maxDelayed, remaining); - } - } - if (isCalled && timeoutId) { - timeoutId = clearTimeout(timeoutId); - } - else if (!timeoutId && wait !== maxWait) { - timeoutId = setTimeout(delayed, wait); - } - if (leadingCall) { - isCalled = true; - result = func.apply(thisArg, args); - } - if (isCalled && !timeoutId && !maxTimeoutId) { - args = thisArg = null; - } - return result; - } - debounced.cancel = cancel; - return debounced; - } - - /** - * Defers invoking the `func` until the current call stack has cleared. Any - * additional arguments are provided to `func` when it is invoked. - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to defer. - * @param {...*} [args] The arguments to invoke the function with. - * @returns {number} Returns the timer id. - * @example - * - * _.defer(function(text) { - * console.log(text); - * }, 'deferred'); - * // logs 'deferred' after one or more milliseconds - */ - function defer(func) { - return baseDelay(func, 1, arguments, 1); - } - - /** - * Invokes `func` after `wait` milliseconds. Any additional arguments are - * provided to `func` when it is invoked. - * - * @static - * @memberOf _ - * @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 the function with. - * @returns {number} Returns the timer id. - * @example - * - * _.delay(function(text) { - * console.log(text); - * }, 1000, 'later'); - * // => logs 'later' after one second - */ - function delay(func, wait) { - return baseDelay(func, wait, arguments, 2); - } - - /** - * Creates a function that returns the result of invoking the provided - * functions with the `this` binding of the created function, where each - * successive invocation is supplied the return value of the previous. - * - * @static - * @memberOf _ - * @category Function - * @param {...Function} [funcs] Functions to invoke. - * @returns {Function} Returns the new function. - * @example - * - * function square(n) { - * return n * n; - * } - * - * var addSquare = _.flow(_.add, square); - * addSquare(1, 2); - * // => 9 - */ - var flow = createComposer(); - - /** - * This method is like `_.flow` except that it creates a function that - * invokes the provided functions from right to left. - * - * @static - * @memberOf _ - * @alias backflow, compose - * @category Function - * @param {...Function} [funcs] Functions to invoke. - * @returns {Function} Returns the new function. - * @example - * - * function square(n) { - * return n * n; - * } - * - * var addSquare = _.flowRight(square, _.add); - * addSquare(1, 2); - * // => 9 - */ - var flowRight = createComposer(true); - - /** - * 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 coerced to a string and used as the - * 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 ES `Map` method interface - * of `get`, `has`, and `set`. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-properties-of-the-map-prototype-object) - * for more details. - * - * @static - * @memberOf _ - * @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 memoizing function. - * @example - * - * var upperCase = _.memoize(function(string) { - * return string.toUpperCase(); - * }); - * - * upperCase('fred'); - * // => 'FRED' - * - * // modifying the result cache - * upperCase.cache.set('fred', 'BARNEY'); - * upperCase('fred'); - * // => 'BARNEY' - * - * // replacing `_.memoize.Cache` - * var object = { 'user': 'fred' }; - * var other = { 'user': 'barney' }; - * var identity = _.memoize(_.identity); - * - * identity(object); - * // => { 'user': 'fred' } - * identity(other); - * // => { 'user': 'fred' } - * - * _.memoize.Cache = WeakMap; - * var identity = _.memoize(_.identity); - * - * identity(object); - * // => { 'user': 'fred' } - * identity(other); - * // => { 'user': 'barney' } - */ - function memoize(func, resolver) { - if (typeof func != 'function' || (resolver && typeof resolver != 'function')) { - throw new TypeError(FUNC_ERROR_TEXT); - } - var memoized = function() { - var args = arguments, - cache = memoized.cache, - key = resolver ? resolver.apply(this, args) : args[0]; - - if (cache.has(key)) { - return cache.get(key); - } - var result = func.apply(this, args); - cache.set(key, result); - return result; - }; - memoized.cache = new memoize.Cache; - return memoized; - } - - /** - * 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 _ - * @category Function - * @param {Function} predicate The predicate to negate. - * @returns {Function} Returns the new 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() { - return !predicate.apply(this, arguments); - }; - } - - /** - * Creates a function that is restricted to invoking `func` once. Repeat calls - * to the function return the value of the first call. The `func` is invoked - * with the `this` binding of the created function. - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new restricted function. - * @example - * - * var initialize = _.once(createApplication); - * initialize(); - * initialize(); - * // `initialize` invokes `createApplication` once - */ - function once(func) { - return before(func, 2); - } - - /** - * Creates a function that invokes `func` with `partial` arguments prepended - * to those provided to the new function. 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 does not set the `length` property of partially - * applied functions. - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to partially apply arguments to. - * @param {...*} [args] The arguments to be partially applied. - * @returns {Function} Returns the new partially applied function. - * @example - * - * var greet = function(greeting, name) { - * return greeting + ' ' + name; - * }; - * - * var sayHelloTo = _.partial(greet, 'hello'); - * sayHelloTo('fred'); - * // => 'hello fred' - * - * // using placeholders - * var greetFred = _.partial(greet, _, 'fred'); - * greetFred('hi'); - * // => 'hi fred' - */ - function partial(func) { - var partials = baseSlice(arguments, 1), - holders = replaceHolders(partials, partial.placeholder); - - return createWrapper(func, PARTIAL_FLAG, null, partials, holders); - } - - /** - * This method is like `_.partial` except that partially applied arguments - * are appended to those provided to the new function. - * - * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic - * builds, may be used as a placeholder for partially applied arguments. - * - * **Note:** This method does not set the `length` property of partially - * applied functions. - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to partially apply arguments to. - * @param {...*} [args] The arguments to be partially applied. - * @returns {Function} Returns the new partially applied function. - * @example - * - * var greet = function(greeting, name) { - * return greeting + ' ' + name; - * }; - * - * var greetFred = _.partialRight(greet, 'fred'); - * greetFred('hi'); - * // => 'hi fred' - * - * // using placeholders - * var sayHelloTo = _.partialRight(greet, 'hello', _); - * sayHelloTo('fred'); - * // => 'hello fred' - */ - function partialRight(func) { - var partials = baseSlice(arguments, 1), - holders = replaceHolders(partials, partialRight.placeholder); - - return createWrapper(func, PARTIAL_RIGHT_FLAG, null, 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 _ - * @category Function - * @param {Function} func The function to rearrange arguments for. - * @param {...(number|number[])} indexes The arranged argument indexes, - * specified as individual indexes or arrays of 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 map = _.rearg(_.map, [1, 0]); - * map(function(n) { - * return n * 3; - * }, [1, 2, 3]); - * // => [3, 6, 9] - */ - function rearg(func) { - var indexes = baseFlatten(arguments, false, false, 1); - return createWrapper(func, REARG_FLAG, null, null, null, indexes); - } - - /** - * Creates a function that invokes `func` with the `this` binding of the - * created function and the array of arguments provided to the created - * function much like [Function#apply](http://es5.github.io/#x15.3.4.3). - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to spread arguments over. - * @returns {*} Returns the new function. - * @example - * - * var spread = _.spread(function(who, what) { - * return who + ' says ' + what; - * }); - * - * spread(['Fred', 'hello']); - * // => 'Fred says hello' - * - * // with a Promise - * 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) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - return function(array) { - return func.apply(this, array); - }; - } - - /** - * Creates a function that only invokes `func` at most once per every `wait` - * milliseconds. The created function comes with a `cancel` method to cancel - * delayed invocations. Provide an options object to indicate that `func` - * should be invoked on the leading and/or trailing edge of the `wait` timeout. - * Subsequent calls to the throttled function return the result of the last - * `func` call. - * - * **Note:** If `leading` and `trailing` options are `true`, `func` is invoked - * on the trailing edge of the timeout only if the the throttled function is - * invoked more than once during the `wait` timeout. - * - * See [David Corbacho's article](http://drupalmotion.com/article/debounce-and-throttle-visual-explanation) - * for details over the differences between `_.throttle` and `_.debounce`. - * - * @static - * @memberOf _ - * @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 - * jQuery('.interactive').on('click', _.throttle(renewToken, 300000, { - * 'trailing': false - * })); - * - * // cancel a trailing throttled call - * 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 (options === false) { - leading = false; - } else if (isObject(options)) { - leading = 'leading' in options ? !!options.leading : leading; - trailing = 'trailing' in options ? !!options.trailing : trailing; - } - debounceOptions.leading = leading; - debounceOptions.maxWait = +wait; - debounceOptions.trailing = trailing; - return debounce(func, wait, debounceOptions); - } - - /** - * Creates a function that provides `value` to the wrapper function as its - * first argument. Any additional arguments provided to the function are - * appended to those provided to the wrapper function. The wrapper is invoked - * with the `this` binding of the created function. - * - * @static - * @memberOf _ - * @category Function - * @param {*} value The value to wrap. - * @param {Function} wrapper 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) { - wrapper = wrapper == null ? identity : wrapper; - return createWrapper(wrapper, PARTIAL_FLAG, null, [value], []); - } - - /*------------------------------------------------------------------------*/ - - /** - * Creates a clone of `value`. If `isDeep` is `true` nested objects are cloned, - * otherwise they are assigned by reference. If `customizer` is provided it is - * invoked to produce the cloned values. If `customizer` returns `undefined` - * cloning is handled by the method instead. The `customizer` is bound to - * `thisArg` and invoked with two argument; (value [, index|key, object]). - * - * **Note:** This method is loosely based on the structured clone algorithm. - * The enumerable properties of `arguments` objects and objects created by - * constructors other than `Object` are cloned to plain `Object` objects. An - * empty object is returned for uncloneable values such as functions, DOM nodes, - * Maps, Sets, and WeakMaps. See the [HTML5 specification](http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm) - * for more details. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @param {Function} [customizer] The function to customize cloning values. - * @param {*} [thisArg] The `this` binding of `customizer`. - * @returns {*} Returns the cloned value. - * @example - * - * var users = [ - * { 'user': 'barney' }, - * { 'user': 'fred' } - * ]; - * - * var shallow = _.clone(users); - * shallow[0] === users[0]; - * // => true - * - * var deep = _.clone(users, true); - * deep[0] === users[0]; - * // => false - * - * // using a customizer callback - * var el = _.clone(document.body, function(value) { - * if (_.isElement(value)) { - * return value.cloneNode(false); - * } - * }); - * - * el === document.body - * // => false - * el.nodeName - * // => BODY - * el.childNodes.length; - * // => 0 - */ - function clone(value, isDeep, customizer, thisArg) { - if (isDeep && typeof isDeep != 'boolean' && isIterateeCall(value, isDeep, customizer)) { - isDeep = false; - } - else if (typeof isDeep == 'function') { - thisArg = customizer; - customizer = isDeep; - isDeep = false; - } - customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 1); - return baseClone(value, isDeep, customizer); - } - - /** - * Creates a deep clone of `value`. If `customizer` is provided it is invoked - * to produce the cloned values. If `customizer` returns `undefined` cloning - * is handled by the method instead. The `customizer` is bound to `thisArg` - * and invoked with two argument; (value [, index|key, object]). - * - * **Note:** This method is loosely based on the structured clone algorithm. - * The enumerable properties of `arguments` objects and objects created by - * constructors other than `Object` are cloned to plain `Object` objects. An - * empty object is returned for uncloneable values such as functions, DOM nodes, - * Maps, Sets, and WeakMaps. See the [HTML5 specification](http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm) - * for more details. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to deep clone. - * @param {Function} [customizer] The function to customize cloning values. - * @param {*} [thisArg] The `this` binding of `customizer`. - * @returns {*} Returns the deep cloned value. - * @example - * - * var users = [ - * { 'user': 'barney' }, - * { 'user': 'fred' } - * ]; - * - * var deep = _.cloneDeep(users); - * deep[0] === users[0]; - * // => false - * - * // using a customizer callback - * var el = _.cloneDeep(document.body, function(value) { - * if (_.isElement(value)) { - * return value.cloneNode(true); - * } - * }); - * - * el === document.body - * // => false - * el.nodeName - * // => BODY - * el.childNodes.length; - * // => 20 - */ - function cloneDeep(value, customizer, thisArg) { - customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 1); - return baseClone(value, true, customizer); - } - - /** - * Checks if `value` is classified as an `arguments` object. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`. - * @example - * - * _.isArguments(function() { return arguments; }()); - * // => true - * - * _.isArguments([1, 2, 3]); - * // => false - */ - function isArguments(value) { - var length = isObjectLike(value) ? value.length : undefined; - return (isLength(length) && objToString.call(value) == argsTag) || false; - } - - /** - * Checks if `value` is classified as an `Array` object. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`. - * @example - * - * _.isArray([1, 2, 3]); - * // => true - * - * _.isArray(function() { return arguments; }()); - * // => false - */ - var isArray = nativeIsArray || function(value) { - return (isObjectLike(value) && isLength(value.length) && objToString.call(value) == arrayTag) || false; - }; - - /** - * Checks if `value` is classified as a boolean primitive or object. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`. - * @example - * - * _.isBoolean(false); - * // => true - * - * _.isBoolean(null); - * // => false - */ - function isBoolean(value) { - return (value === true || value === false || isObjectLike(value) && objToString.call(value) == boolTag) || false; - } - - /** - * Checks if `value` is classified as a `Date` object. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`. - * @example - * - * _.isDate(new Date); - * // => true - * - * _.isDate('Mon April 23 2012'); - * // => false - */ - function isDate(value) { - return (isObjectLike(value) && objToString.call(value) == dateTag) || false; - } - - /** - * Checks if `value` is a DOM element. - * - * @static - * @memberOf _ - * @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 (value && value.nodeType === 1 && isObjectLike(value) && - (objToString.call(value).indexOf('Element') > -1)) || false; - } - // Fallback for environments without DOM support. - if (!support.dom) { - isElement = function(value) { - return (value && value.nodeType === 1 && isObjectLike(value) && !isPlainObject(value)) || false; - }; - } - - /** - * Checks if `value` is empty. A value is considered empty unless it is an - * `arguments` object, array, string, or jQuery-like collection with a length - * greater than `0` or an object with own enumerable properties. - * - * @static - * @memberOf _ - * @category Lang - * @param {Array|Object|string} value The value to inspect. - * @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; - } - var length = value.length; - if (isLength(length) && (isArray(value) || isString(value) || isArguments(value) || - (isObjectLike(value) && isFunction(value.splice)))) { - return !length; - } - return !keys(value).length; - } - - /** - * Performs a deep comparison between two values to determine if they are - * equivalent. If `customizer` is provided it is invoked to compare values. - * If `customizer` returns `undefined` comparisons are handled by the method - * instead. The `customizer` is bound to `thisArg` and invoked with three - * arguments; (value, other [, index|key]). - * - * **Note:** This method supports comparing arrays, booleans, `Date` objects, - * numbers, `Object` objects, regexes, and strings. Objects are compared by - * their own, not inherited, enumerable properties. Functions and DOM nodes - * are **not** supported. Provide a customizer function to extend support - * for comparing other values. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @param {Function} [customizer] The function to customize comparing values. - * @param {*} [thisArg] The `this` binding of `customizer`. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'user': 'fred' }; - * var other = { 'user': 'fred' }; - * - * object == other; - * // => false - * - * _.isEqual(object, other); - * // => true - * - * // using a customizer callback - * var array = ['hello', 'goodbye']; - * var other = ['hi', 'goodbye']; - * - * _.isEqual(array, other, function(value, other) { - * if (_.every([value, other], RegExp.prototype.test, /^h(?:i|ello)$/)) { - * return true; - * } - * }); - * // => true - */ - function isEqual(value, other, customizer, thisArg) { - customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 3); - if (!customizer && isStrictComparable(value) && isStrictComparable(other)) { - return value === other; - } - var result = customizer ? customizer(value, other) : undefined; - return typeof result == 'undefined' ? baseIsEqual(value, other, customizer) : !!result; - } - - /** - * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`, - * `SyntaxError`, `TypeError`, or `URIError` object. - * - * @static - * @memberOf _ - * @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) { - return (isObjectLike(value) && typeof value.message == 'string' && objToString.call(value) == errorTag) || false; - } - - /** - * Checks if `value` is a finite primitive number. - * - * **Note:** This method is based on ES `Number.isFinite`. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.isfinite) - * for more details. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a finite number, else `false`. - * @example - * - * _.isFinite(10); - * // => true - * - * _.isFinite('10'); - * // => false - * - * _.isFinite(true); - * // => false - * - * _.isFinite(Object(10)); - * // => false - * - * _.isFinite(Infinity); - * // => false - */ - var isFinite = nativeNumIsFinite || function(value) { - return typeof value == 'number' && nativeIsFinite(value); - }; - - /** - * Checks if `value` is classified as a `Function` object. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`. - * @example - * - * _.isFunction(_); - * // => true - * - * _.isFunction(/abc/); - * // => false - */ - var isFunction = !(baseIsFunction(/x/) || (Uint8Array && !baseIsFunction(Uint8Array))) ? baseIsFunction : function(value) { - // The use of `Object#toString` avoids issues with the `typeof` operator - // in older versions of Chrome and Safari which return 'function' for regexes - // and Safari 8 equivalents which return 'object' for typed array constructors. - return objToString.call(value) == funcTag; - }; - - /** - * Checks if `value` is the language type of `Object`. - * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) - * - * **Note:** See the [ES5 spec](https://es5.github.io/#x8) for more details. - * - * @static - * @memberOf _ - * @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(1); - * // => false - */ - function isObject(value) { - // Avoid a V8 JIT bug in Chrome 19-20. - // See https://code.google.com/p/v8/issues/detail?id=2291 for more details. - var type = typeof value; - return type == 'function' || (value && type == 'object') || false; - } - - /** - * Performs a deep comparison between `object` and `source` to determine if - * `object` contains equivalent property values. If `customizer` is provided - * it is invoked to compare values. If `customizer` returns `undefined` - * comparisons are handled by the method instead. The `customizer` is bound - * to `thisArg` and invoked with three arguments; (value, other, index|key). - * - * **Note:** This method supports comparing properties of arrays, booleans, - * `Date` objects, numbers, `Object` objects, regexes, and strings. Functions - * and DOM nodes are **not** supported. Provide a customizer function to extend - * support for comparing other values. - * - * @static - * @memberOf _ - * @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 comparing values. - * @param {*} [thisArg] The `this` binding of `customizer`. - * @returns {boolean} Returns `true` if `object` is a match, else `false`. - * @example - * - * var object = { 'user': 'fred', 'age': 40 }; - * - * _.isMatch(object, { 'age': 40 }); - * // => true - * - * _.isMatch(object, { 'age': 36 }); - * // => false - * - * // using a customizer callback - * var object = { 'greeting': 'hello' }; - * var source = { 'greeting': 'hi' }; - * - * _.isMatch(object, source, function(value, other) { - * return _.every([value, other], RegExp.prototype.test, /^h(?:i|ello)$/) || undefined; - * }); - * // => true - */ - function isMatch(object, source, customizer, thisArg) { - var props = keys(source), - length = props.length; - - customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 3); - if (!customizer && length == 1) { - var key = props[0], - value = source[key]; - - if (isStrictComparable(value)) { - return object != null && value === object[key] && hasOwnProperty.call(object, key); - } - } - var values = Array(length), - strictCompareFlags = Array(length); - - while (length--) { - value = values[length] = source[props[length]]; - strictCompareFlags[length] = isStrictComparable(value); - } - return baseIsMatch(object, props, values, strictCompareFlags, customizer); - } - - /** - * Checks if `value` is `NaN`. - * - * **Note:** This method is not the same as native `isNaN` which returns `true` - * for `undefined` and other non-numeric values. See the [ES5 spec](https://es5.github.io/#x15.1.2.4) - * for more details. - * - * @static - * @memberOf _ - * @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 host objects in IE. - return isNumber(value) && value != +value; - } - - /** - * Checks if `value` is a native function. - * - * @static - * @memberOf _ - * @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 (value == null) { - return false; - } - if (objToString.call(value) == funcTag) { - return reNative.test(fnToString.call(value)); - } - return (isObjectLike(value) && reHostCtor.test(value)) || false; - } - - /** - * Checks if `value` is `null`. - * - * @static - * @memberOf _ - * @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 _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`. - * @example - * - * _.isNumber(8.4); - * // => true - * - * _.isNumber(NaN); - * // => true - * - * _.isNumber('8.4'); - * // => false - */ - function isNumber(value) { - return typeof value == 'number' || (isObjectLike(value) && objToString.call(value) == numberTag) || false; - } - - /** - * Checks if `value` is a plain object, that is, an object created by the - * `Object` constructor or one with a `[[Prototype]]` of `null`. - * - * **Note:** This method assumes objects created by the `Object` constructor - * have no inherited enumerable properties. - * - * @static - * @memberOf _ - * @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 - */ - var isPlainObject = !getPrototypeOf ? shimIsPlainObject : function(value) { - if (!(value && objToString.call(value) == objectTag)) { - return false; - } - var valueOf = value.valueOf, - objProto = isNative(valueOf) && (objProto = getPrototypeOf(valueOf)) && getPrototypeOf(objProto); - - return objProto - ? (value == objProto || getPrototypeOf(value) == objProto) - : shimIsPlainObject(value); - }; - - /** - * Checks if `value` is classified as a `RegExp` object. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`. - * @example - * - * _.isRegExp(/abc/); - * // => true - * - * _.isRegExp('/abc/'); - * // => false - */ - function isRegExp(value) { - return (isObjectLike(value) && objToString.call(value) == regexpTag) || false; - } - - /** - * Checks if `value` is classified as a `String` primitive or object. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`. - * @example - * - * _.isString('abc'); - * // => true - * - * _.isString(1); - * // => false - */ - function isString(value) { - return typeof value == 'string' || (isObjectLike(value) && objToString.call(value) == stringTag) || false; - } - - /** - * Checks if `value` is classified as a typed array. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`. - * @example - * - * _.isTypedArray(new Uint8Array); - * // => true - * - * _.isTypedArray([]); - * // => false - */ - function isTypedArray(value) { - return (isObjectLike(value) && isLength(value.length) && typedArrayTags[objToString.call(value)]) || false; - } - - /** - * Checks if `value` is `undefined`. - * - * @static - * @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 typeof value == 'undefined'; - } - - /** - * Converts `value` to an array. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to convert. - * @returns {Array} Returns the converted array. - * @example - * - * (function() { - * return _.toArray(arguments).slice(1); - * }(1, 2, 3)); - * // => [2, 3] - */ - function toArray(value) { - var length = value ? value.length : 0; - if (!isLength(length)) { - return values(value); - } - if (!length) { - return []; - } - return arrayCopy(value); - } - - /** - * Converts `value` to a plain object flattening inherited enumerable - * properties of `value` to own properties of the plain object. - * - * @static - * @memberOf _ - * @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 baseCopy(value, keysIn(value)); - } - - /*------------------------------------------------------------------------*/ - - /** - * Assigns own enumerable properties of source object(s) to the destination - * object. Subsequent sources overwrite property assignments of previous sources. - * If `customizer` is provided it is invoked to produce the assigned values. - * The `customizer` is bound to `thisArg` and invoked with five arguments; - * (objectValue, sourceValue, key, object, source). - * - * @static - * @memberOf _ - * @alias extend - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @param {Function} [customizer] The function to customize assigning values. - * @param {*} [thisArg] The `this` binding of `customizer`. - * @returns {Object} Returns `object`. - * @example - * - * _.assign({ 'user': 'barney' }, { 'age': 40 }, { 'user': 'fred' }); - * // => { 'user': 'fred', 'age': 40 } - * - * // using a customizer callback - * var defaults = _.partialRight(_.assign, function(value, other) { - * return typeof value == 'undefined' ? other : value; - * }); - * - * defaults({ 'user': 'barney' }, { 'age': 36 }, { 'user': 'fred' }); - * // => { 'user': 'barney', 'age': 36 } - */ - var assign = createAssigner(baseAssign); - - /** - * Creates an object that inherits from the given `prototype` object. If a - * `properties` object is provided its own enumerable properties are assigned - * to the created object. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} prototype The object to inherit from. - * @param {Object} [properties] The properties to assign to the object. - * @param- {Object} [guard] Enables use as a callback for functions like `_.map`. - * @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, guard) { - var result = baseCreate(prototype); - if (guard && isIterateeCall(prototype, properties, guard)) { - properties = null; - } - return properties ? baseCopy(properties, result, keys(properties)) : result; - } - - /** - * Assigns own enumerable properties of source object(s) to the destination - * object for all destination properties that resolve to `undefined`. Once a - * property is set, additional values of the same property are ignored. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @example - * - * _.defaults({ 'user': 'barney' }, { 'age': 36 }, { 'user': 'fred' }); - * // => { 'user': 'barney', 'age': 36 } - */ - function defaults(object) { - if (object == null) { - return object; - } - var args = arrayCopy(arguments); - args.push(assignDefaults); - return assign.apply(undefined, args); - } - - /** - * This method is like `_.findIndex` except that it returns the key of the - * first element `predicate` returns truthy for, instead of the element itself. - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to search. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @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(chr) { - * return chr.age < 40; - * }); - * // => 'barney' (iteration order is not guaranteed) - * - * // using the `_.matches` callback shorthand - * _.findKey(users, { 'age': 1, 'active': true }); - * // => 'pebbles' - * - * // using the `_.matchesProperty` callback shorthand - * _.findKey(users, 'active', false); - * // => 'fred' - * - * // using the `_.property` callback shorthand - * _.findKey(users, 'active'); - * // => 'barney' - */ - function findKey(object, predicate, thisArg) { - predicate = getCallback(predicate, thisArg, 3); - return baseFind(object, predicate, baseForOwn, true); - } - - /** - * This method is like `_.findKey` except that it iterates over elements of - * a collection in the opposite order. - * - * If a property name is provided for `predicate` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `predicate` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to search. - * @param {Function|Object|string} [predicate=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @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(chr) { - * return chr.age < 40; - * }); - * // => returns `pebbles` assuming `_.findKey` returns `barney` - * - * // using the `_.matches` callback shorthand - * _.findLastKey(users, { 'age': 36, 'active': true }); - * // => 'barney' - * - * // using the `_.matchesProperty` callback shorthand - * _.findLastKey(users, 'active', false); - * // => 'fred' - * - * // using the `_.property` callback shorthand - * _.findLastKey(users, 'active'); - * // => 'pebbles' - */ - function findLastKey(object, predicate, thisArg) { - predicate = getCallback(predicate, thisArg, 3); - return baseFind(object, predicate, baseForOwnRight, true); - } - - /** - * Iterates over own and inherited enumerable properties of an object invoking - * `iteratee` for each property. The `iteratee` is bound to `thisArg` and invoked - * with three arguments; (value, key, object). Iterator functions may exit - * iteration early by explicitly returning `false`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Object} Returns `object`. - * @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', and 'c' (iteration order is not guaranteed) - */ - function forIn(object, iteratee, thisArg) { - if (typeof iteratee != 'function' || typeof thisArg != 'undefined') { - iteratee = bindCallback(iteratee, thisArg, 3); - } - return baseFor(object, iteratee, keysIn); - } - - /** - * This method is like `_.forIn` except that it iterates over properties of - * `object` in the opposite order. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Object} Returns `object`. - * @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', and 'a' assuming `_.forIn ` logs 'a', 'b', and 'c' - */ - function forInRight(object, iteratee, thisArg) { - iteratee = bindCallback(iteratee, thisArg, 3); - return baseForRight(object, iteratee, keysIn); - } - - /** - * Iterates over own enumerable properties of an object invoking `iteratee` - * for each property. The `iteratee` is bound to `thisArg` and invoked with - * three arguments; (value, key, object). Iterator functions may exit iteration - * early by explicitly returning `false`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Object} Returns `object`. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.forOwn(new Foo, function(value, key) { - * console.log(key); - * }); - * // => logs 'a' and 'b' (iteration order is not guaranteed) - */ - function forOwn(object, iteratee, thisArg) { - if (typeof iteratee != 'function' || typeof thisArg != 'undefined') { - iteratee = bindCallback(iteratee, thisArg, 3); - } - return baseForOwn(object, iteratee); - } - - /** - * This method is like `_.forOwn` except that it iterates over properties of - * `object` in the opposite order. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Object} Returns `object`. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.forOwnRight(new Foo, function(value, key) { - * console.log(key); - * }); - * // => logs 'b' and 'a' assuming `_.forOwn` logs 'a' and 'b' - */ - function forOwnRight(object, iteratee, thisArg) { - iteratee = bindCallback(iteratee, thisArg, 3); - return baseForRight(object, iteratee, keys); - } - - /** - * Creates an array of function property names from all enumerable properties, - * own and inherited, of `object`. - * - * @static - * @memberOf _ - * @alias methods - * @category Object - * @param {Object} object The object to inspect. - * @returns {Array} Returns the new array of property names. - * @example - * - * _.functions(_); - * // => ['after', 'ary', 'assign', ...] - */ - function functions(object) { - return baseFunctions(object, keysIn(object)); - } - - /** - * Checks if `key` exists as a direct property of `object` instead of an - * inherited property. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to inspect. - * @param {string} key The key to check. - * @returns {boolean} Returns `true` if `key` is a direct property, else `false`. - * @example - * - * var object = { 'a': 1, 'b': 2, 'c': 3 }; - * - * _.has(object, 'b'); - * // => true - */ - function has(object, key) { - return object ? hasOwnProperty.call(object, key) : false; - } - - /** - * 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 unless `multiValue` is `true`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to invert. - * @param {boolean} [multiValue] Allow multiple values per key. - * @param- {Object} [guard] Enables use as a callback for functions like `_.map`. - * @returns {Object} Returns the new inverted object. - * @example - * - * var object = { 'a': 1, 'b': 2, 'c': 1 }; - * - * _.invert(object); - * // => { '1': 'c', '2': 'b' } - * - * // with `multiValue` - * _.invert(object, true); - * // => { '1': ['a', 'c'], '2': ['b'] } - */ - function invert(object, multiValue, guard) { - if (guard && isIterateeCall(object, multiValue, guard)) { - multiValue = null; - } - var index = -1, - props = keys(object), - length = props.length, - result = {}; - - while (++index < length) { - var key = props[index], - value = object[key]; - - if (multiValue) { - if (hasOwnProperty.call(result, value)) { - result[value].push(key); - } else { - result[value] = [key]; - } - } - else { - result[value] = key; - } - } - return result; - } - - /** - * Creates an array of the own enumerable property names of `object`. - * - * **Note:** Non-object values are coerced to objects. See the - * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.keys) - * for more details. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to inspect. - * @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 ? shimKeys : function(object) { - if (object) { - var Ctor = object.constructor, - length = object.length; - } - if ((typeof Ctor == 'function' && Ctor.prototype === object) || - (typeof object != 'function' && (length && isLength(length)))) { - return shimKeys(object); - } - return isObject(object) ? nativeKeys(object) : []; - }; - - /** - * Creates an array of the own and inherited enumerable property names of `object`. - * - * **Note:** Non-object values are coerced to objects. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to inspect. - * @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) { - if (object == null) { - return []; - } - if (!isObject(object)) { - object = Object(object); - } - var length = object.length; - length = (length && isLength(length) && - (isArray(object) || (support.nonEnumArgs && isArguments(object))) && length) || 0; - - var Ctor = object.constructor, - index = -1, - isProto = typeof Ctor == 'function' && Ctor.prototype === object, - result = Array(length), - skipIndexes = length > 0; - - while (++index < length) { - result[index] = (index + ''); - } - for (var key in object) { - if (!(skipIndexes && isIndex(key, length)) && - !(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) { - result.push(key); - } - } - return result; - } - - /** - * Creates an object with the same keys as `object` and values generated by - * running each own enumerable property of `object` through `iteratee`. The - * iteratee function is bound to `thisArg` and invoked with three arguments; - * (value, key, object). - * - * If a property name is provided for `iteratee` the created `_.property` - * style callback returns the property value of the given element. - * - * If a value is also provided for `thisArg` the created `_.matchesProperty` - * style callback returns `true` for elements that have a matching property - * value, else `false`. - * - * If an object is provided for `iteratee` the created `_.matches` style - * callback returns `true` for elements that have the properties of the given - * object, else `false`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function|Object|string} [iteratee=_.identity] The function invoked - * per iteration. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @returns {Object} Returns the new mapped object. - * @example - * - * _.mapValues({ 'a': 1, 'b': 2 }, function(n) { - * return n * 3; - * }); - * // => { 'a': 3, 'b': 6 } - * - * var users = { - * 'fred': { 'user': 'fred', 'age': 40 }, - * 'pebbles': { 'user': 'pebbles', 'age': 1 } - * }; - * - * // using the `_.property` callback shorthand - * _.mapValues(users, 'age'); - * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed) - */ - function mapValues(object, iteratee, thisArg) { - var result = {}; - iteratee = getCallback(iteratee, thisArg, 3); - - baseForOwn(object, function(value, key, object) { - result[key] = iteratee(value, key, object); - }); - return result; - } - - /** - * Recursively merges own enumerable properties of the source object(s), that - * don't resolve to `undefined` into the destination object. Subsequent sources - * overwrite property assignments of previous sources. If `customizer` is - * provided it 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 bound to `thisArg` and invoked - * with five arguments; (objectValue, sourceValue, key, object, source). - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @param {Function} [customizer] The function to customize merging properties. - * @param {*} [thisArg] The `this` binding of `customizer`. - * @returns {Object} Returns `object`. - * @example - * - * var users = { - * 'data': [{ 'user': 'barney' }, { 'user': 'fred' }] - * }; - * - * var ages = { - * 'data': [{ 'age': 36 }, { 'age': 40 }] - * }; - * - * _.merge(users, ages); - * // => { 'data': [{ 'user': 'barney', 'age': 36 }, { 'user': 'fred', 'age': 40 }] } - * - * // using a customizer callback - * var object = { - * 'fruits': ['apple'], - * 'vegetables': ['beet'] - * }; - * - * var other = { - * 'fruits': ['banana'], - * 'vegetables': ['carrot'] - * }; - * - * _.merge(object, other, function(a, b) { - * if (_.isArray(a)) { - * return a.concat(b); - * } - * }); - * // => { 'fruits': ['apple', 'banana'], 'vegetables': ['beet', 'carrot'] } - */ - var merge = createAssigner(baseMerge); - - /** - * The opposite of `_.pick`; this method creates an object composed of the - * own and inherited enumerable properties of `object` that are not omitted. - * Property names may be specified as individual arguments or as arrays of - * property names. If `predicate` is provided it is invoked for each property - * of `object` omitting the properties `predicate` returns truthy for. The - * predicate is bound to `thisArg` and invoked with three arguments; - * (value, key, object). - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The source object. - * @param {Function|...(string|string[])} [predicate] The function invoked per - * iteration or property names to omit, specified as individual property - * names or arrays of property names. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'user': 'fred', 'age': 40 }; - * - * _.omit(object, 'age'); - * // => { 'user': 'fred' } - * - * _.omit(object, _.isNumber); - * // => { 'user': 'fred' } - */ - function omit(object, predicate, thisArg) { - if (object == null) { - return {}; - } - if (typeof predicate != 'function') { - var props = arrayMap(baseFlatten(arguments, false, false, 1), String); - return pickByArray(object, baseDifference(keysIn(object), props)); - } - predicate = bindCallback(predicate, thisArg, 3); - return pickByCallback(object, function(value, key, object) { - return !predicate(value, key, object); - }); - } - - /** - * Creates a two dimensional array of the key-value pairs for `object`, - * e.g. `[[key1, value1], [key2, value2]]`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to inspect. - * @returns {Array} Returns the new array of key-value pairs. - * @example - * - * _.pairs({ 'barney': 36, 'fred': 40 }); - * // => [['barney', 36], ['fred', 40]] (iteration order is not guaranteed) - */ - function pairs(object) { - var index = -1, - props = keys(object), - length = props.length, - result = Array(length); - - while (++index < length) { - var key = props[index]; - result[index] = [key, object[key]]; - } - return result; - } - - /** - * Creates an object composed of the picked `object` properties. Property - * names may be specified as individual arguments or as arrays of property - * names. If `predicate` is provided it is invoked for each property of `object` - * picking the properties `predicate` returns truthy for. The predicate is - * bound to `thisArg` and invoked with three arguments; (value, key, object). - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The source object. - * @param {Function|...(string|string[])} [predicate] The function invoked per - * iteration or property names to pick, specified as individual property - * names or arrays of property names. - * @param {*} [thisArg] The `this` binding of `predicate`. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'user': 'fred', 'age': 40 }; - * - * _.pick(object, 'user'); - * // => { 'user': 'fred' } - * - * _.pick(object, _.isString); - * // => { 'user': 'fred' } - */ - function pick(object, predicate, thisArg) { - if (object == null) { - return {}; - } - return typeof predicate == 'function' - ? pickByCallback(object, bindCallback(predicate, thisArg, 3)) - : pickByArray(object, baseFlatten(arguments, false, false, 1)); - } - - /** - * Resolves the value of property `key` on `object`. If the value of `key` is - * a function it is invoked with the `this` binding of `object` and its result - * is returned, else the property value is returned. If the property value is - * `undefined` the `defaultValue` is used in its place. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @param {string} key The key of the property to resolve. - * @param {*} [defaultValue] The value returned if the property value - * resolves to `undefined`. - * @returns {*} Returns the resolved value. - * @example - * - * var object = { 'user': 'fred', 'age': _.constant(40) }; - * - * _.result(object, 'user'); - * // => 'fred' - * - * _.result(object, 'age'); - * // => 40 - * - * _.result(object, 'status', 'busy'); - * // => 'busy' - * - * _.result(object, 'status', _.constant('busy')); - * // => 'busy' - */ - function result(object, key, defaultValue) { - var value = object == null ? undefined : object[key]; - if (typeof value == 'undefined') { - value = defaultValue; - } - return isFunction(value) ? value.call(object) : value; - } - - /** - * An alternative to `_.reduce`; this method transforms `object` to a new - * `accumulator` object which is the result of running each of its own enumerable - * properties through `iteratee`, with each invocation potentially mutating - * the `accumulator` object. The `iteratee` is bound to `thisArg` and invoked - * with four arguments; (accumulator, value, key, object). Iterator functions - * may exit iteration early by explicitly returning `false`. - * - * @static - * @memberOf _ - * @category Object - * @param {Array|Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [accumulator] The custom accumulator value. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @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 }, function(result, n, key) { - * result[key] = n * 3; - * }); - * // => { 'a': 3, 'b': 6 } - */ - function transform(object, iteratee, accumulator, thisArg) { - var isArr = isArray(object) || isTypedArray(object); - iteratee = getCallback(iteratee, thisArg, 4); - - if (accumulator == null) { - if (isArr || isObject(object)) { - var Ctor = object.constructor; - if (isArr) { - accumulator = isArray(object) ? new Ctor : []; - } else { - accumulator = baseCreate(isFunction(Ctor) && Ctor.prototype); - } - } else { - accumulator = {}; - } - } - (isArr ? arrayEach : baseForOwn)(object, function(value, index, object) { - return iteratee(accumulator, value, index, object); - }); - return accumulator; - } - - /** - * Creates an array of the own enumerable property values of `object`. - * - * **Note:** Non-object values are coerced to objects. - * - * @static - * @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 baseValues(object, keys(object)); - } - - /** - * Creates an array of the own and inherited enumerable property values - * of `object`. - * - * **Note:** Non-object values are coerced to objects. - * - * @static - * @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; - * - * _.valuesIn(new Foo); - * // => [1, 2, 3] (iteration order is not guaranteed) - */ - function valuesIn(object) { - return baseValues(object, keysIn(object)); - } - - /*------------------------------------------------------------------------*/ - - /** - * Checks if `n` is between `start` and up to but not including, `end`. If - * `end` is not specified it is set to `start` with `start` then set to `0`. - * - * @static - * @memberOf _ - * @category Number - * @param {number} n 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 `n` is in the range, else `false`. - * @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 - */ - function inRange(value, start, end) { - start = +start || 0; - if (typeof end === 'undefined') { - end = start; - start = 0; - } else { - end = +end || 0; - } - return value >= start && value < end; - } - - /** - * Produces a random number between `min` and `max` (inclusive). If only one - * argument is provided a number between `0` and the given number is returned. - * If `floating` is `true`, or either `min` or `max` are floats, a floating-point - * number is returned instead of an integer. - * - * @static - * @memberOf _ - * @category Number - * @param {number} [min=0] The minimum possible value. - * @param {number} [max=1] The maximum possible value. - * @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(min, max, floating) { - if (floating && isIterateeCall(min, max, floating)) { - max = floating = null; - } - var noMin = min == null, - noMax = max == null; - - if (floating == null) { - if (noMax && typeof min == 'boolean') { - floating = min; - min = 1; - } - else if (typeof max == 'boolean') { - floating = max; - noMax = true; - } - } - if (noMin && noMax) { - max = 1; - noMax = false; - } - min = +min || 0; - if (noMax) { - max = min; - min = 0; - } else { - max = +max || 0; - } - if (floating || min % 1 || max % 1) { - var rand = nativeRandom(); - return nativeMin(min + (rand * (max - min + parseFloat('1e-' + ((rand + '').length - 1)))), max); - } - return baseRandom(min, max); - } - - /*------------------------------------------------------------------------*/ - - /** - * Converts `string` to camel case. - * See [Wikipedia](https://en.wikipedia.org/wiki/CamelCase) for more details. - * - * @static - * @memberOf _ - * @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 ? (word.charAt(0).toUpperCase() + word.slice(1)) : word); - }); - - /** - * Capitalizes the first character of `string`. - * - * @static - * @memberOf _ - * @category String - * @param {string} [string=''] The string to capitalize. - * @returns {string} Returns the capitalized string. - * @example - * - * _.capitalize('fred'); - * // => 'Fred' - */ - function capitalize(string) { - string = baseToString(string); - return string && (string.charAt(0).toUpperCase() + string.slice(1)); - } - - /** - * Deburrs `string` by converting latin-1 supplementary letters to basic latin letters. - * See [Wikipedia](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table) - * for more details. - * - * @static - * @memberOf _ - * @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 = baseToString(string); - return string && string.replace(reLatin1, deburrLetter); - } - - /** - * Checks if `string` ends with the given target string. - * - * @static - * @memberOf _ - * @category String - * @param {string} [string=''] The string to search. - * @param {string} [target] The string to search for. - * @param {number} [position=string.length] The position to search from. - * @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 = baseToString(string); - target = (target + ''); - - var length = string.length; - position = typeof position == 'undefined' - ? length - : nativeMin(position < 0 ? 0 : (+position || 0), length); - - position -= target.length; - return position >= 0 && string.indexOf(target, position) == position; - } - - /** - * 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 require 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. - * - * Backticks are escaped because in Internet Explorer < 9, they can break out - * of attribute values or HTML comments. See [#102](https://html5sec.org/#102), - * [#108](https://html5sec.org/#108), and [#133](https://html5sec.org/#133) of - * the [HTML5 Security Cheatsheet](https://html5sec.org/) for more details. - * - * When working with HTML you should always quote attribute values to reduce - * XSS vectors. See [Ryan Grove's article](http://wonko.com/post/html-escaping) - * for more details. - * - * @static - * @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) { - // Reset `lastIndex` because in IE < 9 `String#replace` does not. - string = baseToString(string); - return (string && reHasUnescapedHtml.test(string)) - ? string.replace(reUnescapedHtml, escapeHtmlChar) - : string; - } - - /** - * Escapes the `RegExp` special characters "\", "^", "$", ".", "|", "?", "*", - * "+", "(", ")", "[", "]", "{" and "}" in `string`. - * - * @static - * @memberOf _ - * @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 = baseToString(string); - return (string && reHasRegExpChars.test(string)) - ? string.replace(reRegExpChars, '\\$&') - : string; - } - - /** - * Converts `string` to kebab case. - * See [Wikipedia](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles) for - * more details. - * - * @static - * @memberOf _ - * @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(); - }); - - /** - * Pads `string` on the left and right sides if it is shorter then the given - * padding length. The `chars` string may be truncated if the number of padding - * characters can't be evenly divided by the padding length. - * - * @static - * @memberOf _ - * @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 = baseToString(string); - length = +length; - - var strLength = string.length; - if (strLength >= length || !nativeIsFinite(length)) { - return string; - } - var mid = (length - strLength) / 2, - leftLength = floor(mid), - rightLength = ceil(mid); - - chars = createPad('', rightLength, chars); - return chars.slice(0, leftLength) + string + chars; - } - - /** - * Pads `string` on the left side if it is shorter then the given padding - * length. The `chars` string may be truncated if the number of padding - * characters exceeds the padding length. - * - * @static - * @memberOf _ - * @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 - * - * _.padLeft('abc', 6); - * // => ' abc' - * - * _.padLeft('abc', 6, '_-'); - * // => '_-_abc' - * - * _.padLeft('abc', 3); - * // => 'abc' - */ - function padLeft(string, length, chars) { - string = baseToString(string); - return string && (createPad(string, length, chars) + string); - } - - /** - * Pads `string` on the right side if it is shorter then the given padding - * length. The `chars` string may be truncated if the number of padding - * characters exceeds the padding length. - * - * @static - * @memberOf _ - * @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 - * - * _.padRight('abc', 6); - * // => 'abc ' - * - * _.padRight('abc', 6, '_-'); - * // => 'abc_-_' - * - * _.padRight('abc', 3); - * // => 'abc' - */ - function padRight(string, length, chars) { - string = baseToString(string); - return string && (string + createPad(string, length, chars)); - } - - /** - * 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 of `parseInt`. - * See the [ES5 spec](https://es5.github.io/#E) for more details. - * - * @static - * @memberOf _ - * @category String - * @param {string} string The string to convert. - * @param {number} [radix] The radix to interpret `value` by. - * @param- {Object} [guard] Enables use as a callback for functions 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 && isIterateeCall(string, radix, guard)) { - radix = 0; - } - return nativeParseInt(string, radix); - } - // Fallback for environments with pre-ES5 implementations. - if (nativeParseInt(whitespace + '08') != 8) { - parseInt = function(string, radix, guard) { - // Firefox < 21 and Opera < 15 follow ES3 for `parseInt`. - // Chrome fails to trim leading whitespace characters. - // See https://code.google.com/p/v8/issues/detail?id=3109 for more details. - if (guard ? isIterateeCall(string, radix, guard) : radix == null) { - radix = 0; - } else if (radix) { - radix = +radix; - } - string = trim(string); - return nativeParseInt(string, radix || (reHexPrefix.test(string) ? 16 : 10)); - }; - } - - /** - * Repeats the given string `n` times. - * - * @static - * @memberOf _ - * @category String - * @param {string} [string=''] The string to repeat. - * @param {number} [n=0] The number of times to repeat the string. - * @returns {string} Returns the repeated string. - * @example - * - * _.repeat('*', 3); - * // => '***' - * - * _.repeat('abc', 2); - * // => 'abcabc' - * - * _.repeat('abc', 0); - * // => '' - */ - function repeat(string, n) { - var result = ''; - string = baseToString(string); - n = +n; - if (n < 1 || !string || !nativeIsFinite(n)) { - 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 = floor(n / 2); - string += string; - } while (n); - - return result; - } - - /** - * Converts `string` to snake case. - * See [Wikipedia](https://en.wikipedia.org/wiki/Snake_case) for more details. - * - * @static - * @memberOf _ - * @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(); - }); - - /** - * Converts `string` to start case. - * See [Wikipedia](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage) - * for more details. - * - * @static - * @memberOf _ - * @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 ? ' ' : '') + (word.charAt(0).toUpperCase() + word.slice(1)); - }); - - /** - * Checks if `string` starts with the given target string. - * - * @static - * @memberOf _ - * @category String - * @param {string} [string=''] The string to search. - * @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 = baseToString(string); - position = position == null - ? 0 - : nativeMin(position < 0 ? 0 : (+position || 0), string.length); - - return string.lastIndexOf(target, position) == position; - } - - /** - * 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 provided it takes precedence over `_.templateSettings` values. - * - * **Note:** In the development build `_.template` utilizes sourceURLs for easier debugging. - * See the [HTML5 Rocks article on sourcemaps](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl) - * for more details. - * - * 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 - * @memberOf _ - * @category String - * @param {string} [string=''] The template string. - * @param {Object} [options] The options object. - * @param {RegExp} [options.escape] The HTML "escape" delimiter. - * @param {RegExp} [options.evaluate] The "evaluate" delimiter. - * @param {Object} [options.imports] An object to import into the template as free variables. - * @param {RegExp} [options.interpolate] The "interpolate" delimiter. - * @param {string} [options.sourceURL] The sourceURL of the template's compiled source. - * @param {string} [options.variable] The data object variable name. - * @param- {Object} [otherOptions] Enables the legacy `options` param signature. - * @returns {Function} Returns the compiled template function. - * @example - * - * // using the "interpolate" delimiter to create a compiled template - * var compiled = _.template('hello <%= user %>!'); - * compiled({ 'user': 'fred' }); - * // => 'hello fred!' - * - * // using the HTML "escape" delimiter to escape data property values - * var compiled = _.template('<%- value %>'); - * compiled({ 'value': ' -``` - -Or in node.js: - -``` -npm install uuid -``` - -```javascript -var uuid = require('uuid'); - -// Generate a v1 (time-based) id -uuid.v1(); // -> '6c84fb90-12c4-11e1-840d-7b25c5ee775a' - -// Generate a v4 (random) id -uuid.v4(); // -> '110ec58a-a0f2-4ac4-8393-c866d813b8d1' -``` - -## API - -### 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 -var 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] - -// Optionally use uuid.unparse() to get stringify the ids -uuid.unparse(buffer); // -> '02a2ce90-1432-11e1-8558-0b488e4fc115' -uuid.unparse(buffer, 16) // -> '02a31cb0-1432-11e1-8558-0b488e4fc115' -``` - -### 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 -var buffer = new Array(32); // (or 'new Buffer' in node.js) -uuid.v4(null, buffer, 0); -uuid.v4(null, buffer, 16); -``` - -### uuid.parse(id[, buffer[, offset]]) -### uuid.unparse(buffer[, offset]) - -Parse and unparse UUIDs - - * `id` - (String) UUID(-like) string - * `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written. Default: A new Array or Buffer is used - * `offset` - (Number) Starting index in `buffer` at which to begin writing. Default: 0 - -Example parsing and unparsing a UUID string - -```javascript -var bytes = uuid.parse('797ff043-11eb-11e1-80d6-510998755d10'); // -> -var string = uuid.unparse(bytes); // -> '797ff043-11eb-11e1-80d6-510998755d10' -``` - -### uuid.noConflict() - -(Browsers only) Set `uuid` property back to it's previous value. - -Returns the uuid object. - -Example: - -```javascript -var myUuid = uuid.noConflict(); -myUuid.v1(); // -> '6c84fb90-12c4-11e1-840d-7b25c5ee775a' -``` - -## Deprecated APIs - -Support for the following v1.2 APIs is available in v1.3, but is deprecated and will be removed in the next major version. - -### uuid([format [, buffer [, offset]]]) - -uuid() has become uuid.v4(), and the `format` argument is now implicit in the `buffer` argument. (i.e. if you specify a buffer, the format is assumed to be binary). - -## Testing - -In node.js - -``` -> cd test -> node test.js -``` - -In Browser - -``` -open test/test.html -``` - -### Benchmarking - -Requires node.js - -``` -cd benchmark/ -npm install -node benchmark.js -``` - -For a more complete discussion of uuid performance, please see the `benchmark/README.md` file, and the [benchmark wiki](https://github.com/broofa/uuid/wiki/Benchmark) - -For browser performance [checkout the JSPerf tests](http://jsperf.com/node-uuid-performance). - -## Release notes - -### 2.0.0 - -* Removed uuid.BufferClass - -### 1.4.0 - -* Improved module context detection -* Removed public RNG functions - -### 1.3.2 - -* Improve tests and handling of v1() options (Issue #24) -* Expose RNG option to allow for perf testing with different generators - -### 1.3.0 - -* Support for version 1 ids, thanks to [@ctavan](https://github.com/ctavan)! -* Support for node.js crypto API -* De-emphasizing performance in favor of a) cryptographic quality PRNGs where available and b) more manageable code diff --git a/node_modules/uuid/benchmark/README.md b/node_modules/uuid/benchmark/README.md deleted file mode 100644 index aaeb2ea..0000000 --- a/node_modules/uuid/benchmark/README.md +++ /dev/null @@ -1,53 +0,0 @@ -# node-uuid Benchmarks - -### Results - -To see the results of our benchmarks visit https://github.com/broofa/node-uuid/wiki/Benchmark - -### Run them yourself - -node-uuid comes with some benchmarks to measure performance of generating UUIDs. These can be run using node.js. node-uuid is being benchmarked against some other uuid modules, that are available through npm namely `uuid` and `uuid-js`. - -To prepare and run the benchmark issue; - -``` -npm install uuid uuid-js -node benchmark/benchmark.js -``` - -You'll see an output like this one: - -``` -# v4 -nodeuuid.v4(): 854700 uuids/second -nodeuuid.v4('binary'): 788643 uuids/second -nodeuuid.v4('binary', buffer): 1336898 uuids/second -uuid(): 479386 uuids/second -uuid('binary'): 582072 uuids/second -uuidjs.create(4): 312304 uuids/second - -# v1 -nodeuuid.v1(): 938086 uuids/second -nodeuuid.v1('binary'): 683060 uuids/second -nodeuuid.v1('binary', buffer): 1644736 uuids/second -uuidjs.create(1): 190621 uuids/second -``` - -* The `uuid()` entries are for Nikhil Marathe's [uuid module](https://bitbucket.org/nikhilm/uuidjs) which is a wrapper around the native libuuid library. -* The `uuidjs()` entries are for Patrick Negri's [uuid-js module](https://github.com/pnegri/uuid-js) which is a pure javascript implementation based on [UUID.js](https://github.com/LiosK/UUID.js) by LiosK. - -If you want to get more reliable results you can run the benchmark multiple times and write the output into a log file: - -``` -for i in {0..9}; do node benchmark/benchmark.js >> benchmark/bench_0.4.12.log; done; -``` - -If you're interested in how performance varies between different node versions, you can issue the above command multiple times. - -You can then use the shell script `bench.sh` provided in this directory to calculate the averages over all benchmark runs and draw a nice plot: - -``` -(cd benchmark/ && ./bench.sh) -``` - -This assumes you have [gnuplot](http://www.gnuplot.info/) and [ImageMagick](http://www.imagemagick.org/) installed. You'll find a nice `bench.png` graph in the `benchmark/` directory then. diff --git a/node_modules/uuid/benchmark/bench.gnu b/node_modules/uuid/benchmark/bench.gnu deleted file mode 100644 index a342fbb..0000000 --- a/node_modules/uuid/benchmark/bench.gnu +++ /dev/null @@ -1,174 +0,0 @@ -#!/opt/local/bin/gnuplot -persist -# -# -# G N U P L O T -# Version 4.4 patchlevel 3 -# last modified March 2011 -# System: Darwin 10.8.0 -# -# Copyright (C) 1986-1993, 1998, 2004, 2007-2010 -# Thomas Williams, Colin Kelley and many others -# -# gnuplot home: http://www.gnuplot.info -# faq, bugs, etc: type "help seeking-assistance" -# immediate help: type "help" -# plot window: hit 'h' -set terminal postscript eps noenhanced defaultplex \ - leveldefault color colortext \ - solid linewidth 1.2 butt noclip \ - palfuncparam 2000,0.003 \ - "Helvetica" 14 -set output 'bench.eps' -unset clip points -set clip one -unset clip two -set bar 1.000000 front -set border 31 front linetype -1 linewidth 1.000 -set xdata -set ydata -set zdata -set x2data -set y2data -set timefmt x "%d/%m/%y,%H:%M" -set timefmt y "%d/%m/%y,%H:%M" -set timefmt z "%d/%m/%y,%H:%M" -set timefmt x2 "%d/%m/%y,%H:%M" -set timefmt y2 "%d/%m/%y,%H:%M" -set timefmt cb "%d/%m/%y,%H:%M" -set boxwidth -set style fill empty border -set style rectangle back fc lt -3 fillstyle solid 1.00 border lt -1 -set style circle radius graph 0.02, first 0, 0 -set dummy x,y -set format x "% g" -set format y "% g" -set format x2 "% g" -set format y2 "% g" -set format z "% g" -set format cb "% g" -set angles radians -unset grid -set key title "" -set key outside left top horizontal Right noreverse enhanced autotitles columnhead nobox -set key noinvert samplen 4 spacing 1 width 0 height 0 -set key maxcolumns 2 maxrows 0 -unset label -unset arrow -set style increment default -unset style line -set style line 1 linetype 1 linewidth 2.000 pointtype 1 pointsize default pointinterval 0 -unset style arrow -set style histogram clustered gap 2 title offset character 0, 0, 0 -unset logscale -set offsets graph 0.05, 0.15, 0, 0 -set pointsize 1.5 -set pointintervalbox 1 -set encoding default -unset polar -unset parametric -unset decimalsign -set view 60, 30, 1, 1 -set samples 100, 100 -set isosamples 10, 10 -set surface -unset contour -set clabel '%8.3g' -set mapping cartesian -set datafile separator whitespace -unset hidden3d -set cntrparam order 4 -set cntrparam linear -set cntrparam levels auto 5 -set cntrparam points 5 -set size ratio 0 1,1 -set origin 0,0 -set style data points -set style function lines -set xzeroaxis linetype -2 linewidth 1.000 -set yzeroaxis linetype -2 linewidth 1.000 -set zzeroaxis linetype -2 linewidth 1.000 -set x2zeroaxis linetype -2 linewidth 1.000 -set y2zeroaxis linetype -2 linewidth 1.000 -set ticslevel 0.5 -set mxtics default -set mytics default -set mztics default -set mx2tics default -set my2tics default -set mcbtics default -set xtics border in scale 1,0.5 mirror norotate offset character 0, 0, 0 -set xtics norangelimit -set xtics () -set ytics border in scale 1,0.5 mirror norotate offset character 0, 0, 0 -set ytics autofreq norangelimit -set ztics border in scale 1,0.5 nomirror norotate offset character 0, 0, 0 -set ztics autofreq norangelimit -set nox2tics -set noy2tics -set cbtics border in scale 1,0.5 mirror norotate offset character 0, 0, 0 -set cbtics autofreq norangelimit -set title "" -set title offset character 0, 0, 0 font "" norotate -set timestamp bottom -set timestamp "" -set timestamp offset character 0, 0, 0 font "" norotate -set rrange [ * : * ] noreverse nowriteback # (currently [8.98847e+307:-8.98847e+307] ) -set autoscale rfixmin -set autoscale rfixmax -set trange [ * : * ] noreverse nowriteback # (currently [-5.00000:5.00000] ) -set autoscale tfixmin -set autoscale tfixmax -set urange [ * : * ] noreverse nowriteback # (currently [-10.0000:10.0000] ) -set autoscale ufixmin -set autoscale ufixmax -set vrange [ * : * ] noreverse nowriteback # (currently [-10.0000:10.0000] ) -set autoscale vfixmin -set autoscale vfixmax -set xlabel "" -set xlabel offset character 0, 0, 0 font "" textcolor lt -1 norotate -set x2label "" -set x2label offset character 0, 0, 0 font "" textcolor lt -1 norotate -set xrange [ * : * ] noreverse nowriteback # (currently [-0.150000:3.15000] ) -set autoscale xfixmin -set autoscale xfixmax -set x2range [ * : * ] noreverse nowriteback # (currently [0.00000:3.00000] ) -set autoscale x2fixmin -set autoscale x2fixmax -set ylabel "" -set ylabel offset character 0, 0, 0 font "" textcolor lt -1 rotate by -270 -set y2label "" -set y2label offset character 0, 0, 0 font "" textcolor lt -1 rotate by -270 -set yrange [ 0.00000 : 1.90000e+06 ] noreverse nowriteback # (currently [:] ) -set autoscale yfixmin -set autoscale yfixmax -set y2range [ * : * ] noreverse nowriteback # (currently [0.00000:1.90000e+06] ) -set autoscale y2fixmin -set autoscale y2fixmax -set zlabel "" -set zlabel offset character 0, 0, 0 font "" textcolor lt -1 norotate -set zrange [ * : * ] noreverse nowriteback # (currently [-10.0000:10.0000] ) -set autoscale zfixmin -set autoscale zfixmax -set cblabel "" -set cblabel offset character 0, 0, 0 font "" textcolor lt -1 rotate by -270 -set cbrange [ * : * ] noreverse nowriteback # (currently [8.98847e+307:-8.98847e+307] ) -set autoscale cbfixmin -set autoscale cbfixmax -set zero 1e-08 -set lmargin -1 -set bmargin -1 -set rmargin -1 -set tmargin -1 -set pm3d explicit at s -set pm3d scansautomatic -set pm3d interpolate 1,1 flush begin noftriangles nohidden3d corners2color mean -set palette positive nops_allcF maxcolors 0 gamma 1.5 color model RGB -set palette rgbformulae 7, 5, 15 -set colorbox default -set colorbox vertical origin screen 0.9, 0.2, 0 size screen 0.05, 0.6, 0 front bdefault -set loadpath -set fontpath -set fit noerrorvariables -GNUTERM = "aqua" -plot 'bench_results.txt' using 2:xticlabel(1) w lp lw 2, '' using 3:xticlabel(1) w lp lw 2, '' using 4:xticlabel(1) w lp lw 2, '' using 5:xticlabel(1) w lp lw 2, '' using 6:xticlabel(1) w lp lw 2, '' using 7:xticlabel(1) w lp lw 2, '' using 8:xticlabel(1) w lp lw 2, '' using 9:xticlabel(1) w lp lw 2 -# EOF diff --git a/node_modules/uuid/benchmark/bench.sh b/node_modules/uuid/benchmark/bench.sh deleted file mode 100755 index d870a0c..0000000 --- a/node_modules/uuid/benchmark/bench.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -# for a given node version run: -# for i in {0..9}; do node benchmark.js >> bench_0.6.2.log; done; - -PATTERNS=('nodeuuid.v1()' "nodeuuid.v1('binary'," 'nodeuuid.v4()' "nodeuuid.v4('binary'," "uuid()" "uuid('binary')" 'uuidjs.create(1)' 'uuidjs.create(4)' '140byte') -FILES=(node_uuid_v1_string node_uuid_v1_buf node_uuid_v4_string node_uuid_v4_buf libuuid_v4_string libuuid_v4_binary uuidjs_v1_string uuidjs_v4_string 140byte_es) -INDICES=(2 3 2 3 2 2 2 2 2) -VERSIONS=$( ls bench_*.log | sed -e 's/^bench_\([0-9\.]*\)\.log/\1/' | tr "\\n" " " ) -TMPJOIN="tmp_join" -OUTPUT="bench_results.txt" - -for I in ${!FILES[*]}; do - F=${FILES[$I]} - P=${PATTERNS[$I]} - INDEX=${INDICES[$I]} - echo "version $F" > $F - for V in $VERSIONS; do - (VAL=$( grep "$P" bench_$V.log | LC_ALL=en_US awk '{ sum += $'$INDEX' } END { print sum/NR }' ); echo $V $VAL) >> $F - done - if [ $I == 0 ]; then - cat $F > $TMPJOIN - else - join $TMPJOIN $F > $OUTPUT - cp $OUTPUT $TMPJOIN - fi - rm $F -done - -rm $TMPJOIN - -gnuplot bench.gnu -convert -density 200 -resize 800x560 -flatten bench.eps bench.png -rm bench.eps diff --git a/node_modules/uuid/benchmark/benchmark-native.c b/node_modules/uuid/benchmark/benchmark-native.c deleted file mode 100644 index dbfc75f..0000000 --- a/node_modules/uuid/benchmark/benchmark-native.c +++ /dev/null @@ -1,34 +0,0 @@ -/* -Test performance of native C UUID generation - -To Compile: cc -luuid benchmark-native.c -o benchmark-native -*/ - -#include -#include -#include -#include - -int main() { - uuid_t myid; - char buf[36+1]; - int i; - struct timeval t; - double start, finish; - - gettimeofday(&t, NULL); - start = t.tv_sec + t.tv_usec/1e6; - - int n = 2e5; - for (i = 0; i < n; i++) { - uuid_generate(myid); - uuid_unparse(myid, buf); - } - - gettimeofday(&t, NULL); - finish = t.tv_sec + t.tv_usec/1e6; - double dur = finish - start; - - printf("%d uuids/sec", (int)(n/dur)); - return 0; -} diff --git a/node_modules/uuid/benchmark/benchmark.js b/node_modules/uuid/benchmark/benchmark.js deleted file mode 100644 index 40e6efb..0000000 --- a/node_modules/uuid/benchmark/benchmark.js +++ /dev/null @@ -1,84 +0,0 @@ -try { - var nodeuuid = require('../uuid'); -} catch (e) { - console.error('node-uuid require failed - skipping tests'); -} - -try { - var uuid = require('uuid'); -} catch (e) { - console.error('uuid require failed - skipping tests'); -} - -try { - var uuidjs = require('uuid-js'); -} catch (e) { - console.error('uuid-js require failed - skipping tests'); -} - -var N = 5e5; - -function rate(msg, t) { - console.log(msg + ': ' + - (N / (Date.now() - t) * 1e3 | 0) + - ' uuids/second'); -} - -console.log('# v4'); - -// node-uuid - string form -if (nodeuuid) { - for (var i = 0, t = Date.now(); i < N; i++) nodeuuid.v4(); - rate('nodeuuid.v4() - using node.js crypto RNG', t); - - for (var i = 0, t = Date.now(); i < N; i++) nodeuuid.v4({rng: nodeuuid.mathRNG}); - rate('nodeuuid.v4() - using Math.random() RNG', t); - - for (var i = 0, t = Date.now(); i < N; i++) nodeuuid.v4('binary'); - rate('nodeuuid.v4(\'binary\')', t); - - var buffer = new nodeuuid.BufferClass(16); - for (var i = 0, t = Date.now(); i < N; i++) nodeuuid.v4('binary', buffer); - rate('nodeuuid.v4(\'binary\', buffer)', t); -} - -// libuuid - string form -if (uuid) { - for (var i = 0, t = Date.now(); i < N; i++) uuid(); - rate('uuid()', t); - - for (var i = 0, t = Date.now(); i < N; i++) uuid('binary'); - rate('uuid(\'binary\')', t); -} - -// uuid-js - string form -if (uuidjs) { - for (var i = 0, t = Date.now(); i < N; i++) uuidjs.create(4); - rate('uuidjs.create(4)', t); -} - -// 140byte.es -for (var i = 0, t = Date.now(); i < N; i++) 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(s,r){r=Math.random()*16|0;return (s=='x'?r:r&0x3|0x8).toString(16)}); -rate('140byte.es_v4', t); - -console.log(''); -console.log('# v1'); - -// node-uuid - v1 string form -if (nodeuuid) { - for (var i = 0, t = Date.now(); i < N; i++) nodeuuid.v1(); - rate('nodeuuid.v1()', t); - - for (var i = 0, t = Date.now(); i < N; i++) nodeuuid.v1('binary'); - rate('nodeuuid.v1(\'binary\')', t); - - var buffer = new nodeuuid.BufferClass(16); - for (var i = 0, t = Date.now(); i < N; i++) nodeuuid.v1('binary', buffer); - rate('nodeuuid.v1(\'binary\', buffer)', t); -} - -// uuid-js - v1 string form -if (uuidjs) { - for (var i = 0, t = Date.now(); i < N; i++) uuidjs.create(1); - rate('uuidjs.create(1)', t); -} diff --git a/node_modules/uuid/benchmark/package.json b/node_modules/uuid/benchmark/package.json deleted file mode 100644 index 94e0b59..0000000 --- a/node_modules/uuid/benchmark/package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "benchmark-uuid", - "private": true, - "description": "Benchmarks for node-uuid", - "dependencies": { - "uuid": "1.4.1", - "uuid-js": "0.7.4" - } -} diff --git a/node_modules/uuid/misc/compare.js b/node_modules/uuid/misc/compare.js deleted file mode 100644 index 3de3415..0000000 --- a/node_modules/uuid/misc/compare.js +++ /dev/null @@ -1,62 +0,0 @@ -var assert = require('assert'), - nodeuuid = require('../'), - uuidjs = require('uuid-js'), - util = require('util'), - exec = require('child_process').exec, - os = require('os'); - -// On Mac Os X / macports there's only the ossp-uuid package that provides uuid -// On Linux there's uuid-runtime which provides uuidgen -var uuidCmd = os.type() === 'Darwin' ? 'uuid -1' : 'uuidgen -t'; - -function compare(ids) { - console.log(ids); - for (var i = 0; i < ids.length; i++) { - var id = ids[i].split('-'); - id = [id[2], id[1], id[0]].join(''); - ids[i] = id; - } - var sorted = ([].concat(ids)).sort(); - - if (sorted.toString() !== ids.toString()) { - console.log('Warning: sorted !== ids'); - } else { - console.log('everything in order!'); - } -} - -// Test time order of v1 uuids -var ids = []; -while (ids.length < 10e3) ids.push(nodeuuid.v1()); - -var max = 10; -console.log('node-uuid:'); -ids = []; -for (var i = 0; i < max; i++) ids.push(nodeuuid.v1()); -compare(ids); - -console.log(''); -console.log('uuidjs:'); -ids = []; -for (var i = 0; i < max; i++) ids.push(uuidjs.create(1).toString()); -compare(ids); - -console.log(''); -console.log('libuuid:'); -ids = []; -var count = 0; -var last = function() { - compare(ids); -} -var cb = function(err, stdout, stderr) { - ids.push(stdout.substring(0, stdout.length-1)); - count++; - if (count < max) { - return next(); - } - last(); -}; -var next = function() { - exec(uuidCmd, cb); -}; -next(); diff --git a/node_modules/uuid/misc/perf.js b/node_modules/uuid/misc/perf.js deleted file mode 100644 index bdc9eb4..0000000 --- a/node_modules/uuid/misc/perf.js +++ /dev/null @@ -1,102 +0,0 @@ -var assert = require('assert'); - -var uuid = require('../'); - -var log = console.log; - -var generators = { - v1: uuid.v1, - v4: uuid.v4 -}; - -var UUID_FORMAT = { - v1: /[0-9a-f]{8}-[0-9a-f]{4}-1[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/i, - v4: /[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/i -}; - -var N = 1e4; - -// Get %'age an actual value differs from the ideal value -function divergence(actual, ideal) { - return Math.round(100*100*(actual - ideal)/ideal)/100; -} - -function rate(msg, t) { - log(msg + ': ' + (N / (Date.now() - t) * 1e3 | 0) + ' uuids\/second'); -} - -for (var version in generators) { - var counts = {}, max = 0; - var generator = generators[version]; - var format = UUID_FORMAT[version]; - - log('\nSanity check ' + N + ' ' + version + ' uuids'); - for (var i = 0, ok = 0; i < N; i++) { - id = generator(); - if (!format.test(id)) { - throw Error(id + ' is not a valid UUID string'); - } - - if (id != uuid.unparse(uuid.parse(id))) { - assert(fail, id + ' is not a valid id'); - } - - // Count digits for our randomness check - if (version == 'v4') { - var digits = id.replace(/-/g, '').split(''); - for (var j = digits.length-1; j >= 0; j--) { - var c = digits[j]; - max = Math.max(max, counts[c] = (counts[c] || 0) + 1); - } - } - } - - // Check randomness for v4 UUIDs - if (version == 'v4') { - // Limit that we get worried about randomness. (Purely empirical choice, this!) - var limit = 2*100*Math.sqrt(1/N); - - log('\nChecking v4 randomness. Distribution of Hex Digits (% deviation from ideal)'); - - for (var i = 0; i < 16; i++) { - var c = i.toString(16); - var bar = '', n = counts[c], p = Math.round(n/max*100|0); - - // 1-3,5-8, and D-F: 1:16 odds over 30 digits - var ideal = N*30/16; - if (i == 4) { - // 4: 1:1 odds on 1 digit, plus 1:16 odds on 30 digits - ideal = N*(1 + 30/16); - } else if (i >= 8 && i <= 11) { - // 8-B: 1:4 odds on 1 digit, plus 1:16 odds on 30 digits - ideal = N*(1/4 + 30/16); - } else { - // Otherwise: 1:16 odds on 30 digits - ideal = N*30/16; - } - var d = divergence(n, ideal); - - // Draw bar using UTF squares (just for grins) - var s = n/max*50 | 0; - while (s--) bar += '='; - - assert(Math.abs(d) < limit, c + ' |' + bar + '| ' + counts[c] + ' (' + d + '% < ' + limit + '%)'); - } - } -} - -// Perf tests -for (var version in generators) { - log('\nPerformance testing ' + version + ' UUIDs'); - var generator = generators[version]; - var buf = new uuid.BufferClass(16); - - for (var i = 0, t = Date.now(); i < N; i++) generator(); - rate('uuid.' + version + '()', t); - - for (var i = 0, t = Date.now(); i < N; i++) generator('binary'); - rate('uuid.' + version + '(\'binary\')', t); - - for (var i = 0, t = Date.now(); i < N; i++) generator('binary', buf); - rate('uuid.' + version + '(\'binary\', buffer)', t); -} diff --git a/node_modules/uuid/package.json b/node_modules/uuid/package.json deleted file mode 100644 index 0d5d8bb..0000000 --- a/node_modules/uuid/package.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "name": "uuid", - "version": "2.0.3", - "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.", - "keywords": [ - "uuid", - "guid", - "rfc4122" - ], - "author": { - "name": "Robert Kieffer", - "email": "robert@broofa.com" - }, - "contributors": [ - { - "name": "Christoph Tavan", - "email": "dev@tavan.de" - }, - { - "name": "Vincent Voyer", - "email": "vincent@zeroload.net" - } - ], - "license": "MIT", - "main": "./uuid.js", - "devDependencies": { - "mocha": "1.8.0" - }, - "scripts": { - "test": "mocha test/test.js" - }, - "browser": { - "./rng.js": "./rng-browser.js" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/defunctzombie/node-uuid.git" - }, - "testling": { - "browsers": [ - "ie6..latest", - "firefox/3.6..latest", - "chrome/22..latest", - "safari/5.1..latest" - ], - "harness": "mocha-tdd", - "files": "test/*.js" - }, - "readme": "# uuid [![Build Status](https://secure.travis-ci.org/defunctzombie/node-uuid.svg?branch=master)](http://travis-ci.org/defunctzombie/node-uuid) #\n\n[![browser support](https://ci.testling.com/defunctzombie/node-uuid.png)](https://ci.testling.com/defunctzombie/node-uuid)\n\nSimple, fast generation of [RFC4122](http://www.ietf.org/rfc/rfc4122.txt) UUIDS.\n\nFeatures:\n\n* Generate RFC4122 version 1 or version 4 UUIDs\n* Runs in node.js and all browsers.\n* Cryptographically strong random # generation on supporting platforms\n* 1185 bytes minified and gzip'ed (Want something smaller? Check this [crazy shit](https://gist.github.com/982883) out! )\n* [Annotated source code](http://broofa.github.com/node-uuid/docs/uuid.html)\n\n## Getting Started\n\nInstall it in your browser:\n\n```html\n\n```\n\nOr in node.js:\n\n```\nnpm install uuid\n```\n\n```javascript\nvar uuid = require('uuid');\n\n// Generate a v1 (time-based) id\nuuid.v1(); // -> '6c84fb90-12c4-11e1-840d-7b25c5ee775a'\n\n// Generate a v4 (random) id\nuuid.v4(); // -> '110ec58a-a0f2-4ac4-8393-c866d813b8d1'\n```\n\n## API\n\n### uuid.v1([`options` [, `buffer` [, `offset`]]])\n\nGenerate and return a RFC4122 v1 (timestamp-based) UUID.\n\n* `options` - (Object) Optional uuid state to apply. Properties may include:\n\n * `node` - (Array) Node id as Array of 6 bytes (per 4.1.6). Default: Randomly generated ID. See note 1.\n * `clockseq` - (Number between 0 - 0x3fff) RFC clock sequence. Default: An internally maintained clockseq is used.\n * `msecs` - (Number | Date) Time in milliseconds since unix Epoch. Default: The current time is used.\n * `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.\n\n* `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.\n* `offset` - (Number) Starting index in `buffer` at which to begin writing.\n\nReturns `buffer`, if specified, otherwise the string form of the UUID\n\nNotes:\n\n1. 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.)\n\nExample: Generate string UUID with fully-specified options\n\n```javascript\nuuid.v1({\n node: [0x01, 0x23, 0x45, 0x67, 0x89, 0xab],\n clockseq: 0x1234,\n msecs: new Date('2011-11-01').getTime(),\n nsecs: 5678\n}); // -> \"710b962e-041c-11e1-9234-0123456789ab\"\n```\n\nExample: In-place generation of two binary IDs\n\n```javascript\n// Generate two ids in an array\nvar arr = new Array(32); // -> []\nuuid.v1(null, arr, 0); // -> [02 a2 ce 90 14 32 11 e1 85 58 0b 48 8e 4f c1 15]\nuuid.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]\n\n// Optionally use uuid.unparse() to get stringify the ids\nuuid.unparse(buffer); // -> '02a2ce90-1432-11e1-8558-0b488e4fc115'\nuuid.unparse(buffer, 16) // -> '02a31cb0-1432-11e1-8558-0b488e4fc115'\n```\n\n### uuid.v4([`options` [, `buffer` [, `offset`]]])\n\nGenerate and return a RFC4122 v4 UUID.\n\n* `options` - (Object) Optional uuid state to apply. Properties may include:\n\n * `random` - (Number[16]) Array of 16 numbers (0-255) to use in place of randomly generated values\n * `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.\n\n* `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.\n* `offset` - (Number) Starting index in `buffer` at which to begin writing.\n\nReturns `buffer`, if specified, otherwise the string form of the UUID\n\nExample: Generate string UUID with fully-specified options\n\n```javascript\nuuid.v4({\n random: [\n 0x10, 0x91, 0x56, 0xbe, 0xc4, 0xfb, 0xc1, 0xea,\n 0x71, 0xb4, 0xef, 0xe1, 0x67, 0x1c, 0x58, 0x36\n ]\n});\n// -> \"109156be-c4fb-41ea-b1b4-efe1671c5836\"\n```\n\nExample: Generate two IDs in a single buffer\n\n```javascript\nvar buffer = new Array(32); // (or 'new Buffer' in node.js)\nuuid.v4(null, buffer, 0);\nuuid.v4(null, buffer, 16);\n```\n\n### uuid.parse(id[, buffer[, offset]])\n### uuid.unparse(buffer[, offset])\n\nParse and unparse UUIDs\n\n * `id` - (String) UUID(-like) string\n * `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written. Default: A new Array or Buffer is used\n * `offset` - (Number) Starting index in `buffer` at which to begin writing. Default: 0\n\nExample parsing and unparsing a UUID string\n\n```javascript\nvar bytes = uuid.parse('797ff043-11eb-11e1-80d6-510998755d10'); // -> \nvar string = uuid.unparse(bytes); // -> '797ff043-11eb-11e1-80d6-510998755d10'\n```\n\n### uuid.noConflict()\n\n(Browsers only) Set `uuid` property back to it's previous value.\n\nReturns the uuid object.\n\nExample:\n\n```javascript\nvar myUuid = uuid.noConflict();\nmyUuid.v1(); // -> '6c84fb90-12c4-11e1-840d-7b25c5ee775a'\n```\n\n## Deprecated APIs\n\nSupport for the following v1.2 APIs is available in v1.3, but is deprecated and will be removed in the next major version.\n\n### uuid([format [, buffer [, offset]]])\n\nuuid() has become uuid.v4(), and the `format` argument is now implicit in the `buffer` argument. (i.e. if you specify a buffer, the format is assumed to be binary).\n\n## Testing\n\nIn node.js\n\n```\n> cd test\n> node test.js\n```\n\nIn Browser\n\n```\nopen test/test.html\n```\n\n### Benchmarking\n\nRequires node.js\n\n```\ncd benchmark/\nnpm install\nnode benchmark.js\n```\n\nFor a more complete discussion of uuid performance, please see the `benchmark/README.md` file, and the [benchmark wiki](https://github.com/broofa/uuid/wiki/Benchmark)\n\nFor browser performance [checkout the JSPerf tests](http://jsperf.com/node-uuid-performance).\n\n## Release notes\n\n### 2.0.0\n \n* Removed uuid.BufferClass\n\n### 1.4.0\n\n* Improved module context detection\n* Removed public RNG functions\n\n### 1.3.2\n\n* Improve tests and handling of v1() options (Issue #24)\n* Expose RNG option to allow for perf testing with different generators\n\n### 1.3.0\n\n* Support for version 1 ids, thanks to [@ctavan](https://github.com/ctavan)!\n* Support for node.js crypto API\n* De-emphasizing performance in favor of a) cryptographic quality PRNGs where available and b) more manageable code\n", - "readmeFilename": "README.md", - "bugs": { - "url": "https://github.com/defunctzombie/node-uuid/issues" - }, - "homepage": "https://github.com/defunctzombie/node-uuid#readme", - "_id": "uuid@2.0.3", - "_shasum": "67e2e863797215530dff318e5bf9dcebfd47b21a", - "_resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", - "_from": "uuid@>=2.0.3 <3.0.0" -} diff --git a/node_modules/uuid/rng-browser.js b/node_modules/uuid/rng-browser.js deleted file mode 100644 index 82ffaf6..0000000 --- a/node_modules/uuid/rng-browser.js +++ /dev/null @@ -1,32 +0,0 @@ - -var rng; - -var crypto = global.crypto || global.msCrypto; // for IE 11 -if (crypto && crypto.getRandomValues) { - // WHATWG crypto-based RNG - http://wiki.whatwg.org/wiki/Crypto - // Moderately fast, high quality - 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/node_modules/uuid/rng.js b/node_modules/uuid/rng.js deleted file mode 100644 index 3977f79..0000000 --- a/node_modules/uuid/rng.js +++ /dev/null @@ -1,4 +0,0 @@ -var rb = require('crypto').randomBytes; -module.exports = function() { - return rb(16); -}; diff --git a/node_modules/uuid/test/mocha.opts b/node_modules/uuid/test/mocha.opts deleted file mode 100644 index e2bfcc5..0000000 --- a/node_modules/uuid/test/mocha.opts +++ /dev/null @@ -1 +0,0 @@ ---ui qunit diff --git a/node_modules/uuid/test/test.js b/node_modules/uuid/test/test.js deleted file mode 100644 index 4c9872f..0000000 --- a/node_modules/uuid/test/test.js +++ /dev/null @@ -1,105 +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'); -}); - -test('parse/unparse', function() { - var id = '00112233445566778899aabbccddeeff'; - assert(uuid.unparse(uuid.parse(id.substr(0,10))) == - '00112233-4400-0000-0000-000000000000', 'Short parse'); - assert(uuid.unparse(uuid.parse('(this is the uuid -> ' + id + id)) == - '00112233-4455-6677-8899-aabbccddeeff', 'Dirty parse'); -}); - diff --git a/node_modules/uuid/uuid.js b/node_modules/uuid/uuid.js deleted file mode 100644 index be5bfed..0000000 --- a/node_modules/uuid/uuid.js +++ /dev/null @@ -1,183 +0,0 @@ -// uuid.js -// -// Copyright (c) 2010-2012 Robert Kieffer -// MIT License - http://opensource.org/licenses/mit-license.php - -// 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('./rng'); - -// Maps for number <-> hex string conversion -var _byteToHex = []; -var _hexToByte = {}; -for (var i = 0; i < 256; i++) { - _byteToHex[i] = (i + 0x100).toString(16).substr(1); - _hexToByte[_byteToHex[i]] = i; -} - -// **`parse()` - Parse a UUID into it's component bytes** -function parse(s, buf, offset) { - var i = (buf && offset) || 0, ii = 0; - - buf = buf || []; - s.toLowerCase().replace(/[0-9a-f]{2}/g, function(oct) { - if (ii < 16) { // Don't overflow! - buf[i + ii++] = _hexToByte[oct]; - } - }); - - // Zero out remaining bytes if string was short - while (ii < 16) { - buf[i + ii++] = 0; - } - - return buf; -} - -// **`unparse()` - Convert UUID byte array (ala parse()) into a string** -function unparse(buf, offset) { - var i = offset || 0, 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++]]; -} - -// **`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 : unparse(b); -} - -// **`v4()` - Generate random UUID** - -// See https://github.com/broofa/node-uuid for API details -function v4(options, buf, offset) { - // Deprecated - 'format' argument, as supported in v1.2 - 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 || unparse(rnds); -} - -// Export public API -var uuid = v4; -uuid.v1 = v1; -uuid.v4 = v4; -uuid.parse = parse; -uuid.unparse = unparse; - -module.exports = uuid;