├── lab-dataimport
├── terraform
│ ├── private-data
│ │ ├── dummy.txt
│ │ ├── public-stuff
│ │ │ └── logo.png
│ │ └── keys.txt
│ ├── vpc.tf
│ └── s3.tf
├── app
│ ├── data-storage
│ │ ├── kitty.jpg
│ │ ├── logo.png
│ │ └── doggy.jpeg
│ └── frontend
│ │ └── assets
│ │ └── sticky-footer-navbar.css
└── Dockerfile
├── lab-cognito
├── app
│ ├── vendor
│ │ ├── bin
│ │ │ └── jp.php
│ │ ├── mtdowling
│ │ │ └── jmespath.php
│ │ │ │ ├── .gitignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── Makefile
│ │ │ │ ├── phpunit.xml.dist
│ │ │ │ ├── src
│ │ │ │ ├── JmesPath.php
│ │ │ │ └── SyntaxErrorException.php
│ │ │ │ ├── tests
│ │ │ │ ├── compliance
│ │ │ │ │ ├── perf
│ │ │ │ │ │ ├── wildcardindex.json
│ │ │ │ │ │ ├── multiwildcard.json
│ │ │ │ │ │ ├── deep_projection.json
│ │ │ │ │ │ └── basic.json
│ │ │ │ │ ├── current.json
│ │ │ │ │ ├── unicode.json
│ │ │ │ │ └── escape.json
│ │ │ │ ├── TreeCompilerTest.php
│ │ │ │ ├── EnvTest.php
│ │ │ │ ├── SyntaxErrorExceptionTest.php
│ │ │ │ └── FnDispatcherTest.php
│ │ │ │ ├── composer.json
│ │ │ │ └── LICENSE
│ │ ├── guzzlehttp
│ │ │ ├── guzzle
│ │ │ │ ├── src
│ │ │ │ │ ├── Exception
│ │ │ │ │ │ ├── GuzzleException.php
│ │ │ │ │ │ ├── TooManyRedirectsException.php
│ │ │ │ │ │ ├── TransferException.php
│ │ │ │ │ │ ├── ClientException.php
│ │ │ │ │ │ ├── ServerException.php
│ │ │ │ │ │ ├── BadResponseException.php
│ │ │ │ │ │ ├── SeekException.php
│ │ │ │ │ │ └── ConnectException.php
│ │ │ │ │ ├── functions_include.php
│ │ │ │ │ └── Handler
│ │ │ │ │ │ └── CurlFactoryInterface.php
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE
│ │ │ │ └── composer.json
│ │ │ ├── psr7
│ │ │ │ ├── .gitignore
│ │ │ │ ├── src
│ │ │ │ │ ├── functions_include.php
│ │ │ │ │ ├── NoSeekStream.php
│ │ │ │ │ ├── LazyOpenStream.php
│ │ │ │ │ └── DroppingStream.php
│ │ │ │ ├── tests
│ │ │ │ │ ├── bootstrap.php
│ │ │ │ │ ├── DroppingStreamTest.php
│ │ │ │ │ ├── InflateStreamTest.php
│ │ │ │ │ └── NoSeekStreamTest.php
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── phpunit.xml.dist
│ │ │ │ ├── Makefile
│ │ │ │ ├── composer.json
│ │ │ │ └── LICENSE
│ │ │ └── promises
│ │ │ │ ├── src
│ │ │ │ ├── functions_include.php
│ │ │ │ ├── CancellationException.php
│ │ │ │ ├── PromisorInterface.php
│ │ │ │ ├── AggregateException.php
│ │ │ │ └── TaskQueueInterface.php
│ │ │ │ ├── Makefile
│ │ │ │ ├── composer.json
│ │ │ │ └── LICENSE
│ │ ├── aws
│ │ │ └── aws-sdk-php
│ │ │ │ └── src
│ │ │ │ ├── Exception
│ │ │ │ ├── CredentialsException.php
│ │ │ │ ├── UnresolvedApiException.php
│ │ │ │ ├── UnresolvedEndpointException.php
│ │ │ │ ├── UnresolvedSignatureException.php
│ │ │ │ └── CouldNotCreateChecksumException.php
│ │ │ │ ├── Api
│ │ │ │ ├── Parser
│ │ │ │ │ ├── Exception
│ │ │ │ │ │ └── ParserException.php
│ │ │ │ │ ├── AbstractParser.php
│ │ │ │ │ ├── RestXmlParser.php
│ │ │ │ │ ├── RestJsonParser.php
│ │ │ │ │ └── JsonRpcParser.php
│ │ │ │ ├── ErrorParser
│ │ │ │ │ ├── JsonParserTrait.php
│ │ │ │ │ ├── JsonRpcErrorParser.php
│ │ │ │ │ └── RestJsonErrorParser.php
│ │ │ │ ├── ListShape.php
│ │ │ │ ├── Serializer
│ │ │ │ │ ├── RestXmlSerializer.php
│ │ │ │ │ ├── Ec2ParamBuilder.php
│ │ │ │ │ └── RestJsonSerializer.php
│ │ │ │ └── DateTimeResult.php
│ │ │ │ ├── S3
│ │ │ │ ├── Exception
│ │ │ │ │ ├── PermanentRedirectException.php
│ │ │ │ │ └── S3Exception.php
│ │ │ │ └── GetBucketLocationParser.php
│ │ │ │ ├── data
│ │ │ │ ├── rds
│ │ │ │ │ ├── 2014-09-01
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ │ └── 2014-10-31
│ │ │ │ │ │ └── waiters-1.json.php
│ │ │ │ ├── sqs
│ │ │ │ │ └── 2012-11-05
│ │ │ │ │ │ ├── paginators-1.json.php
│ │ │ │ │ │ └── waiters-2.json.php
│ │ │ │ ├── cur
│ │ │ │ │ └── 2017-01-06
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── acm
│ │ │ │ │ └── 2015-12-08
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── config
│ │ │ │ │ └── 2014-11-12
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── importexport
│ │ │ │ │ └── 2010-06-01
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── cloudtrail
│ │ │ │ │ └── 2013-11-01
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── email
│ │ │ │ │ └── 2010-12-01
│ │ │ │ │ │ ├── paginators-1.json.php
│ │ │ │ │ │ └── waiters-2.json.php
│ │ │ │ ├── codecommit
│ │ │ │ │ └── 2015-04-13
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── elastictranscoder
│ │ │ │ │ └── 2012-09-25
│ │ │ │ │ │ ├── waiters-1.json.php
│ │ │ │ │ │ ├── waiters-2.json.php
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── monitoring
│ │ │ │ │ └── 2010-08-01
│ │ │ │ │ │ ├── waiters-2.json.php
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── route53
│ │ │ │ │ └── 2013-04-01
│ │ │ │ │ │ ├── waiters-2.json.php
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── kinesis
│ │ │ │ │ └── 2013-12-02
│ │ │ │ │ │ ├── waiters-2.json.php
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── rekognition
│ │ │ │ │ └── 2016-06-27
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── snowball
│ │ │ │ │ └── 2016-06-30
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── lambda
│ │ │ │ │ └── 2015-03-31
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── route53domains
│ │ │ │ │ └── 2014-05-15
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── cloudsearch
│ │ │ │ │ └── 2013-01-01
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── glacier
│ │ │ │ │ └── 2012-06-01
│ │ │ │ │ │ ├── waiters-1.json.php
│ │ │ │ │ │ ├── paginators-1.json.php
│ │ │ │ │ │ └── waiters-2.json.php
│ │ │ │ ├── elasticloadbalancing
│ │ │ │ │ └── 2012-06-01
│ │ │ │ │ │ ├── paginators-1.json.php
│ │ │ │ │ │ └── waiters-2.json.php
│ │ │ │ ├── elasticloadbalancingv2
│ │ │ │ │ └── 2015-12-01
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── workspaces
│ │ │ │ │ └── 2015-04-08
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── directconnect
│ │ │ │ │ └── 2012-10-25
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── ecr
│ │ │ │ │ └── 2015-09-21
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── dynamodb
│ │ │ │ │ ├── 2012-08-10
│ │ │ │ │ │ ├── waiters-1.json.php
│ │ │ │ │ │ ├── waiters-2.json.php
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ │ └── 2011-12-05
│ │ │ │ │ │ ├── waiters-2.json.php
│ │ │ │ │ │ ├── paginators-1.json.php
│ │ │ │ │ │ └── waiters-1.json.php
│ │ │ │ ├── codedeploy
│ │ │ │ │ └── 2014-10-06
│ │ │ │ │ │ ├── waiters-2.json.php
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── copy-model.sh
│ │ │ │ ├── elasticbeanstalk
│ │ │ │ │ └── 2010-12-01
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── iam
│ │ │ │ │ └── 2010-05-08
│ │ │ │ │ │ └── waiters-2.json.php
│ │ │ │ ├── support
│ │ │ │ │ └── 2013-04-15
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── application-autoscaling
│ │ │ │ │ └── 2016-02-06
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── s3
│ │ │ │ │ └── 2006-03-01
│ │ │ │ │ │ ├── waiters-1.json.php
│ │ │ │ │ │ ├── waiters-2.json.php
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── datapipeline
│ │ │ │ │ └── 2012-10-29
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── cloudformation
│ │ │ │ │ └── 2010-05-15
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── machinelearning
│ │ │ │ │ └── 2014-12-12
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── states
│ │ │ │ │ └── 2016-11-23
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── sms
│ │ │ │ │ └── 2016-10-24
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── sns
│ │ │ │ │ └── 2010-03-31
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── elasticmapreduce
│ │ │ │ │ └── 2009-03-31
│ │ │ │ │ │ ├── paginators-1.json.php
│ │ │ │ │ │ └── waiters-2.json.php
│ │ │ │ ├── kms
│ │ │ │ │ └── 2014-11-01
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── health
│ │ │ │ │ └── 2016-08-04
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── cloudfront
│ │ │ │ │ ├── 2016-09-07
│ │ │ │ │ │ ├── waiters-1.json.php
│ │ │ │ │ │ ├── waiters-2.json.php
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ │ ├── 2016-09-29
│ │ │ │ │ │ ├── waiters-1.json.php
│ │ │ │ │ │ ├── waiters-2.json.php
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ │ ├── 2016-11-25
│ │ │ │ │ │ ├── waiters-1.json.php
│ │ │ │ │ │ ├── waiters-2.json.php
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ │ ├── 2015-07-27
│ │ │ │ │ │ ├── waiters-2.json.php
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ │ ├── 2016-01-28
│ │ │ │ │ │ ├── waiters-2.json.php
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ │ ├── 2016-08-01
│ │ │ │ │ │ ├── waiters-2.json.php
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ │ └── 2016-08-20
│ │ │ │ │ │ ├── waiters-2.json.php
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── redshift
│ │ │ │ │ └── 2012-12-01
│ │ │ │ │ │ └── waiters-1.json.php
│ │ │ │ ├── ecs
│ │ │ │ │ └── 2014-11-13
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── appstream
│ │ │ │ │ └── 2016-12-01
│ │ │ │ │ │ └── waiters-2.json.php
│ │ │ │ ├── ssm
│ │ │ │ │ └── 2014-11-06
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── logs
│ │ │ │ │ └── 2014-03-28
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── opsworks
│ │ │ │ │ └── 2013-02-18
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── storagegateway
│ │ │ │ │ └── 2013-06-30
│ │ │ │ │ │ └── paginators-1.json.php
│ │ │ │ └── swf
│ │ │ │ │ └── 2012-01-25
│ │ │ │ │ └── paginators-1.json.php
│ │ │ │ ├── Ecs
│ │ │ │ └── Exception
│ │ │ │ │ └── EcsException.php
│ │ │ │ ├── Efs
│ │ │ │ └── Exception
│ │ │ │ │ └── EfsException.php
│ │ │ │ ├── Sts
│ │ │ │ └── Exception
│ │ │ │ │ └── StsException.php
│ │ │ │ ├── CloudHsm
│ │ │ │ └── Exception
│ │ │ │ │ └── CloudHsmException.php
│ │ │ │ ├── Ssm
│ │ │ │ └── Exception
│ │ │ │ │ └── SsmException.php
│ │ │ │ ├── Support
│ │ │ │ └── Exception
│ │ │ │ │ └── SupportException.php
│ │ │ │ ├── Lambda
│ │ │ │ └── Exception
│ │ │ │ │ └── LambdaException.php
│ │ │ │ ├── Iot
│ │ │ │ └── Exception
│ │ │ │ │ └── IotException.php
│ │ │ │ ├── Waf
│ │ │ │ └── Exception
│ │ │ │ │ └── WafException.php
│ │ │ │ ├── Kms
│ │ │ │ └── Exception
│ │ │ │ │ └── KmsException.php
│ │ │ │ ├── Ses
│ │ │ │ └── Exception
│ │ │ │ │ └── SesException.php
│ │ │ │ ├── Sqs
│ │ │ │ └── Exception
│ │ │ │ │ └── SqsException.php
│ │ │ │ ├── XRay
│ │ │ │ ├── Exception
│ │ │ │ │ └── XRayException.php
│ │ │ │ └── XRayClient.php
│ │ │ │ ├── Batch
│ │ │ │ └── Exception
│ │ │ │ │ └── BatchException.php
│ │ │ │ ├── Emr
│ │ │ │ └── Exception
│ │ │ │ │ └── EmrException.php
│ │ │ │ ├── Polly
│ │ │ │ └── Exception
│ │ │ │ │ └── PollyException.php
│ │ │ │ ├── Sfn
│ │ │ │ └── Exception
│ │ │ │ │ └── SfnException.php
│ │ │ │ ├── Swf
│ │ │ │ └── Exception
│ │ │ │ │ └── SwfException.php
│ │ │ │ ├── Acm
│ │ │ │ └── Exception
│ │ │ │ │ └── AcmException.php
│ │ │ │ ├── CodeDeploy
│ │ │ │ └── Exception
│ │ │ │ │ └── CodeDeployException.php
│ │ │ │ ├── DeviceFarm
│ │ │ │ └── Exception
│ │ │ │ │ └── DeviceFarmException.php
│ │ │ │ ├── Ec2
│ │ │ │ └── Exception
│ │ │ │ │ └── Ec2Exception.php
│ │ │ │ ├── Glacier
│ │ │ │ └── Exception
│ │ │ │ │ └── GlacierException.php
│ │ │ │ ├── Kinesis
│ │ │ │ └── Exception
│ │ │ │ │ └── KinesisException.php
│ │ │ │ ├── Rds
│ │ │ │ └── Exception
│ │ │ │ │ └── RdsException.php
│ │ │ │ ├── Shield
│ │ │ │ └── Exception
│ │ │ │ │ └── ShieldException.php
│ │ │ │ ├── Sns
│ │ │ │ └── Exception
│ │ │ │ │ └── SnsException.php
│ │ │ │ ├── Budgets
│ │ │ │ └── Exception
│ │ │ │ │ └── BudgetsException.php
│ │ │ │ ├── DirectoryService
│ │ │ │ └── Exception
│ │ │ │ │ └── DirectoryServiceException.php
│ │ │ │ ├── DynamoDb
│ │ │ │ ├── Exception
│ │ │ │ │ └── DynamoDbException.php
│ │ │ │ ├── NumberValue.php
│ │ │ │ ├── BinaryValue.php
│ │ │ │ ├── SetValue.php
│ │ │ │ └── SessionConnectionInterface.php
│ │ │ │ ├── Ecr
│ │ │ │ └── Exception
│ │ │ │ │ └── EcrException.php
│ │ │ │ ├── Iam
│ │ │ │ └── Exception
│ │ │ │ │ └── IamException.php
│ │ │ │ ├── MachineLearning
│ │ │ │ └── Exception
│ │ │ │ │ └── MachineLearningException.php
│ │ │ │ ├── OpsWorks
│ │ │ │ └── Exception
│ │ │ │ │ └── OpsWorksException.php
│ │ │ │ ├── Redshift
│ │ │ │ └── Exception
│ │ │ │ │ └── RedshiftException.php
│ │ │ │ ├── Route53
│ │ │ │ └── Exception
│ │ │ │ │ └── Route53Exception.php
│ │ │ │ ├── Sms
│ │ │ │ └── Exception
│ │ │ │ │ └── SmsException.php
│ │ │ │ ├── CodePipeline
│ │ │ │ └── Exception
│ │ │ │ │ └── CodePipelineException.php
│ │ │ │ ├── GameLift
│ │ │ │ └── Exception
│ │ │ │ │ └── GameLiftException.php
│ │ │ │ ├── Pinpoint
│ │ │ │ └── Exception
│ │ │ │ │ └── PinpointException.php
│ │ │ │ ├── WorkSpaces
│ │ │ │ └── Exception
│ │ │ │ │ └── WorkSpacesException.php
│ │ │ │ ├── Appstream
│ │ │ │ └── Exception
│ │ │ │ │ └── AppstreamException.php
│ │ │ │ ├── CloudFront
│ │ │ │ └── Exception
│ │ │ │ │ └── CloudFrontException.php
│ │ │ │ ├── CloudTrail
│ │ │ │ └── Exception
│ │ │ │ │ └── CloudTrailException.php
│ │ │ │ ├── CloudWatch
│ │ │ │ └── Exception
│ │ │ │ │ └── CloudWatchException.php
│ │ │ │ ├── CodeBuild
│ │ │ │ └── Exception
│ │ │ │ │ └── CodeBuildException.php
│ │ │ │ ├── Inspector
│ │ │ │ └── Exception
│ │ │ │ │ └── InspectorException.php
│ │ │ │ ├── Lightsail
│ │ │ │ └── Exception
│ │ │ │ │ └── LightsailException.php
│ │ │ │ ├── ApiGateway
│ │ │ │ └── Exception
│ │ │ │ │ └── ApiGatewayException.php
│ │ │ │ ├── AutoScaling
│ │ │ │ └── Exception
│ │ │ │ │ └── AutoScalingException.php
│ │ │ │ ├── CloudSearch
│ │ │ │ └── Exception
│ │ │ │ │ └── CloudSearchException.php
│ │ │ │ ├── CodeCommit
│ │ │ │ └── Exception
│ │ │ │ │ └── CodeCommitException.php
│ │ │ │ ├── ConfigService
│ │ │ │ └── Exception
│ │ │ │ │ └── ConfigServiceException.php
│ │ │ │ ├── ElastiCache
│ │ │ │ └── Exception
│ │ │ │ │ └── ElastiCacheException.php
│ │ │ │ ├── Firehose
│ │ │ │ ├── Exception
│ │ │ │ │ └── FirehoseException.php
│ │ │ │ └── FirehoseClient.php
│ │ │ │ ├── Health
│ │ │ │ ├── Exception
│ │ │ │ │ └── HealthException.php
│ │ │ │ └── HealthClient.php
│ │ │ │ ├── CognitoSync
│ │ │ │ └── Exception
│ │ │ │ │ └── CognitoSyncException.php
│ │ │ │ ├── DataPipeline
│ │ │ │ └── Exception
│ │ │ │ │ └── DataPipelineException.php
│ │ │ │ ├── Rekognition
│ │ │ │ └── Exception
│ │ │ │ │ └── RekognitionException.php
│ │ │ │ ├── SnowBall
│ │ │ │ └── Exception
│ │ │ │ │ └── SnowBallException.php
│ │ │ │ ├── WafRegional
│ │ │ │ └── Exception
│ │ │ │ │ └── WafRegionalException.php
│ │ │ │ ├── DirectConnect
│ │ │ │ └── Exception
│ │ │ │ │ └── DirectConnectException.php
│ │ │ │ ├── ImportExport
│ │ │ │ ├── Exception
│ │ │ │ │ └── ImportExportException.php
│ │ │ │ └── ImportExportClient.php
│ │ │ │ ├── IotDataPlane
│ │ │ │ ├── Exception
│ │ │ │ │ └── IotDataPlaneException.php
│ │ │ │ └── IotDataPlaneClient.php
│ │ │ │ ├── CloudFormation
│ │ │ │ └── Exception
│ │ │ │ │ └── CloudFormationException.php
│ │ │ │ ├── OpsWorksCM
│ │ │ │ └── Exception
│ │ │ │ │ └── OpsWorksCMException.php
│ │ │ │ ├── StorageGateway
│ │ │ │ └── Exception
│ │ │ │ │ └── StorageGatewayException.php
│ │ │ │ ├── CloudWatchLogs
│ │ │ │ └── Exception
│ │ │ │ │ └── CloudWatchLogsException.php
│ │ │ │ ├── Route53Domains
│ │ │ │ └── Exception
│ │ │ │ │ └── Route53DomainsException.php
│ │ │ │ ├── ServiceCatalog
│ │ │ │ └── Exception
│ │ │ │ │ └── ServiceCatalogException.php
│ │ │ │ ├── CloudSearchDomain
│ │ │ │ └── Exception
│ │ │ │ │ └── CloudSearchDomainException.php
│ │ │ │ ├── DynamoDbStreams
│ │ │ │ ├── Exception
│ │ │ │ │ └── DynamoDbStreamsException.php
│ │ │ │ └── DynamoDbStreamsClient.php
│ │ │ │ ├── ElasticBeanstalk
│ │ │ │ └── Exception
│ │ │ │ │ └── ElasticBeanstalkException.php
│ │ │ │ ├── CloudWatchEvents
│ │ │ │ └── Exception
│ │ │ │ │ └── CloudWatchEventsException.php
│ │ │ │ ├── CognitoIdentity
│ │ │ │ └── Exception
│ │ │ │ │ └── CognitoIdentityException.php
│ │ │ │ ├── KinesisAnalytics
│ │ │ │ └── Exception
│ │ │ │ │ └── KinesisAnalyticsException.php
│ │ │ │ ├── ElasticTranscoder
│ │ │ │ └── Exception
│ │ │ │ │ └── ElasticTranscoderException.php
│ │ │ │ ├── ElasticLoadBalancing
│ │ │ │ └── Exception
│ │ │ │ │ └── ElasticLoadBalancingException.php
│ │ │ │ ├── MarketplaceMetering
│ │ │ │ ├── Exception
│ │ │ │ │ └── MarketplaceMeteringException.php
│ │ │ │ └── MarketplaceMeteringClient.php
│ │ │ │ ├── ElasticsearchService
│ │ │ │ └── Exception
│ │ │ │ │ └── ElasticsearchServiceException.php
│ │ │ │ ├── ApplicationAutoScaling
│ │ │ │ └── Exception
│ │ │ │ │ └── ApplicationAutoScalingException.php
│ │ │ │ ├── ElasticLoadBalancingV2
│ │ │ │ └── Exception
│ │ │ │ │ └── ElasticLoadBalancingV2Exception.php
│ │ │ │ ├── CognitoIdentityProvider
│ │ │ │ └── Exception
│ │ │ │ │ └── CognitoIdentityProviderException.php
│ │ │ │ ├── DatabaseMigrationService
│ │ │ │ └── Exception
│ │ │ │ │ └── DatabaseMigrationServiceException.php
│ │ │ │ ├── CostandUsageReportService
│ │ │ │ ├── Exception
│ │ │ │ │ └── CostandUsageReportServiceException.php
│ │ │ │ └── CostandUsageReportServiceClient.php
│ │ │ │ ├── ApplicationDiscoveryService
│ │ │ │ └── Exception
│ │ │ │ │ └── ApplicationDiscoveryServiceException.php
│ │ │ │ ├── MarketplaceCommerceAnalytics
│ │ │ │ ├── Exception
│ │ │ │ │ └── MarketplaceCommerceAnalyticsException.php
│ │ │ │ └── MarketplaceCommerceAnalyticsClient.php
│ │ │ │ ├── JsonCompiler.php
│ │ │ │ ├── HashInterface.php
│ │ │ │ ├── Handler
│ │ │ │ └── GuzzleV5
│ │ │ │ │ ├── GuzzleStream.php
│ │ │ │ │ └── PsrStream.php
│ │ │ │ ├── Signature
│ │ │ │ └── AnonymousSignature.php
│ │ │ │ ├── CacheInterface.php
│ │ │ │ ├── PsrCacheAdapter.php
│ │ │ │ ├── CommandInterface.php
│ │ │ │ └── DoctrineCacheAdapter.php
│ │ ├── autoload.php
│ │ ├── composer
│ │ │ ├── autoload_classmap.php
│ │ │ ├── autoload_namespaces.php
│ │ │ ├── autoload_psr4.php
│ │ │ ├── autoload_files.php
│ │ │ └── LICENSE
│ │ └── psr
│ │ │ └── http-message
│ │ │ ├── README.md
│ │ │ ├── composer.json
│ │ │ ├── LICENSE
│ │ │ └── CHANGELOG.md
│ ├── composer.json
│ └── public
│ │ ├── logout.php
│ │ └── signin.css
└── Dockerfile
├── .gitignore
└── lab-batch
├── app
├── frontend
│ └── assets
│ │ ├── logo.png
│ │ └── sticky-footer-navbar.css
└── .air.conf
├── Dockerfile
└── terraform
└── user_data.tpl
/lab-dataimport/terraform/private-data/dummy.txt:
--------------------------------------------------------------------------------
1 | SUPERSECRET
2 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/bin/jp.php:
--------------------------------------------------------------------------------
1 | ../mtdowling/jmespath.php/bin/jp.php
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | **.terraform*
3 | **tfstate
4 | **.tfout
5 | **tfstate.backup
6 | **go.sum
7 | **go.mod
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/mtdowling/jmespath.php/.gitignore:
--------------------------------------------------------------------------------
1 | vendor
2 | composer.lock
3 | phpunit.xml
4 | compiled
5 | artifacts/
6 |
--------------------------------------------------------------------------------
/lab-batch/app/frontend/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/doyensec/cloudsec-tidbits/HEAD/lab-batch/app/frontend/assets/logo.png
--------------------------------------------------------------------------------
/lab-dataimport/app/data-storage/kitty.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/doyensec/cloudsec-tidbits/HEAD/lab-dataimport/app/data-storage/kitty.jpg
--------------------------------------------------------------------------------
/lab-dataimport/app/data-storage/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/doyensec/cloudsec-tidbits/HEAD/lab-dataimport/app/data-storage/logo.png
--------------------------------------------------------------------------------
/lab-dataimport/app/data-storage/doggy.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/doyensec/cloudsec-tidbits/HEAD/lab-dataimport/app/data-storage/doggy.jpeg
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/guzzle/src/Exception/GuzzleException.php:
--------------------------------------------------------------------------------
1 | [],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM php:7.1-apache
2 |
3 | RUN sed -i 's!/var/www/html!/var/www/public!g' /etc/apache2/sites-available/000-default.conf
4 |
5 | COPY app/ /var/www/
6 |
7 | WORKDIR /var/www
8 |
9 | EXPOSE 80
10 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/autoload.php:
--------------------------------------------------------------------------------
1 | .container {
6 | padding: 60px 15px 0;
7 | }
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/guzzle/src/Exception/ClientException.php:
--------------------------------------------------------------------------------
1 | .container {
6 | padding: 60px 15px 0;
7 | }
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Ecs/Exception/EcsException.php:
--------------------------------------------------------------------------------
1 | initialize();
8 |
9 | $wrapper->logout();
10 |
11 | header('Location: /');
12 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/sqs/2012-11-05/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ 'ListQueues' => [ 'result_key' => 'QueueUrls', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Sts/Exception/StsException.php:
--------------------------------------------------------------------------------
1 | [ 'DescribeReportDefinitions' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/DirectConnect/Exception/DirectConnectException.php:
--------------------------------------------------------------------------------
1 | [ 'ListCertificates' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxItems', 'output_token' => 'NextToken', 'result_key' => 'CertificateSummaryList', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/MarketplaceMetering/Exception/MarketplaceMeteringException.php:
--------------------------------------------------------------------------------
1 | [ 'GetResourceConfigHistory' => [ 'input_token' => 'nextToken', 'limit_key' => 'limit', 'output_token' => 'nextToken', 'result_key' => 'configurationItems', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/promises/src/PromisorInterface.php:
--------------------------------------------------------------------------------
1 | [ 'ListJobs' => [ 'input_token' => 'Marker', 'output_token' => 'Jobs[-1].JobId', 'more_results' => 'IsTruncated', 'limit_key' => 'MaxJobs', 'result_key' => 'Jobs', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/CognitoIdentityProvider/Exception/CognitoIdentityProviderException.php:
--------------------------------------------------------------------------------
1 | [ 'DescribeTrails' => [ 'result_key' => 'trailList', ], 'LookupEvents' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', 'result_key' => 'Events', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/email/2010-12-01/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ 'ListIdentities' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxItems', 'result_key' => 'Identities', ], 'ListVerifiedEmailAddresses' => [ 'result_key' => 'VerifiedEmailAddresses', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/codecommit/2015-04-13/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ 'ListBranches' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'result_key' => 'branches', ], 'ListRepositories' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'result_key' => 'repositories', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/elastictranscoder/2012-09-25/waiters-1.json.php:
--------------------------------------------------------------------------------
1 | [ 'JobComplete' => [ 'operation' => 'ReadJob', 'success_type' => 'output', 'success_path' => 'Job.Status', 'interval' => 30, 'max_attempts' => 120, 'success_value' => 'Complete', 'failure_value' => [ 'Canceled', 'Error', ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/monitoring/2010-08-01/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 2, 'waiters' => [ 'AlarmExists' => [ 'delay' => 5, 'maxAttempts' => 40, 'operation' => 'DescribeAlarms', 'acceptors' => [ [ 'matcher' => 'path', 'expected' => true, 'argument' => 'length(MetricAlarms[]) > `0`', 'state' => 'success', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/route53/2013-04-01/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 2, 'waiters' => [ 'ResourceRecordSetsChanged' => [ 'delay' => 30, 'maxAttempts' => 60, 'operation' => 'GetChange', 'acceptors' => [ [ 'matcher' => 'path', 'expected' => 'INSYNC', 'argument' => 'ChangeInfo.Status', 'state' => 'success', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/psr/http-message/README.md:
--------------------------------------------------------------------------------
1 | PSR Http Message
2 | ================
3 |
4 | This repository holds all interfaces/classes/traits related to
5 | [PSR-7](http://www.php-fig.org/psr/psr-7/).
6 |
7 | Note that this is not a HTTP message implementation of its own. It is merely an
8 | interface that describes a HTTP message. See the specification for more details.
9 |
10 | Usage
11 | -----
12 |
13 | We'll certainly need some stuff in here.
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/kinesis/2013-12-02/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 2, 'waiters' => [ 'StreamExists' => [ 'delay' => 10, 'operation' => 'DescribeStream', 'maxAttempts' => 18, 'acceptors' => [ [ 'expected' => 'ACTIVE', 'matcher' => 'path', 'state' => 'success', 'argument' => 'StreamDescription.StreamStatus', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/sqs/2012-11-05/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 2, 'waiters' => [ 'QueueExists' => [ 'acceptors' => [ [ 'expected' => 200, 'matcher' => 'status', 'state' => 'success', ], [ 'expected' => 'QueueDoesNotExist', 'matcher' => 'error', 'state' => 'retry', ], ], 'delay' => 5, 'maxAttempts' => 40, 'operation' => 'GetQueueUrl', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-dataimport/terraform/private-data/keys.txt:
--------------------------------------------------------------------------------
1 | -----BEGIN DUMMY OPENSSH PRIVATE KEY-----
2 | b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
3 | QyNTUxOQAAACC3fwMvxpNxRNN6kKMPf4lyeSXEw11DTmYG8k818Je+oAAAAJj1pkLf9aZC
4 | 3wAAAAtzc2gtZWQyNTUxOQAAACC3fwMvxpNxRNN6kKMPf4lyeSXEw11DTmYG8k818Je+oA
5 | AAAED3MGV/WuhZMLPEI4CRUBMq3UF2fcWpv+E+GqTwxMTJTbd/Ay/Gk3FE03qQow9/iXJ5
6 | JcTDXUNOZgbyTzXwl76gAAAAEG1vaGFtZWRAbm90ZWJvb2sBAgMEBQ==
7 | -----END DUMMY OPENSSH PRIVATE KEY-----
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/email/2010-12-01/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 2, 'waiters' => [ 'IdentityExists' => [ 'delay' => 3, 'operation' => 'GetIdentityVerificationAttributes', 'maxAttempts' => 20, 'acceptors' => [ [ 'expected' => 'Success', 'matcher' => 'pathAll', 'state' => 'success', 'argument' => 'VerificationAttributes.*.VerificationStatus', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-dataimport/Dockerfile:
--------------------------------------------------------------------------------
1 | # golang:1.17-alpine base image
2 | FROM golang:1.17-alpine
3 |
4 | WORKDIR /app
5 |
6 | COPY app/web.go /app
7 | COPY app/frontend /app/frontend
8 | COPY app/data-storage /app/data-storage
9 |
10 | RUN go mod init challenge
11 |
12 | # tidy
13 | RUN go mod tidy
14 |
15 | # compile application
16 | RUN go build -o /app/data-import-app
17 |
18 | # god mode
19 | RUN chmod 777 /app/data-import-app
20 |
21 | EXPOSE 80
22 |
23 | CMD [ "/app/data-import-app" ]
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/mtdowling/jmespath.php/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 | tests
8 |
9 |
10 |
11 |
12 |
13 | src
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/rekognition/2016-06-27/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ 'ListCollections' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'CollectionIds', ], 'ListFaces' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Faces', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/snowball/2016-06-30/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/lambda/2015-03-31/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/mtdowling/jmespath.php/src/JmesPath.php:
--------------------------------------------------------------------------------
1 | '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/cloudsearch/2013-01-01/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ 'DescribeAnalysisSchemes' => [ 'result_key' => 'AnalysisSchemes', ], 'DescribeDomains' => [ 'result_key' => 'DomainStatusList', ], 'DescribeExpressions' => [ 'result_key' => 'Expressions', ], 'DescribeIndexFields' => [ 'result_key' => 'IndexFields', ], 'DescribeSuggesters' => [ 'result_key' => 'Suggesters', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/psr7/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 | tests
7 |
8 |
9 |
10 |
11 | src
12 |
13 | src/
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/glacier/2012-06-01/waiters-1.json.php:
--------------------------------------------------------------------------------
1 | [ '__default__' => [ 'interval' => 3, 'max_attempts' => 15, ], '__VaultState' => [ 'operation' => 'DescribeVault', ], 'VaultExists' => [ 'extends' => '__VaultState', 'ignore_errors' => [ 'ResourceNotFoundException', ], 'success_type' => 'output', ], 'VaultNotExists' => [ 'extends' => '__VaultState', 'success_type' => 'error', 'success_value' => 'ResourceNotFoundException', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/psr7/src/NoSeekStream.php:
--------------------------------------------------------------------------------
1 | [ 'DescribeInstanceHealth' => [ 'result_key' => 'InstanceStates', ], 'DescribeLoadBalancerPolicies' => [ 'result_key' => 'PolicyDescriptions', ], 'DescribeLoadBalancerPolicyTypes' => [ 'result_key' => 'PolicyTypeDescriptions', ], 'DescribeLoadBalancers' => [ 'input_token' => 'Marker', 'output_token' => 'NextMarker', 'result_key' => 'LoadBalancerDescriptions', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/elasticloadbalancingv2/2015-12-01/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/workspaces/2015-04-08/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/directconnect/2012-10-25/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ 'DescribeConnections' => [ 'result_key' => 'connections', ], 'DescribeConnectionsOnInterconnect' => [ 'result_key' => 'connections', ], 'DescribeInterconnects' => [ 'result_key' => 'interconnects', ], 'DescribeLocations' => [ 'result_key' => 'locations', ], 'DescribeVirtualGateways' => [ 'result_key' => 'virtualGateways', ], 'DescribeVirtualInterfaces' => [ 'result_key' => 'virtualInterfaces', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/mtdowling/jmespath.php/tests/compliance/perf/wildcardindex.json:
--------------------------------------------------------------------------------
1 | [{
2 | "description": "Multiple wildcards",
3 | "given":
4 | {"foo": [{"bar": "one"}, {"bar": "two"}, {"bar": "three"}, {"notbar": "four"}]},
5 | "cases": [
6 | {
7 | "name": "wildcard_with_field_match",
8 | "expression": "foo[*].bar",
9 | "result": ["one", "two", "three"]
10 | },
11 | {
12 | "name": "wildcard_with_field_match2",
13 | "expression": "foo[*].notbar",
14 | "result": ["four"]
15 | }
16 | ]
17 | }]
18 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/JsonCompiler.php:
--------------------------------------------------------------------------------
1 | [ 'ListImages' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'imageIds', ], 'DescribeImages' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'imageDetails', ], 'DescribeRepositories' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'repositories', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/promises/src/TaskQueueInterface.php:
--------------------------------------------------------------------------------
1 | 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', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/dynamodb/2012-08-10/waiters-1.json.php:
--------------------------------------------------------------------------------
1 | [ '__default__' => [ 'interval' => 20, 'max_attempts' => 25, ], '__TableState' => [ 'operation' => 'DescribeTable', ], 'TableExists' => [ 'extends' => '__TableState', 'ignore_errors' => [ 'ResourceNotFoundException', ], 'success_type' => 'output', 'success_path' => 'Table.TableStatus', 'success_value' => 'ACTIVE', ], 'TableNotExists' => [ 'extends' => '__TableState', 'success_type' => 'error', 'success_value' => 'ResourceNotFoundException', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/kinesis/2013-12-02/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/MarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.php:
--------------------------------------------------------------------------------
1 | 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', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/public/signin.css:
--------------------------------------------------------------------------------
1 | html,
2 | body {
3 | height: 100%;
4 | }
5 |
6 | body {
7 | display: flex;
8 | align-items: center;
9 | padding-top: 40px;
10 | padding-bottom: 40px;
11 | background-color: #f5f5f5;
12 | }
13 |
14 | .form-signin {
15 | max-width: 330px;
16 | padding: 15px;
17 | }
18 |
19 | .form-signin .form-floating:focus-within {
20 | z-index: 2;
21 | }
22 |
23 | .form-signin input[type="email"] {
24 | margin-bottom: -1px;
25 | border-bottom-right-radius: 0;
26 | border-bottom-left-radius: 0;
27 | }
28 |
29 | .form-signin input[type="password"] {
30 | margin-bottom: 10px;
31 | border-top-left-radius: 0;
32 | border-top-right-radius: 0;
33 | }
34 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/elastictranscoder/2012-09-25/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/monitoring/2010-08-01/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/HashInterface.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/DynamoDb/NumberValue.php:
--------------------------------------------------------------------------------
1 | value = (string) $value;
18 | }
19 |
20 | public function jsonSerialize()
21 | {
22 | return $this->value;
23 | }
24 |
25 | public function __toString()
26 | {
27 | return $this->value;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Handler/GuzzleV5/GuzzleStream.php:
--------------------------------------------------------------------------------
1 | stream = $stream;
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/iam/2010-05-08/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 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', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/support/2013-04-15/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/application-autoscaling/2016-02-06/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/s3/2006-03-01/waiters-1.json.php:
--------------------------------------------------------------------------------
1 | [ '__default__' => [ 'interval' => 5, 'max_attempts' => 20, ], 'BucketExists' => [ 'operation' => 'HeadBucket', 'ignore_errors' => [ 'NoSuchBucket', ], 'success_type' => 'output', ], 'BucketNotExists' => [ 'operation' => 'HeadBucket', 'success_type' => 'error', 'success_value' => 'NoSuchBucket', ], 'ObjectExists' => [ 'operation' => 'HeadObject', 'ignore_errors' => [ 'NoSuchKey', ], 'success_type' => 'output', ], 'ObjectNotExists' => [ 'operation' => 'HeadObject', 'success_type' => 'error', 'success_value' => 'NoSuchKey', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/composer/autoload_psr4.php:
--------------------------------------------------------------------------------
1 | array($vendorDir . '/psr/http-message/src'),
10 | 'JmesPath\\' => array($vendorDir . '/mtdowling/jmespath.php/src'),
11 | 'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'),
12 | 'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'),
13 | 'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'),
14 | 'Aws\\' => array($vendorDir . '/aws/aws-sdk-php/src'),
15 | 'AWSCognitoApp\\' => array($baseDir . '/src'),
16 | );
17 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/dynamodb/2011-12-05/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 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', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/dynamodb/2012-08-10/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 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', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/glacier/2012-06-01/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ 'ListJobs' => [ 'input_token' => 'marker', 'limit_key' => 'limit', 'output_token' => 'Marker', 'result_key' => 'JobList', ], 'ListMultipartUploads' => [ 'input_token' => 'marker', 'limit_key' => 'limit', 'output_token' => 'Marker', 'result_key' => 'UploadsList', ], 'ListParts' => [ 'input_token' => 'marker', 'limit_key' => 'limit', 'output_token' => 'Marker', 'result_key' => 'Parts', ], 'ListVaults' => [ 'input_token' => 'marker', 'limit_key' => 'limit', 'output_token' => 'Marker', 'result_key' => 'VaultList', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Signature/AnonymousSignature.php:
--------------------------------------------------------------------------------
1 | $vendorDir . '/guzzlehttp/psr7/src/functions_include.php',
10 | 'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php',
11 | 'b067bc7112e384b61c701452d53a14a8' => $vendorDir . '/mtdowling/jmespath.php/src/JmesPath.php',
12 | '37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php',
13 | '8a9dc1de0ca7e01f3e08231539562f61' => $vendorDir . '/aws/aws-sdk-php/src/functions.php',
14 | );
15 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/datapipeline/2012-10-29/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/dynamodb/2011-12-05/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ 'BatchGetItem' => [ 'input_token' => 'RequestItems', 'output_token' => 'UnprocessedKeys', ], 'ListTables' => [ 'input_token' => 'ExclusiveStartTableName', 'limit_key' => 'Limit', 'output_token' => 'LastEvaluatedTableName', 'result_key' => 'TableNames', ], 'Query' => [ 'input_token' => 'ExclusiveStartKey', 'limit_key' => 'Limit', 'output_token' => 'LastEvaluatedKey', 'result_key' => 'Items', ], 'Scan' => [ 'input_token' => 'ExclusiveStartKey', 'limit_key' => 'Limit', 'output_token' => 'LastEvaluatedKey', 'result_key' => 'Items', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/dynamodb/2012-08-10/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ 'BatchGetItem' => [ 'input_token' => 'RequestItems', 'output_token' => 'UnprocessedKeys', ], 'ListTables' => [ 'input_token' => 'ExclusiveStartTableName', 'limit_key' => 'Limit', 'output_token' => 'LastEvaluatedTableName', 'result_key' => 'TableNames', ], 'Query' => [ 'input_token' => 'ExclusiveStartKey', 'limit_key' => 'Limit', 'output_token' => 'LastEvaluatedKey', 'result_key' => 'Items', ], 'Scan' => [ 'input_token' => 'ExclusiveStartKey', 'limit_key' => 'Limit', 'output_token' => 'LastEvaluatedKey', 'result_key' => 'Items', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/glacier/2012-06-01/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 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', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/psr7/Makefile:
--------------------------------------------------------------------------------
1 | all: clean test
2 |
3 | test:
4 | vendor/bin/phpunit $(TEST)
5 |
6 | coverage:
7 | vendor/bin/phpunit --coverage-html=artifacts/coverage $(TEST)
8 |
9 | view-coverage:
10 | open artifacts/coverage/index.html
11 |
12 | check-tag:
13 | $(if $(TAG),,$(error TAG is not defined. Pass via "make tag TAG=4.2.1"))
14 |
15 | tag: check-tag
16 | @echo Tagging $(TAG)
17 | chag update $(TAG)
18 | git commit -a -m '$(TAG) release'
19 | chag tag
20 | @echo "Release has been created. Push using 'make release'"
21 | @echo "Changes made in the release commit"
22 | git diff HEAD~1 HEAD
23 |
24 | release: check-tag
25 | git push origin master
26 | git push origin $(TAG)
27 |
28 | clean:
29 | rm -rf artifacts/*
30 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/dynamodb/2011-12-05/waiters-1.json.php:
--------------------------------------------------------------------------------
1 | [ '__default__' => [ 'interval' => 20, 'max_attempts' => 25, ], '__TableState' => [ 'operation' => 'DescribeTable', ], 'TableExists' => [ 'extends' => '__TableState', 'description' => 'Wait until a table exists and can be accessed', 'ignore_errors' => [ 'ResourceNotFoundException', ], 'success_type' => 'output', 'success_path' => 'Table.TableStatus', 'success_value' => 'ACTIVE', ], 'TableNotExists' => [ 'extends' => '__TableState', 'description' => 'Wait until a table is deleted', 'success_type' => 'error', 'success_value' => 'ResourceNotFoundException', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/cloudformation/2010-05-15/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/mtdowling/jmespath.php/tests/compliance/current.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "given": {
4 | "foo": [{"name": "a"}, {"name": "b"}],
5 | "bar": {"baz": "qux"}
6 | },
7 | "cases": [
8 | {
9 | "expression": "@",
10 | "result": {
11 | "foo": [{"name": "a"}, {"name": "b"}],
12 | "bar": {"baz": "qux"}
13 | }
14 | },
15 | {
16 | "expression": "@.bar",
17 | "result": {"baz": "qux"}
18 | },
19 | {
20 | "expression": "@.foo[0]",
21 | "result": {"name": "a"}
22 | }
23 | ]
24 | }
25 | ]
26 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/guzzle/src/Exception/SeekException.php:
--------------------------------------------------------------------------------
1 | stream = $stream;
16 | $msg = $msg ?: 'Could not seek the stream to position ' . $pos;
17 | parent::__construct($msg);
18 | }
19 |
20 | /**
21 | * @return StreamInterface
22 | */
23 | public function getStream()
24 | {
25 | return $this->stream;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/psr/http-message/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "psr/http-message",
3 | "description": "Common interface for HTTP messages",
4 | "keywords": ["psr", "psr-7", "http", "http-message", "request", "response"],
5 | "homepage": "https://github.com/php-fig/http-message",
6 | "license": "MIT",
7 | "authors": [
8 | {
9 | "name": "PHP-FIG",
10 | "homepage": "http://www.php-fig.org/"
11 | }
12 | ],
13 | "require": {
14 | "php": ">=5.3.0"
15 | },
16 | "autoload": {
17 | "psr-4": {
18 | "Psr\\Http\\Message\\": "src/"
19 | }
20 | },
21 | "extra": {
22 | "branch-alias": {
23 | "dev-master": "1.0.x-dev"
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/mtdowling/jmespath.php/tests/compliance/perf/multiwildcard.json:
--------------------------------------------------------------------------------
1 | [{
2 | "description": "Multiple wildcards in an expression",
3 | "given": {
4 | "foo": [
5 | {"bar": [{"kind": "basic"}, {"kind": "intermediate"}]},
6 | {"bar": [{"kind": "advanced"}, {"kind": "expert"}]}
7 | ]
8 |
9 | },
10 | "cases": [
11 | {
12 | "name": "multi_wildcard_field",
13 | "expression": "foo[*].bar[*].kind",
14 | "result": [["basic", "intermediate"], ["advanced", "expert"]]
15 | },
16 | {
17 | "name": "wildcard_with_index",
18 | "expression": "foo[*].bar[0].kind",
19 | "result": ["basic", "advanced"]
20 | }
21 | ]
22 | }]
23 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/machinelearning/2014-12-12/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/states/2016-11-23/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ 'GetExecutionHistory' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'events', ], 'ListActivities' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'activities', ], 'ListExecutions' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'executions', ], 'ListStateMachines' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'stateMachines', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-dataimport/terraform/vpc.tf:
--------------------------------------------------------------------------------
1 | resource "aws_vpc" "public_vpc" {
2 | cidr_block = "10.0.0.0/16"
3 | enable_dns_hostnames = true
4 | tags = {
5 | Name = "public_vpc"
6 | }
7 | }
8 |
9 | resource "aws_internet_gateway" "public_vpc_igw" {
10 | vpc_id = aws_vpc.public_vpc.id
11 | tags = {
12 | Name = "public_vpc_igw"
13 | }
14 | }
15 |
16 | resource "aws_route" "public_vpc_route" {
17 | route_table_id = aws_vpc.public_vpc.main_route_table_id
18 | gateway_id = aws_internet_gateway.public_vpc_igw.id
19 | destination_cidr_block = "0.0.0.0/0"
20 | }
21 |
22 | resource "aws_subnet" "public_vpc_subnet" {
23 | vpc_id = aws_vpc.public_vpc.id
24 | cidr_block = "10.0.0.0/20"
25 | tags = {
26 | Name = "public_vpc_subnet"
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/sms/2016-10-24/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ 'GetReplicationJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'replicationJobList', ], 'GetReplicationRuns' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'replicationRunList', ], 'GetConnectors' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'connectorList', ], 'GetServers' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'serverList', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/mtdowling/jmespath.php/tests/TreeCompilerTest.php:
--------------------------------------------------------------------------------
1 | visit(
15 | ['type' => 'field', 'value' => 'foo'],
16 | 'testing',
17 | 'foo'
18 | );
19 | $this->assertContains('assertContains('$value = isset($value->{\'foo\'}) ? $value->{\'foo\'} : null;', $source);
21 | $this->assertContains('$value = isset($value[\'foo\']) ? $value[\'foo\'] : null;', $source);
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/CostandUsageReportService/CostandUsageReportServiceClient.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/elasticmapreduce/2009-03-31/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/rds/2014-10-31/waiters-1.json.php:
--------------------------------------------------------------------------------
1 | [ '__default__' => [ 'interval' => 30, 'max_attempts' => 60, ], '__DBInstanceState' => [ 'operation' => 'DescribeDBInstances', 'acceptor_path' => 'DBInstances[].DBInstanceStatus', 'acceptor_type' => 'output', ], 'DBInstanceAvailable' => [ 'extends' => '__DBInstanceState', 'success_value' => 'available', 'failure_value' => [ 'deleted', 'deleting', 'failed', 'incompatible-restore', 'incompatible-parameters', 'incompatible-parameters', 'incompatible-restore', ], ], 'DBInstanceDeleted' => [ 'extends' => '__DBInstanceState', 'success_value' => 'deleted', 'failure_value' => [ 'creating', 'modifying', 'rebooting', 'resetting-master-credentials', ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/kms/2014-11-01/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/route53/2013-04-01/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ 'ListHealthChecks' => [ 'input_token' => 'Marker', 'limit_key' => 'MaxItems', 'more_results' => 'IsTruncated', 'output_token' => 'NextMarker', 'result_key' => 'HealthChecks', ], 'ListHostedZones' => [ 'input_token' => 'Marker', 'limit_key' => 'MaxItems', 'more_results' => 'IsTruncated', 'output_token' => 'NextMarker', 'result_key' => 'HostedZones', ], 'ListResourceRecordSets' => [ 'input_token' => [ 'StartRecordName', 'StartRecordType', 'StartRecordIdentifier', ], 'limit_key' => 'MaxItems', 'more_results' => 'IsTruncated', 'output_token' => [ 'NextRecordName', 'NextRecordType', 'NextRecordIdentifier', ], 'result_key' => 'ResourceRecordSets', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/IotDataPlane/IotDataPlaneClient.php:
--------------------------------------------------------------------------------
1 | =5.4.0"
17 | },
18 |
19 | "require-dev": {
20 | "phpunit/phpunit": "~4.0"
21 | },
22 |
23 | "autoload": {
24 | "psr-4": {
25 | "JmesPath\\": "src/"
26 | },
27 | "files": ["src/JmesPath.php"]
28 | },
29 |
30 | "bin": ["bin/jp.php"],
31 |
32 | "extra": {
33 | "branch-alias": {
34 | "dev-master": "2.0-dev"
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/mtdowling/jmespath.php/tests/compliance/perf/deep_projection.json:
--------------------------------------------------------------------------------
1 | [{
2 | "description": "Deep projections",
3 | "given":
4 | {"a": []},
5 | "cases": [
6 | {
7 | "name": "deep_projection_104",
8 | "expression": "a[*].b[*].c[*].d[*].e[*].f[*].g[*].h[*].i[*].j[*].k[*].l[*].m[*].n[*].o[*].p[*].q[*].r[*].s[*].t[*].u[*].v[*].w[*].x[*].y[*].z[*].a[*].b[*].c[*].d[*].e[*].f[*].g[*].h[*].i[*].j[*].k[*].l[*].m[*].n[*].o[*].p[*].q[*].r[*].s[*].t[*].u[*].v[*].w[*].x[*].y[*].z[*].a[*].b[*].c[*].d[*].e[*].f[*].g[*].h[*].i[*].j[*].k[*].l[*].m[*].n[*].o[*].p[*].q[*].r[*].s[*].t[*].u[*].v[*].w[*].x[*].y[*].z[*].a[*].b[*].c[*].d[*].e[*].f[*].g[*].h[*].i[*].j[*].k[*].l[*].m[*].n[*].o[*].p[*].q[*].r[*].s[*].t[*].u[*].v[*].w[*].x[*].y[*].z[*]",
9 | "result": []
10 | }
11 | ]
12 | }]
13 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Api/ErrorParser/JsonParserTrait.php:
--------------------------------------------------------------------------------
1 | getStatusCode();
17 |
18 | return [
19 | 'request_id' => (string) $response->getHeaderLine('x-amzn-requestid'),
20 | 'code' => null,
21 | 'message' => null,
22 | 'type' => $code[0] == '4' ? 'client' : 'server',
23 | 'parsed' => $this->parseJson($response->getBody())
24 | ];
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/health/2016-08-04/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ 'DescribeAffectedEntities' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'entities', ], 'DescribeEntityAggregates' => [ 'result_key' => 'entityAggregates', ], 'DescribeEventAggregates' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'eventAggregates', ], 'DescribeEvents' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'events', ], 'DescribeEventTypes' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'eventTypes', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/mtdowling/jmespath.php/tests/compliance/perf/basic.json:
--------------------------------------------------------------------------------
1 | [{
2 | "description": "Basic minimal case",
3 | "given":
4 | {"foo": {"bar": {"baz": "correct"}}},
5 | "cases": [
6 | {
7 | "name": "single_expression",
8 | "expression": "foo",
9 | "result": {"bar": {"baz": "correct"}}
10 | },
11 | {
12 | "name": "single_dot_expression",
13 | "expression": "foo.bar",
14 | "result": {"baz": "correct"}
15 | },
16 | {
17 | "name": "double_dot_expression",
18 | "expression": "foo.bar.baz",
19 | "result": "correct"
20 | },
21 | {
22 | "name": "dot_no_match",
23 | "expression": "foo.bar.baz.bad",
24 | "result": null
25 | }
26 | ]
27 | }]
28 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php:
--------------------------------------------------------------------------------
1 | [ '__default__' => [ 'success_type' => 'output', 'success_path' => 'Status', ], 'StreamingDistributionDeployed' => [ 'operation' => 'GetStreamingDistribution', 'description' => 'Wait until a streaming distribution is deployed.', 'interval' => 60, 'max_attempts' => 25, 'success_value' => 'Deployed', ], 'DistributionDeployed' => [ 'operation' => 'GetDistribution', 'description' => 'Wait until a distribution is deployed.', 'interval' => 60, 'max_attempts' => 25, 'success_value' => 'Deployed', ], 'InvalidationCompleted' => [ 'operation' => 'GetInvalidation', 'description' => 'Wait until an invalidation has completed.', 'interval' => 20, 'max_attempts' => 30, 'success_value' => 'Completed', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/cloudfront/2016-09-29/waiters-1.json.php:
--------------------------------------------------------------------------------
1 | [ '__default__' => [ 'success_type' => 'output', 'success_path' => 'Status', ], 'StreamingDistributionDeployed' => [ 'operation' => 'GetStreamingDistribution', 'description' => 'Wait until a streaming distribution is deployed.', 'interval' => 60, 'max_attempts' => 25, 'success_value' => 'Deployed', ], 'DistributionDeployed' => [ 'operation' => 'GetDistribution', 'description' => 'Wait until a distribution is deployed.', 'interval' => 60, 'max_attempts' => 25, 'success_value' => 'Deployed', ], 'InvalidationCompleted' => [ 'operation' => 'GetInvalidation', 'description' => 'Wait until an invalidation has completed.', 'interval' => 20, 'max_attempts' => 30, 'success_value' => 'Completed', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/cloudfront/2016-11-25/waiters-1.json.php:
--------------------------------------------------------------------------------
1 | [ '__default__' => [ 'success_type' => 'output', 'success_path' => 'Status', ], 'StreamingDistributionDeployed' => [ 'operation' => 'GetStreamingDistribution', 'description' => 'Wait until a streaming distribution is deployed.', 'interval' => 60, 'max_attempts' => 25, 'success_value' => 'Deployed', ], 'DistributionDeployed' => [ 'operation' => 'GetDistribution', 'description' => 'Wait until a distribution is deployed.', 'interval' => 60, 'max_attempts' => 25, 'success_value' => 'Deployed', ], 'InvalidationCompleted' => [ 'operation' => 'GetInvalidation', 'description' => 'Wait until an invalidation has completed.', 'interval' => 20, 'max_attempts' => 30, 'success_value' => 'Completed', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-batch/terraform/user_data.tpl:
--------------------------------------------------------------------------------
1 | Content-Type: multipart/mixed; boundary="==BOUNDARY=="
2 | MIME-Version: 1.0
3 |
4 | --==BOUNDARY==
5 | Content-Type: text/cloud-boothook; charset="us-ascii"
6 |
7 | # Set iptables configuration
8 |
9 | sudo yum install iptables-services -y
10 |
11 | cat < /etc/sysconfig/iptables
12 | *filter
13 | :DOCKER-USER - [0:0]
14 | -A DOCKER-USER -d 169.254.169.254/32 -j DROP
15 | COMMIT
16 | EOF
17 |
18 | systemctl enable iptables && systemctl start iptables
19 |
20 | sudo iptables -A FORWARD --destination 169.254.169.254 -i docker0 -j DROP
21 |
22 | --==BOUNDARY==
23 | Content-Type: text/x-shellscript; charset="us-ascii"
24 |
25 | #!/bin/bash
26 |
27 | # Update all packages
28 | sudo yum install kernel-devel-$(uname -r) -y
29 |
30 | # Set any ECS agent configuration options
31 | echo "hello" >> /tmp/hello
32 |
33 | echo "`whoami`" >> /tmp/hello
34 |
35 | --==BOUNDARY==--
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Handler/GuzzleV5/PsrStream.php:
--------------------------------------------------------------------------------
1 | stream = $stream;
23 | }
24 |
25 | public function rewind()
26 | {
27 | $this->stream->seek(0);
28 | }
29 |
30 | public function getContents()
31 | {
32 | return $this->stream->getContents();
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/DynamoDb/BinaryValue.php:
--------------------------------------------------------------------------------
1 | value = (string) $value;
25 | }
26 |
27 | public function jsonSerialize()
28 | {
29 | return $this->value;
30 | }
31 |
32 | public function __toString()
33 | {
34 | return $this->value;
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/lab-dataimport/terraform/s3.tf:
--------------------------------------------------------------------------------
1 | # bucket definition
2 | resource "aws_s3_bucket" "data_internal" {
3 | bucket_prefix = "data-internal-private-"
4 | //acl = "public-read"
5 | }
6 |
7 | resource "aws_s3_bucket_object" "public-folder" {
8 | bucket = aws_s3_bucket.data_internal.id
9 | key = "public-stuff/"
10 | source = "/dev/null"
11 | }
12 |
13 | resource "aws_s3_bucket_object" "logo_upload" {
14 | bucket =aws_s3_bucket.data_internal.id
15 | key = "public-stuff/logo.png"
16 | source = "private-data/public-stuff/logo.png"
17 | acl = "public-read"
18 | content_type = "image/png"
19 | }
20 |
21 | resource "aws_s3_bucket_object" "private_data_up" {
22 | for_each = fileset("private-data/", "*.txt")
23 | bucket = aws_s3_bucket.data_internal.id
24 | key = each.value
25 | source = "private-data/${each.value}"
26 | etag = filemd5("private-data/${each.value}")
27 | }
28 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/CacheInterface.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/redshift/2012-12-01/waiters-1.json.php:
--------------------------------------------------------------------------------
1 | [ '__default__' => [ 'acceptor_type' => 'output', ], '__ClusterState' => [ 'interval' => 60, 'max_attempts' => 30, 'operation' => 'DescribeClusters', 'acceptor_path' => 'Clusters[].ClusterStatus', ], 'ClusterAvailable' => [ 'extends' => '__ClusterState', 'ignore_errors' => [ 'ClusterNotFound', ], 'success_value' => 'available', 'failure_value' => [ 'deleting', ], ], 'ClusterDeleted' => [ 'extends' => '__ClusterState', 'success_type' => 'error', 'success_value' => 'ClusterNotFound', 'failure_value' => [ 'creating', 'rebooting', ], ], 'SnapshotAvailable' => [ 'interval' => 15, 'max_attempts' => 20, 'operation' => 'DescribeClusterSnapshots', 'acceptor_path' => 'Snapshots[].Status', 'success_value' => 'available', 'failure_value' => [ 'failed', 'deleted', ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Api/Parser/AbstractParser.php:
--------------------------------------------------------------------------------
1 | api = $api;
23 | }
24 |
25 | /**
26 | * @param CommandInterface $command Command that was executed.
27 | * @param ResponseInterface $response Response that was received.
28 | *
29 | * @return ResultInterface
30 | */
31 | abstract public function __invoke(
32 | CommandInterface $command,
33 | ResponseInterface $response
34 | );
35 | }
36 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/PsrCacheAdapter.php:
--------------------------------------------------------------------------------
1 | pool = $pool;
14 | }
15 |
16 | public function get($key)
17 | {
18 | $item = $this->pool->getItem($key);
19 |
20 | return $item->isHit() ? $item->get() : null;
21 | }
22 |
23 | public function set($key, $value, $ttl = 0)
24 | {
25 | $item = $this->pool->getItem($key);
26 | $item->set($value);
27 | if ($ttl > 0) {
28 | $item->expiresAfter($ttl);
29 | }
30 |
31 | $this->pool->save($item);
32 | }
33 |
34 | public function remove($key)
35 | {
36 | $this->pool->deleteItem($key);
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/promises/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "guzzlehttp/promises",
3 | "description": "Guzzle promises library",
4 | "keywords": ["promise"],
5 | "license": "MIT",
6 | "authors": [
7 | {
8 | "name": "Michael Dowling",
9 | "email": "mtdowling@gmail.com",
10 | "homepage": "https://github.com/mtdowling"
11 | }
12 | ],
13 | "require": {
14 | "php": ">=5.5.0"
15 | },
16 | "require-dev": {
17 | "phpunit/phpunit": "^4.0"
18 | },
19 | "autoload": {
20 | "psr-4": {
21 | "GuzzleHttp\\Promise\\": "src/"
22 | },
23 | "files": ["src/functions_include.php"]
24 | },
25 | "scripts": {
26 | "test": "vendor/bin/phpunit",
27 | "test-ci": "vendor/bin/phpunit --coverage-text"
28 | },
29 | "extra": {
30 | "branch-alias": {
31 | "dev-master": "1.4-dev"
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Api/ListShape.php:
--------------------------------------------------------------------------------
1 | member) {
24 | if (!isset($this->definition['member'])) {
25 | throw new \RuntimeException('No member attribute specified');
26 | }
27 | $this->member = Shape::create(
28 | $this->definition['member'],
29 | $this->shapeMap
30 | );
31 | }
32 |
33 | return $this->member;
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/mtdowling/jmespath.php/tests/compliance/unicode.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "given": {"foo": [{"✓": "✓"}, {"✓": "✗"}]},
4 | "cases": [
5 | {
6 | "expression": "foo[].\"✓\"",
7 | "result": ["✓", "✗"]
8 | }
9 | ]
10 | },
11 | {
12 | "given": {"☯": true},
13 | "cases": [
14 | {
15 | "expression": "\"☯\"",
16 | "result": true
17 | }
18 | ]
19 | },
20 | {
21 | "given": {"♪♫•*¨*•.¸¸❤¸¸.•*¨*•♫♪": true},
22 | "cases": [
23 | {
24 | "expression": "\"♪♫•*¨*•.¸¸❤¸¸.•*¨*•♫♪\"",
25 | "result": true
26 | }
27 | ]
28 | },
29 | {
30 | "given": {"☃": true},
31 | "cases": [
32 | {
33 | "expression": "\"☃\"",
34 | "result": true
35 | }
36 | ]
37 | }
38 | ]
39 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Api/ErrorParser/JsonRpcErrorParser.php:
--------------------------------------------------------------------------------
1 | genericHandler($response);
16 | // Make the casing consistent across services.
17 | if ($data['parsed']) {
18 | $data['parsed'] = array_change_key_case($data['parsed']);
19 | }
20 |
21 | if (isset($data['parsed']['__type'])) {
22 | $parts = explode('#', $data['parsed']['__type']);
23 | $data['code'] = isset($parts[1]) ? $parts[1] : $parts[0];
24 | $data['message'] = isset($data['parsed']['message'])
25 | ? $data['parsed']['message']
26 | : null;
27 | }
28 |
29 | return $data;
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/psr7/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "guzzlehttp/psr7",
3 | "type": "library",
4 | "description": "PSR-7 message implementation",
5 | "keywords": ["message", "stream", "http", "uri"],
6 | "license": "MIT",
7 | "authors": [
8 | {
9 | "name": "Michael Dowling",
10 | "email": "mtdowling@gmail.com",
11 | "homepage": "https://github.com/mtdowling"
12 | }
13 | ],
14 | "require": {
15 | "php": ">=5.4.0",
16 | "psr/http-message": "~1.0"
17 | },
18 | "require-dev": {
19 | "phpunit/phpunit": "~4.0"
20 | },
21 | "provide": {
22 | "psr/http-message-implementation": "1.0"
23 | },
24 | "autoload": {
25 | "psr-4": {
26 | "GuzzleHttp\\Psr7\\": "src/"
27 | },
28 | "files": ["src/functions_include.php"]
29 | },
30 | "extra": {
31 | "branch-alias": {
32 | "dev-master": "1.4-dev"
33 | }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/elasticloadbalancing/2012-06-01/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Api/Serializer/RestXmlSerializer.php:
--------------------------------------------------------------------------------
1 | xmlBody = $xmlBody ?: new XmlBody($api);
27 | }
28 |
29 | protected function payload(StructureShape $member, array $value, array &$opts)
30 | {
31 | $opts['headers']['Content-Type'] = 'application/xml';
32 | $opts['body'] = (string) $this->xmlBody->build($member, $value);
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/mtdowling/jmespath.php/tests/EnvTest.php:
--------------------------------------------------------------------------------
1 | 123);
12 | $this->assertEquals(123, Env::search('foo', $data));
13 | $this->assertEquals(123, Env::search('foo', $data));
14 | }
15 |
16 | public function testSearchesWithFunction()
17 | {
18 | $data = array('foo' => 123);
19 | $this->assertEquals(123, \JmesPath\search('foo', $data));
20 | }
21 |
22 | public function testCleansCompileDir()
23 | {
24 | $dir = sys_get_temp_dir();
25 | $runtime = new CompilerRuntime($dir);
26 | $runtime('@ | @ | @[0][0][0]', []);
27 | $this->assertNotEmpty(glob($dir . '/jmespath_*.php'));
28 | $this->assertGreaterThan(0, Env::cleanCompileDir());
29 | $this->assertEmpty(glob($dir . '/jmespath_*.php'));
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Exception/CouldNotCreateChecksumException.php:
--------------------------------------------------------------------------------
1 | assertEquals(3, $drop->write('hel'));
14 | $this->assertEquals(2, $drop->write('lo'));
15 | $this->assertEquals(5, $drop->getSize());
16 | $this->assertEquals('hello', $drop->read(5));
17 | $this->assertEquals(0, $drop->getSize());
18 | $drop->write('12345678910');
19 | $this->assertEquals(5, $stream->getSize());
20 | $this->assertEquals(5, $drop->getSize());
21 | $this->assertEquals('12345', (string) $drop);
22 | $this->assertEquals(0, $drop->getSize());
23 | $drop->write('hello');
24 | $this->assertSame(0, $drop->write('test'));
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Api/Parser/RestXmlParser.php:
--------------------------------------------------------------------------------
1 | parser = $parser ?: new XmlParser();
26 | }
27 |
28 | protected function payload(
29 | ResponseInterface $response,
30 | StructureShape $member,
31 | array &$result
32 | ) {
33 | $xml = $this->parseXml($response->getBody());
34 | $result += $this->parser->parse($member, $xml);
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/DynamoDb/SetValue.php:
--------------------------------------------------------------------------------
1 | values = $values;
18 | }
19 |
20 | /**
21 | * Get the values formatted for PHP and JSON.
22 | *
23 | * @return array
24 | */
25 | public function toArray()
26 | {
27 | return $this->values;
28 | }
29 |
30 | public function count()
31 | {
32 | return count($this->values);
33 | }
34 |
35 | public function getIterator()
36 | {
37 | return new \ArrayIterator($this->values);
38 | }
39 |
40 | public function jsonSerialize()
41 | {
42 | return $this->toArray();
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/ecs/2014-11-13/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/appstream/2016-12-01/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 2, 'waiters' => [ 'FleetStarted' => [ 'delay' => 30, 'maxAttempts' => 40, 'operation' => 'DescribeFleets', 'acceptors' => [ [ 'state' => 'success', 'matcher' => 'pathAll', 'argument' => 'fleets[].state', 'expected' => 'ACTIVE', ], [ 'state' => 'failure', 'matcher' => 'pathAny', 'argument' => 'fleets[].state', 'expected' => 'PENDING_DEACTIVATE', ], [ 'state' => 'failure', 'matcher' => 'pathAny', 'argument' => 'fleets[].state', 'expected' => 'INACTIVE', ], ], ], 'FleetStopped' => [ 'delay' => 30, 'maxAttempts' => 40, 'operation' => 'DescribeFleets', 'acceptors' => [ [ 'state' => 'success', 'matcher' => 'pathAll', 'argument' => 'fleets[].state', 'expected' => 'INACTIVE', ], [ 'state' => 'failure', 'matcher' => 'pathAny', 'argument' => 'fleets[].state', 'expected' => 'PENDING_ACTIVATE', ], [ 'state' => 'failure', 'matcher' => 'pathAny', 'argument' => 'fleets[].state', 'expected' => 'ACTIVE', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Api/Serializer/Ec2ParamBuilder.php:
--------------------------------------------------------------------------------
1 | getMember();
35 | foreach ($value as $k => $v) {
36 | $this->format($items, $v, $prefix . '.' . ($k + 1), $query);
37 | }
38 | }
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/psr7/src/LazyOpenStream.php:
--------------------------------------------------------------------------------
1 | filename = $filename;
27 | $this->mode = $mode;
28 | }
29 |
30 | /**
31 | * Creates the underlying stream lazily when required.
32 | *
33 | * @return StreamInterface
34 | */
35 | protected function createStream()
36 | {
37 | return stream_for(try_fopen($this->filename, $this->mode));
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/XRay/XRayClient.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Api/DateTimeResult.php:
--------------------------------------------------------------------------------
1 | format('c');
30 | }
31 |
32 | /**
33 | * Serialize the date as an ISO 8601 date when serializing as JSON.
34 | *
35 | * @return mixed|string
36 | */
37 | public function jsonSerialize()
38 | {
39 | return (string) $this;
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/cloudfront/2015-07-27/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 2, 'waiters' => [ 'DistributionDeployed' => [ 'acceptors' => [ [ 'argument' => 'Distribution.Status', 'expected' => 'Deployed', 'matcher' => 'path', 'state' => 'success', ], ], 'delay' => 60, 'description' => 'Wait until a distribution is deployed.', 'maxAttempts' => 25, 'operation' => 'GetDistribution', ], 'InvalidationCompleted' => [ 'acceptors' => [ [ 'argument' => 'Invalidation.Status', 'expected' => 'Completed', 'matcher' => 'path', 'state' => 'success', ], ], 'delay' => 20, 'description' => 'Wait until an invalidation has completed.', 'maxAttempts' => 30, 'operation' => 'GetInvalidation', ], 'StreamingDistributionDeployed' => [ 'acceptors' => [ [ 'argument' => 'StreamingDistribution.Status', 'expected' => 'Deployed', 'matcher' => 'path', 'state' => 'success', ], ], 'delay' => 60, 'description' => 'Wait until a streaming distribution is deployed.', 'maxAttempts' => 25, 'operation' => 'GetStreamingDistribution', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/cloudfront/2016-01-28/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 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', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/cloudfront/2016-08-01/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 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', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/cloudfront/2016-08-20/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 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', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/cloudfront/2016-09-07/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 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', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/cloudfront/2016-09-29/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 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', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/cloudfront/2016-11-25/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 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', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Api/ErrorParser/RestJsonErrorParser.php:
--------------------------------------------------------------------------------
1 | genericHandler($response);
16 |
17 | // Merge in error data from the JSON body
18 | if ($json = $data['parsed']) {
19 | $data = array_replace($data, $json);
20 | }
21 |
22 | // Correct error type from services like Amazon Glacier
23 | if (!empty($data['type'])) {
24 | $data['type'] = strtolower($data['type']);
25 | }
26 |
27 | // Retrieve the error code from services like Amazon Elastic Transcoder
28 | if ($code = $response->getHeaderLine('x-amzn-errortype')) {
29 | $colon = strpos($code, ':');
30 | $data['code'] = $colon ? substr($code, 0, $colon) : $code;
31 | }
32 |
33 | return $data;
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/guzzle/.travis.yml:
--------------------------------------------------------------------------------
1 | language: php
2 |
3 | sudo: false
4 |
5 | php:
6 | - 5.5
7 | - 5.6
8 | - 7.0
9 | - 7.1
10 | - hhvm
11 |
12 | before_script:
13 | - curl --version
14 | - composer install --no-interaction --prefer-source --dev
15 | - ~/.nvm/nvm.sh install v0.6.14
16 | - ~/.nvm/nvm.sh run v0.6.14
17 | - '[ "$TRAVIS_PHP_VERSION" != "7.0" ] || echo "xdebug.overload_var_dump = 1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini'
18 |
19 | script: make test
20 |
21 | matrix:
22 | allow_failures:
23 | - php: hhvm
24 | fast_finish: true
25 |
26 | before_deploy:
27 | - rvm 1.9.3 do gem install mime-types -v 2.6.2
28 | - make package
29 |
30 | deploy:
31 | provider: releases
32 | api_key:
33 | secure: UpypqlYgsU68QT/x40YzhHXvzWjFwCNo9d+G8KAdm7U9+blFfcWhV1aMdzugvPMl6woXgvJj7qHq5tAL4v6oswCORhpSBfLgOQVFaica5LiHsvWlAedOhxGmnJqMTwuepjBCxXhs3+I8Kof1n4oUL9gKytXjOVCX/f7XU1HiinU=
34 | file:
35 | - build/artifacts/guzzle.phar
36 | - build/artifacts/guzzle.zip
37 | on:
38 | repo: guzzle/guzzle
39 | tags: true
40 | all_branches: true
41 | php: 5.5
42 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Api/Parser/RestJsonParser.php:
--------------------------------------------------------------------------------
1 | parser = $parser ?: new JsonParser();
26 | }
27 |
28 | protected function payload(
29 | ResponseInterface $response,
30 | StructureShape $member,
31 | array &$result
32 | ) {
33 | $jsonBody = $this->parseJson($response->getBody());
34 |
35 | if ($jsonBody) {
36 | $result += $this->parser->parse($member, $jsonBody);
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/s3/2006-03-01/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 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', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/DynamoDbStreams/DynamoDbStreamsClient.php:
--------------------------------------------------------------------------------
1 | [ 'ListCloudFrontOriginAccessIdentities' => [ 'input_token' => 'Marker', 'limit_key' => 'MaxItems', 'more_results' => 'CloudFrontOriginAccessIdentityList.IsTruncated', 'output_token' => 'CloudFrontOriginAccessIdentityList.NextMarker', 'result_key' => 'CloudFrontOriginAccessIdentityList.Items', ], 'ListDistributions' => [ 'input_token' => 'Marker', 'limit_key' => 'MaxItems', 'more_results' => 'DistributionList.IsTruncated', 'output_token' => 'DistributionList.NextMarker', 'result_key' => 'DistributionList.Items', ], 'ListInvalidations' => [ 'input_token' => 'Marker', 'limit_key' => 'MaxItems', 'more_results' => 'InvalidationList.IsTruncated', 'output_token' => 'InvalidationList.NextMarker', 'result_key' => 'InvalidationList.Items', ], 'ListStreamingDistributions' => [ 'input_token' => 'Marker', 'limit_key' => 'MaxItems', 'more_results' => 'StreamingDistributionList.IsTruncated', 'output_token' => 'StreamingDistributionList.NextMarker', 'result_key' => 'StreamingDistributionList.Items', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/cloudfront/2016-01-28/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/cloudfront/2016-08-01/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/cloudfront/2016-08-20/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/cloudfront/2016-09-07/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/cloudfront/2016-09-29/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/cloudfront/2016-11-25/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/mtdowling/jmespath.php/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2014 Michael Dowling, https://github.com/mtdowling
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/psr7/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2015 Michael Dowling, https://github.com/mtdowling
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/guzzle/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2011-2016 Michael Dowling, https://github.com/mtdowling
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/promises/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2015-2016 Michael Dowling, https://github.com/mtdowling
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/mtdowling/jmespath.php/tests/SyntaxErrorExceptionTest.php:
--------------------------------------------------------------------------------
1 | 'comma', 'pos' => 3, 'value' => ','],
16 | 'abc,def'
17 | );
18 | $expected = <<assertContains($expected, $e->getMessage());
25 | }
26 |
27 | public function testCreatesWithArray()
28 | {
29 | $e = new SyntaxErrorException(
30 | ['dot' => true, 'eof' => true],
31 | ['type' => 'comma', 'pos' => 3, 'value' => ','],
32 | 'abc,def'
33 | );
34 | $expected = <<assertContains($expected, $e->getMessage());
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/mtdowling/jmespath.php/tests/FnDispatcherTest.php:
--------------------------------------------------------------------------------
1 | assertEquals('foo', $fn('to_string', ['foo']));
12 | $this->assertEquals('1', $fn('to_string', [1]));
13 | $this->assertEquals('["foo"]', $fn('to_string', [['foo']]));
14 | $std = new \stdClass();
15 | $std->foo = 'bar';
16 | $this->assertEquals('{"foo":"bar"}', $fn('to_string', [$std]));
17 | $this->assertEquals('foo', $fn('to_string', [new _TestStringClass()]));
18 | $this->assertEquals('"foo"', $fn('to_string', [new _TestJsonStringClass()]));
19 | }
20 | }
21 |
22 | class _TestStringClass
23 | {
24 | public function __toString()
25 | {
26 | return 'foo';
27 | }
28 | }
29 |
30 | class _TestJsonStringClass implements \JsonSerializable
31 | {
32 | public function __toString()
33 | {
34 | return 'no!';
35 | }
36 |
37 | public function jsonSerialize()
38 | {
39 | return 'foo';
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/logs/2014-03-28/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/guzzle/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "guzzlehttp/guzzle",
3 | "type": "library",
4 | "description": "Guzzle is a PHP HTTP client library",
5 | "keywords": ["framework", "http", "rest", "web service", "curl", "client", "HTTP client"],
6 | "homepage": "http://guzzlephp.org/",
7 | "license": "MIT",
8 | "authors": [
9 | {
10 | "name": "Michael Dowling",
11 | "email": "mtdowling@gmail.com",
12 | "homepage": "https://github.com/mtdowling"
13 | }
14 | ],
15 | "require": {
16 | "php": ">=5.5",
17 | "guzzlehttp/psr7": "^1.3.1",
18 | "guzzlehttp/promises": "^1.0"
19 | },
20 | "require-dev": {
21 | "ext-curl": "*",
22 | "phpunit/phpunit": "^4.0",
23 | "psr/log": "^1.0"
24 | },
25 | "autoload": {
26 | "files": ["src/functions_include.php"],
27 | "psr-4": {
28 | "GuzzleHttp\\": "src/"
29 | }
30 | },
31 | "autoload-dev": {
32 | "psr-4": {
33 | "GuzzleHttp\\Tests\\": "tests/"
34 | }
35 | },
36 | "extra": {
37 | "branch-alias": {
38 | "dev-master": "6.2-dev"
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/psr7/tests/InflateStreamTest.php:
--------------------------------------------------------------------------------
1 | assertEquals('test', (string) $b);
15 | }
16 |
17 | public function testInflatesStreamsWithFilename()
18 | {
19 | $content = $this->getGzipStringWithFilename('test');
20 | $a = Psr7\stream_for($content);
21 | $b = new InflateStream($a);
22 | $this->assertEquals('test', (string) $b);
23 | }
24 |
25 | private function getGzipStringWithFilename($original_string)
26 | {
27 | $gzipped = bin2hex(gzencode($original_string));
28 |
29 | $header = substr($gzipped, 0, 20);
30 | // set FNAME flag
31 | $header[6]=0;
32 | $header[7]=8;
33 | // make a dummy filename
34 | $filename = "64756d6d7900";
35 | $rest = substr($gzipped, 20);
36 |
37 | return hex2bin($header . $filename . $rest);
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/psr/http-message/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | All notable changes to this project will be documented in this file, in reverse chronological order by release.
4 |
5 | ## 1.0.1 - 2016-08-06
6 |
7 | ### Added
8 |
9 | - Nothing.
10 |
11 | ### Deprecated
12 |
13 | - Nothing.
14 |
15 | ### Removed
16 |
17 | - Nothing.
18 |
19 | ### Fixed
20 |
21 | - Updated all `@return self` annotation references in interfaces to use
22 | `@return static`, which more closelly follows the semantics of the
23 | specification.
24 | - Updated the `MessageInterface::getHeaders()` return annotation to use the
25 | value `string[][]`, indicating the format is a nested array of strings.
26 | - Updated the `@link` annotation for `RequestInterface::withRequestTarget()`
27 | to point to the correct section of RFC 7230.
28 | - Updated the `ServerRequestInterface::withUploadedFiles()` parameter annotation
29 | to add the parameter name (`$uploadedFiles`).
30 | - Updated a `@throws` annotation for the `UploadedFileInterface::moveTo()`
31 | method to correctly reference the method parameter (it was referencing an
32 | incorrect parameter name previously).
33 |
34 | ## 1.0.0 - 2016-05-18
35 |
36 | Initial stable release; reflects accepted PSR-7 specification.
37 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Api/Parser/JsonRpcParser.php:
--------------------------------------------------------------------------------
1 | parser = $parser ?: new JsonParser();
26 | }
27 |
28 | public function __invoke(
29 | CommandInterface $command,
30 | ResponseInterface $response
31 | ) {
32 | $operation = $this->api->getOperation($command->getName());
33 | $result = null === $operation['output']
34 | ? null
35 | : $this->parser->parse(
36 | $operation->getOutput(),
37 | $this->parseJson($response->getBody())
38 | );
39 |
40 | return new Result($result ?: []);
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/DynamoDb/SessionConnectionInterface.php:
--------------------------------------------------------------------------------
1 | cache = $cache;
14 | }
15 |
16 | public function get($key)
17 | {
18 | return $this->cache->fetch($key);
19 | }
20 |
21 | public function fetch($key)
22 | {
23 | return $this->get($key);
24 | }
25 |
26 | public function set($key, $value, $ttl = 0)
27 | {
28 | return $this->cache->save($key, $value, $ttl);
29 | }
30 |
31 | public function save($key, $value, $ttl = 0)
32 | {
33 | return $this->set($key, $value, $ttl);
34 | }
35 |
36 | public function remove($key)
37 | {
38 | return $this->cache->delete($key);
39 | }
40 |
41 | public function delete($key)
42 | {
43 | return $this->remove($key);
44 | }
45 |
46 | public function contains($key)
47 | {
48 | return $this->cache->contains($key);
49 | }
50 |
51 | public function getStats()
52 | {
53 | return $this->cache->getStats();
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/opsworks/2013-02-18/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Api/Serializer/RestJsonSerializer.php:
--------------------------------------------------------------------------------
1 | contentType = JsonBody::getContentType($api);
31 | $this->jsonFormatter = $jsonFormatter ?: new JsonBody($api);
32 | }
33 |
34 | protected function payload(StructureShape $member, array $value, array &$opts)
35 | {
36 | $opts['headers']['Content-Type'] = $this->contentType;
37 | $opts['body'] = (string) $this->jsonFormatter->build($member, $value);
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/Firehose/FirehoseClient.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/psr7/src/DroppingStream.php:
--------------------------------------------------------------------------------
1 | stream = $stream;
23 | $this->maxLength = $maxLength;
24 | }
25 |
26 | public function write($string)
27 | {
28 | $diff = $this->maxLength - $this->stream->getSize();
29 |
30 | // Begin returning 0 when the underlying stream is too large.
31 | if ($diff <= 0) {
32 | return 0;
33 | }
34 |
35 | // Write the stream or a subset of the stream if needed.
36 | if (strlen($string) < $diff) {
37 | return $this->stream->write($string);
38 | }
39 |
40 | return $this->stream->write(substr($string, 0, $diff));
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/S3/GetBucketLocationParser.php:
--------------------------------------------------------------------------------
1 | parser = $parser;
23 | }
24 |
25 | public function __invoke(
26 | CommandInterface $command,
27 | ResponseInterface $response
28 | ) {
29 | $fn = $this->parser;
30 | $result = $fn($command, $response);
31 |
32 | if ($command->getName() === 'GetBucketLocation') {
33 | $location = 'us-east-1';
34 | if (preg_match('/>(.+?)<\/LocationConstraint>/', $response->getBody(), $matches)) {
35 | $location = $matches[1] === 'EU' ? 'eu-west-1' : $matches[1];
36 | }
37 | $result['LocationConstraint'] = $location;
38 | }
39 |
40 | return $result;
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/s3/2006-03-01/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/swf/2012-01-25/paginators-1.json.php:
--------------------------------------------------------------------------------
1 | [ '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', ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/mtdowling/jmespath.php/src/SyntaxErrorException.php:
--------------------------------------------------------------------------------
1 | createTokenMessage($token, $expectedTypesOrMessage);
24 | parent::__construct($message);
25 | }
26 |
27 | private function createTokenMessage(array $token, array $valid)
28 | {
29 | return sprintf(
30 | 'Expected one of the following: %s; found %s "%s"',
31 | implode(', ', array_keys($valid)),
32 | $token['type'],
33 | $token['value']
34 | );
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/aws/aws-sdk-php/src/data/elasticmapreduce/2009-03-31/waiters-2.json.php:
--------------------------------------------------------------------------------
1 | 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', ], ], ], ],];
4 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/guzzlehttp/psr7/tests/NoSeekStreamTest.php:
--------------------------------------------------------------------------------
1 | getMockBuilder('Psr\Http\Message\StreamInterface')
20 | ->setMethods(['isSeekable', 'seek'])
21 | ->getMockForAbstractClass();
22 | $s->expects($this->never())->method('seek');
23 | $s->expects($this->never())->method('isSeekable');
24 | $wrapped = new NoSeekStream($s);
25 | $this->assertFalse($wrapped->isSeekable());
26 | $wrapped->seek(2);
27 | }
28 |
29 | /**
30 | * @expectedException \RuntimeException
31 | * @expectedExceptionMessage Cannot write to a non-writable stream
32 | */
33 | public function testHandlesClose()
34 | {
35 | $s = Psr7\stream_for('foo');
36 | $wrapped = new NoSeekStream($s);
37 | $wrapped->close();
38 | $wrapped->write('foo');
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/lab-cognito/app/vendor/mtdowling/jmespath.php/tests/compliance/escape.json:
--------------------------------------------------------------------------------
1 | [{
2 | "given": {
3 | "foo.bar": "dot",
4 | "foo bar": "space",
5 | "foo\nbar": "newline",
6 | "foo\"bar": "doublequote",
7 | "c:\\\\windows\\path": "windows",
8 | "/unix/path": "unix",
9 | "\"\"\"": "threequotes",
10 | "bar": {"baz": "qux"}
11 | },
12 | "cases": [
13 | {
14 | "expression": "\"foo.bar\"",
15 | "result": "dot"
16 | },
17 | {
18 | "expression": "\"foo bar\"",
19 | "result": "space"
20 | },
21 | {
22 | "expression": "\"foo\\nbar\"",
23 | "result": "newline"
24 | },
25 | {
26 | "expression": "\"foo\\\"bar\"",
27 | "result": "doublequote"
28 | },
29 | {
30 | "expression": "\"c:\\\\\\\\windows\\\\path\"",
31 | "result": "windows"
32 | },
33 | {
34 | "expression": "\"/unix/path\"",
35 | "result": "unix"
36 | },
37 | {
38 | "expression": "\"\\\"\\\"\\\"\"",
39 | "result": "threequotes"
40 | },
41 | {
42 | "expression": "\"bar\".\"baz\"",
43 | "result": "qux"
44 | }
45 | ]
46 | }]
47 |
--------------------------------------------------------------------------------
/lab-batch/app/.air.conf:
--------------------------------------------------------------------------------
1 | # .air.conf
2 | # Config file for [Air](https://github.com/cosmtrek/air) in TOML format
3 |
4 | # Working directory
5 | # . or absolute path, please note that the directories following must be under root.
6 | root = "."
7 | tmp_dir = "tmp"
8 |
9 | [build]
10 | # Just plain old shell command. You could use `make` as well.
11 | cmd = "go build -o ./tmp/main ."
12 | # Binary file yields from `cmd`.
13 | bin = "tmp/main"
14 | # Customize binary.
15 | full_bin = "APP_USER=air ./tmp/main"
16 | # Watch these filename extensions.
17 | include_ext = ["go", "tpl", "tmpl", "html"]
18 | # Ignore these filename extensions or directories.
19 | exclude_dir = ["assets", "tmp", "vendor", "frontend/"]
20 | # Watch these directories if you specified.
21 | include_dir = []
22 | # Exclude files.
23 | exclude_file = []
24 | # It's not necessary to trigger build each time file changes if it's too frequent.
25 | delay = 1000 # ms
26 | # Stop to run old binary when build errors occur.
27 | stop_on_error = true
28 | # This log file places in your tmp_dir.
29 | log = "air_errors.log"
30 |
31 | [log]
32 | # Show log time
33 | time = false
34 |
35 | [color]
36 | # Customize each part's color. If no color found, use the raw app log.
37 | main = "magenta"
38 | watcher = "cyan"
39 | build = "yellow"
40 | runner = "green"
41 |
42 | [misc]
43 | # Delete tmp directory on exit
44 | clean_on_exit = true
45 |
--------------------------------------------------------------------------------